#
# -*- 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 junos_ospf_interfaces module
"""
from __future__ import absolute_import, division, print_function


__metaclass__ = type


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

    def __init__(self, **kwargs):
        pass

    argument_spec = {
        "config": {
            "elements": "dict",
            "options": {
                "router_id": {"type": "str"},
                "address_family": {
                    "elements": "dict",
                    "options": {
                        "afi": {
                            "choices": ["ipv4", "ipv6"],
                            "required": True,
                            "type": "str",
                        },
                        "processes": {
                            "options": {
                                "area": {
                                    "options": {"area_id": {"type": "str"}},
                                    "type": "dict",
                                },
                                "authentication": {
                                    "options": {
                                        "md5": {
                                            "elements": "dict",
                                            "options": {
                                                "key_id": {"type": "int"},
                                                "key_value": {
                                                    "type": "str",
                                                    "no_log": True,
                                                },
                                                "start_time": {"type": "str"},
                                            },
                                            "type": "list",
                                        },
                                        "simple_password": {
                                            "type": "str",
                                            "no_log": True,
                                        },
                                    },
                                    "type": "dict",
                                },
                                "bandwidth_based_metrics": {
                                    "elements": "dict",
                                    "options": {
                                        "bandwidth": {
                                            "choices": ["1g", "10g"],
                                            "type": "str",
                                        },
                                        "metric": {"type": "int"},
                                    },
                                    "type": "list",
                                },
                                "dead_interval": {"type": "int"},
                                "demand_circuit": {"type": "bool"},
                                "flood_reduction": {"type": "bool"},
                                "hello_interval": {"type": "int"},
                                "interface_type": {
                                    "choices": ["nbma", "p2mp", "p2p"],
                                    "type": "str",
                                },
                                "ipsec_sa": {"type": "str"},
                                "metric": {"type": "int"},
                                "mtu": {"type": "int"},
                                "no_advertise_adjacency_segment": {
                                    "type": "bool",
                                },
                                "no_eligible_backup": {"type": "bool"},
                                "no_eligible_remote_backup": {"type": "bool"},
                                "no_interface_state_traps": {"type": "bool"},
                                "no_neighbor_down_notification": {
                                    "type": "bool",
                                },
                                "node_link_protection": {"type": "bool"},
                                "poll_interval": {"type": "int"},
                                "priority": {"type": "int"},
                                "passive": {"type": "bool"},
                                "retransmit_interval": {"type": "int"},
                                "secondary": {"type": "bool"},
                                "te_metric": {"type": "int"},
                                "transit_delay": {"type": "int"},
                            },
                            "type": "dict",
                        },
                    },
                    "type": "list",
                },
                "name": {"required": True, "type": "str"},
            },
            "type": "list",
        },
        "running_config": {"type": "str"},
        "state": {
            "choices": [
                "merged",
                "replaced",
                "overridden",
                "deleted",
                "gathered",
                "parsed",
                "rendered",
            ],
            "default": "merged",
            "type": "str",
        },
    }  # pylint: disable=C0301
