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.
- checksums.yaml +7 -0
- data/.gitignore +10 -0
- data/.rspec +2 -0
- data/.rubocop.yml +96 -0
- data/.travis.yml +17 -0
- data/CHANGELOG.md +676 -0
- data/CONTRIBUTING.md +43 -0
- data/Gemfile +10 -0
- data/LICENSE +201 -0
- data/README.md +246 -0
- data/Rakefile +44 -0
- data/SUPPORT.md +3 -0
- data/bin/.rubocop.yml +18 -0
- data/bin/check_metric_limits.rb +109 -0
- data/bin/git/hooks/commit-msg/enforce_style +89 -0
- data/bin/git/hooks/hook_lib +115 -0
- data/bin/git/hooks/hooks-wrapper +38 -0
- data/bin/git/hooks/post-flow-hotfix-start/update-version +24 -0
- data/bin/git/hooks/post-flow-release-finish/update-version +29 -0
- data/bin/git/hooks/post-flow-release-start/update-version +19 -0
- data/bin/git/hooks/post-merge/update-hooks +6 -0
- data/bin/git/hooks/post-rewrite/update-hooks +6 -0
- data/bin/git/hooks/pre-commit/check_unstaged_changes +18 -0
- data/bin/git/hooks/pre-commit/rubocop +25 -0
- data/bin/git/hooks/pre-commit/validate-diffs +45 -0
- data/bin/git/hooks/pre-commit/validate-yaml +18 -0
- data/bin/git/hooks/pre-push/check-changelog +24 -0
- data/bin/git/hooks/pre-push/rubocop +7 -0
- data/bin/git/update-hooks +123 -0
- data/bin/show_running_yang.rb +233 -0
- data/cisco_node_utils.gemspec +41 -0
- data/docs/README-develop-best-practices.md +521 -0
- data/docs/README-develop-node-utils-APIs.md +570 -0
- data/docs/README-maintainers.md +77 -0
- data/docs/README-test-execution.md +57 -0
- data/docs/README-utilities.md +14 -0
- data/docs/agent_files.png +0 -0
- data/docs/cisco_node_utils.yaml.example +36 -0
- data/docs/template-router.rb +123 -0
- data/docs/template-test_router.rb +104 -0
- data/ext/mkrf_conf.rb +63 -0
- data/lib/.rubocop.yml +18 -0
- data/lib/cisco_node_utils/aaa_authentication_login.rb +95 -0
- data/lib/cisco_node_utils/aaa_authentication_login_service.rb +138 -0
- data/lib/cisco_node_utils/aaa_authorization_service.rb +156 -0
- data/lib/cisco_node_utils/ace.rb +467 -0
- data/lib/cisco_node_utils/acl.rb +101 -0
- data/lib/cisco_node_utils/banner.rb +63 -0
- data/lib/cisco_node_utils/bfd_global.rb +305 -0
- data/lib/cisco_node_utils/bgp.rb +988 -0
- data/lib/cisco_node_utils/bgp_af.rb +545 -0
- data/lib/cisco_node_utils/bgp_af_aggr_addr.rb +207 -0
- data/lib/cisco_node_utils/bgp_neighbor.rb +527 -0
- data/lib/cisco_node_utils/bgp_neighbor_af.rb +780 -0
- data/lib/cisco_node_utils/bridge_domain.rb +178 -0
- data/lib/cisco_node_utils/bridge_domain_vni.rb +206 -0
- data/lib/cisco_node_utils/cisco_cmn_utils.rb +444 -0
- data/lib/cisco_node_utils/client/client.rb +238 -0
- data/lib/cisco_node_utils/client/grpc/client.rb +395 -0
- data/lib/cisco_node_utils/client/grpc/ems.proto +148 -0
- data/lib/cisco_node_utils/client/grpc/ems.rb +111 -0
- data/lib/cisco_node_utils/client/grpc/ems_services.rb +49 -0
- data/lib/cisco_node_utils/client/grpc.rb +33 -0
- data/lib/cisco_node_utils/client/nxapi/client.rb +368 -0
- data/lib/cisco_node_utils/client/nxapi.rb +31 -0
- data/lib/cisco_node_utils/client/utils.rb +180 -0
- data/lib/cisco_node_utils/client.rb +35 -0
- data/lib/cisco_node_utils/cmd_ref/README_YAML.md +590 -0
- data/lib/cisco_node_utils/cmd_ref/aaa_auth_login_service.yaml +25 -0
- data/lib/cisco_node_utils/cmd_ref/aaa_authentication_login.yaml +38 -0
- data/lib/cisco_node_utils/cmd_ref/aaa_authorization_service.yaml +40 -0
- data/lib/cisco_node_utils/cmd_ref/acl.yaml +48 -0
- data/lib/cisco_node_utils/cmd_ref/banner.yaml +11 -0
- data/lib/cisco_node_utils/cmd_ref/bfd_global.yaml +117 -0
- data/lib/cisco_node_utils/cmd_ref/bgp.yaml +383 -0
- data/lib/cisco_node_utils/cmd_ref/bgp_af.yaml +223 -0
- data/lib/cisco_node_utils/cmd_ref/bgp_af_aa.yaml +38 -0
- data/lib/cisco_node_utils/cmd_ref/bgp_neighbor.yaml +174 -0
- data/lib/cisco_node_utils/cmd_ref/bgp_neighbor_af.yaml +236 -0
- data/lib/cisco_node_utils/cmd_ref/bridge_domain.yaml +49 -0
- data/lib/cisco_node_utils/cmd_ref/bridge_domain_vni.yaml +33 -0
- data/lib/cisco_node_utils/cmd_ref/dhcp_relay_global.yaml +128 -0
- data/lib/cisco_node_utils/cmd_ref/dnsclient.yaml +55 -0
- data/lib/cisco_node_utils/cmd_ref/encapsulation.yaml +25 -0
- data/lib/cisco_node_utils/cmd_ref/evpn_multicast.yaml +12 -0
- data/lib/cisco_node_utils/cmd_ref/evpn_multisite.yaml +18 -0
- data/lib/cisco_node_utils/cmd_ref/evpn_stormcontrol.yaml +18 -0
- data/lib/cisco_node_utils/cmd_ref/evpn_vni.yaml +48 -0
- data/lib/cisco_node_utils/cmd_ref/fabricpath.yaml +183 -0
- data/lib/cisco_node_utils/cmd_ref/fabricpath_topology.yaml +40 -0
- data/lib/cisco_node_utils/cmd_ref/feature.yaml +126 -0
- data/lib/cisco_node_utils/cmd_ref/hostname.yaml +8 -0
- data/lib/cisco_node_utils/cmd_ref/hsrp_global.yaml +25 -0
- data/lib/cisco_node_utils/cmd_ref/images.yaml +8 -0
- data/lib/cisco_node_utils/cmd_ref/interface.yaml +781 -0
- data/lib/cisco_node_utils/cmd_ref/interface_channel_group.yaml +45 -0
- data/lib/cisco_node_utils/cmd_ref/interface_evpn_multisite.yaml +17 -0
- data/lib/cisco_node_utils/cmd_ref/interface_hsrp_group.yaml +120 -0
- data/lib/cisco_node_utils/cmd_ref/interface_ospf.yaml +112 -0
- data/lib/cisco_node_utils/cmd_ref/interface_portchannel.yaml +87 -0
- data/lib/cisco_node_utils/cmd_ref/interface_service_vni.yaml +42 -0
- data/lib/cisco_node_utils/cmd_ref/inventory.yaml +45 -0
- data/lib/cisco_node_utils/cmd_ref/ip_multicast.yaml +22 -0
- data/lib/cisco_node_utils/cmd_ref/itd_device_group.yaml +83 -0
- data/lib/cisco_node_utils/cmd_ref/itd_service.yaml +119 -0
- data/lib/cisco_node_utils/cmd_ref/memory.yaml +24 -0
- data/lib/cisco_node_utils/cmd_ref/ntp_auth_key.yaml +10 -0
- data/lib/cisco_node_utils/cmd_ref/ntp_config.yaml +27 -0
- data/lib/cisco_node_utils/cmd_ref/ntp_server.yaml +34 -0
- data/lib/cisco_node_utils/cmd_ref/object_group.yaml +32 -0
- data/lib/cisco_node_utils/cmd_ref/ospf.yaml +91 -0
- data/lib/cisco_node_utils/cmd_ref/ospf_area.yaml +91 -0
- data/lib/cisco_node_utils/cmd_ref/ospf_area_vlink.yaml +88 -0
- data/lib/cisco_node_utils/cmd_ref/overlay_global.yaml +37 -0
- data/lib/cisco_node_utils/cmd_ref/pim.yaml +43 -0
- data/lib/cisco_node_utils/cmd_ref/portchannel_global.yaml +86 -0
- data/lib/cisco_node_utils/cmd_ref/radius_global.yaml +37 -0
- data/lib/cisco_node_utils/cmd_ref/radius_server.yaml +100 -0
- data/lib/cisco_node_utils/cmd_ref/radius_server_group.yaml +19 -0
- data/lib/cisco_node_utils/cmd_ref/route_map.yaml +601 -0
- data/lib/cisco_node_utils/cmd_ref/show_system.yaml +9 -0
- data/lib/cisco_node_utils/cmd_ref/show_version.yaml +84 -0
- data/lib/cisco_node_utils/cmd_ref/snmp_community.yaml +81 -0
- data/lib/cisco_node_utils/cmd_ref/snmp_group.yaml +9 -0
- data/lib/cisco_node_utils/cmd_ref/snmp_notification_receiver.yaml +74 -0
- data/lib/cisco_node_utils/cmd_ref/snmp_server.yaml +91 -0
- data/lib/cisco_node_utils/cmd_ref/snmp_user.yaml +57 -0
- data/lib/cisco_node_utils/cmd_ref/snmpnotification.yaml +23 -0
- data/lib/cisco_node_utils/cmd_ref/span_session.yaml +65 -0
- data/lib/cisco_node_utils/cmd_ref/stp_global.yaml +235 -0
- data/lib/cisco_node_utils/cmd_ref/syslog_facility.yaml +10 -0
- data/lib/cisco_node_utils/cmd_ref/syslog_server.yaml +34 -0
- data/lib/cisco_node_utils/cmd_ref/syslog_settings.yaml +45 -0
- data/lib/cisco_node_utils/cmd_ref/system.yaml +7 -0
- data/lib/cisco_node_utils/cmd_ref/tacacs_global.yaml +37 -0
- data/lib/cisco_node_utils/cmd_ref/tacacs_server.yaml +63 -0
- data/lib/cisco_node_utils/cmd_ref/tacacs_server_group.yaml +45 -0
- data/lib/cisco_node_utils/cmd_ref/tacacs_server_host.yaml +64 -0
- data/lib/cisco_node_utils/cmd_ref/upgrade.yaml +38 -0
- data/lib/cisco_node_utils/cmd_ref/vdc.yaml +52 -0
- data/lib/cisco_node_utils/cmd_ref/virtual_service.yaml +8 -0
- data/lib/cisco_node_utils/cmd_ref/vlan.yaml +106 -0
- data/lib/cisco_node_utils/cmd_ref/vpc.yaml +233 -0
- data/lib/cisco_node_utils/cmd_ref/vrf.yaml +86 -0
- data/lib/cisco_node_utils/cmd_ref/vrf_af.yaml +139 -0
- data/lib/cisco_node_utils/cmd_ref/vtp.yaml +32 -0
- data/lib/cisco_node_utils/cmd_ref/vxlan_vtep.yaml +114 -0
- data/lib/cisco_node_utils/cmd_ref/vxlan_vtep_vni.yaml +71 -0
- data/lib/cisco_node_utils/cmd_ref/yang.yaml +7 -0
- data/lib/cisco_node_utils/cmd_ref/yum.yaml +68 -0
- data/lib/cisco_node_utils/command_reference.rb +724 -0
- data/lib/cisco_node_utils/configparser_lib.rb +195 -0
- data/lib/cisco_node_utils/constants.rb +40 -0
- data/lib/cisco_node_utils/dhcp_relay_global.rb +302 -0
- data/lib/cisco_node_utils/dns_domain.rb +93 -0
- data/lib/cisco_node_utils/domain_name.rb +82 -0
- data/lib/cisco_node_utils/encapsulation.rb +112 -0
- data/lib/cisco_node_utils/environment.rb +110 -0
- data/lib/cisco_node_utils/evpn_multicast.rb +66 -0
- data/lib/cisco_node_utils/evpn_multisite.rb +96 -0
- data/lib/cisco_node_utils/evpn_stormcontrol.rb +84 -0
- data/lib/cisco_node_utils/evpn_vni.rb +159 -0
- data/lib/cisco_node_utils/exceptions.rb +140 -0
- data/lib/cisco_node_utils/fabricpath_global.rb +405 -0
- data/lib/cisco_node_utils/fabricpath_topology.rb +137 -0
- data/lib/cisco_node_utils/feature.rb +377 -0
- data/lib/cisco_node_utils/hostname.rb +62 -0
- data/lib/cisco_node_utils/hsrp_global.rb +97 -0
- data/lib/cisco_node_utils/interface.rb +2128 -0
- data/lib/cisco_node_utils/interface_channel_group.rb +142 -0
- data/lib/cisco_node_utils/interface_evpn_multisite.rb +72 -0
- data/lib/cisco_node_utils/interface_hsrp_group.rb +557 -0
- data/lib/cisco_node_utils/interface_ospf.rb +378 -0
- data/lib/cisco_node_utils/interface_portchannel.rb +180 -0
- data/lib/cisco_node_utils/interface_service_vni.rb +132 -0
- data/lib/cisco_node_utils/ip_multicast.rb +90 -0
- data/lib/cisco_node_utils/itd_device_group.rb +228 -0
- data/lib/cisco_node_utils/itd_device_group_node.rb +144 -0
- data/lib/cisco_node_utils/itd_service.rb +511 -0
- data/lib/cisco_node_utils/logger.rb +78 -0
- data/lib/cisco_node_utils/name_server.rb +64 -0
- data/lib/cisco_node_utils/node.rb +443 -0
- data/lib/cisco_node_utils/node_util.rb +111 -0
- data/lib/cisco_node_utils/ntp_auth_key.rb +67 -0
- data/lib/cisco_node_utils/ntp_config.rb +83 -0
- data/lib/cisco_node_utils/ntp_server.rb +86 -0
- data/lib/cisco_node_utils/object_group.rb +75 -0
- data/lib/cisco_node_utils/object_group_entry.rb +143 -0
- data/lib/cisco_node_utils/overlay_global.rb +142 -0
- data/lib/cisco_node_utils/pim.rb +131 -0
- data/lib/cisco_node_utils/pim_group_list.rb +109 -0
- data/lib/cisco_node_utils/pim_rp_address.rb +103 -0
- data/lib/cisco_node_utils/platform.rb +217 -0
- data/lib/cisco_node_utils/portchannel_global.rb +347 -0
- data/lib/cisco_node_utils/radius_global.rb +165 -0
- data/lib/cisco_node_utils/radius_server.rb +421 -0
- data/lib/cisco_node_utils/radius_server_group.rb +117 -0
- data/lib/cisco_node_utils/route_map.rb +2540 -0
- data/lib/cisco_node_utils/router_ospf.rb +77 -0
- data/lib/cisco_node_utils/router_ospf_area.rb +416 -0
- data/lib/cisco_node_utils/router_ospf_area_vlink.rb +313 -0
- data/lib/cisco_node_utils/router_ospf_vrf.rb +342 -0
- data/lib/cisco_node_utils/snmp_notification_receiver.rb +176 -0
- data/lib/cisco_node_utils/snmpcommunity.rb +109 -0
- data/lib/cisco_node_utils/snmpgroup.rb +54 -0
- data/lib/cisco_node_utils/snmpnotification.rb +57 -0
- data/lib/cisco_node_utils/snmpserver.rb +132 -0
- data/lib/cisco_node_utils/snmpuser.rb +403 -0
- data/lib/cisco_node_utils/span_session.rb +149 -0
- data/lib/cisco_node_utils/stp_global.rb +676 -0
- data/lib/cisco_node_utils/syslog_facility.rb +64 -0
- data/lib/cisco_node_utils/syslog_server.rb +146 -0
- data/lib/cisco_node_utils/syslog_settings.rb +174 -0
- data/lib/cisco_node_utils/tacacs_global.rb +137 -0
- data/lib/cisco_node_utils/tacacs_server.rb +173 -0
- data/lib/cisco_node_utils/tacacs_server_group.rb +149 -0
- data/lib/cisco_node_utils/tacacs_server_host.rb +216 -0
- data/lib/cisco_node_utils/upgrade.rb +122 -0
- data/lib/cisco_node_utils/vdc.rb +118 -0
- data/lib/cisco_node_utils/version.rb +21 -0
- data/lib/cisco_node_utils/vlan.rb +301 -0
- data/lib/cisco_node_utils/vpc.rb +466 -0
- data/lib/cisco_node_utils/vrf.rb +192 -0
- data/lib/cisco_node_utils/vrf_af.rb +327 -0
- data/lib/cisco_node_utils/vtp.rb +125 -0
- data/lib/cisco_node_utils/vxlan_vtep.rb +286 -0
- data/lib/cisco_node_utils/vxlan_vtep_vni.rb +331 -0
- data/lib/cisco_node_utils/yang.rb +160 -0
- data/lib/cisco_node_utils/yum.rb +213 -0
- data/lib/cisco_node_utils.rb +21 -0
- data/lib/minitest/environment_plugin.rb +31 -0
- data/lib/minitest/log_level_plugin.rb +41 -0
- data/spec/client_spec.rb +7 -0
- data/spec/environment_spec.rb +384 -0
- data/spec/grpc_client_spec.rb +23 -0
- data/spec/isolate/all_clients_spec.rb +9 -0
- data/spec/isolate/grpc_only_spec.rb +16 -0
- data/spec/isolate/no_clients_spec.rb +26 -0
- data/spec/isolate/nxapi_only_spec.rb +16 -0
- data/spec/nxapi_client_spec.rb +42 -0
- data/spec/schema.yaml +82 -0
- data/spec/shared_examples_for_clients.rb +14 -0
- data/spec/spec_helper.rb +91 -0
- data/spec/whitespace_spec.rb +10 -0
- data/spec/yaml_spec.rb +42 -0
- data/tests/.rubocop.yml +18 -0
- data/tests/CSCuxdublin-1.0.0-7.0.3.I3.1.lib32_n9000.rpm +0 -0
- data/tests/basetest.rb +243 -0
- data/tests/ciscotest.rb +577 -0
- data/tests/cmd_config.yaml +75 -0
- data/tests/cmd_config_invalid.yaml +16 -0
- data/tests/n9000_sample-1.0.0-7.0.3.x86_64.rpm +0 -0
- data/tests/noop.rb +7 -0
- data/tests/platform_info.rb +63 -0
- data/tests/tacacs_server.yaml.example +6 -0
- data/tests/test_aaa_authentication_login.rb +243 -0
- data/tests/test_aaa_authentication_login_service.rb +761 -0
- data/tests/test_aaa_authorization_service.rb +874 -0
- data/tests/test_ace.rb +304 -0
- data/tests/test_acl.rb +185 -0
- data/tests/test_banner.rb +85 -0
- data/tests/test_bfd_global.rb +272 -0
- data/tests/test_bgp_af.rb +875 -0
- data/tests/test_bgp_af_aa.rb +108 -0
- data/tests/test_bgp_neighbor.rb +596 -0
- data/tests/test_bgp_neighbor_af.rb +781 -0
- data/tests/test_bridge_domain.rb +198 -0
- data/tests/test_bridge_domain_vni.rb +109 -0
- data/tests/test_client_utils.rb +111 -0
- data/tests/test_cmn_utils.rb +76 -0
- data/tests/test_command_config.rb +206 -0
- data/tests/test_command_reference.rb +669 -0
- data/tests/test_dhcp_relay_global.rb +286 -0
- data/tests/test_dns_domain.rb +123 -0
- data/tests/test_domain_name.rb +96 -0
- data/tests/test_encapsulation.rb +75 -0
- data/tests/test_evpn_multicast.rb +65 -0
- data/tests/test_evpn_multisite.rb +70 -0
- data/tests/test_evpn_stormcontrol.rb +56 -0
- data/tests/test_evpn_vni.rb +131 -0
- data/tests/test_fabricpath_global.rb +246 -0
- data/tests/test_fabricpath_topology.rb +77 -0
- data/tests/test_feature.rb +272 -0
- data/tests/test_grpc.rb +166 -0
- data/tests/test_hostname.rb +64 -0
- data/tests/test_hsrp_global.rb +79 -0
- data/tests/test_interface.rb +1958 -0
- data/tests/test_interface_bdi.rb +80 -0
- data/tests/test_interface_channel_group.rb +131 -0
- data/tests/test_interface_evpn_multisite.rb +94 -0
- data/tests/test_interface_hsrp.rb +134 -0
- data/tests/test_interface_hsrp_group.rb +570 -0
- data/tests/test_interface_ospf.rb +820 -0
- data/tests/test_interface_portchannel.rb +135 -0
- data/tests/test_interface_private_vlan.rb +365 -0
- data/tests/test_interface_service_vni.rb +203 -0
- data/tests/test_interface_svi.rb +210 -0
- data/tests/test_interface_switchport.rb +468 -0
- data/tests/test_ip_multicast.rb +80 -0
- data/tests/test_itd_device_group.rb +145 -0
- data/tests/test_itd_device_group_node.rb +199 -0
- data/tests/test_itd_service.rb +314 -0
- data/tests/test_logger.rb +43 -0
- data/tests/test_name_server.rb +94 -0
- data/tests/test_node.rb +50 -0
- data/tests/test_node_ext.rb +406 -0
- data/tests/test_node_util.rb +119 -0
- data/tests/test_ntp_auth_key.rb +77 -0
- data/tests/test_ntp_config.rb +100 -0
- data/tests/test_ntp_server.rb +146 -0
- data/tests/test_nxapi.rb +236 -0
- data/tests/test_object_group.rb +122 -0
- data/tests/test_overlay_global.rb +108 -0
- data/tests/test_pim.rb +203 -0
- data/tests/test_pim_group_list.rb +147 -0
- data/tests/test_pim_rp_address.rb +155 -0
- data/tests/test_platform.rb +254 -0
- data/tests/test_portchannel_global.rb +322 -0
- data/tests/test_radius_global.rb +108 -0
- data/tests/test_radius_server.rb +377 -0
- data/tests/test_radius_server_group.rb +151 -0
- data/tests/test_route_map.rb +1479 -0
- data/tests/test_router_bgp.rb +1325 -0
- data/tests/test_router_ospf.rb +56 -0
- data/tests/test_router_ospf_area.rb +433 -0
- data/tests/test_router_ospf_area_vlink.rb +298 -0
- data/tests/test_router_ospf_vrf.rb +690 -0
- data/tests/test_snmp_notification_receiver.rb +169 -0
- data/tests/test_snmpcommunity.rb +422 -0
- data/tests/test_snmpgroup.rb +71 -0
- data/tests/test_snmpnotification.rb +91 -0
- data/tests/test_snmpserver.rb +251 -0
- data/tests/test_snmpuser.rb +666 -0
- data/tests/test_span_session.rb +155 -0
- data/tests/test_stp_global.rb +575 -0
- data/tests/test_syslog_facility.rb +80 -0
- data/tests/test_syslog_server.rb +119 -0
- data/tests/test_syslog_settings.rb +123 -0
- data/tests/test_tacacs_global.rb +109 -0
- data/tests/test_tacacs_server.rb +436 -0
- data/tests/test_tacacs_server_group.rb +434 -0
- data/tests/test_tacacs_server_host.rb +427 -0
- data/tests/test_upgrade.rb +105 -0
- data/tests/test_vdc.rb +64 -0
- data/tests/test_vlan.rb +386 -0
- data/tests/test_vlan_private.rb +656 -0
- data/tests/test_vpc.rb +548 -0
- data/tests/test_vrf.rb +248 -0
- data/tests/test_vrf_af.rb +288 -0
- data/tests/test_vtp.rb +278 -0
- data/tests/test_vxlan_vtep.rb +327 -0
- data/tests/test_vxlan_vtep_vni.rb +326 -0
- data/tests/test_yang.rb +369 -0
- data/tests/test_yum.rb +109 -0
- data/tests/upgrade_info.yaml.example +3 -0
- data/tests/yum_package.yaml +94 -0
- metadata +534 -0
@@ -0,0 +1,24 @@
|
|
1
|
+
# memory
|
2
|
+
---
|
3
|
+
_template:
|
4
|
+
nexus:
|
5
|
+
get_command: 'show system resources'
|
6
|
+
ios_xr:
|
7
|
+
get_command: 'show memory summary'
|
8
|
+
|
9
|
+
free:
|
10
|
+
ios_xr:
|
11
|
+
get_value: '/Physical Memory:.*\((\S+) available\)/'
|
12
|
+
nexus:
|
13
|
+
get_value: '/Memory.* (\S+) free/'
|
14
|
+
|
15
|
+
total:
|
16
|
+
ios_xr:
|
17
|
+
get_value: '/Physical Memory: *(\S+) total/'
|
18
|
+
nexus:
|
19
|
+
get_value: '/Memory.* (\S+) total/'
|
20
|
+
|
21
|
+
used:
|
22
|
+
_exclude: [ios_xr]
|
23
|
+
nexus:
|
24
|
+
get_value: '/Memory.* (\S+) used/'
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# ntp_auth_key
|
2
|
+
---
|
3
|
+
key:
|
4
|
+
multiple: true
|
5
|
+
default_value: []
|
6
|
+
nexus:
|
7
|
+
get_command: "show running-config all | include 'ntp authentication-key'"
|
8
|
+
# Returns <key>, <algorithm>, <password>, <mode>
|
9
|
+
get_value: '/^ntp authentication-key (\d+) (\w+) (\S+) (\d)/'
|
10
|
+
set_value: '<state> ntp authentication-key <key> <algorithm> <password> <mode>'
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# ntp_config
|
2
|
+
---
|
3
|
+
_template:
|
4
|
+
get_command: "show running-config ntp"
|
5
|
+
|
6
|
+
authenticate:
|
7
|
+
kind: boolean
|
8
|
+
default_value: false
|
9
|
+
nexus:
|
10
|
+
get_value: '/^ntp authenticate$/'
|
11
|
+
set_value: "<state> ntp authenticate"
|
12
|
+
|
13
|
+
source_interface:
|
14
|
+
default_value: ~
|
15
|
+
nexus:
|
16
|
+
get_value: '/^ntp source-interface\s+(.*)$/'
|
17
|
+
set_value: '<state> ntp source-interface <source_interface>'
|
18
|
+
ios_xr:
|
19
|
+
context: ["ntp"]
|
20
|
+
get_value: '/source\s+(.*)$/'
|
21
|
+
set_value: '<state> source <source_interface>'
|
22
|
+
|
23
|
+
trusted_key:
|
24
|
+
multiple:
|
25
|
+
nexus:
|
26
|
+
get_value: '/^ntp trusted-key\s+(\d+)$/'
|
27
|
+
set_value: "<state> ntp trusted-key <key>"
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# ntp_server
|
2
|
+
---
|
3
|
+
_template:
|
4
|
+
ios_xr:
|
5
|
+
context: ["ntp"]
|
6
|
+
get_command: "show running-config ntp"
|
7
|
+
|
8
|
+
key:
|
9
|
+
multiple: true
|
10
|
+
default_value: []
|
11
|
+
nexus:
|
12
|
+
get_command: "show running-config all | include 'ntp server(.*)(key)'"
|
13
|
+
get_value: '/ntp server (\S+)/'
|
14
|
+
|
15
|
+
prefer:
|
16
|
+
multiple: true
|
17
|
+
default_value: []
|
18
|
+
nexus:
|
19
|
+
get_command: "show running-config all | include 'ntp server(.*)(prefer)'"
|
20
|
+
get_value: '/ntp server (\S+)/'
|
21
|
+
ios_xr:
|
22
|
+
get_value: '/server (?:ipv6 )?(\S+) prefer/'
|
23
|
+
|
24
|
+
server:
|
25
|
+
multiple: true
|
26
|
+
default_value: []
|
27
|
+
nexus:
|
28
|
+
get_command: "show running-config all | include 'ntp server'"
|
29
|
+
# Returns <ip>, <prefer>, <vrf>, <key>, <minpoll>, <maxpoll>
|
30
|
+
get_value: '/^(?:ntp server )([^\s]+) (prefer )?(?:(?:use-vrf )([^\s]+))?(?:(?: key )(\d+))?(?:(?: minpoll )(\d+))?(?:(?: maxpoll )(\d+))?/'
|
31
|
+
set_value: '<state> ntp server <ip> <prefer> <vrf> <key> <minpoll> <maxpoll>'
|
32
|
+
ios_xr:
|
33
|
+
get_value: '/server (?:ipv6 )?(\S+)/'
|
34
|
+
set_value: '<state> server <ip> <prefer>'
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# object_group
|
2
|
+
---
|
3
|
+
_exclude: [N5k, N6k, ios_xr]
|
4
|
+
|
5
|
+
_template:
|
6
|
+
get_command: "show running-config | section object-group"
|
7
|
+
get_context: ['/^object-group <afi> <type> <grp_name>/']
|
8
|
+
set_context: ["object-group <afi> <type> <grp_name>"]
|
9
|
+
|
10
|
+
all_entries:
|
11
|
+
multiple:
|
12
|
+
get_value: '/^(\d+) .+$/'
|
13
|
+
|
14
|
+
all_object_groups:
|
15
|
+
multiple:
|
16
|
+
get_context: ~
|
17
|
+
get_value: '/^object-group (\S+) (\S+) (\S+)$/'
|
18
|
+
|
19
|
+
create:
|
20
|
+
set_context: ~
|
21
|
+
set_value: "object-group <afi> <type> <grp_name>"
|
22
|
+
|
23
|
+
destroy:
|
24
|
+
set_context: ~
|
25
|
+
set_value: "no object-group <afi> <type> <grp_name>"
|
26
|
+
|
27
|
+
entry:
|
28
|
+
get_value: '/^<seqno> .+$/'
|
29
|
+
set_value: "<state> <seqno> <address> <port>"
|
30
|
+
|
31
|
+
entry_destroy:
|
32
|
+
set_value: 'no <seqno>'
|
@@ -0,0 +1,91 @@
|
|
1
|
+
# ospf
|
2
|
+
---
|
3
|
+
_exclude: [ios_xr]
|
4
|
+
|
5
|
+
_template:
|
6
|
+
get_command: "show running ospf all"
|
7
|
+
context:
|
8
|
+
- "router ospf <name>"
|
9
|
+
- "(?)vrf <vrf>"
|
10
|
+
|
11
|
+
auto_cost:
|
12
|
+
get_value: '/^auto-cost reference-bandwidth (\d+)\s*(\S+)?$/'
|
13
|
+
set_value: "auto-cost reference-bandwidth <cost> <type>"
|
14
|
+
default_value: [40, "Gbps"]
|
15
|
+
|
16
|
+
bfd:
|
17
|
+
kind: boolean
|
18
|
+
get_value: '/^bfd$/'
|
19
|
+
set_value: '<state> bfd'
|
20
|
+
default_value: false
|
21
|
+
|
22
|
+
default_metric:
|
23
|
+
kind: int
|
24
|
+
get_value: '/^default-metric (\d+)?$/'
|
25
|
+
set_value: "<state> default-metric <metric>"
|
26
|
+
default_value: 0
|
27
|
+
|
28
|
+
log_adjacency:
|
29
|
+
auto_default: false
|
30
|
+
get_value: '/^(log-adjacency-changes)\s*(detail)?$/'
|
31
|
+
set_value: "<state> log-adjacency-changes <type>"
|
32
|
+
default_value: :none
|
33
|
+
|
34
|
+
process_initialized:
|
35
|
+
_exclude: [ios_xr, N3k, N7k, N3k-F, N9k-F, N9k]
|
36
|
+
# ospf process initialization state
|
37
|
+
kind: boolean
|
38
|
+
context: ~
|
39
|
+
get_command: "show ip ospf stat"
|
40
|
+
get_value: '/^No SAP is registered/' # Ospf is not initialized when seen
|
41
|
+
|
42
|
+
redistribute:
|
43
|
+
# no support yet for redistribute maximum-prefix
|
44
|
+
multiple: true
|
45
|
+
get_value: '/^redistribute (\S+ ?\S+?) route-map (\S+)$/'
|
46
|
+
set_value: '<state> redistribute <protocol> route-map <route_map>'
|
47
|
+
default_value: []
|
48
|
+
|
49
|
+
router:
|
50
|
+
multiple: true
|
51
|
+
get_command: "show running ospf"
|
52
|
+
context: ~
|
53
|
+
get_value: '/^router ospf (\S+)$/'
|
54
|
+
set_value: "<state> router ospf <name>"
|
55
|
+
|
56
|
+
router_id:
|
57
|
+
get_value: '/^router-id (\S+)?$/'
|
58
|
+
set_value: "<state> router-id <router_id>"
|
59
|
+
default_value: ""
|
60
|
+
|
61
|
+
timer_throttle_lsa:
|
62
|
+
get_value: '/^timers throttle lsa (\d+) (\d+) (\d+)$/'
|
63
|
+
set_value: "timers throttle lsa <start> <hold> <max>"
|
64
|
+
|
65
|
+
timer_throttle_lsa_hold:
|
66
|
+
default_value: 5000
|
67
|
+
|
68
|
+
timer_throttle_lsa_max:
|
69
|
+
default_value: 5000
|
70
|
+
|
71
|
+
timer_throttle_lsa_start:
|
72
|
+
default_value: 0
|
73
|
+
|
74
|
+
timer_throttle_spf:
|
75
|
+
get_value: '/^timers throttle spf (\d+) (\d+) (\d+)$/'
|
76
|
+
set_value: "timers throttle spf <start> <hold> <max>"
|
77
|
+
|
78
|
+
timer_throttle_spf_hold:
|
79
|
+
default_value: 1000
|
80
|
+
|
81
|
+
timer_throttle_spf_max:
|
82
|
+
default_value: 5000
|
83
|
+
|
84
|
+
timer_throttle_spf_start:
|
85
|
+
default_value: 200
|
86
|
+
|
87
|
+
vrf:
|
88
|
+
multiple: true
|
89
|
+
context: ["router ospf <name>"]
|
90
|
+
get_value: '/^vrf\s+(\S+)$/'
|
91
|
+
set_value: "<state> vrf <vrf>"
|
@@ -0,0 +1,91 @@
|
|
1
|
+
# ospf_area
|
2
|
+
---
|
3
|
+
_exclude: [ios_xr]
|
4
|
+
|
5
|
+
_template:
|
6
|
+
get_command: "show running ospf | no-more"
|
7
|
+
context:
|
8
|
+
- "router ospf <name>"
|
9
|
+
- "(?)vrf <vrf>"
|
10
|
+
|
11
|
+
areas:
|
12
|
+
multiple: true
|
13
|
+
get_value: '/^area\s+(\S+)/'
|
14
|
+
|
15
|
+
authentication:
|
16
|
+
# the config can be 'area <area> authentication' or
|
17
|
+
# 'area <area> authentication message-digest' or
|
18
|
+
# no authentication config at all so need to grab the
|
19
|
+
# optional match to get the whole config for checking
|
20
|
+
# the mode
|
21
|
+
get_value: '/^area <area> authentication(?:\s+\S+)?$/'
|
22
|
+
set_value: '<state> area <area> authentication <auth>'
|
23
|
+
default_value: false
|
24
|
+
|
25
|
+
default_cost:
|
26
|
+
kind: int
|
27
|
+
get_value: '/^area <area> default-cost (\d+)$/'
|
28
|
+
set_value: '<state> area <area> default-cost <cost>'
|
29
|
+
default_value: 1
|
30
|
+
|
31
|
+
filter_list_in:
|
32
|
+
get_value: '/^area <area> filter-list route-map (\S+) in$/'
|
33
|
+
set_value: '<state> area <area> filter-list route-map <route_map> in'
|
34
|
+
default_value: false
|
35
|
+
|
36
|
+
filter_list_out:
|
37
|
+
get_value: '/^area <area> filter-list route-map (\S+) out$/'
|
38
|
+
set_value: '<state> area <area> filter-list route-map <route_map> out'
|
39
|
+
default_value: false
|
40
|
+
|
41
|
+
nssa:
|
42
|
+
kind: boolean
|
43
|
+
default_value: false
|
44
|
+
|
45
|
+
nssa_default_originate:
|
46
|
+
kind: boolean
|
47
|
+
default_value: false
|
48
|
+
|
49
|
+
nssa_destroy:
|
50
|
+
set_value: 'no area <area> nssa'
|
51
|
+
|
52
|
+
nssa_get:
|
53
|
+
multiple: true
|
54
|
+
get_value: '/^area <area> nssa(.*)$/'
|
55
|
+
|
56
|
+
nssa_no_redistribution:
|
57
|
+
kind: boolean
|
58
|
+
default_value: false
|
59
|
+
|
60
|
+
nssa_no_summary:
|
61
|
+
kind: boolean
|
62
|
+
default_value: false
|
63
|
+
|
64
|
+
nssa_route_map:
|
65
|
+
default_value: ''
|
66
|
+
|
67
|
+
nssa_set:
|
68
|
+
set_value: '<state> area <area> nssa <nssa_no_summary> <nssa_no_redistribution> <nssa_default_originate> <nssa_route_map>'
|
69
|
+
|
70
|
+
nssa_translate_type7:
|
71
|
+
get_value: '/^area <area> nssa translate type7 (.*)$/'
|
72
|
+
set_value: '<state> area <area> nssa translate type7 <value>'
|
73
|
+
default_value: false
|
74
|
+
|
75
|
+
range:
|
76
|
+
multiple: true
|
77
|
+
get_value: '/^area <area> range (.*)$/'
|
78
|
+
set_value: '<state> area <area> range <ip> <not_advertise> <cost> <value>'
|
79
|
+
default_value: []
|
80
|
+
|
81
|
+
stub:
|
82
|
+
kind: boolean
|
83
|
+
get_value: '/^area <area> stub/'
|
84
|
+
set_value: '<state> area <area> stub'
|
85
|
+
default_value: false
|
86
|
+
|
87
|
+
stub_no_summary:
|
88
|
+
kind: boolean
|
89
|
+
get_value: '/^area <area> stub no-summary$/'
|
90
|
+
set_value: '<state> area <area> stub no-summary'
|
91
|
+
default_value: false
|
@@ -0,0 +1,88 @@
|
|
1
|
+
# ospf_area_vlink
|
2
|
+
---
|
3
|
+
_exclude: [ios_xr]
|
4
|
+
|
5
|
+
_template:
|
6
|
+
get_command: "show running ospf | no-more"
|
7
|
+
context:
|
8
|
+
- "router ospf <name>"
|
9
|
+
- "(?)vrf <vrf>"
|
10
|
+
- "area <area> virtual-link <vl>"
|
11
|
+
|
12
|
+
auth_key_chain:
|
13
|
+
get_value: '/^authentication key-chain (\S+)$/'
|
14
|
+
set_value: '<state> authentication key-chain <key_id>'
|
15
|
+
default_value: false
|
16
|
+
|
17
|
+
authentication:
|
18
|
+
# the config can be 'authentication' or 'authentication message-digest'
|
19
|
+
# or 'authentication null' or
|
20
|
+
# no authentication config at all so need to grab the
|
21
|
+
# optional match to get the whole config for checking
|
22
|
+
# the mode
|
23
|
+
get_value: '/^authentication(?:\s+\S+)?$/'
|
24
|
+
set_value: '<state> authentication <auth>'
|
25
|
+
default_value: false
|
26
|
+
|
27
|
+
authentication_key_enc_type:
|
28
|
+
get_value: '/^authentication-key (\d+)/'
|
29
|
+
default_value: '0'
|
30
|
+
|
31
|
+
authentication_key_password:
|
32
|
+
get_value: '/^authentication-key \d+ (\S+)/'
|
33
|
+
default_value: ''
|
34
|
+
|
35
|
+
authentication_key_set:
|
36
|
+
set_value: "<state> authentication-key <enctype> <password>"
|
37
|
+
|
38
|
+
dead_interval:
|
39
|
+
kind: int
|
40
|
+
get_value: '/^dead-interval (\d+)$/'
|
41
|
+
set_value: '<state> dead-interval <interval>'
|
42
|
+
default_value: 40
|
43
|
+
|
44
|
+
hello_interval:
|
45
|
+
kind: int
|
46
|
+
get_value: '/^hello-interval (\d+)$/'
|
47
|
+
set_value: '<state> hello-interval <interval>'
|
48
|
+
default_value: 10
|
49
|
+
|
50
|
+
message_digest_key_alg_type:
|
51
|
+
get_value: '/^message-digest-key \d+ (\S+)/'
|
52
|
+
default_value: 'md5'
|
53
|
+
|
54
|
+
message_digest_key_enc_type:
|
55
|
+
get_value: '/^message-digest-key \d+ \S+ (\d+)/'
|
56
|
+
default_value: '0'
|
57
|
+
|
58
|
+
message_digest_key_id:
|
59
|
+
kind: int
|
60
|
+
get_value: '/^message-digest-key (\d+)/'
|
61
|
+
default_value: 0
|
62
|
+
|
63
|
+
message_digest_key_password:
|
64
|
+
get_value: '/^message-digest-key \d+ \S+ \d+ (\S+)/'
|
65
|
+
default_value: ''
|
66
|
+
|
67
|
+
message_digest_key_set:
|
68
|
+
set_value: "<state> message-digest-key <keyid> <algtype> <enctype> <password>"
|
69
|
+
|
70
|
+
retransmit_interval:
|
71
|
+
kind: int
|
72
|
+
get_value: '/^retransmit-interval (\d+)$/'
|
73
|
+
set_value: '<state> retransmit-interval <interval>'
|
74
|
+
default_value: 5
|
75
|
+
|
76
|
+
transmit_delay:
|
77
|
+
kind: int
|
78
|
+
get_value: '/^transmit-delay (\d+)$/'
|
79
|
+
set_value: '<state> transmit-delay <delay>'
|
80
|
+
default_value: 1
|
81
|
+
|
82
|
+
virtual_links:
|
83
|
+
multiple: true
|
84
|
+
context:
|
85
|
+
- "router ospf <name>"
|
86
|
+
- "(?)vrf <vrf>"
|
87
|
+
get_value: '/^area (\S+) virtual-link (\S+)$/'
|
88
|
+
set_value: '<state> area <area> virtual-link <vl>'
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# overlay_global
|
2
|
+
---
|
3
|
+
_exclude: [ios_xr]
|
4
|
+
|
5
|
+
anycast_gateway_mac:
|
6
|
+
_exclude: [N3k]
|
7
|
+
kind: string
|
8
|
+
get_command: "show running all | inc 'fabric forwarding'"
|
9
|
+
get_value: '/^fabric forwarding anycast-gateway-mac (\S+)$/'
|
10
|
+
set_value: "<state> fabric forwarding anycast-gateway-mac <mac_addr>"
|
11
|
+
default_value: ""
|
12
|
+
|
13
|
+
dup_host_ip_addr_detection:
|
14
|
+
_exclude: [N3k]
|
15
|
+
get_command: "show running all | inc 'fabric forwarding'"
|
16
|
+
get_value: '/^fabric forwarding dup-host-ip-addr-detection (\d+) (\d+)$/'
|
17
|
+
set_value: "<state> fabric forwarding dup-host-ip-addr-detection <host_moves> <timeout>"
|
18
|
+
|
19
|
+
dup_host_ip_addr_detection_host_moves:
|
20
|
+
_exclude: [N3k]
|
21
|
+
default_value: 5
|
22
|
+
|
23
|
+
dup_host_ip_addr_detection_timeout:
|
24
|
+
_exclude: [N3k]
|
25
|
+
default_value: 180
|
26
|
+
|
27
|
+
dup_host_mac_detection:
|
28
|
+
os_version: 'N3k:7.0.3.I6.1'
|
29
|
+
get_command: 'show running | i l2rib'
|
30
|
+
get_value: '/^l2rib dup-host-mac-detection (\d+) (\d+)$/'
|
31
|
+
set_value: "l2rib dup-host-mac-detection <host_moves> <timeout>"
|
32
|
+
|
33
|
+
dup_host_mac_detection_host_moves:
|
34
|
+
default_value: 5
|
35
|
+
|
36
|
+
dup_host_mac_detection_timeout:
|
37
|
+
default_value: 180
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# pim
|
2
|
+
---
|
3
|
+
_exclude: [ios_xr]
|
4
|
+
|
5
|
+
_template:
|
6
|
+
get_command: "show run pim all"
|
7
|
+
get_context:
|
8
|
+
- '(?)/^vrf context <vrf>$/'
|
9
|
+
set_context:
|
10
|
+
- '(?)vrf context <vrf>'
|
11
|
+
|
12
|
+
all_group_lists:
|
13
|
+
multiple:
|
14
|
+
get_value : '/^<afi> pim rp-address ([0-9\.]+) group-list (\S+)/'
|
15
|
+
|
16
|
+
all_rp_addresses:
|
17
|
+
multiple:
|
18
|
+
get_value: '/^<afi> pim rp-address ([0-9\.]+)/'
|
19
|
+
|
20
|
+
all_ssm_ranges:
|
21
|
+
multiple:
|
22
|
+
get_value : '/^<afi> pim ssm range (.*)$/'
|
23
|
+
|
24
|
+
bfd:
|
25
|
+
kind: boolean
|
26
|
+
get_value: '/^<afi> pim bfd$/'
|
27
|
+
set_value: "<state> <afi> pim bfd"
|
28
|
+
default_value: false
|
29
|
+
|
30
|
+
group_list:
|
31
|
+
default_value: ~
|
32
|
+
get_value: '/^<afi> pim rp-address (\S+) group-list (\S+)/'
|
33
|
+
set_value: "<state> <afi> pim rp-address <addr> group-list <group>"
|
34
|
+
|
35
|
+
rp_address:
|
36
|
+
multiple:
|
37
|
+
get_value: '/^<afi> pim rp-address (\S+)/'
|
38
|
+
set_value: "<state> <afi> pim rp-address <addr>"
|
39
|
+
default_value: ~
|
40
|
+
|
41
|
+
ssm_range:
|
42
|
+
get_value: '/^<afi> pim ssm range (.*)/'
|
43
|
+
set_value: "<state> <afi> pim ssm range <ssm_range>"
|
@@ -0,0 +1,86 @@
|
|
1
|
+
# portchannel_global
|
2
|
+
---
|
3
|
+
_exclude: [ios_xr]
|
4
|
+
|
5
|
+
_template:
|
6
|
+
get_command: "show running all"
|
7
|
+
|
8
|
+
asymmetric:
|
9
|
+
_exclude: [N3k, N5k, N6k, N3k-F, N9k-F, N9k]
|
10
|
+
default_value: false
|
11
|
+
|
12
|
+
bundle_hash:
|
13
|
+
N3k: &bundle_hash_ip
|
14
|
+
default_value: 'ip'
|
15
|
+
N5k: *bundle_hash_ip
|
16
|
+
N6k: *bundle_hash_ip
|
17
|
+
N7k: *bundle_hash_ip
|
18
|
+
N9k-F: &bundle_hash_ip_l4port
|
19
|
+
default_value: 'ip-l4port'
|
20
|
+
N9k: *bundle_hash_ip_l4port
|
21
|
+
N3k-F: *bundle_hash_ip_l4port
|
22
|
+
|
23
|
+
bundle_select:
|
24
|
+
default_value: 'src-dst'
|
25
|
+
|
26
|
+
concatenation:
|
27
|
+
_exclude: [N3k, N5k, N6k, N7k, N3k-F, N9k-F]
|
28
|
+
default_value: false
|
29
|
+
|
30
|
+
hash_distribution:
|
31
|
+
_exclude: [N3k, N5k, N6k, N3k-F, N9k-F, N9k]
|
32
|
+
get_value: '/^port.channel hash.distribution (.*)$/'
|
33
|
+
set_context: ['terminal dont-ask']
|
34
|
+
set_value: "port-channel hash-distribution %s"
|
35
|
+
default_value: 'adaptive'
|
36
|
+
|
37
|
+
hash_poly:
|
38
|
+
_exclude: [N3k, N7k, N3k-F, N9k-F, N9k]
|
39
|
+
default_value: ~
|
40
|
+
|
41
|
+
load_balance_type:
|
42
|
+
kind: string
|
43
|
+
N3k: &load_balance_type_symmetric
|
44
|
+
default_only: "no_rotate"
|
45
|
+
N5k: &load_balance_type_ethernet
|
46
|
+
default_only: "ethernet"
|
47
|
+
N6k: *load_balance_type_ethernet
|
48
|
+
N7k: &load_balance_type_asymmetric
|
49
|
+
default_only: "asymmetric"
|
50
|
+
N9k-F: &load_balance_type_no_hash
|
51
|
+
default_only: "no_hash"
|
52
|
+
N9k: &load_balance_type_symmetry
|
53
|
+
default_only: "symmetry"
|
54
|
+
N3k-F: *load_balance_type_no_hash
|
55
|
+
|
56
|
+
load_defer:
|
57
|
+
_exclude: [N3k, N5k, N6k, N3k-F, N9k-F, N9k]
|
58
|
+
kind: int
|
59
|
+
get_value: '/^port.channel load.defer (\d+)$/'
|
60
|
+
set_value: "port-channel load-defer %s"
|
61
|
+
default_value: 120
|
62
|
+
|
63
|
+
port_channel_load_balance:
|
64
|
+
multiple:
|
65
|
+
get_value: '/^port-channel load-balance (.*)$/'
|
66
|
+
set_value: "port-channel load-balance %s %s %s %s %s %s"
|
67
|
+
|
68
|
+
resilient:
|
69
|
+
_exclude: [N5k, N6k, N7k, N3k-F, N9k-F]
|
70
|
+
kind: boolean
|
71
|
+
get_value: '/^port-channel load-balance resilient$/'
|
72
|
+
set_value: "%s port-channel load-balance resilient"
|
73
|
+
N3k:
|
74
|
+
auto_default: false
|
75
|
+
default_value: true
|
76
|
+
N9k:
|
77
|
+
default_value: false
|
78
|
+
|
79
|
+
rotate:
|
80
|
+
_exclude: [N3k, N5k, N6k]
|
81
|
+
kind: int
|
82
|
+
default_value: 0
|
83
|
+
|
84
|
+
symmetry:
|
85
|
+
_exclude: [N5k, N6k, N7k, N3k-F, N9k-F]
|
86
|
+
default_value: false
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# radius_global.yaml
|
2
|
+
---
|
3
|
+
_template:
|
4
|
+
nexus:
|
5
|
+
get_command: "show running-config radius all"
|
6
|
+
ios_xr:
|
7
|
+
get_command: "show running-config radius-server"
|
8
|
+
|
9
|
+
key:
|
10
|
+
get_value: '/^radius-server key \d+\s+(.*)/'
|
11
|
+
set_value: '<state> radius-server key <key>'
|
12
|
+
|
13
|
+
key_format:
|
14
|
+
kind: int
|
15
|
+
get_value: '/^radius-server key (\d).*/'
|
16
|
+
|
17
|
+
retransmit:
|
18
|
+
kind: int
|
19
|
+
get_value: '/^radius-server retransmit (\d+).*/'
|
20
|
+
set_value: '<state> radius-server retransmit <count>'
|
21
|
+
nexus:
|
22
|
+
default_value: 1
|
23
|
+
ios_xr:
|
24
|
+
default_value: 3
|
25
|
+
|
26
|
+
source_interface:
|
27
|
+
default_value: ~
|
28
|
+
get_value: '/^ip radius source-interface\s+(.*)$/'
|
29
|
+
set_value: '<state> ip radius source-interface <source_interface>'
|
30
|
+
nexus:
|
31
|
+
get_command: "show running-config all | include '^ip radius source-interface'"
|
32
|
+
|
33
|
+
timeout:
|
34
|
+
kind: int
|
35
|
+
get_value: '/^radius-server timeout (\d+).*/'
|
36
|
+
set_value: '<state> radius-server timeout <timeout>'
|
37
|
+
default_value: 5
|