cisco_node_utils 1.7.0 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +36 -0
  3. data/CONTRIBUTING.md +2 -2
  4. data/README.md +2 -1
  5. data/cisco_node_utils.gemspec +1 -0
  6. data/docs/README-develop-node-utils-APIs.md +2 -1
  7. data/lib/cisco_node_utils/aaa_authentication_login_service.rb +2 -2
  8. data/lib/cisco_node_utils/ace.rb +2 -0
  9. data/lib/cisco_node_utils/bgp.rb +34 -91
  10. data/lib/cisco_node_utils/bridge_domain.rb +8 -13
  11. data/lib/cisco_node_utils/client/nxapi/client.rb +10 -3
  12. data/lib/cisco_node_utils/cmd_ref/DEPRECATED.yaml +12 -12
  13. data/lib/cisco_node_utils/cmd_ref/README_YAML.md +2 -1
  14. data/lib/cisco_node_utils/cmd_ref/aaa_authorization_service.yaml +1 -0
  15. data/lib/cisco_node_utils/cmd_ref/bfd_global.yaml +3 -3
  16. data/lib/cisco_node_utils/cmd_ref/bgp.yaml +5 -15
  17. data/lib/cisco_node_utils/cmd_ref/bgp_af.yaml +1 -1
  18. data/lib/cisco_node_utils/cmd_ref/bgp_neighbor_af.yaml +1 -0
  19. data/lib/cisco_node_utils/cmd_ref/bridge_domain.yaml +14 -36
  20. data/lib/cisco_node_utils/cmd_ref/bridge_domain_vni.yaml +1 -1
  21. data/lib/cisco_node_utils/cmd_ref/dhcp_relay_global.yaml +5 -3
  22. data/lib/cisco_node_utils/cmd_ref/encapsulation.yaml +1 -1
  23. data/lib/cisco_node_utils/cmd_ref/fabricpath.yaml +1 -1
  24. data/lib/cisco_node_utils/cmd_ref/fabricpath_topology.yaml +1 -1
  25. data/lib/cisco_node_utils/cmd_ref/feature.yaml +3 -3
  26. data/lib/cisco_node_utils/cmd_ref/interface.yaml +25 -15
  27. data/lib/cisco_node_utils/cmd_ref/interface_ospf.yaml +5 -0
  28. data/lib/cisco_node_utils/cmd_ref/interface_portchannel.yaml +6 -0
  29. data/lib/cisco_node_utils/cmd_ref/interface_service_vni.yaml +1 -1
  30. data/lib/cisco_node_utils/cmd_ref/inventory.yaml +9 -0
  31. data/lib/cisco_node_utils/cmd_ref/itd_device_group.yaml +1 -1
  32. data/lib/cisco_node_utils/cmd_ref/itd_service.yaml +1 -1
  33. data/lib/cisco_node_utils/cmd_ref/object_group.yaml +32 -0
  34. data/lib/cisco_node_utils/cmd_ref/ospf.yaml +1 -1
  35. data/lib/cisco_node_utils/cmd_ref/portchannel_global.yaml +9 -7
  36. data/lib/cisco_node_utils/cmd_ref/radius_global.yaml +7 -0
  37. data/lib/cisco_node_utils/cmd_ref/route_map.yaml +26 -25
  38. data/lib/cisco_node_utils/cmd_ref/show_version.yaml +11 -3
  39. data/lib/cisco_node_utils/cmd_ref/snmp_community.yaml +4 -0
  40. data/lib/cisco_node_utils/cmd_ref/snmp_server.yaml +5 -1
  41. data/lib/cisco_node_utils/cmd_ref/stp_global.yaml +8 -8
  42. data/lib/cisco_node_utils/cmd_ref/syslog_server.yaml +3 -2
  43. data/lib/cisco_node_utils/cmd_ref/syslog_settings.yaml +21 -1
  44. data/lib/cisco_node_utils/cmd_ref/tacacs_global.yaml +7 -0
  45. data/lib/cisco_node_utils/cmd_ref/vdc.yaml +1 -1
  46. data/lib/cisco_node_utils/cmd_ref/vlan.yaml +5 -4
  47. data/lib/cisco_node_utils/cmd_ref/vpc.yaml +9 -9
  48. data/lib/cisco_node_utils/cmd_ref/vrf.yaml +1 -0
  49. data/lib/cisco_node_utils/cmd_ref/vxlan_vtep.yaml +1 -0
  50. data/lib/cisco_node_utils/cmd_ref/vxlan_vtep_vni.yaml +3 -5
  51. data/lib/cisco_node_utils/command_reference.rb +11 -1
  52. data/lib/cisco_node_utils/interface.rb +46 -8
  53. data/lib/cisco_node_utils/interface_ospf.rb +2 -2
  54. data/lib/cisco_node_utils/interface_portchannel.rb +2 -2
  55. data/lib/cisco_node_utils/node.rb +9 -0
  56. data/lib/cisco_node_utils/ntp_auth_key.rb +1 -1
  57. data/lib/cisco_node_utils/object_group.rb +75 -0
  58. data/lib/cisco_node_utils/object_group_entry.rb +143 -0
  59. data/lib/cisco_node_utils/portchannel_global.rb +2 -2
  60. data/lib/cisco_node_utils/radius_global.rb +25 -1
  61. data/lib/cisco_node_utils/router_ospf.rb +3 -3
  62. data/lib/cisco_node_utils/syslog_server.rb +38 -42
  63. data/lib/cisco_node_utils/syslog_settings.rb +74 -3
  64. data/lib/cisco_node_utils/tacacs_global.rb +47 -14
  65. data/lib/cisco_node_utils/tacacs_server.rb +1 -5
  66. data/lib/cisco_node_utils/version.rb +1 -1
  67. data/lib/cisco_node_utils/vpc.rb +1 -4
  68. data/lib/cisco_node_utils/vtp.rb +4 -2
  69. data/spec/schema.yaml +3 -0
  70. data/tests/ciscotest.rb +16 -9
  71. data/tests/test_ace.rb +2 -0
  72. data/tests/test_bgp_af.rb +10 -2
  73. data/tests/test_bgp_neighbor_af.rb +6 -2
  74. data/tests/test_bridge_domain.rb +7 -0
  75. data/tests/test_feature.rb +2 -2
  76. data/tests/test_interface.rb +30 -4
  77. data/tests/test_node_ext.rb +2 -2
  78. data/tests/test_object_group.rb +122 -0
  79. data/tests/test_platform.rb +1 -1
  80. data/tests/test_portchannel_global.rb +1 -0
  81. data/tests/test_radius_global.rb +22 -2
  82. data/tests/test_route_map.rb +11 -8
  83. data/tests/test_router_bgp.rb +7 -132
  84. data/tests/test_router_ospf_area.rb +6 -6
  85. data/tests/test_snmpuser.rb +19 -11
  86. data/tests/test_syslog_server.rb +11 -31
  87. data/tests/test_syslog_settings.rb +46 -5
  88. data/tests/test_tacacs_global.rb +42 -18
  89. data/tests/test_vpc.rb +3 -0
  90. data/tests/test_vxlan_vtep_vni.rb +0 -3
  91. data/tests/yum_package.yaml +5 -0
  92. metadata +21 -3
@@ -255,7 +255,8 @@ vrf:
255
255
 
256
256
  ### Product variants
257
257
 
258
- Various product categories can also be used as keys to subdivide attributes as needed. Supported categories currently include the various Nexus switch product lines (`N3k`, `N5k`, `N6k`. `N7k`, `N9k`). When using one or more product keys in this fashion, you can also use the special key `else` to handle all other products not specifically called out:
258
+ Various product categories can also be used as keys to subdivide attributes as needed. Supported categories currently
259
+ include the various Nexus switch product lines (`N3k`, `N3k-F`, `N5k`, `N6k`. `N7k`, `N9k`, `N9k-F`). When using one or more product keys in this fashion, you can also use the special key `else` to handle all other products not specifically called out:
259
260
 
260
261
  ```yaml
261
262
  # show_version.yaml
@@ -28,6 +28,7 @@ remove_local_auth:
28
28
  N3k: &remove_local_allowed
29
29
  default_only: true
30
30
  N9k: *remove_local_allowed
31
+ N3k-F: *remove_local_allowed
31
32
  N9k-F: *remove_local_allowed
32
33
  N5k: *remove_local_allowed
33
34
  N6k: *remove_local_allowed
@@ -23,20 +23,20 @@ echo_rx_interval:
23
23
  default_value: 50
24
24
 
25
25
  fabricpath_interval:
26
- _exclude: [N3k, N9k-F, N9k]
26
+ _exclude: [N3k, N3k-F, N9k-F, N9k]
27
27
  get_value: '/^bfd fabricpath interval (\d+) min_rx (\d+) multiplier (\d+)$/'
28
28
  set_value: '<state> bfd fabricpath interval <interval> min_rx <min_rx> multiplier <multiplier>'
29
29
  default_value: ['50', '50', '3']
30
30
 
31
31
  fabricpath_slow_timer:
32
- _exclude: [N3k, N9k-F, N9k]
32
+ _exclude: [N3k, N3k-F, N9k-F, N9k]
33
33
  kind: int
34
34
  get_value: '/^bfd fabricpath slow-timer (\d+)$/'
35
35
  set_value: '<state> bfd fabricpath slow-timer <timer>'
36
36
  default_value: 2000
37
37
 
38
38
  fabricpath_vlan:
39
- _exclude: [N3k, N9k-F, N9k]
39
+ _exclude: [N3k, N3k-F, N9k-F, N9k]
40
40
  kind: int
41
41
  get_value: '/^bfd fabricpath vlan (\d+)$/'
42
42
  set_value: '<state> bfd fabricpath vlan <vlan>'
@@ -152,43 +152,33 @@ event_history_cli:
152
152
  _exclude: [ios_xr]
153
153
  get_value: '/^(no )?event-history cli(?: size (\S+))?$/'
154
154
  set_value: '<state> event-history cli <size>'
155
- default_value: 'size_small'
156
155
 
157
156
  event_history_detail:
158
157
  _exclude: [ios_xr]
159
158
  get_value: '/^(no )?event-history detail(?: size (\S+))?$/'
160
159
  set_value: '<state> event-history detail <size>'
161
- default_value: 'false'
162
160
 
163
161
  event_history_errors:
164
- _exclude: [ios_xr]
162
+ _exclude: [ios_xr, N5k, N6k]
163
+ os_version: 'N7k:8.0; N3k, N9k:7.0.3.I5.1; N9k-F:7.0.3.F3.2'
165
164
  get_value: '/^(no )?event-history errors(?: size (\S+))?$/'
166
165
  set_value: '<state> event-history errors <size>'
167
- default_value: 'size_medium'
168
166
 
169
167
  event_history_events:
170
168
  _exclude: [ios_xr]
171
169
  get_value: '/^(no )?event-history events(?: size (\S+))?$/'
172
170
  set_value: '<state> event-history events <size>'
173
- default_value: 'size_small'
174
-
175
- event_history_events_bytes:
176
- default_only: 'size_large'
177
171
 
178
172
  event_history_objstore:
179
- _exclude: [ios_xr]
173
+ _exclude: [ios_xr, N5k, N6k]
174
+ os_version: 'N7k:8.0; N3k, N9k:7.0.3.I5.1; N9k-F:7.0.3.F3.2'
180
175
  get_value: '/^(no )?event-history objstore(?: size (\S+))?$/'
181
176
  set_value: '<state> event-history objstore <size>'
182
- default_value: 'false'
183
177
 
184
178
  event_history_periodic:
185
179
  _exclude: [ios_xr]
186
180
  get_value: '/^(no )?event-history periodic(?: size (\S+))?$/'
187
181
  set_value: '<state> event-history periodic <size>'
188
- default_value: 'size_small'
189
-
190
- event_history_periodic_bytes:
191
- default_only: 'false'
192
182
 
193
183
  fast_external_fallover:
194
184
  kind: boolean
@@ -292,7 +282,7 @@ nsr:
292
282
  set_value: '<state> nsr'
293
283
 
294
284
  process_initialized:
295
- _exclude: [ios_xr, N3k, N7k, N9k]
285
+ _exclude: [ios_xr, N3k, N3k-F, N7k, N9k, N9k-F]
296
286
  # bgp process initialization state
297
287
  kind: boolean
298
288
  context: ~
@@ -11,7 +11,7 @@ _template:
11
11
  get_command: 'show running-config router bgp'
12
12
 
13
13
  additional_paths_install:
14
- _exclude: [ios_xr, N3k, N9k-F, N9k]
14
+ _exclude: [ios_xr, N3k, N3k-F, N9k-F, N9k]
15
15
  kind: boolean
16
16
  get_value: '/^additional-paths install backup$/'
17
17
  set_value: '<state> additional-paths install backup'
@@ -194,6 +194,7 @@ soft_reconfiguration_in:
194
194
  get_value: '/^soft-reconfiguration inbound(?: always)?/'
195
195
  set_value: '<state> soft-reconfiguration inbound <always>'
196
196
  N3k: *soft_recon_always
197
+ N3k-F: *soft_recon_always
197
198
  N9k-F: *soft_recon_always
198
199
  N9k: *soft_recon_always
199
200
  else:
@@ -1,70 +1,48 @@
1
1
  # bridge_domain
2
2
  # bridge_domain feature is available only on n7k
3
3
  ---
4
- _exclude: [N3k, N5k, N6k, N9k-F, N9k, ios_xr]
5
-
6
- # For the below name, shutdown commands we are going to use show running-config
7
- # bridge-domain cli which displays as below
8
- #
9
- # system bridge-domain 100-110
10
- #
11
- # bridge-domain 100-110
12
- #
13
- # bridge-domain 100
14
- # shutdown
15
- # fabric-control
16
- # name bd100
17
- # bridge-domain 101
18
- # bridge-domain 102
19
- # ...
20
- # bridge-domain 108
21
- # shutdown
22
- # name bd108
23
- # bridge-domain 109
24
- # shutdown
25
- # bridge-domain 110
26
- # name bd110
4
+ _exclude: [N3k, N5k, N6k, N3k-F, N9k-F, N9k, ios_xr]
27
5
 
28
6
  _template:
29
7
  get_command: "show running-config bridge-domain"
30
- get_context: ['/^bridge-domain <bd>\s$/']
8
+ get_context: ~
31
9
  set_context: ["(?)bridge-domain <bd>"]
32
10
 
33
11
  all_bds:
34
12
  multiple: true
35
- get_context: ~
36
13
  get_value: '/^bridge-domain (\S+)/'
37
14
 
38
15
  bd_name:
39
- kind: string
40
- get_value: '/name (\S+)/'
16
+ get_data_format: nxapi_structured
17
+ get_command: "show bridge-domain <bd>"
18
+ get_context: ["TABLE_bd", "ROW_bd"]
19
+ get_value: ["bd-name"]
41
20
  set_value: "<state> name <name>"
42
- default_value: ~
43
21
 
44
22
  create:
45
- get_context: ~
46
23
  set_value: "bridge-domain <bd>"
47
24
 
48
25
  destroy:
49
- get_context: ~
50
26
  set_value: "no bridge-domain <bd>"
51
27
 
52
28
  # Configured fabric-control Bridge-Domain/VLAN : 100
53
29
  fabric_control:
54
- kind: boolean
55
- get_value: '/fabric-control/'
30
+ get_data_format: nxapi_structured
31
+ get_command: "show bridge-domain summary"
32
+ get_context: ~
33
+ get_value: ["fabric-control-bd"]
56
34
  set_value: "<state> fabric-control"
57
35
  default_value: false
58
36
 
59
- # Same reason as for bd_name case above
60
37
  shutdown:
61
- kind: boolean
62
- get_value: '/shutdown/'
38
+ get_data_format: nxapi_structured
39
+ get_command: "show bridge-domain <bd>"
40
+ get_context: ["TABLE_bd", "ROW_bd"]
41
+ get_value: ["bd-admin-state"]
63
42
  set_value: "<state> shutdown"
64
43
  default_value: false
65
44
 
66
45
  system_bridge_domain:
67
- get_context: ~
68
46
  get_value: '/^system bridge-domain (\S+)/'
69
47
  set_context: ~
70
48
  set_value: "system bridge-domain <oper> <bd>"
@@ -1,6 +1,6 @@
1
1
  # bridge_domain
2
2
  ---
3
- _exclude: [N3k, N5k, N6k, N9k-F, N9k, ios_xr]
3
+ _exclude: [N3k, N5k, N6k, N3k-F, N9k-F, N9k, ios_xr]
4
4
 
5
5
  create:
6
6
  set_value: "bridge-domain <bd>"
@@ -47,6 +47,7 @@ ipv4_relay:
47
47
  default_value: false
48
48
  N6k: *relay_default_false
49
49
  N7k: *relay_default_true
50
+ N3k-F: *relay_default_true
50
51
  N9k-F: *relay_default_true
51
52
  N9k: *relay_default_true
52
53
 
@@ -57,7 +58,7 @@ ipv4_smart_relay:
57
58
  default_value: false
58
59
 
59
60
  ipv4_src_addr_hsrp:
60
- _exclude: [N3k, N9k-F, N9k]
61
+ _exclude: [N3k, N3k-F, N9k-F, N9k]
61
62
  kind: boolean
62
63
  get_value: '/^ip dhcp relay source-address hsrp$/'
63
64
  set_value: "<state> ip dhcp relay source-address hsrp"
@@ -69,14 +70,14 @@ ipv4_src_intf:
69
70
  default_value: false
70
71
 
71
72
  ipv4_sub_option_circuit_id_custom:
72
- _exclude: [N7k, N9k-F]
73
+ _exclude: [N7k, N3k-F, N9k-F]
73
74
  kind: boolean
74
75
  get_value: '/^ip dhcp relay sub-option circuit-id customized$/'
75
76
  set_value: "<state> ip dhcp relay sub-option circuit-id customized"
76
77
  default_value: false
77
78
 
78
79
  ipv4_sub_option_circuit_id_string:
79
- _exclude: [N5k, N6k, N7k, N9k-F]
80
+ _exclude: [N5k, N6k, N7k, N3k-F, N9k-F]
80
81
  os_version: 'N9k:7.0.3.I6.1'
81
82
  get_value: '/^ip dhcp relay sub-option circuit-id format-type string format (.*)$/'
82
83
  set_value: "<state> ip dhcp relay sub-option circuit-id format-type string <format> <word>"
@@ -117,6 +118,7 @@ ipv6_relay:
117
118
  default_value: false
118
119
  N6k: *v6_relay_default_false
119
120
  N7k: *v6_relay_default_true
121
+ N3k-F: *v6_relay_default_true
120
122
  N9k-F: *v6_relay_default_true
121
123
  N9k: *v6_relay_default_true
122
124
 
@@ -1,7 +1,7 @@
1
1
  # encapsulation_profile_vni
2
2
  # encapsulation_profile_vni feature is available only on n7k
3
3
  ---
4
- _exclude: [N3k, N5k, N6k, N9k-F, N9k, ios_xr]
4
+ _exclude: [N3k, N5k, N6k, N3k-F, N9k-F, N9k, ios_xr]
5
5
 
6
6
  all_encaps:
7
7
  multiple: true
@@ -1,6 +1,6 @@
1
1
  # fabricpath
2
2
  ---
3
- _exclude: [N3k, N9k-F, N9k, ios_xr]
3
+ _exclude: [N3k, N3k-F, N9k-F, N9k, ios_xr]
4
4
 
5
5
  aggregate_multicast_routes:
6
6
  _exclude: [N5k, N6k]
@@ -1,7 +1,7 @@
1
1
  # fabricpath_topology
2
2
  ---
3
3
  # Fabricpath feature is not available on N3K and N9K
4
- _exclude: [N3k, N9k-F, N9k, ios_xr]
4
+ _exclude: [N3k, N3k-F, N9k-F, N9k, ios_xr]
5
5
 
6
6
  _template:
7
7
  get_command: 'show running-config fabricpath all'
@@ -21,7 +21,7 @@ dhcp:
21
21
  set_value: "feature dhcp"
22
22
 
23
23
  fabric:
24
- _exclude: [N3k, N9k-F, N9k]
24
+ _exclude: [N3k, N3k-F, N9k-F, N9k]
25
25
  get_command: "show feature-set"
26
26
  get_value: '/^fabric[\s\d]+(\w+)/'
27
27
  set_value: "<state> feature-set fabric"
@@ -32,7 +32,7 @@ fabric_forwarding:
32
32
  set_value: "feature fabric forwarding"
33
33
 
34
34
  fex:
35
- _exclude: [C3064, C3132, N5k, N6k, N9k-F]
35
+ _exclude: [C3064, C3132, N5k, N6k, N3k-F, N9k-F]
36
36
  get_command: "show feature-set"
37
37
  get_value: '/^fex[\s\d]+(\w+)/'
38
38
  set_value: "<state> feature-set fex"
@@ -78,7 +78,7 @@ pim:
78
78
  set_value: 'feature pim'
79
79
 
80
80
  private_vlan:
81
- _exclude: [N9k-F]
81
+ _exclude: [N3k-F, N9k-F]
82
82
  kind: boolean
83
83
  get_value: '/^feature private-vlan$/'
84
84
  set_value: "feature private-vlan"
@@ -18,8 +18,11 @@ all_interfaces:
18
18
  multiple:
19
19
  ios_xr:
20
20
  get_command: 'show running all-interfaces'
21
+ get_value: '/^interface (.*)/'
22
+ nexus:
23
+ get_command: "show running-config interface | section '^interface'"
24
+ get_value: '/(.*)/'
21
25
  get_context: ~
22
- get_value: '/^interface (.*)/'
23
26
 
24
27
  bfd_echo:
25
28
  _exclude: [ios_xr]
@@ -40,6 +43,13 @@ create:
40
43
  set_context: ~
41
44
  set_value: "interface <name>"
42
45
 
46
+ default:
47
+ multiple:
48
+ set_context: ~
49
+ set_value: "default interface <name>"
50
+ get_command: "show running interface <name>"
51
+ get_value: '/(.*)/'
52
+
43
53
  description:
44
54
  kind: string
45
55
  get_value: '/^description (.*)/'
@@ -191,7 +201,7 @@ ipv4_dhcp_relay_info_trust:
191
201
  default_value: false
192
202
 
193
203
  ipv4_dhcp_relay_src_addr_hsrp:
194
- _exclude: [ios_xr, N3k, N9k-F, N9k]
204
+ _exclude: [ios_xr, N3k, N3k-F, N9k-F, N9k]
195
205
  kind: boolean
196
206
  get_value: '/^ip dhcp relay source-address hsrp$/'
197
207
  set_value: "<state> ip dhcp relay source-address hsrp"
@@ -379,7 +389,7 @@ pvlan_any:
379
389
  # 'switchport_pvlan_mapping_trunk' is the switchport-pvlan-trunk command
380
390
  pvlan_mapping:
381
391
  # SVI-only property
382
- _exclude: [ios_xr, N9k-F]
392
+ _exclude: [ios_xr, N3k-F, N9k-F]
383
393
  get_value: '/^private-vlan mapping (.*)/'
384
394
  set_value: "<state> private-vlan mapping <vlan>"
385
395
  default_value: []
@@ -577,68 +587,68 @@ switchport_mode_port_channel:
577
587
  default_value: ""
578
588
 
579
589
  switchport_pvlan_host:
580
- _exclude: [ios_xr, N9k-F]
590
+ _exclude: [ios_xr, N3k-F, N9k-F]
581
591
  kind: boolean
582
592
  get_value: '/^switchport mode private-vlan host$/'
583
593
  set_value: "<state> switchport mode private-vlan host"
584
594
  default_value: false
585
595
 
586
596
  switchport_pvlan_host_association:
587
- _exclude: [ios_xr, N9k-F]
597
+ _exclude: [ios_xr, N3k-F, N9k-F]
588
598
  # Note this is NOT a multiple, unlike trunk association.
589
599
  get_value: '/^switchport private-vlan host-association (\d+) (\d+)$/'
590
600
  set_value: "<state> switchport private-vlan host-association <pri> <sec>"
591
601
  default_value: []
592
602
 
593
603
  switchport_pvlan_mapping:
594
- _exclude: [ios_xr, N9k-F]
604
+ _exclude: [ios_xr, N3k-F, N9k-F]
595
605
  get_value: '/^switchport private-vlan mapping (\d+) (.*)$/'
596
606
  set_value: "<state> switchport private-vlan mapping <primary> <vlan>"
597
607
  default_value: []
598
608
 
599
609
  switchport_pvlan_mapping_trunk:
600
- _exclude: [ios_xr, N3k, N9k-F]
610
+ _exclude: [ios_xr, N3k, N3k-F, N9k-F]
601
611
  multiple:
602
612
  get_value: '/^switchport private-vlan mapping trunk (\d+) (.*)$/'
603
613
  set_value: "<state> switchport private-vlan mapping trunk <primary> <range>"
604
614
  default_value: []
605
615
 
606
616
  switchport_pvlan_promiscuous:
607
- _exclude: [ios_xr, N9k-F]
617
+ _exclude: [ios_xr, N3k-F, N9k-F]
608
618
  kind: boolean
609
619
  get_value: '/^switchport mode private-vlan promiscuous$/'
610
620
  set_value: "<state> switchport mode private-vlan promiscuous"
611
621
  default_value: false
612
622
 
613
623
  switchport_pvlan_trunk_allowed_vlan:
614
- _exclude: [ios_xr, N9k-F]
624
+ _exclude: [ios_xr, N3k-F, N9k-F]
615
625
  multiple: true
616
626
  get_value: '/^switchport private-vlan trunk allowed vlan (?:add )?(\S+)$/'
617
627
  set_value: "switchport private-vlan trunk allowed vlan <range>"
618
628
  default_value: 'none'
619
629
 
620
630
  switchport_pvlan_trunk_association:
621
- _exclude: [ios_xr, N3k, N9k-F]
631
+ _exclude: [ios_xr, N3k, N3k-F, N9k-F]
622
632
  multiple:
623
633
  get_value: '/^switchport private-vlan association trunk (\d+) (\d+)$/'
624
634
  set_value: "<state> switchport private-vlan association trunk <pri> <sec>"
625
635
  default_value: []
626
636
 
627
637
  switchport_pvlan_trunk_native_vlan:
628
- _exclude: [ios_xr, N9k-F]
638
+ _exclude: [ios_xr, N3k-F, N9k-F]
629
639
  get_value: '/^switchport private-vlan trunk native vlan (.*)$/'
630
640
  set_value: "switchport private-vlan trunk native vlan <vlan>"
631
641
  default_value: '1'
632
642
 
633
643
  switchport_pvlan_trunk_promiscuous:
634
- _exclude: [ios_xr, N3k, N9k-F]
644
+ _exclude: [ios_xr, N3k, N3k-F, N9k-F]
635
645
  kind: boolean
636
646
  get_value: '/^switchport mode private-vlan trunk promiscuous$/'
637
647
  set_value: "<state> switchport mode private-vlan trunk promiscuous"
638
648
  default_value: false
639
649
 
640
650
  switchport_pvlan_trunk_secondary:
641
- _exclude: [ios_xr, N3k, N9k-F]
651
+ _exclude: [ios_xr, N3k, N3k-F, N9k-F]
642
652
  kind: boolean
643
653
  get_value: '/^switchport mode private-vlan trunk secondary$/'
644
654
  set_value: "<state> switchport mode private-vlan trunk secondary"
@@ -701,14 +711,14 @@ system_default_switchport_shutdown:
701
711
  default_only: true
702
712
 
703
713
  vlan_mapping:
704
- _exclude: [N3k, N5k, N6k, N9k-F, N9k]
714
+ _exclude: [N3k, N5k, N6k, N3k-F, N9k-F, N9k]
705
715
  multiple:
706
716
  get_value: '/^switchport vlan mapping (\d+) (\d+)/'
707
717
  set_value: '<state> switchport vlan mapping <original> <translated>'
708
718
  default_value: []
709
719
 
710
720
  vlan_mapping_enable:
711
- _exclude: [N3k, N5k, N6k, N9k-F, N9k]
721
+ _exclude: [N3k, N5k, N6k, N3k-F, N9k-F, N9k]
712
722
  kind: boolean
713
723
  get_value: '/^(no )?switchport vlan mapping enable/'
714
724
  set_value: '<state> switchport vlan mapping enable'