mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
53 lines
1.5 KiB
Python
53 lines
1.5 KiB
Python
#
|
|
# -*- 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 exos_vlans module
|
|
"""
|
|
from __future__ import absolute_import, division, print_function
|
|
__metaclass__ = type
|
|
|
|
|
|
class VlansArgs(object): # pylint: disable=R0903
|
|
"""The arg spec for the exos_vlans module
|
|
"""
|
|
|
|
def __init__(self, **kwargs):
|
|
pass
|
|
|
|
argument_spec = {
|
|
'config': {
|
|
'elements': 'dict',
|
|
'options': {
|
|
'name': {'type': 'str'},
|
|
'state': {
|
|
'choices': ['active', 'suspend'],
|
|
'default': 'active',
|
|
'type': 'str'},
|
|
'vlan_id': {'required': True, 'type': 'int'}},
|
|
'type': 'list'},
|
|
'state': {
|
|
'choices': ['merged', 'replaced', 'overridden', 'deleted'],
|
|
'default': 'merged',
|
|
'type': 'str'}} # pylint: disable=C0301
|