summaryrefslogtreecommitdiff
path: root/lib/ansible/module_utils/network/eos/argspec/vlans/vlans.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/module_utils/network/eos/argspec/vlans/vlans.py')
-rw-r--r--lib/ansible/module_utils/network/eos/argspec/vlans/vlans.py54
1 files changed, 54 insertions, 0 deletions
diff --git a/lib/ansible/module_utils/network/eos/argspec/vlans/vlans.py b/lib/ansible/module_utils/network/eos/argspec/vlans/vlans.py
new file mode 100644
index 0000000000..ea2211ca3d
--- /dev/null
+++ b/lib/ansible/module_utils/network/eos/argspec/vlans/vlans.py
@@ -0,0 +1,54 @@
+# -*- coding: utf-8 -*-
+# Copyright 2019 Red Hat
+# 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.
+#
+#############################################
+
+"""
+The arg spec for the eos_vlans module
+"""
+
+from __future__ import (absolute_import, division, print_function)
+__metaclass__ = type
+
+
+class VlansArgs(object):
+ """The arg spec for the eos_vlans module
+ """
+
+ def __init__(self, **kwargs):
+ pass
+
+ argument_spec = {
+ 'config': {
+ 'elements': 'dict',
+ 'options': {
+ 'vlan_id': {'required': True, 'type': 'int'},
+ 'name': {'type': 'str'},
+ 'state': {'choices': ['active', 'suspend'], 'type': 'str'},
+ },
+ 'type': 'list',
+ },
+ 'state': {
+ 'choices': ['merged', 'replaced', 'overridden', 'deleted'],
+ 'default': 'merged',
+ 'type': 'str',
+ },
+ }