#
# -*- 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 iosxr_l2_interfaces module
"""

from __future__ import absolute_import, division, print_function

__metaclass__ = type


class L2_InterfacesArgs(object):
    def __init__(self, **kwargs):
        pass

    argument_spec = {
        "config": {
            "elements": "dict",
            "options": {
                "name": {"type": "str", "required": True},
                "native_vlan": {"type": "int"},
                "l2transport": {"type": "bool"},
                "l2protocol": {
                    "elements": "dict",
                    "options": {
                        "cdp": {
                            "type": "str",
                            "choices": ["drop", "forward", "tunnel"],
                        },
                        "pvst": {
                            "type": "str",
                            "choices": ["drop", "forward", "tunnel"],
                        },
                        "stp": {
                            "type": "str",
                            "choices": ["drop", "forward", "tunnel"],
                        },
                        "vtp": {
                            "type": "str",
                            "choices": ["drop", "forward", "tunnel"],
                        },
                        "cpsv": {
                            "type": "str",
                            "choices": ["drop", "reverse-tunnel", "tunnel"],
                        },
                    },
                    "type": "list",
                },
                "q_vlan": {"type": "list", "elements": "int"},
                "propagate": {"type": "bool"},
                "encapsulation": {
                    "type": "dict",
                    "options": {
                        "dot1q": {"type": "int"},
                        "second_dot1q": {"type": "int"},
                    },
                },
            },
            "type": "list",
        },
        "running_config": {"type": "str"},
        "state": {
            "choices": [
                "merged",
                "replaced",
                "overridden",
                "deleted",
                "gathered",
                "parsed",
                "rendered",
            ],
            "default": "merged",
            "type": "str",
        },
    }
