|
|
@ -20,18 +20,18 @@ DOCUMENTATION = '''
|
|
|
|
---
|
|
|
|
---
|
|
|
|
module: nxos_bgp_neighbor
|
|
|
|
module: nxos_bgp_neighbor
|
|
|
|
version_added: "2.2"
|
|
|
|
version_added: "2.2"
|
|
|
|
short_description: Manages BGP neighbors configurations
|
|
|
|
short_description: Manages BGP neighbors configurations.
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Manages BGP neighbors configurations on NX-OS switches
|
|
|
|
- Manages BGP neighbors configurations on NX-OS switches.
|
|
|
|
author: Gabriele Gerbino (@GGabriele)
|
|
|
|
author: Gabriele Gerbino (@GGabriele)
|
|
|
|
extends_documentation_fragment: nxos
|
|
|
|
extends_documentation_fragment: nxos
|
|
|
|
notes:
|
|
|
|
notes:
|
|
|
|
- State 'absent' removes the whole BGP neighbor configuration
|
|
|
|
- C(state=absent) removes the whole BGP neighbor configuration.
|
|
|
|
- default, where supported, restores params default value
|
|
|
|
- Default, where supported, restores params default value.
|
|
|
|
options:
|
|
|
|
options:
|
|
|
|
asn:
|
|
|
|
asn:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- BGP autonomous system number. Valid values are String,
|
|
|
|
- BGP autonomous system number. Valid values are string,
|
|
|
|
Integer in ASPLAIN or ASDOT notation.
|
|
|
|
Integer in ASPLAIN or ASDOT notation.
|
|
|
|
required: true
|
|
|
|
required: true
|
|
|
|
vrf:
|
|
|
|
vrf:
|
|
|
@ -176,7 +176,8 @@ options:
|
|
|
|
default: null
|
|
|
|
default: null
|
|
|
|
state:
|
|
|
|
state:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Determines whether the config should be present or not on the device.
|
|
|
|
- Determines whether the config should be present or not
|
|
|
|
|
|
|
|
on the device.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: present
|
|
|
|
default: present
|
|
|
|
choices: ['present','absent']
|
|
|
|
choices: ['present','absent']
|
|
|
|