�
�Udac @` s� d Z d d l m Z m Z m Z e Z i d d 6d g d 6d d 6Z d Z d
Z d Z
d d l m Z d d
l
m Z d d l m Z d � Z e d k r� e � n d S( s)
The module file for nxos_bfd_interfaces
i ( t absolute_importt divisiont print_functions 1.1t metadata_versiont previewt statust networkt supported_bys�
---
module: nxos_bfd_interfaces
version_added: 2.9
short_description: 'Manages BFD attributes of nxos interfaces.'
description: 'Manages attributes of Bidirectional Forwarding Detection (BFD) on the interface.'
author: Chris Van Heuveln (@chrisvanheuveln)
notes:
options:
config:
description: The provided configuration
type: list
elements: dict
suboptions:
name:
type: str
description: The name of the interface.
bfd:
type: str
description:
- Enable/Disable Bidirectional Forwarding Detection (BFD) on the interface.
choices:
- enable
- disable
echo:
type: str
description:
- Enable/Disable BFD Echo functionality on the interface.
choices:
- enable
- disable
state:
description:
- The state of the configuration after module completion
type: str
choices:
- merged
- replaced
- overridden
- deleted
default: merged
s+
# Using deleted
- name: Configure interfaces
nxos_bfd_interfaces:
state: deleted
# Using merged
- name: Configure interfaces
nxos_bfd_interfaces:
config:
- name: Ethernet1/1
bfd: enable
echo: enable
- name: Ethernet1/2
bfd: disable
echo: disable
state: merged
# Using overridden
- name: Configure interfaces
nxos_bfd_interfaces:
config:
- name: Ethernet1/1
bfd: enable
echo: enable
- name: Ethernet1/2
bfd: disable
echo: disable
state: overridden
# Using replaced
- name: Configure interfaces
nxos_bfd_interfaces:
config:
- name: Ethernet1/1
bfd: enable
echo: enable
- name: Ethernet1/2
bfd: disable
echo: disable
state: replaced
sp
before:
description: The configuration as structured data prior to module invocation.
returned: always
type: list
sample: >
The configuration returned will always be in the same format
of the parameters above.
after:
description: The configuration as structured data after module completion.
returned: when changed
type: list
sample: >
The configuration returned will always be in the same format
of the parameters above.
commands:
description: The set of commands pushed to the remote device.
returned: always
type: list
sample: ['interface Ethernet1/1', 'no bfd', 'no bfd echo']
( t
AnsibleModule( t Bfd_interfacesArgs( t Bfd_interfacesc C` s; t d t j d t � } t | � j � } | j | � d S( s`
Main entry point for module execution
:returns: the result form module invocation
t
argument_spect supports_check_modeN( R R R t TrueR
t execute_modulet exit_json( t modulet result( ( sT /usr/lib/python2.7/site-packages/ansible/modules/network/nxos/nxos_bfd_interfaces.pyt main� s t __main__N( t __doc__t
__future__R R R t typet
__metaclass__t ANSIBLE_METADATAt
DOCUMENTATIONt EXAMPLESt RETURNt ansible.module_utils.basicR tG ansible.module_utils.network.nxos.argspec.bfd_interfaces.bfd_interfacesR tF ansible.module_utils.network.nxos.config.bfd_interfaces.bfd_interfacesR
R t __name__( ( ( sT /usr/lib/python2.7/site-packages/ansible/modules/network/nxos/nxos_bfd_interfaces.pyt <module> s
,3
Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]