mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
nxos_bgp_neighbor_af feature idea disable-peer-as-check (#32665)
* nxos_bgp_neighbor_af feature idea disable-peer-as-check Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * Add unit test Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
parent
e4052c1261
commit
f49555d494
2 changed files with 17 additions and 0 deletions
|
@ -136,6 +136,12 @@ options:
|
|||
or 'default'.
|
||||
required: false
|
||||
default: null
|
||||
disable_peer_as_check:
|
||||
description:
|
||||
- Disable checking of peer AS-number while advertising
|
||||
required: false
|
||||
choices: ['true', 'false']
|
||||
version_added: 2.5
|
||||
filter_list_in:
|
||||
description:
|
||||
- Valid values are a string defining a filter-list name,
|
||||
|
@ -294,6 +300,7 @@ BOOL_PARAMS = [
|
|||
'allowas_in',
|
||||
'as_override',
|
||||
'default_originate',
|
||||
'disable_peer_as_check',
|
||||
'next_hop_self',
|
||||
'next_hop_third_party',
|
||||
'route_reflector_client',
|
||||
|
@ -312,6 +319,7 @@ PARAM_TO_COMMAND_KEYMAP = {
|
|||
'as_override': 'as-override',
|
||||
'default_originate': 'default-originate',
|
||||
'default_originate_route_map': 'default-originate route-map',
|
||||
'disable_peer_as_check': 'disable-peer-as-check',
|
||||
'filter_list_in': 'filter-list in',
|
||||
'filter_list_out': 'filter-list out',
|
||||
'max_prefix_limit': 'maximum-prefix',
|
||||
|
@ -637,6 +645,7 @@ def main():
|
|||
as_override=dict(required=False, type='bool'),
|
||||
default_originate=dict(required=False, type='bool'),
|
||||
default_originate_route_map=dict(required=False, type='str'),
|
||||
disable_peer_as_check=dict(required=False, type='bool'),
|
||||
filter_list_in=dict(required=False, type='str'),
|
||||
filter_list_out=dict(required=False, type='str'),
|
||||
max_prefix_limit=dict(required=False, type='str'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue