diff options
author | Chris Van Heuveln <cvanheuv@cisco.com> | 2019-11-06 05:10:39 -0500 |
---|---|---|
committer | Trishna Guha <trishnaguha17@gmail.com> | 2019-11-06 15:40:39 +0530 |
commit | 351f60b0e176d03893a8309260b0c48794c7e4b7 (patch) | |
tree | 93fa7518b00363ce3762e9cbabc62107029e6580 /lib/ansible/module_utils/network/nxos/argspec/hsrp_interfaces | |
parent | 52c4c1b00dd1aac5c6154b8b734aea47984056b2 (diff) | |
download | ansible-351f60b0e176d03893a8309260b0c48794c7e4b7.tar.gz |
nxos_hsrp_interfaces: new module (#61498)
* nxos_hsrp_interfaces: new module
* lint 1
* lint 2
* add normalize_interfaces
* change version /2.9/2.10/
* /2.10/"2.10"/
Diffstat (limited to 'lib/ansible/module_utils/network/nxos/argspec/hsrp_interfaces')
-rw-r--r-- | lib/ansible/module_utils/network/nxos/argspec/hsrp_interfaces/__init__.py | 0 | ||||
-rw-r--r-- | lib/ansible/module_utils/network/nxos/argspec/hsrp_interfaces/hsrp_interfaces.py | 54 |
2 files changed, 54 insertions, 0 deletions
diff --git a/lib/ansible/module_utils/network/nxos/argspec/hsrp_interfaces/__init__.py b/lib/ansible/module_utils/network/nxos/argspec/hsrp_interfaces/__init__.py new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/lib/ansible/module_utils/network/nxos/argspec/hsrp_interfaces/__init__.py diff --git a/lib/ansible/module_utils/network/nxos/argspec/hsrp_interfaces/hsrp_interfaces.py b/lib/ansible/module_utils/network/nxos/argspec/hsrp_interfaces/hsrp_interfaces.py new file mode 100644 index 0000000000..5183ce7ac8 --- /dev/null +++ b/lib/ansible/module_utils/network/nxos/argspec/hsrp_interfaces/hsrp_interfaces.py @@ -0,0 +1,54 @@ +# +# -*- coding: utf-8 -*- +# Copyright 2019 Cisco and/or its affiliates. +# GNU General Public License v3.0+ +# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) + +############################################# +# WARNING # +############################################# +# +# This file is auto generated by the resource +# module builder playbook. +# +# Do not edit this file manually. +# +# Changes to this file will be over written +# by the resource module builder. +# +# Changes should be made in the model used to +# generate this file or in the resource module +# builder template. +# +############################################# +from __future__ import (absolute_import, division, print_function) +__metaclass__ = type + +""" +The arg spec for the nxos_hsrp_interfaces module +""" + + +class Hsrp_interfacesArgs(object): # pylint: disable=R0903 + """The arg spec for the nxos_hsrp_interfaces module + """ + + def __init__(self, **kwargs): + pass + + argument_spec = { + 'config': { + 'type': 'list', + 'elements': 'dict', + 'options': { + 'name': {'type': 'str'}, + 'bfd': { + 'choices': ['enable', 'disable'], 'type': 'str'}, + }, + }, + 'state': { + 'choices': ['merged', 'replaced', 'overridden', 'deleted'], + 'default': 'merged', + 'type': 'str' + } + } # pylint: disable=C0301 |