�
�Udac @ s� 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 m Z d d l m Z m
Z
d
� Z e d k r� e � n d S( s 1.1t metadata_versiont previewt statust networkt supported_bys�
---
module: nxos_evpn_global
extends_documentation_fragment: nxos
version_added: "2.2"
short_description: Handles the EVPN control plane for VXLAN.
description:
- Handles the EVPN control plane for VXLAN.
author: Gabriele Gerbino (@GGabriele)
notes:
- This module is not supported on Nexus 3000 series of switches.
options:
nv_overlay_evpn:
description:
- EVPN control plane.
required: true
type: bool
s/
- nxos_evpn_global:
nv_overlay_evpn: true
s�
commands:
description: The set of commands to be sent to the remote device
returned: always
type: list
sample: ['nv overlay evpn']
i����( t
AnsibleModule( t
get_configt load_config( t get_capabilitiest nxos_argument_specc C s\ t d t d t d d � � } | j t � t d | d t � } i t d 6} t � } | ri | | d <n t | � } t � } t | � j d i � } | j d
d � } d | k r� | j
d
d � n | j d t k r� d | k r| j d � qn d | k r| j d � n | rA| j
s4t | | � n t | d <n | | d <| j | � d S( Nt nv_overlay_evpnt requiredt typet boolt
argument_spect supports_check_modet changedt warningst device_infot network_os_platformt t 3Kt msgs1 This module is not supported on Nexus 3000 seriess nv overlay evpns no nv overlay evpnt commands( t dictt Truet updateR R t Falset listR R t gett fail_jsont paramst appendt
check_modeR t exit_json( R t modulet resultR t configR t infot os_platform( ( sQ /usr/lib/python2.7/site-packages/ansible/modules/network/nxos/nxos_evpn_global.pyt main<