#
# -*- coding: utf-8 -*-
# Copyright 2020 Dell Inc. or its subsidiaries. All Rights Reserved
# 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 sonic_mclag module
"""

from __future__ import absolute_import, division, print_function
__metaclass__ = type


class MclagArgs(object):  # pylint: disable=R0903
    """The arg spec for the sonic_mclag module
    """

    def __init__(self, **kwargs):
        pass

    argument_spec = {
        'config': {
            'options': {
                'domain_id': {'required': True, 'type': 'int'},
                'gateway_mac': {'type': 'str'},
                'delay_restore': {'type': 'int'},
                'keepalive': {'type': 'int'},
                'peer_address': {'type': 'str'},
                'peer_link': {'type': 'str'},
                'members': {
                    'options': {
                        'portchannels': {
                            'elements': 'dict',
                            'options': {
                                'lag': {'type': 'str'}
                            },
                            'type': 'list'
                        }
                    },
                    'type': 'dict'
                },
                'peer_gateway': {
                    'options': {
                        'vlans': {
                            'elements': 'dict',
                            'options': {
                                'vlan': {'type': 'str'}
                            },
                            'type': 'list'
                        }
                    },
                    'type': 'dict'
                },
                'session_timeout': {'type': 'int'},
                'session_vrf': {'type': 'str'},
                'source_address': {'type': 'str'},
                'system_mac': {'type': 'str'},
                'unique_ip': {
                    'options': {
                        'vlans': {
                            'elements': 'dict',
                            'options': {
                                'vlan': {'type': 'str'}
                            },
                            'type': 'list'
                        }
                    },
                    'type': 'dict'
                },
                'backup_keepalive_source_address': {'type': 'str'},
                'backup_keepalive_peer_address': {'type': 'str'},
                'backup_keepalive_interval': {'type': 'int'},
                'backup_keepalive_session_vrf': {'type': 'str'},
            },
            'type': 'dict'
        },
        'state': {
            'choices': ['merged', 'deleted', 'replaced', 'overridden'],
            'default': 'merged',
            'type': 'str'
        }
    }  # pylint: disable=C0301
