cisco_node_utils_mgx 2.1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (357) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +10 -0
  3. data/.rspec +2 -0
  4. data/.rubocop.yml +96 -0
  5. data/.travis.yml +17 -0
  6. data/CHANGELOG.md +676 -0
  7. data/CONTRIBUTING.md +43 -0
  8. data/Gemfile +10 -0
  9. data/LICENSE +201 -0
  10. data/README.md +246 -0
  11. data/Rakefile +44 -0
  12. data/SUPPORT.md +3 -0
  13. data/bin/.rubocop.yml +18 -0
  14. data/bin/check_metric_limits.rb +109 -0
  15. data/bin/git/hooks/commit-msg/enforce_style +89 -0
  16. data/bin/git/hooks/hook_lib +115 -0
  17. data/bin/git/hooks/hooks-wrapper +38 -0
  18. data/bin/git/hooks/post-flow-hotfix-start/update-version +24 -0
  19. data/bin/git/hooks/post-flow-release-finish/update-version +29 -0
  20. data/bin/git/hooks/post-flow-release-start/update-version +19 -0
  21. data/bin/git/hooks/post-merge/update-hooks +6 -0
  22. data/bin/git/hooks/post-rewrite/update-hooks +6 -0
  23. data/bin/git/hooks/pre-commit/check_unstaged_changes +18 -0
  24. data/bin/git/hooks/pre-commit/rubocop +25 -0
  25. data/bin/git/hooks/pre-commit/validate-diffs +45 -0
  26. data/bin/git/hooks/pre-commit/validate-yaml +18 -0
  27. data/bin/git/hooks/pre-push/check-changelog +24 -0
  28. data/bin/git/hooks/pre-push/rubocop +7 -0
  29. data/bin/git/update-hooks +123 -0
  30. data/bin/show_running_yang.rb +233 -0
  31. data/cisco_node_utils.gemspec +41 -0
  32. data/docs/README-develop-best-practices.md +521 -0
  33. data/docs/README-develop-node-utils-APIs.md +570 -0
  34. data/docs/README-maintainers.md +77 -0
  35. data/docs/README-test-execution.md +57 -0
  36. data/docs/README-utilities.md +14 -0
  37. data/docs/agent_files.png +0 -0
  38. data/docs/cisco_node_utils.yaml.example +36 -0
  39. data/docs/template-router.rb +123 -0
  40. data/docs/template-test_router.rb +104 -0
  41. data/ext/mkrf_conf.rb +63 -0
  42. data/lib/.rubocop.yml +18 -0
  43. data/lib/cisco_node_utils/aaa_authentication_login.rb +95 -0
  44. data/lib/cisco_node_utils/aaa_authentication_login_service.rb +138 -0
  45. data/lib/cisco_node_utils/aaa_authorization_service.rb +156 -0
  46. data/lib/cisco_node_utils/ace.rb +467 -0
  47. data/lib/cisco_node_utils/acl.rb +101 -0
  48. data/lib/cisco_node_utils/banner.rb +63 -0
  49. data/lib/cisco_node_utils/bfd_global.rb +305 -0
  50. data/lib/cisco_node_utils/bgp.rb +988 -0
  51. data/lib/cisco_node_utils/bgp_af.rb +545 -0
  52. data/lib/cisco_node_utils/bgp_af_aggr_addr.rb +207 -0
  53. data/lib/cisco_node_utils/bgp_neighbor.rb +527 -0
  54. data/lib/cisco_node_utils/bgp_neighbor_af.rb +780 -0
  55. data/lib/cisco_node_utils/bridge_domain.rb +178 -0
  56. data/lib/cisco_node_utils/bridge_domain_vni.rb +206 -0
  57. data/lib/cisco_node_utils/cisco_cmn_utils.rb +444 -0
  58. data/lib/cisco_node_utils/client/client.rb +238 -0
  59. data/lib/cisco_node_utils/client/grpc/client.rb +395 -0
  60. data/lib/cisco_node_utils/client/grpc/ems.proto +148 -0
  61. data/lib/cisco_node_utils/client/grpc/ems.rb +111 -0
  62. data/lib/cisco_node_utils/client/grpc/ems_services.rb +49 -0
  63. data/lib/cisco_node_utils/client/grpc.rb +33 -0
  64. data/lib/cisco_node_utils/client/nxapi/client.rb +368 -0
  65. data/lib/cisco_node_utils/client/nxapi.rb +31 -0
  66. data/lib/cisco_node_utils/client/utils.rb +180 -0
  67. data/lib/cisco_node_utils/client.rb +35 -0
  68. data/lib/cisco_node_utils/cmd_ref/README_YAML.md +590 -0
  69. data/lib/cisco_node_utils/cmd_ref/aaa_auth_login_service.yaml +25 -0
  70. data/lib/cisco_node_utils/cmd_ref/aaa_authentication_login.yaml +38 -0
  71. data/lib/cisco_node_utils/cmd_ref/aaa_authorization_service.yaml +40 -0
  72. data/lib/cisco_node_utils/cmd_ref/acl.yaml +48 -0
  73. data/lib/cisco_node_utils/cmd_ref/banner.yaml +11 -0
  74. data/lib/cisco_node_utils/cmd_ref/bfd_global.yaml +117 -0
  75. data/lib/cisco_node_utils/cmd_ref/bgp.yaml +383 -0
  76. data/lib/cisco_node_utils/cmd_ref/bgp_af.yaml +223 -0
  77. data/lib/cisco_node_utils/cmd_ref/bgp_af_aa.yaml +38 -0
  78. data/lib/cisco_node_utils/cmd_ref/bgp_neighbor.yaml +174 -0
  79. data/lib/cisco_node_utils/cmd_ref/bgp_neighbor_af.yaml +236 -0
  80. data/lib/cisco_node_utils/cmd_ref/bridge_domain.yaml +49 -0
  81. data/lib/cisco_node_utils/cmd_ref/bridge_domain_vni.yaml +33 -0
  82. data/lib/cisco_node_utils/cmd_ref/dhcp_relay_global.yaml +128 -0
  83. data/lib/cisco_node_utils/cmd_ref/dnsclient.yaml +55 -0
  84. data/lib/cisco_node_utils/cmd_ref/encapsulation.yaml +25 -0
  85. data/lib/cisco_node_utils/cmd_ref/evpn_multicast.yaml +12 -0
  86. data/lib/cisco_node_utils/cmd_ref/evpn_multisite.yaml +18 -0
  87. data/lib/cisco_node_utils/cmd_ref/evpn_stormcontrol.yaml +18 -0
  88. data/lib/cisco_node_utils/cmd_ref/evpn_vni.yaml +48 -0
  89. data/lib/cisco_node_utils/cmd_ref/fabricpath.yaml +183 -0
  90. data/lib/cisco_node_utils/cmd_ref/fabricpath_topology.yaml +40 -0
  91. data/lib/cisco_node_utils/cmd_ref/feature.yaml +126 -0
  92. data/lib/cisco_node_utils/cmd_ref/hostname.yaml +8 -0
  93. data/lib/cisco_node_utils/cmd_ref/hsrp_global.yaml +25 -0
  94. data/lib/cisco_node_utils/cmd_ref/images.yaml +8 -0
  95. data/lib/cisco_node_utils/cmd_ref/interface.yaml +781 -0
  96. data/lib/cisco_node_utils/cmd_ref/interface_channel_group.yaml +45 -0
  97. data/lib/cisco_node_utils/cmd_ref/interface_evpn_multisite.yaml +17 -0
  98. data/lib/cisco_node_utils/cmd_ref/interface_hsrp_group.yaml +120 -0
  99. data/lib/cisco_node_utils/cmd_ref/interface_ospf.yaml +112 -0
  100. data/lib/cisco_node_utils/cmd_ref/interface_portchannel.yaml +87 -0
  101. data/lib/cisco_node_utils/cmd_ref/interface_service_vni.yaml +42 -0
  102. data/lib/cisco_node_utils/cmd_ref/inventory.yaml +45 -0
  103. data/lib/cisco_node_utils/cmd_ref/ip_multicast.yaml +22 -0
  104. data/lib/cisco_node_utils/cmd_ref/itd_device_group.yaml +83 -0
  105. data/lib/cisco_node_utils/cmd_ref/itd_service.yaml +119 -0
  106. data/lib/cisco_node_utils/cmd_ref/memory.yaml +24 -0
  107. data/lib/cisco_node_utils/cmd_ref/ntp_auth_key.yaml +10 -0
  108. data/lib/cisco_node_utils/cmd_ref/ntp_config.yaml +27 -0
  109. data/lib/cisco_node_utils/cmd_ref/ntp_server.yaml +34 -0
  110. data/lib/cisco_node_utils/cmd_ref/object_group.yaml +32 -0
  111. data/lib/cisco_node_utils/cmd_ref/ospf.yaml +91 -0
  112. data/lib/cisco_node_utils/cmd_ref/ospf_area.yaml +91 -0
  113. data/lib/cisco_node_utils/cmd_ref/ospf_area_vlink.yaml +88 -0
  114. data/lib/cisco_node_utils/cmd_ref/overlay_global.yaml +37 -0
  115. data/lib/cisco_node_utils/cmd_ref/pim.yaml +43 -0
  116. data/lib/cisco_node_utils/cmd_ref/portchannel_global.yaml +86 -0
  117. data/lib/cisco_node_utils/cmd_ref/radius_global.yaml +37 -0
  118. data/lib/cisco_node_utils/cmd_ref/radius_server.yaml +100 -0
  119. data/lib/cisco_node_utils/cmd_ref/radius_server_group.yaml +19 -0
  120. data/lib/cisco_node_utils/cmd_ref/route_map.yaml +601 -0
  121. data/lib/cisco_node_utils/cmd_ref/show_system.yaml +9 -0
  122. data/lib/cisco_node_utils/cmd_ref/show_version.yaml +84 -0
  123. data/lib/cisco_node_utils/cmd_ref/snmp_community.yaml +81 -0
  124. data/lib/cisco_node_utils/cmd_ref/snmp_group.yaml +9 -0
  125. data/lib/cisco_node_utils/cmd_ref/snmp_notification_receiver.yaml +74 -0
  126. data/lib/cisco_node_utils/cmd_ref/snmp_server.yaml +91 -0
  127. data/lib/cisco_node_utils/cmd_ref/snmp_user.yaml +57 -0
  128. data/lib/cisco_node_utils/cmd_ref/snmpnotification.yaml +23 -0
  129. data/lib/cisco_node_utils/cmd_ref/span_session.yaml +65 -0
  130. data/lib/cisco_node_utils/cmd_ref/stp_global.yaml +235 -0
  131. data/lib/cisco_node_utils/cmd_ref/syslog_facility.yaml +10 -0
  132. data/lib/cisco_node_utils/cmd_ref/syslog_server.yaml +34 -0
  133. data/lib/cisco_node_utils/cmd_ref/syslog_settings.yaml +45 -0
  134. data/lib/cisco_node_utils/cmd_ref/system.yaml +7 -0
  135. data/lib/cisco_node_utils/cmd_ref/tacacs_global.yaml +37 -0
  136. data/lib/cisco_node_utils/cmd_ref/tacacs_server.yaml +63 -0
  137. data/lib/cisco_node_utils/cmd_ref/tacacs_server_group.yaml +45 -0
  138. data/lib/cisco_node_utils/cmd_ref/tacacs_server_host.yaml +64 -0
  139. data/lib/cisco_node_utils/cmd_ref/upgrade.yaml +38 -0
  140. data/lib/cisco_node_utils/cmd_ref/vdc.yaml +52 -0
  141. data/lib/cisco_node_utils/cmd_ref/virtual_service.yaml +8 -0
  142. data/lib/cisco_node_utils/cmd_ref/vlan.yaml +106 -0
  143. data/lib/cisco_node_utils/cmd_ref/vpc.yaml +233 -0
  144. data/lib/cisco_node_utils/cmd_ref/vrf.yaml +86 -0
  145. data/lib/cisco_node_utils/cmd_ref/vrf_af.yaml +139 -0
  146. data/lib/cisco_node_utils/cmd_ref/vtp.yaml +32 -0
  147. data/lib/cisco_node_utils/cmd_ref/vxlan_vtep.yaml +114 -0
  148. data/lib/cisco_node_utils/cmd_ref/vxlan_vtep_vni.yaml +71 -0
  149. data/lib/cisco_node_utils/cmd_ref/yang.yaml +7 -0
  150. data/lib/cisco_node_utils/cmd_ref/yum.yaml +68 -0
  151. data/lib/cisco_node_utils/command_reference.rb +724 -0
  152. data/lib/cisco_node_utils/configparser_lib.rb +195 -0
  153. data/lib/cisco_node_utils/constants.rb +40 -0
  154. data/lib/cisco_node_utils/dhcp_relay_global.rb +302 -0
  155. data/lib/cisco_node_utils/dns_domain.rb +93 -0
  156. data/lib/cisco_node_utils/domain_name.rb +82 -0
  157. data/lib/cisco_node_utils/encapsulation.rb +112 -0
  158. data/lib/cisco_node_utils/environment.rb +110 -0
  159. data/lib/cisco_node_utils/evpn_multicast.rb +66 -0
  160. data/lib/cisco_node_utils/evpn_multisite.rb +96 -0
  161. data/lib/cisco_node_utils/evpn_stormcontrol.rb +84 -0
  162. data/lib/cisco_node_utils/evpn_vni.rb +159 -0
  163. data/lib/cisco_node_utils/exceptions.rb +140 -0
  164. data/lib/cisco_node_utils/fabricpath_global.rb +405 -0
  165. data/lib/cisco_node_utils/fabricpath_topology.rb +137 -0
  166. data/lib/cisco_node_utils/feature.rb +377 -0
  167. data/lib/cisco_node_utils/hostname.rb +62 -0
  168. data/lib/cisco_node_utils/hsrp_global.rb +97 -0
  169. data/lib/cisco_node_utils/interface.rb +2128 -0
  170. data/lib/cisco_node_utils/interface_channel_group.rb +142 -0
  171. data/lib/cisco_node_utils/interface_evpn_multisite.rb +72 -0
  172. data/lib/cisco_node_utils/interface_hsrp_group.rb +557 -0
  173. data/lib/cisco_node_utils/interface_ospf.rb +378 -0
  174. data/lib/cisco_node_utils/interface_portchannel.rb +180 -0
  175. data/lib/cisco_node_utils/interface_service_vni.rb +132 -0
  176. data/lib/cisco_node_utils/ip_multicast.rb +90 -0
  177. data/lib/cisco_node_utils/itd_device_group.rb +228 -0
  178. data/lib/cisco_node_utils/itd_device_group_node.rb +144 -0
  179. data/lib/cisco_node_utils/itd_service.rb +511 -0
  180. data/lib/cisco_node_utils/logger.rb +78 -0
  181. data/lib/cisco_node_utils/name_server.rb +64 -0
  182. data/lib/cisco_node_utils/node.rb +443 -0
  183. data/lib/cisco_node_utils/node_util.rb +111 -0
  184. data/lib/cisco_node_utils/ntp_auth_key.rb +67 -0
  185. data/lib/cisco_node_utils/ntp_config.rb +83 -0
  186. data/lib/cisco_node_utils/ntp_server.rb +86 -0
  187. data/lib/cisco_node_utils/object_group.rb +75 -0
  188. data/lib/cisco_node_utils/object_group_entry.rb +143 -0
  189. data/lib/cisco_node_utils/overlay_global.rb +142 -0
  190. data/lib/cisco_node_utils/pim.rb +131 -0
  191. data/lib/cisco_node_utils/pim_group_list.rb +109 -0
  192. data/lib/cisco_node_utils/pim_rp_address.rb +103 -0
  193. data/lib/cisco_node_utils/platform.rb +217 -0
  194. data/lib/cisco_node_utils/portchannel_global.rb +347 -0
  195. data/lib/cisco_node_utils/radius_global.rb +165 -0
  196. data/lib/cisco_node_utils/radius_server.rb +421 -0
  197. data/lib/cisco_node_utils/radius_server_group.rb +117 -0
  198. data/lib/cisco_node_utils/route_map.rb +2540 -0
  199. data/lib/cisco_node_utils/router_ospf.rb +77 -0
  200. data/lib/cisco_node_utils/router_ospf_area.rb +416 -0
  201. data/lib/cisco_node_utils/router_ospf_area_vlink.rb +313 -0
  202. data/lib/cisco_node_utils/router_ospf_vrf.rb +342 -0
  203. data/lib/cisco_node_utils/snmp_notification_receiver.rb +176 -0
  204. data/lib/cisco_node_utils/snmpcommunity.rb +109 -0
  205. data/lib/cisco_node_utils/snmpgroup.rb +54 -0
  206. data/lib/cisco_node_utils/snmpnotification.rb +57 -0
  207. data/lib/cisco_node_utils/snmpserver.rb +132 -0
  208. data/lib/cisco_node_utils/snmpuser.rb +403 -0
  209. data/lib/cisco_node_utils/span_session.rb +149 -0
  210. data/lib/cisco_node_utils/stp_global.rb +676 -0
  211. data/lib/cisco_node_utils/syslog_facility.rb +64 -0
  212. data/lib/cisco_node_utils/syslog_server.rb +146 -0
  213. data/lib/cisco_node_utils/syslog_settings.rb +174 -0
  214. data/lib/cisco_node_utils/tacacs_global.rb +137 -0
  215. data/lib/cisco_node_utils/tacacs_server.rb +173 -0
  216. data/lib/cisco_node_utils/tacacs_server_group.rb +149 -0
  217. data/lib/cisco_node_utils/tacacs_server_host.rb +216 -0
  218. data/lib/cisco_node_utils/upgrade.rb +122 -0
  219. data/lib/cisco_node_utils/vdc.rb +118 -0
  220. data/lib/cisco_node_utils/version.rb +21 -0
  221. data/lib/cisco_node_utils/vlan.rb +301 -0
  222. data/lib/cisco_node_utils/vpc.rb +466 -0
  223. data/lib/cisco_node_utils/vrf.rb +192 -0
  224. data/lib/cisco_node_utils/vrf_af.rb +327 -0
  225. data/lib/cisco_node_utils/vtp.rb +125 -0
  226. data/lib/cisco_node_utils/vxlan_vtep.rb +286 -0
  227. data/lib/cisco_node_utils/vxlan_vtep_vni.rb +331 -0
  228. data/lib/cisco_node_utils/yang.rb +160 -0
  229. data/lib/cisco_node_utils/yum.rb +213 -0
  230. data/lib/cisco_node_utils.rb +21 -0
  231. data/lib/minitest/environment_plugin.rb +31 -0
  232. data/lib/minitest/log_level_plugin.rb +41 -0
  233. data/spec/client_spec.rb +7 -0
  234. data/spec/environment_spec.rb +384 -0
  235. data/spec/grpc_client_spec.rb +23 -0
  236. data/spec/isolate/all_clients_spec.rb +9 -0
  237. data/spec/isolate/grpc_only_spec.rb +16 -0
  238. data/spec/isolate/no_clients_spec.rb +26 -0
  239. data/spec/isolate/nxapi_only_spec.rb +16 -0
  240. data/spec/nxapi_client_spec.rb +42 -0
  241. data/spec/schema.yaml +82 -0
  242. data/spec/shared_examples_for_clients.rb +14 -0
  243. data/spec/spec_helper.rb +91 -0
  244. data/spec/whitespace_spec.rb +10 -0
  245. data/spec/yaml_spec.rb +42 -0
  246. data/tests/.rubocop.yml +18 -0
  247. data/tests/CSCuxdublin-1.0.0-7.0.3.I3.1.lib32_n9000.rpm +0 -0
  248. data/tests/basetest.rb +243 -0
  249. data/tests/ciscotest.rb +577 -0
  250. data/tests/cmd_config.yaml +75 -0
  251. data/tests/cmd_config_invalid.yaml +16 -0
  252. data/tests/n9000_sample-1.0.0-7.0.3.x86_64.rpm +0 -0
  253. data/tests/noop.rb +7 -0
  254. data/tests/platform_info.rb +63 -0
  255. data/tests/tacacs_server.yaml.example +6 -0
  256. data/tests/test_aaa_authentication_login.rb +243 -0
  257. data/tests/test_aaa_authentication_login_service.rb +761 -0
  258. data/tests/test_aaa_authorization_service.rb +874 -0
  259. data/tests/test_ace.rb +304 -0
  260. data/tests/test_acl.rb +185 -0
  261. data/tests/test_banner.rb +85 -0
  262. data/tests/test_bfd_global.rb +272 -0
  263. data/tests/test_bgp_af.rb +875 -0
  264. data/tests/test_bgp_af_aa.rb +108 -0
  265. data/tests/test_bgp_neighbor.rb +596 -0
  266. data/tests/test_bgp_neighbor_af.rb +781 -0
  267. data/tests/test_bridge_domain.rb +198 -0
  268. data/tests/test_bridge_domain_vni.rb +109 -0
  269. data/tests/test_client_utils.rb +111 -0
  270. data/tests/test_cmn_utils.rb +76 -0
  271. data/tests/test_command_config.rb +206 -0
  272. data/tests/test_command_reference.rb +669 -0
  273. data/tests/test_dhcp_relay_global.rb +286 -0
  274. data/tests/test_dns_domain.rb +123 -0
  275. data/tests/test_domain_name.rb +96 -0
  276. data/tests/test_encapsulation.rb +75 -0
  277. data/tests/test_evpn_multicast.rb +65 -0
  278. data/tests/test_evpn_multisite.rb +70 -0
  279. data/tests/test_evpn_stormcontrol.rb +56 -0
  280. data/tests/test_evpn_vni.rb +131 -0
  281. data/tests/test_fabricpath_global.rb +246 -0
  282. data/tests/test_fabricpath_topology.rb +77 -0
  283. data/tests/test_feature.rb +272 -0
  284. data/tests/test_grpc.rb +166 -0
  285. data/tests/test_hostname.rb +64 -0
  286. data/tests/test_hsrp_global.rb +79 -0
  287. data/tests/test_interface.rb +1958 -0
  288. data/tests/test_interface_bdi.rb +80 -0
  289. data/tests/test_interface_channel_group.rb +131 -0
  290. data/tests/test_interface_evpn_multisite.rb +94 -0
  291. data/tests/test_interface_hsrp.rb +134 -0
  292. data/tests/test_interface_hsrp_group.rb +570 -0
  293. data/tests/test_interface_ospf.rb +820 -0
  294. data/tests/test_interface_portchannel.rb +135 -0
  295. data/tests/test_interface_private_vlan.rb +365 -0
  296. data/tests/test_interface_service_vni.rb +203 -0
  297. data/tests/test_interface_svi.rb +210 -0
  298. data/tests/test_interface_switchport.rb +468 -0
  299. data/tests/test_ip_multicast.rb +80 -0
  300. data/tests/test_itd_device_group.rb +145 -0
  301. data/tests/test_itd_device_group_node.rb +199 -0
  302. data/tests/test_itd_service.rb +314 -0
  303. data/tests/test_logger.rb +43 -0
  304. data/tests/test_name_server.rb +94 -0
  305. data/tests/test_node.rb +50 -0
  306. data/tests/test_node_ext.rb +406 -0
  307. data/tests/test_node_util.rb +119 -0
  308. data/tests/test_ntp_auth_key.rb +77 -0
  309. data/tests/test_ntp_config.rb +100 -0
  310. data/tests/test_ntp_server.rb +146 -0
  311. data/tests/test_nxapi.rb +236 -0
  312. data/tests/test_object_group.rb +122 -0
  313. data/tests/test_overlay_global.rb +108 -0
  314. data/tests/test_pim.rb +203 -0
  315. data/tests/test_pim_group_list.rb +147 -0
  316. data/tests/test_pim_rp_address.rb +155 -0
  317. data/tests/test_platform.rb +254 -0
  318. data/tests/test_portchannel_global.rb +322 -0
  319. data/tests/test_radius_global.rb +108 -0
  320. data/tests/test_radius_server.rb +377 -0
  321. data/tests/test_radius_server_group.rb +151 -0
  322. data/tests/test_route_map.rb +1479 -0
  323. data/tests/test_router_bgp.rb +1325 -0
  324. data/tests/test_router_ospf.rb +56 -0
  325. data/tests/test_router_ospf_area.rb +433 -0
  326. data/tests/test_router_ospf_area_vlink.rb +298 -0
  327. data/tests/test_router_ospf_vrf.rb +690 -0
  328. data/tests/test_snmp_notification_receiver.rb +169 -0
  329. data/tests/test_snmpcommunity.rb +422 -0
  330. data/tests/test_snmpgroup.rb +71 -0
  331. data/tests/test_snmpnotification.rb +91 -0
  332. data/tests/test_snmpserver.rb +251 -0
  333. data/tests/test_snmpuser.rb +666 -0
  334. data/tests/test_span_session.rb +155 -0
  335. data/tests/test_stp_global.rb +575 -0
  336. data/tests/test_syslog_facility.rb +80 -0
  337. data/tests/test_syslog_server.rb +119 -0
  338. data/tests/test_syslog_settings.rb +123 -0
  339. data/tests/test_tacacs_global.rb +109 -0
  340. data/tests/test_tacacs_server.rb +436 -0
  341. data/tests/test_tacacs_server_group.rb +434 -0
  342. data/tests/test_tacacs_server_host.rb +427 -0
  343. data/tests/test_upgrade.rb +105 -0
  344. data/tests/test_vdc.rb +64 -0
  345. data/tests/test_vlan.rb +386 -0
  346. data/tests/test_vlan_private.rb +656 -0
  347. data/tests/test_vpc.rb +548 -0
  348. data/tests/test_vrf.rb +248 -0
  349. data/tests/test_vrf_af.rb +288 -0
  350. data/tests/test_vtp.rb +278 -0
  351. data/tests/test_vxlan_vtep.rb +327 -0
  352. data/tests/test_vxlan_vtep_vni.rb +326 -0
  353. data/tests/test_yang.rb +369 -0
  354. data/tests/test_yum.rb +109 -0
  355. data/tests/upgrade_info.yaml.example +3 -0
  356. data/tests/yum_package.yaml +94 -0
  357. metadata +534 -0
@@ -0,0 +1,223 @@
1
+ # bgp_af.yaml
2
+ ---
3
+ _template:
4
+ context:
5
+ - "router bgp <asnum>"
6
+ - '(?)vrf <vrf>'
7
+ - 'address-family <afi> <safi>'
8
+ nexus:
9
+ get_command: 'show running bgp all'
10
+ ios_xr:
11
+ get_command: 'show running-config router bgp'
12
+
13
+ additional_paths_install:
14
+ _exclude: [ios_xr, N3k, N3k-F, N9k-F, N9k]
15
+ kind: boolean
16
+ get_value: '/^additional-paths install backup$/'
17
+ set_value: '<state> additional-paths install backup'
18
+ default_value: false
19
+
20
+ additional_paths_receive:
21
+ kind: boolean
22
+ get_value: '/^additional-paths receive$/'
23
+ set_value: '<state> additional-paths receive'
24
+ default_value: false
25
+
26
+ additional_paths_selection:
27
+ kind: string
28
+ nexus:
29
+ get_value: '/^additional-paths selection route-map (.*)$/'
30
+ set_value: '<state> additional-paths selection route-map <route_map>'
31
+ ios_xr:
32
+ get_value: '/^additional-paths selection route-policy (.*)$/'
33
+ set_value: '<state> additional-paths selection route-policy <route_policy>'
34
+ default_value: ""
35
+
36
+ additional_paths_send:
37
+ kind: boolean
38
+ get_value: '/^additional-paths send$/'
39
+ set_value: '<state> additional-paths send'
40
+ default_value: false
41
+
42
+ advertise_l2vpn_evpn:
43
+ _exclude: [ios_xr, N3k, N6k]
44
+ kind: boolean
45
+ get_value: '/^advertise l2vpn evpn$/'
46
+ set_value: '<state> advertise l2vpn evpn'
47
+ default_value: false
48
+
49
+ all_afs:
50
+ multiple: true
51
+ context:
52
+ - "router bgp <asnum>"
53
+ - '(?)vrf <vrf>'
54
+ get_value: '/^address-family (\S+) (\S+)$/'
55
+
56
+ client_to_client:
57
+ kind: boolean
58
+ default_value: true
59
+ nexus:
60
+ get_value: '/^(no )?client-to-client reflection$/'
61
+ set_value: '<state> client-to-client reflection'
62
+ ios_xr:
63
+ get_value: '/^bgp client-to-client reflection disable$/'
64
+ set_value: '<state> bgp client-to-client reflection disable'
65
+
66
+ dampen_igp_metric:
67
+ _exclude: [ios_xr]
68
+ get_value: '/^(no )?dampen-igp-metric *(\d+)?$/'
69
+ set_value: '<state> dampen-igp-metric <num>'
70
+ default_value: 600
71
+
72
+ dampening:
73
+ auto_default: false
74
+ default_value: ['15', '750', '2000', '45']
75
+ nexus:
76
+ get_value: '/^dampening(?: (?:(\d+) (\d+) (\d+) (\d+)|route-map (.*)))?$/'
77
+ set_value: '<state> dampening <route_map> <decay> <reuse> <suppress> <suppress_max>'
78
+ ios_xr:
79
+ get_value: '/^bgp dampening(?: (?:(\d+) (\d+) (\d+) (\d+)|route-policy (.*)))?$/'
80
+ set_value: '<state> bgp dampening <route_map> <decay> <reuse> <suppress> <suppress_max>'
81
+
82
+ dampening_half_time:
83
+ kind: int
84
+ default_value: 15
85
+
86
+ dampening_max_suppress_time:
87
+ kind: int
88
+ default_value: 45
89
+
90
+ dampening_reuse_time:
91
+ kind: int
92
+ default_value: 750
93
+
94
+ dampening_routemap:
95
+ default_value: ""
96
+
97
+ dampening_routepolicy:
98
+ default_value: ""
99
+
100
+ dampening_state:
101
+ kind: boolean
102
+ default_value: true
103
+
104
+ dampening_suppress_time:
105
+ kind: int
106
+ default_value: 2000
107
+
108
+ default_information_originate:
109
+ _exclude: [ios_xr]
110
+ kind: boolean
111
+ default_value: false
112
+ get_value: '/^default-information originate$/'
113
+ set_value: '<state> default-information originate'
114
+
115
+ default_metric:
116
+ _exclude: [ios_xr]
117
+ kind: int
118
+ get_value: '/^default-metric (\d+)$/'
119
+ set_value: '<state> default-metric <num>'
120
+ default_value: false
121
+
122
+ distance:
123
+ default_value: ['20', '200', '220']
124
+ nexus:
125
+ get_value: '/^distance (\d+) (\d+) (\d+)$/'
126
+ set_value: '<state> distance <ebgp> <ibgp> <local>'
127
+ ios_xr:
128
+ get_value: '/^distance bgp (\d+) (\d+) (\d+)$/'
129
+ set_value: '<state> distance bgp <ebgp> <ibgp> <local>'
130
+
131
+ distance_ebgp:
132
+ kind: int
133
+ default_value: 20
134
+
135
+ distance_ibgp:
136
+ kind: int
137
+ default_value: 200
138
+
139
+ distance_local:
140
+ kind: int
141
+ default_value: 220
142
+
143
+ inject_map:
144
+ _exclude: [ios_xr]
145
+ multiple: true
146
+ get_value: '/^inject-map (\S+) exist-map (\S+) *(copy-attributes)?$/'
147
+ set_value: '<state> inject-map <inject> exist-map <exist> <copy>'
148
+ default_value: []
149
+
150
+ maximum_paths:
151
+ kind: int
152
+ nexus:
153
+ get_value: '/^maximum-paths (\d+)$/'
154
+ set_value: '<state> maximum-paths <num>'
155
+ ios_xr:
156
+ get_value: '/^maximum-paths ebgp (\d+)$/'
157
+ set_value: '<state> maximum-paths ebgp <num>'
158
+ default_value: 1
159
+
160
+ maximum_paths_ibgp:
161
+ kind: int
162
+ get_value: '/^maximum-paths ibgp (\d+)$/'
163
+ set_value: '<state> maximum-paths ibgp <num>'
164
+ default_value: 1
165
+
166
+ networks:
167
+ multiple: true
168
+ nexus:
169
+ get_value: '/^network (\S+) ?(?:route-map )?(\S+)?$/'
170
+ set_value: '<state> network <network> <route_map>'
171
+ ios_xr:
172
+ get_value: '/^network (\S+) ?(?:route-policy )?(\S+)?$/'
173
+ set_value: '<state> network <network> <route_policy>'
174
+ default_value: []
175
+
176
+ next_hop_route_map:
177
+ kind: string
178
+ default_value: ""
179
+ nexus:
180
+ get_value: '/^nexthop route-map (.*)$/'
181
+ set_value: '<state> nexthop route-map <route_map>'
182
+ ios_xr:
183
+ get_value: '/nexthop route-policy (.*)$/'
184
+ set_value: '<state> nexthop route-policy <route_map>'
185
+
186
+ redistribute:
187
+ multiple: true
188
+ set_value: '<state> redistribute <protocol>'
189
+ nexus:
190
+ get_value: '/^redistribute (\S+ ?\S+?) ?(?:route-map (\S+))?$/'
191
+ ios_xr:
192
+ get_value: '/^redistribute (\S+ ?\S+?) ?(?:route-policy (\S+))?$/'
193
+ default_value: []
194
+
195
+ redistribute_policy:
196
+ nexus:
197
+ set_value: '<state> redistribute <protocol> route-map <policy>'
198
+ ios_xr:
199
+ set_value: '<state> redistribute <protocol> route-policy <policy>'
200
+
201
+ suppress_inactive:
202
+ _exclude: [ios_xr]
203
+ kind: boolean
204
+ default_value: false
205
+ get_value: '/^suppress-inactive$/'
206
+ set_value: '<state> suppress-inactive'
207
+
208
+ table_map:
209
+ kind: string
210
+ default_value: ""
211
+ nexus:
212
+ get_value: '/^table-map (\S+)(?: filter)?$/'
213
+ set_value: '<state> table-map <map>'
214
+ ios_xr:
215
+ get_value: '/^table-policy (\S+)$/'
216
+ set_value: '<state> table-policy <map>'
217
+
218
+ table_map_filter:
219
+ _exclude: [ios_xr]
220
+ kind: boolean
221
+ default_value: false
222
+ get_value: '/^table-map \S+ filter$/'
223
+ set_value: '<state> table-map <map> filter'
@@ -0,0 +1,38 @@
1
+ # bgp_af_aa.yaml
2
+ ---
3
+ _exclude: [ios_xr]
4
+
5
+ _template:
6
+ context:
7
+ - "router bgp <asnum>"
8
+ - '(?)vrf <vrf>'
9
+ - 'address-family <afi> <safi>'
10
+ get_command: 'show running bgp all'
11
+
12
+ advertise_map:
13
+ kind: string
14
+ default_value: ''
15
+
16
+ aggr_addr:
17
+ get_value: '/^aggregate-address <address> (.*)$/'
18
+ set_value: "<state> aggregate-address <address> <as_set> <summ> <advertise> <suppress> <attribute>"
19
+
20
+ all_aa:
21
+ multiple: true
22
+ get_value: '/^aggregate-address (\S+)/'
23
+
24
+ as_set:
25
+ kind: boolean
26
+ default_value: false
27
+
28
+ attribute_map:
29
+ kind: string
30
+ default_value: ''
31
+
32
+ summary_only:
33
+ kind: boolean
34
+ default_value: false
35
+
36
+ suppress_map:
37
+ kind: string
38
+ default_value: ''
@@ -0,0 +1,174 @@
1
+ # bgp_neighbor.yaml
2
+ ---
3
+ _template:
4
+ ios_xr:
5
+ get_command: "show running router bgp"
6
+ nexus:
7
+ get_command: "show running bgp all"
8
+ get_context:
9
+ - "router bgp <asnum>"
10
+ - "(?)vrf <vrf>"
11
+ - "neighbor <nbr>(?: remote-as <ra>)?"
12
+ set_context:
13
+ - "router bgp <asnum>"
14
+ - "(?)vrf <vrf>"
15
+ - "neighbor <nbr>"
16
+
17
+ af:
18
+ set_value: '<state> address-family <afi> <safi>'
19
+
20
+ all_neighbors:
21
+ multiple: true
22
+ get_context:
23
+ - "router bgp <asnum>"
24
+ - "(?)vrf <vrf>"
25
+ get_value: '/^neighbor (\S+)(?:\s+remote-as (\d+))?$/'
26
+
27
+ bfd:
28
+ _exclude: [ios_xr]
29
+ kind: boolean
30
+ get_value: '/^bfd$/'
31
+ set_value: '<state> bfd'
32
+ default_value: false
33
+
34
+ capability_negotiation:
35
+ _exclude: [ios_xr]
36
+ auto_default: false
37
+ kind: boolean
38
+ get_value: '/^dont-capability-negotiate$/'
39
+ set_value: '<state> dont-capability-negotiate'
40
+ default_value: true
41
+
42
+ connected_check:
43
+ auto_default: false
44
+ kind: boolean
45
+ ios_xr:
46
+ get_value: '/^ignore-connected-check$/'
47
+ set_value: '<state> ignore-connected-check'
48
+ nexus:
49
+ get_value: '/^disable-connected-check$/'
50
+ set_value: '<state> disable-connected-check'
51
+ default_value: true
52
+
53
+ description:
54
+ kind: string
55
+ get_value: '/^description (.*)/'
56
+ set_value: '<state> description <desc>'
57
+ default_value: ""
58
+
59
+ dynamic_capability:
60
+ _exclude: [ios_xr]
61
+ kind: boolean
62
+ get_value: '/^(no )?dynamic-capability$/'
63
+ set_value: '<state> dynamic-capability'
64
+ default_value: true
65
+
66
+ ebgp_multihop:
67
+ auto_default: false
68
+ get_value: '/^ebgp-multihop (\d+)$/'
69
+ set_value: '<state> ebgp-multihop <ttl>'
70
+ default_value: false
71
+
72
+ local_as:
73
+ get_value: '/^local-as (\d*?.?\d+?)$/'
74
+ set_value: '<state> local-as <local_as>'
75
+ default_value: 0
76
+
77
+ log_neighbor_changes:
78
+ _exclude: [ios_xr, N5k, N6k]
79
+ os_version: 'N7k:8.1.1'
80
+ multiple: true # not actually, but we get an array of matches
81
+ auto_default: false
82
+ get_value: '/^log-neighbor-changes\s+??(\S+)?\s+??$/'
83
+ set_value: '<state> log-neighbor-changes <disable>'
84
+ default_value: "inherit"
85
+
86
+ low_memory_exempt:
87
+ _exclude: [ios_xr]
88
+ kind: boolean
89
+ get_value: '/^low-memory exempt$/'
90
+ set_value: '<state> low-memory exempt'
91
+ default_value: false
92
+
93
+ maximum_peers:
94
+ _exclude: [ios_xr]
95
+ kind: int
96
+ get_value: '/^maximum-peers (\d+)$/'
97
+ set_value: '<state> maximum-peers <num>'
98
+ default_value: 0
99
+
100
+ password:
101
+ ios_xr:
102
+ get_value: '/^password [a-z]+ (\S+)$/'
103
+ nexus:
104
+ get_value: '/^password \d+ (\S+)$/'
105
+ set_value: '<state> password <type> <passwd>'
106
+ default_value: ""
107
+
108
+ password_type:
109
+ kind: string
110
+ ios_xr:
111
+ get_value: '/^password ([a-z]+)/'
112
+ default_value: "clear"
113
+ nexus:
114
+ get_value: '/^password (\d+)/'
115
+ default_value: 0
116
+
117
+ peer_type:
118
+ _exclude: [ios_xr, N3k, N3k-F, N5k, N6k, N7k, N9k-F]
119
+ kind: string
120
+ get_value: '/^peer-type (\S+)$/'
121
+ set_value: '<state> peer-type <peer_type>'
122
+ default_value: ""
123
+
124
+ remote_as:
125
+ get_value: '/^remote-as (\d*?.?\d+?)$/'
126
+ set_value: '<state> remote-as <remote_as>'
127
+ default_value: 0
128
+
129
+ remove_private_as:
130
+ _exclude: [ios_xr]
131
+ multiple: true # not actually, but we get an array of matches
132
+ auto_default: false
133
+ get_value: '/^remove-private-as\s+??(\S+)?\s+??$/'
134
+ set_value: '<state> remove-private-as <option>'
135
+ default_value: "disable"
136
+
137
+ shutdown:
138
+ kind: boolean
139
+ get_value: '/^shutdown$/'
140
+ set_value: '<state> shutdown'
141
+ default_value: false
142
+
143
+ suppress_4_byte_as:
144
+ kind: boolean
145
+ get_value: '/^capability suppress 4-byte-as$/'
146
+ set_value: '<state> capability suppress 4-byte-as'
147
+ default_value: false
148
+
149
+ timers_holdtime:
150
+ default_value: 180
151
+
152
+ timers_keepalive:
153
+ default_value: 60
154
+
155
+ timers_keepalive_hold:
156
+ get_value: '/^timers (\d+) (\d+)$/'
157
+ set_value: '<state> timers <keepalive> <hold>'
158
+
159
+ transport_passive_mode:
160
+ ios_xr:
161
+ kind: string
162
+ get_value: '/^session-open-mode ([a-z-]+)$/'
163
+ set_value: '<state> session-open-mode <mode>'
164
+ default_value: ''
165
+ nexus:
166
+ kind: boolean
167
+ get_value: '/^transport connection-mode passive$/'
168
+ set_value: '<state> transport connection-mode passive'
169
+ default_value: false
170
+
171
+ update_source:
172
+ get_value: '/^update-source (\S+)$/'
173
+ set_value: '<state> update-source <interface>'
174
+ default_value: ""
@@ -0,0 +1,236 @@
1
+ # bgp_neighbor_af.yaml
2
+ ---
3
+ _template:
4
+ nexus:
5
+ get_command: 'show running bgp all'
6
+ ios_xr:
7
+ get_command: 'show run router bgp'
8
+ get_context:
9
+ - 'router bgp <asnum>'
10
+ - '(?)vrf <vrf>'
11
+ - 'neighbor <nbr>(?: remote-as <ra>)?'
12
+ - 'address-family <afi> <safi>'
13
+ set_context:
14
+ - 'router bgp <asnum>'
15
+ - '(?)vrf <vrf>'
16
+ - 'neighbor <nbr>'
17
+ - 'address-family <afi> <safi>'
18
+
19
+ additional_paths_receive:
20
+ _exclude: [ios_xr]
21
+ kind: symbol
22
+ auto_default: false
23
+ get_value: '/^capability additional-paths receive(?: disable)?/'
24
+ set_value: '<state> capability additional-paths receive <disable>'
25
+ default_value: 'inherit'
26
+
27
+ additional_paths_send:
28
+ _exclude: [ios_xr]
29
+ auto_default: false
30
+ get_value: '/^capability additional-paths send(?: disable)?/'
31
+ set_value: '<state> capability additional-paths send <disable>'
32
+ default_value: 'inherit'
33
+
34
+ advertise_map_exist:
35
+ _exclude: [ios_xr]
36
+ get_value: '/^advertise-map (\S+) exist-map (\S+)$/'
37
+ set_value: '<state> advertise-map <map1> exist-map <map2>'
38
+ default_value: ''
39
+
40
+ advertise_map_non_exist:
41
+ _exclude: [ios_xr]
42
+ get_value: '/^advertise-map (\S+) non-exist-map (\S+)$/'
43
+ set_value: '<state> advertise-map <map1> non-exist-map <map2>'
44
+ default_value: ''
45
+
46
+ all_afs:
47
+ multiple: true
48
+ get_context:
49
+ - 'router bgp <asnum>'
50
+ - '(?)vrf <vrf>'
51
+ - 'neighbor <nbr>(?: remote-as <ra>)?'
52
+ get_value: '/^address-family (\S+) (\S+)$/'
53
+
54
+ allowas_in:
55
+ auto_default: false
56
+ get_value: '/^allowas-in(?: \d+)?/'
57
+ set_value: '<state> allowas-in <max>'
58
+ default_value: false
59
+
60
+ allowas_in_max:
61
+ default_value: 3
62
+
63
+ as_override:
64
+ kind: boolean
65
+ get_value: '/^as-override$/'
66
+ set_value: '<state> as-override'
67
+ default_value: false
68
+
69
+ default_originate:
70
+ default_value: false
71
+ ios_xr:
72
+ get_value: '/^default-originate(?: route-policy .*)?/'
73
+ set_value: '<state> default-originate <map>'
74
+ nexus:
75
+ get_value: '/^default-originate(?: route-map .*)?/'
76
+ set_value: '<state> default-originate <map>'
77
+
78
+ default_originate_route_map:
79
+ _exclude: [ios_xr]
80
+ default_value: ~
81
+
82
+ disable_peer_as_check:
83
+ _exclude: [ios_xr]
84
+ kind: boolean
85
+ get_value: '/^disable-peer-as-check$/'
86
+ set_value: '<state> disable-peer-as-check'
87
+ default_value: false
88
+
89
+ filter_list_in:
90
+ _exclude: [ios_xr]
91
+ kind: string
92
+ get_value: '/^filter-list (\S+) in$/'
93
+ set_value: '<state> filter-list <str> in'
94
+ default_value: ''
95
+
96
+ filter_list_out:
97
+ _exclude: [ios_xr]
98
+ kind: string
99
+ get_value: '/^filter-list (\S+) out$/'
100
+ set_value: '<state> filter-list <str> out'
101
+ default_value: ''
102
+
103
+ max_prefix:
104
+ get_value: '/^maximum-prefix .*$/'
105
+ set_value: '<state> maximum-prefix <limit> <threshold> <opt>'
106
+
107
+ max_prefix_interval:
108
+ default_value: ~
109
+
110
+ max_prefix_limit:
111
+ default_value: ~
112
+
113
+ max_prefix_threshold:
114
+ ios_xr:
115
+ default_value: 75
116
+ nexus:
117
+ default_value: ~
118
+
119
+ max_prefix_warning:
120
+ default_value: ~
121
+
122
+ next_hop_self:
123
+ kind: boolean
124
+ get_value: '/^next-hop-self$/'
125
+ set_value: '<state> next-hop-self'
126
+ default_value: false
127
+
128
+ next_hop_third_party:
129
+ _exclude: [ios_xr]
130
+ kind: boolean
131
+ get_value: '/^(no ?)next-hop-third-party$/'
132
+ set_value: '<state> next-hop-third-party'
133
+ default_value: true
134
+
135
+ prefix_list_in:
136
+ _exclude: [ios_xr]
137
+ kind: string
138
+ get_value: '/^prefix-list (\S+) in$/'
139
+ set_value: '<state> prefix-list <str> in'
140
+ default_value: ''
141
+
142
+ prefix_list_out:
143
+ _exclude: [ios_xr]
144
+ kind: string
145
+ get_value: '/^prefix-list (\S+) out$/'
146
+ set_value: '<state> prefix-list <str> out'
147
+ default_value: ''
148
+
149
+ rewrite_evpn_rt_asn:
150
+ _exclude: [ios_xr, N3k, N3k-F, N5k, N6k, N7k, N9k-F]
151
+ kind: boolean
152
+ get_value: '/^rewrite-evpn-rt-asn$/'
153
+ set_value: '<state> rewrite-evpn-rt-asn'
154
+ default_value: false
155
+
156
+ route_map_in:
157
+ kind: string
158
+ default_value: ''
159
+ nexus:
160
+ get_value: '/^route-map (\S+) in$/'
161
+ set_value: '<state> route-map <str> in'
162
+ ios_xr:
163
+ get_value: '/^route-policy (\S+) in$/'
164
+ set_value: '<state> route-policy <str> in'
165
+
166
+ route_map_out:
167
+ kind: string
168
+ default_value: ''
169
+ nexus:
170
+ get_value: '/^route-map (\S+) out$/'
171
+ set_value: '<state> route-map <str> out'
172
+ ios_xr:
173
+ get_value: '/^route-policy (\S+) out$/'
174
+ set_value: '<state> route-policy <str> out'
175
+
176
+ route_reflector_client:
177
+ kind: boolean
178
+ get_value: '/^route-reflector-client$/'
179
+ set_value: '<state> route-reflector-client'
180
+ default_value: false
181
+
182
+ send_community:
183
+ multiple:
184
+ auto_default: false
185
+ default_value: 'none'
186
+ nexus:
187
+ get_value: '/^send-community(?: .*)?/'
188
+ set_value: '<state> send-community <attr>'
189
+ ios_xr:
190
+ # XR three seperate commands: send-community-ebgp send-community-gshut-ebgp
191
+ # and send-extended-community-ebgp
192
+ # send-community-ebgp' and 'send-extended-community-ebgp' are the equivalents
193
+ # of the NXOS: standard | extended functionality
194
+ get_value: '/^(send-community-ebgp|send-extended-community-ebgp)/'
195
+ set_value: '<state> <attr>'
196
+
197
+ soft_reconfiguration_in:
198
+ auto_default: false
199
+ default_value: 'inherit'
200
+ ios_xr: &soft_recon_always
201
+ get_value: '/^soft-reconfiguration inbound(?: always)?/'
202
+ set_value: '<state> soft-reconfiguration inbound <always>'
203
+ N3k: *soft_recon_always
204
+ N3k-F: *soft_recon_always
205
+ N9k-F: *soft_recon_always
206
+ N9k: *soft_recon_always
207
+ else:
208
+ get_value: '/^soft-reconfiguration inbound/'
209
+ set_value: '<state> soft-reconfiguration inbound'
210
+
211
+ soo:
212
+ _exclude: [ios_xr]
213
+ kind: string
214
+ get_value: '/^soo (.*)$/'
215
+ set_value: '<state> soo <str>'
216
+ default_value: ''
217
+
218
+ suppress_inactive:
219
+ _exclude: [ios_xr]
220
+ kind: boolean
221
+ get_value: '/^suppress-inactive$/'
222
+ set_value: '<state> suppress-inactive'
223
+ default_value: false
224
+
225
+ unsuppress_map:
226
+ _exclude: [ios_xr]
227
+ kind: string
228
+ get_value: '/^unsuppress-map (.*)$/'
229
+ set_value: '<state> unsuppress-map <str>'
230
+ default_value: ''
231
+
232
+ weight:
233
+ kind: int
234
+ get_value: '/^weight (\d+)$/'
235
+ set_value: '<state> weight <int>'
236
+ default_value: false