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
|
# Copyright 2019 Red Hat
# GNU General Public License v3.0+
# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
"""
The arg spec for the vyos facts module.
"""
from __future__ import absolute_import, division, print_function
__metaclass__ = type
class FactsArgs(object): # pylint: disable=R0903
""" The arg spec for the vyos facts module
"""
def __init__(self, **kwargs):
pass
choices = [
"all",
"interfaces",
"!interfaces",
"l3_interfaces",
"!l3_interfaces",
"lag_interfaces",
"!lag_interfaces",
"lldp_global",
"!lldp_global",
"lldp_interfaces",
"!lldp_interfaces",
]
argument_spec = {
"gather_subset": dict(default=["!config"], type="list"),
"gather_network_resources": dict(choices=choices, type="list"),
}
|