Skip to content

Commit

Permalink
clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
omnom62 committed Dec 13, 2024
1 parent c777efd commit 61785d4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 48 deletions.
36 changes: 0 additions & 36 deletions plugins/module_utils/network/vyos/argspec/bgp_global/bgp_global.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,6 @@ class Bgp_globalArgs(object): # pylint: disable=R0903
"type": "dict",
"options": {
"as_number": {"type": "int"},
# "aggregate_address": {
# "type": "list",
# "elements": "dict",
# "options": {
# "prefix": {"type": "str"},
# "as_set": {"type": "bool"},
# "summary_only": {"type": "bool"},
# },
# },
"maximum_paths": {
"type": "list",
"elements": "dict",
Expand Down Expand Up @@ -159,33 +150,6 @@ class Bgp_globalArgs(object): # pylint: disable=R0903
},
},
},
# "network": {
# "type": "list",
# "elements": "dict",
# "options": {
# "address": {"type": "str"},
# "backdoor": {"type": "bool"},
# "route_map": {"type": "str"},
# },
# },
# "redistribute": {
# "type": "list",
# "elements": "dict",
# "options": {
# "protocol": {
# "type": "str",
# "choices": [
# "connected",
# "kernel",
# "ospf",
# "rip",
# "static",
# ],
# },
# "route_map": {"type": "str"},
# "metric": {"type": "int"},
# },
# },
"timers": {
"type": "dict",
"options": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -401,9 +401,6 @@ def __init__(self, lines=None, module=None):
*$""",
re.VERBOSE,
),
# "setval": "protocols bgp {{ as_number }} address-family {{ address_family.afi }}-unicast network" +
# "{{ address_family.networks.prefix }} path-limit {{ address_family.networks.path_limit }}",
# "remval": "protocols bgp {{ as_number }} address-family {{ address_family.afi }}-unicast network {{ address_family.networks.address }}",
"setval": _tmplt_bgp_af_network,
"remval": _tmplt_bgp_af_network_delete,
"compval": "address_family.networks.path_limit",
Expand Down Expand Up @@ -439,9 +436,6 @@ def __init__(self, lines=None, module=None):
*$""",
re.VERBOSE,
),
# "setval": "protocols bgp {{ as_number }} address-family {{ address_family.afi }}-unicast network" +
# " {{ address_family.networks.prefix }} route-map {{ address_family.networks.route_map }}",
# "remval": "protocols bgp {{ as_number }} address-family {{ address_family.afi }}-unicast network {{ address_family.networks.prefix }}",
"setval": _tmplt_bgp_af_network,
"remval": _tmplt_bgp_af_network_delete,
"compval": "address_family.networks.route_map",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -414,9 +414,6 @@ def __init__(self, lines=None, module=None):
*$""",
re.VERBOSE,
),
# "setval": "protocols bgp address-family {{ address_family.afi }}-unicast network" +
# "{{ address_family.networks.prefix }} path-limit {{ address_family.networks.path_limit }}",
# "remval": "protocols bgp address-family {{ address_family.afi }}-unicast network {{ address_family.networks.address }}",
"setval": _tmplt_bgp_af_network,
"remval": _tmplt_bgp_af_network_delete,
"compval": "address_family.networks.path_limit",
Expand Down Expand Up @@ -451,9 +448,6 @@ def __init__(self, lines=None, module=None):
*$""",
re.VERBOSE,
),
# "setval": "protocols bgp address-family {{ address_family.afi }}-unicast network" +
# " {{ address_family.networks.prefix }} route-map {{ address_family.networks.route_map }}",
# "remval": "protocols bgp address-family {{ address_family.afi }}-unicast network {{ address_family.networks.prefix }}",
"setval": _tmplt_bgp_af_network,
"remval": _tmplt_bgp_af_network_delete,
"compval": "address_family.networks.route_map",
Expand Down

0 comments on commit 61785d4

Please sign in to comment.