summaryrefslogtreecommitdiff
path: root/plugins/module_utils/network/vyos/argspec/bgp_address_family/bgp_address_family.py
blob: 9868fc6bc48cf045b4c7a7122d0b58cf3c6bb53a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
# -*- coding: utf-8 -*-
# Copyright 2021 Red Hat
# GNU General Public License v3.0+
# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)

from __future__ import absolute_import, division, print_function


__metaclass__ = type

#############################################
#                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 vyos_bgp_address_family module
"""


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

    def __init__(self, **kwargs):
        pass

    argument_spec = {
        "running_config": {},
        "state": {
            "default": "merged",
            "type": "str",
            "choices": [
                "merged",
                "replaced",
                "deleted",
                "gathered",
                "parsed",
                "rendered",
                "purged",
                "overridden",
            ],
        },
        "config": {
            "type": "dict",
            "options": {
                "neighbors": {
                    "elements": "dict",
                    "type": "list",
                    "options": {
                        "address_family": {
                            "elements": "dict",
                            "type": "list",
                            "options": {
                                "nexthop_local": {"type": "bool"},
                                "soft_reconfiguration": {"type": "bool"},
                                "unsupress_map": {"type": "str"},
                                "nexthop_self": {"type": "bool"},
                                "weight": {"type": "int"},
                                "prefix_list": {
                                    "elements": "dict",
                                    "type": "list",
                                    "options": {
                                        "action": {
                                            "type": "str",
                                            "choices": ["export", "import"],
                                        },
                                        "prefix_list": {"type": "str"},
                                    },
                                },
                                "default_originate": {"type": "str"},
                                "distribute_list": {
                                    "elements": "dict",
                                    "type": "list",
                                    "options": {
                                        "action": {
                                            "type": "str",
                                            "choices": ["export", "import"],
                                        },
                                        "acl": {"type": "int"},
                                    },
                                },
                                "allowas_in": {"type": "int"},
                                "filter_list": {
                                    "elements": "dict",
                                    "type": "list",
                                    "options": {
                                        "action": {
                                            "type": "str",
                                            "choices": ["export", "import"],
                                        },
                                        "path_list": {"type": "str"},
                                    },
                                },
                                "route_server_client": {"type": "bool"},
                                "attribute_unchanged": {
                                    "type": "dict",
                                    "options": {
                                        "as_path": {"type": "bool"},
                                        "med": {"type": "bool"},
                                        "next_hop": {"type": "bool"},
                                    },
                                },
                                "peer_group": {"type": "str"},
                                "maximum_prefix": {"type": "int"},
                                "route_reflector_client": {"type": "bool"},
                                "route_map": {
                                    "elements": "dict",
                                    "type": "list",
                                    "options": {
                                        "action": {
                                            "type": "str",
                                            "choices": ["export", "import"],
                                        },
                                        "route_map": {"type": "str"},
                                    },
                                },
                                "capability": {
                                    "type": "dict",
                                    "options": {
                                        "orf": {
                                            "type": "str",
                                            "choices": ["send", "receive"],
                                        },
                                        "dynamic": {"type": "bool"},
                                    },
                                },
                                "remove_private_as": {"type": "bool"},
                                "as_override": {"type": "bool"},
                                "afi": {
                                    "type": "str",
                                    "choices": ["ipv4", "ipv6"],
                                },
                            },
                        },
                        "neighbor_address": {"type": "str"},
                    },
                },
                "as_number": {"type": "int"},
                "address_family": {
                    "elements": "dict",
                    "type": "list",
                    "options": {
                        "afi": {"type": "str", "choices": ["ipv4", "ipv6"]},
                        "redistribute": {
                            "elements": "dict",
                            "type": "list",
                            "options": {
                                "table": {"type": "str"},
                                "metric": {"type": "int"},
                                "protocol": {
                                    "type": "str",
                                    "choices": [
                                        "connected",
                                        "kernel",
                                        "ospf",
                                        "ospfv3",
                                        "rip",
                                        "ripng",
                                        "static",
                                    ],
                                },
                                "route_map": {"type": "str"},
                            },
                        },
                        "networks": {
                            "elements": "dict",
                            "type": "list",
                            "options": {
                                "backdoor": {"type": "bool"},
                                "prefix": {"type": "str"},
                                "path_limit": {"type": "int"},
                                "route_map": {"type": "str"},
                            },
                        },
                        "aggregate_address": {
                            "elements": "dict",
                            "type": "list",
                            "options": {
                                "summary_only": {"type": "bool"},
                                "prefix": {"type": "str"},
                                "as_set": {"type": "bool"},
                            },
                        },
                    },
                },
            },
        },
    }  # pylint: disable=C0301