�
�Udac @ s� i d d 6d g d 6d d 6Z d Z d Z d Z d d
l Z d d l m Z m Z d d l m Z m Z d d
l
m Z d d l m
Z
i d d 6Z d � Z d � Z d � Z d � Z d � Z e d k r� e � n d
S( s 1.1t metadata_versiont previewt statust networkt supported_bys?
---
module: nxos_overlay_global
extends_documentation_fragment: nxos
version_added: "2.2"
short_description: Configures anycast gateway MAC of the switch.
description:
- Configures anycast gateway MAC of the switch.
author: Gabriele Gerbino (@GGabriele)
notes:
- Tested against NXOSv 7.3.(0)D1(1) on VIRL
- Default restores params default value
- Supported MAC address format are "E.E.E", "EE-EE-EE-EE-EE-EE",
"EE:EE:EE:EE:EE:EE" and "EEEE.EEEE.EEEE"
options:
anycast_gateway_mac:
description:
- Anycast gateway mac of the switch.
required: true
s9
- nxos_overlay_global:
anycast_gateway_mac: "b.b.b"
s�
commands:
description: commands sent to the device
returned: always
type: list
sample: ["fabric forwarding anycast-gateway-mac 000B.000B.000B"]
i����N( t
get_configt load_config( t nxos_argument_spect
check_args( t
AnsibleModule( t CustomNetworkConfigs% fabric forwarding anycast-gateway-mact anycast_gateway_macc C s{ i } t t | � � } x\ | D]T } t | } t j d j | � | t j � } d } | ri | d } n | | | <q W| S( Ns (?:{0}\s)(?P<value>.*)$t i ( t strR t PARAM_TO_COMMAND_KEYMAPt ret findallt formatt M( t modulet argst existingt configt argt commandt has_commandt value( ( sT /usr/lib/python2.7/site-packages/ansible/modules/network/nxos/nxos_overlay_global.pyt get_existingD s
!
c C sI i } x<