From 41d96dc39b1d5dc58d98bd3331f86b653d24c09c Mon Sep 17 00:00:00 2001 From: tasarath Date: Fri, 22 Sep 2023 12:06:30 -0400 Subject: [PATCH 1/4] Releasing v23.9 --- Makefile | 5 +- pkgs/clean-pkg/changelog/2023/september.rst | 20 + .../sdk_generator/output/github_clean.json | 36 +- .../src/genie/libs/clean/__init__.py | 2 +- .../src/genie/libs/clean/recovery/recovery.py | 3 +- .../genie/libs/clean/stages/iosxe/stages.py | 266 +++- .../stages/iosxe/tests/test_config_replace.py | 122 ++ .../clean/stages/iosxe/tests/test_connect.py | 69 + pkgs/conf-pkg/changelog/2023/september.rst | 0 pkgs/conf-pkg/setup.py | 8 +- pkgs/conf-pkg/src/genie/libs/conf/__init__.py | 2 +- .../changelog/2023/september.rst | 0 .../genie/libs/filetransferutils/__init__.py | 2 +- pkgs/health-pkg/changelog/2023/september.rst | 0 .../src/genie/libs/health/__init__.py | 2 +- pkgs/ops-pkg/changelog/2023/september.rst | 0 pkgs/ops-pkg/setup.py | 8 +- pkgs/ops-pkg/src/genie/libs/ops/__init__.py | 2 +- .../genie/libs/ops/tests/test_threading.py | 214 +++ pkgs/robot-pkg/changelog/2023/september.rst | 0 pkgs/robot-pkg/setup.py | 8 +- .../src/genie/libs/robot/__init__.py | 2 +- pkgs/sdk-pkg/changelog/2023/september.rst | 179 +++ ...uplicate_keywords_issue_20230801145504.rst | 6 + .../sdk_generator/output/github_apis.json | 1407 +++++++++++------ .../output/github_verifications.json | 14 +- pkgs/sdk-pkg/setup.py | 17 +- pkgs/sdk-pkg/src/genie/libs/sdk/__init__.py | 2 +- .../libs/sdk/apis/iosxe/aaa/configure.py | 91 +- .../genie/libs/sdk/apis/iosxe/aaa/execute.py | 26 + .../libs/sdk/apis/iosxe/acl/configure.py | 32 +- .../sdk/apis/iosxe/apphosting/configure.py | 58 + .../libs/sdk/apis/iosxe/apphosting/execute.py | 50 + .../libs/sdk/apis/iosxe/asr1k/configure.py | 2 +- .../libs/sdk/apis/iosxe/cat8k/__init__.py | 3 + .../libs/sdk/apis/iosxe/cat8k/configure.py | 100 ++ .../libs/sdk/apis/iosxe/cdp/configure.py | 16 +- .../libs/sdk/apis/iosxe/cts/configure.py | 18 + .../libs/sdk/apis/iosxe/dhcp/configure.py | 39 +- .../libs/sdk/apis/iosxe/dhcpv6/configure.py | 158 ++ .../libs/sdk/apis/iosxe/evpn/configure.py | 11 +- .../libs/sdk/apis/iosxe/gdoi/configure.py | 19 +- .../libs/sdk/apis/iosxe/health/health.py | 9 +- .../libs/sdk/apis/iosxe/ike/configure.py | 38 + .../sdk/apis/iosxe/interface/configure.py | 179 +++ .../libs/sdk/apis/iosxe/interface/get.py | 48 + .../sdk/apis/iosxe/management/configure.py | 45 +- .../libs/sdk/apis/iosxe/mcast/configure.py | 32 +- .../sdk/apis/iosxe/multicast/configure.py | 83 + .../libs/sdk/apis/iosxe/nat/configure.py | 22 +- .../libs/sdk/apis/iosxe/ospf/configure.py | 17 +- .../libs/sdk/apis/iosxe/platform/configure.py | 287 +--- .../libs/sdk/apis/iosxe/platform/execute.py | 142 +- .../libs/sdk/apis/iosxe/platform/utils.py | 28 + .../libs/sdk/apis/iosxe/rommon/configure.py | 23 +- .../libs/sdk/apis/iosxe/snmp/configure.py | 92 +- .../libs/sdk/apis/iosxe/vdsl/configure.py | 30 + .../genie/libs/sdk/apis/jinja/configure.py | 4 +- .../src/genie/libs/sdk/apis/linux/get.py | 21 + .../libs/sdk/apis/linux/openssl/__init__.py | 0 .../libs/sdk/apis/linux/openssl/generate.py | 151 ++ .../genie/libs/sdk/apis/linux/openssl/get.py | 23 + .../__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 35 + ...est_api_configure_aaa_accounting_update.py | 35 + .../__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 35 + ...aaa_accounting_update_periodic_interval.py | 35 + .../__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 39 + ..._accounting_identity_default_start_stop.py | 35 + .../__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 35 + ...t_api_unconfigure_aaa_accounting_update.py | 35 + .../__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 35 + ...aaa_accounting_update_periodic_interval.py | 35 + .../__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 39 + ...t_api_execute_clear_aaa_counters_server.py | 35 + .../configure/config_extended_acl/__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 91 +- .../test_api_config_extended_acl.py | 12 +- .../__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 38 + ...api_configure_app_management_networking.py | 35 + .../enable_usb_ssd_verify_exists/__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 104 ++ .../test_api_enable_usb_ssd_verify_exists.py | 35 + .../execute_apphosting_cli/__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 40 + .../test_api_execute_apphosting_cli.py | 35 + .../install_wcs_enable_guestshell/__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 44 + .../test_api_install_wcs_enable_guestshell.py | 35 + .../mock_data/iosxe/mock_data.yaml | 45 + .../test_api_configure_breakout_cli.py | 35 + .../mock_data/iosxe/mock_data.yaml | 39 + .../test_api_configure_mode_change.py | 35 + .../mock_data/iosxe/mock_data.yaml | 45 + .../test_api_unconfigure_breakout_cli.py | 35 + .../cdp/configure/configure_cdp/__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 930 +++++++++++ .../configure_cdp/test_api_configure_cdp.py | 35 + .../cdp/configure/unconfigure_cdp/__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 930 +++++++++++ .../test_api_unconfigure_cdp.py | 35 + .../__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 36 + ...t_api_disable_cts_enforcement_vlan_list.py | 35 + .../__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 36 + ...formation_option_allow_untrusted_global.py | 35 + .../__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 36 + ...formation_option_allow_untrusted_global.py | 35 + .../__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 36 + ...ipv6_dhcp_relay_destination_ipv6address.py | 35 + .../__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 36 + ...pi_configure_ipv6_dhcp_relay_option_vpn.py | 35 + .../__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 37 + ...pv6_dhcp_relay_source_interface_intf_id.py | 35 + .../__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 36 + ...est_api_configure_ipv6_dhcp_relay_trust.py | 35 + .../__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 37 + ...ipv6_dhcp_relay_destination_ipv6address.py | 35 + .../__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 36 + ..._unconfigure_ipv6_dhcp_relay_option_vpn.py | 35 + .../__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 37 + ...pv6_dhcp_relay_source_interface_intf_id.py | 35 + .../__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 36 + ...t_api_unconfigure_ipv6_dhcp_relay_trust.py | 35 + .../mock_data/iosxe/mock_data.yaml | 47 +- .../test_api_configure_gdoi_group.py | 8 +- .../mock_data/iosxe/mock_data.yaml | 38 + ...t_api_clear_crypto_call_admission_stats.py | 35 + .../mock_data/iosxe/mock_data.yaml | 36 + ...st_api_disable_crypto_engine_compliance.py | 35 + .../configure_interface_ip_nbar/__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 36 + .../test_api_configure_interface_ip_nbar.py | 35 + .../__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 36 + ...configure_interface_range_no_switchport.py | 35 + .../configure_interface_vlan/__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 36 + .../test_api_configure_interface_vlan.py | 35 + .../configure_service_instance/__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 39 + .../test_api_configure_service_instance.py | 35 + .../unconfigure_interface_ip_nbar/__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 36 + .../test_api_unconfigure_interface_ip_nbar.py | 35 + .../unconfigure_service_instance/__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 36 + .../test_api_unconfigure_service_instance.py | 35 + .../__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 48 + ...rface_capabilities_multiple_media_types.py | 35 + ..._api_get_interface_interfaces_under_vrf.py | 30 +- .../get/get_interface_media_types/__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 58 + .../test_api_get_interface_media_types.py | 35 + .../configure_management_gnmi/__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 36 + .../test_api_configure_management_gnmi.py | 35 + .../mock_data/iosxe/mock_data.yaml | 25 +- ...test_api_configure_management_protocols.py | 15 +- .../__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 35 + ...figure_ip_multicast_routing_distributed.py | 35 + .../__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 35 + ...figure_ip_multicast_routing_distributed.py | 35 + .../__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 36 + ...ig_ip_multicast_routing_vrf_distributed.py | 35 + .../configure/config_ip_pim_vrf/__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 35 + .../test_api_config_ip_pim_vrf.py | 35 + .../__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 36 + ...ig_ip_multicast_routing_vrf_distributed.py | 35 + .../configure/unconfig_ip_pim_vrf/__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 35 + .../test_api_unconfig_ip_pim_vrf.py | 35 + .../__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 16 +- ...api_configure_static_nat_route_map_rule.py | 15 +- .../__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 17 +- ...i_unconfigure_static_nat_route_map_rule.py | 15 +- .../configure_bridge_domain/__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 35 + .../test_api_configure_bridge_domain.py | 35 + .../unconfigure_bridge_domain/__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 35 + .../test_api_unconfigure_bridge_domain.py | 35 + .../clear_ip_mfib_counters/__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 38 + .../test_api_clear_ip_mfib_counters.py | 35 + .../archive_1/mock_data/iosxe/mock_data.yaml | 475 ++++++ .../archive_1/test_api_execute_archive_tar.py | 615 +++++++ .../iosxe/mock_data_option_create.yaml | 466 ++++++ ...t_api_execute_archive_tar_option_create.py | 595 +++++++ .../iosxe/mock_data_option_table.yaml | 370 +++++ ...st_api_execute_archive_tar_option_table.py | 544 +++++++ .../execute_clear_ip_igmp_group/__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 38 + .../test_api_execute_clear_ip_igmp_group.py | 35 + .../execute_clear_ipv6_mld_group/__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 38 + .../test_api_execute_clear_ipv6_mld_group.py | 35 + .../__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 47 + ...equest_platform_software_package_expand.py | 35 + .../utils/erase_startup_config/__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 41 + .../test_api_erase_startup_config.py | 35 + .../mock_data/iosxe/mock_data.yaml | 23 +- .../test_api_configure_rommon_tftp.py | 4 +- .../__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 44 + ...bject_list_schema_transfer_for_bulkstat.py | 35 + .../__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 36 + ...est_api_configure_snmp_server_host_trap.py | 35 + .../configure_snmp_server_user/__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 20 +- .../test_api_configure_snmp_server_user.py | 25 +- .../configure_controller_shutdown/__init__.py | 0 .../mock_data/iosxe/mock_data.yaml | 36 + .../test_api_configure_controller_shutdown.py | 35 + .../linux/get/get_file_contents/__init__.py | 0 .../mock_data/linux/mock_data.yaml | 41 + .../test_api_get_file_contents.py | 43 + .../generate_ca_certificate/__init__.py | 0 .../mock_data/linux/mock_data.yaml | 48 + .../test_api_generate_ca_certificate.py | 35 + .../generate/generate_ecc_ssl_key/__init__.py | 0 .../mock_data/linux/mock_data.yaml | 47 + .../test_api_generate_ecc_ssl_key.py | 35 + .../generate/generate_rsa_ssl_key/__init__.py | 0 .../mock_data/linux/mock_data.yaml | 49 + .../test_api_generate_rsa_ssl_key.py | 35 + .../generate_ssl_certificate/__init__.py | 0 .../mock_data/linux/mock_data.yaml | 58 + .../test_api_generate_ssl_certificate.py | 35 + .../get_supported_elliptic_curves/__init__.py | 0 .../mock_data/linux/mock_data.yaml | 41 + .../test_api_get_supported_elliptic_curves.py | 35 + .../libs/sdk/apis/tests/test_threading.py | 27 + pkgs/sdk-pkg/src/genie/libs/sdk/apis/utils.py | 20 +- .../src/genie/libs/sdk/libs/utils/mapping.py | 26 +- 262 files changed, 12995 insertions(+), 1023 deletions(-) create mode 100644 pkgs/clean-pkg/changelog/2023/september.rst create mode 100644 pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/tests/test_config_replace.py create mode 100644 pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/tests/test_connect.py create mode 100644 pkgs/conf-pkg/changelog/2023/september.rst create mode 100644 pkgs/filetransferutils-pkg/changelog/2023/september.rst create mode 100644 pkgs/health-pkg/changelog/2023/september.rst create mode 100644 pkgs/ops-pkg/changelog/2023/september.rst create mode 100644 pkgs/ops-pkg/src/genie/libs/ops/tests/test_threading.py create mode 100644 pkgs/robot-pkg/changelog/2023/september.rst create mode 100644 pkgs/sdk-pkg/changelog/2023/september.rst create mode 100644 pkgs/sdk-pkg/changelog/changelog_fix_iosxe_configure_duplicate_keywords_issue_20230801145504.rst create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cat8k/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cat8k/configure.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/vdsl/configure.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/linux/get.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/linux/openssl/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/linux/openssl/generate.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/linux/openssl/get.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/configure_aaa_accounting_update/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/configure_aaa_accounting_update/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/configure_aaa_accounting_update/test_api_configure_aaa_accounting_update.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/configure_aaa_accounting_update_periodic_interval/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/configure_aaa_accounting_update_periodic_interval/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/configure_aaa_accounting_update_periodic_interval/test_api_configure_aaa_accounting_update_periodic_interval.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_identity_default_start_stop/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_identity_default_start_stop/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_identity_default_start_stop/test_api_unconfigure_aaa_accounting_identity_default_start_stop.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_update/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_update/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_update/test_api_unconfigure_aaa_accounting_update.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_update_periodic_interval/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_update_periodic_interval/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_update_periodic_interval/test_api_unconfigure_aaa_accounting_update_periodic_interval.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/execute/execute_clear_aaa_counters_server/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/execute/execute_clear_aaa_counters_server/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/execute/execute_clear_aaa_counters_server/test_api_execute_clear_aaa_counters_server.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/acl/configure/config_extended_acl/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/configure/configure_app_management_networking/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/configure/configure_app_management_networking/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/configure/configure_app_management_networking/test_api_configure_app_management_networking.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/configure/enable_usb_ssd_verify_exists/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/configure/enable_usb_ssd_verify_exists/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/configure/enable_usb_ssd_verify_exists/test_api_enable_usb_ssd_verify_exists.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/execute/execute_apphosting_cli/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/execute/execute_apphosting_cli/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/execute/execute_apphosting_cli/test_api_execute_apphosting_cli.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/execute/install_wcs_enable_guestshell/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/execute/install_wcs_enable_guestshell/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/execute/install_wcs_enable_guestshell/test_api_install_wcs_enable_guestshell.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/configure_breakout_cli/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/configure_breakout_cli/test_api_configure_breakout_cli.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/configure_mode_change/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/configure_mode_change/test_api_configure_mode_change.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/unconfigure_breakout_cli/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/unconfigure_breakout_cli/test_api_unconfigure_breakout_cli.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cdp/configure/configure_cdp/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cdp/configure/configure_cdp/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cdp/configure/configure_cdp/test_api_configure_cdp.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cdp/configure/unconfigure_cdp/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cdp/configure/unconfigure_cdp/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cdp/configure/unconfigure_cdp/test_api_unconfigure_cdp.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cts/configure/disable_cts_enforcement_vlan_list/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cts/configure/disable_cts_enforcement_vlan_list/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cts/configure/disable_cts_enforcement_vlan_list/test_api_disable_cts_enforcement_vlan_list.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcp/configure/configure_ip_dhcp_snooping_information_option_allow_untrusted_global/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcp/configure/configure_ip_dhcp_snooping_information_option_allow_untrusted_global/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcp/configure/configure_ip_dhcp_snooping_information_option_allow_untrusted_global/test_api_configure_ip_dhcp_snooping_information_option_allow_untrusted_global.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcp/configure/unconfigure_ip_dhcp_snooping_information_option_allow_untrusted_global/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcp/configure/unconfigure_ip_dhcp_snooping_information_option_allow_untrusted_global/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcp/configure/unconfigure_ip_dhcp_snooping_information_option_allow_untrusted_global/test_api_unconfigure_ip_dhcp_snooping_information_option_allow_untrusted_global.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_destination_ipv6address/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_destination_ipv6address/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_destination_ipv6address/test_api_configure_ipv6_dhcp_relay_destination_ipv6address.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_option_vpn/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_option_vpn/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_option_vpn/test_api_configure_ipv6_dhcp_relay_option_vpn.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_source_interface_intf_id/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_source_interface_intf_id/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_source_interface_intf_id/test_api_configure_ipv6_dhcp_relay_source_interface_intf_id.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_trust/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_trust/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_trust/test_api_configure_ipv6_dhcp_relay_trust.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_destination_ipv6address/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_destination_ipv6address/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_destination_ipv6address/test_api_unconfigure_ipv6_dhcp_relay_destination_ipv6address.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_option_vpn/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_option_vpn/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_option_vpn/test_api_unconfigure_ipv6_dhcp_relay_option_vpn.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_source_interface_intf_id/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_source_interface_intf_id/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_source_interface_intf_id/test_api_unconfigure_ipv6_dhcp_relay_source_interface_intf_id.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_trust/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_trust/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_trust/test_api_unconfigure_ipv6_dhcp_relay_trust.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/ike/configure/clear_crypto_call_admission_stats/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/ike/configure/clear_crypto_call_admission_stats/test_api_clear_crypto_call_admission_stats.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/ike/configure/disable_crypto_engine_compliance/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/ike/configure/disable_crypto_engine_compliance/test_api_disable_crypto_engine_compliance.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_ip_nbar/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_ip_nbar/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_ip_nbar/test_api_configure_interface_ip_nbar.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_range_no_switchport/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_range_no_switchport/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_range_no_switchport/test_api_configure_interface_range_no_switchport.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_vlan/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_vlan/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_vlan/test_api_configure_interface_vlan.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_service_instance/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_service_instance/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_service_instance/test_api_configure_service_instance.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/unconfigure_interface_ip_nbar/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/unconfigure_interface_ip_nbar/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/unconfigure_interface_ip_nbar/test_api_unconfigure_interface_ip_nbar.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/unconfigure_service_instance/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/unconfigure_service_instance/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/unconfigure_service_instance/test_api_unconfigure_service_instance.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/get/get_interface_capabilities_multiple_media_types/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/get/get_interface_capabilities_multiple_media_types/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/get/get_interface_capabilities_multiple_media_types/test_api_get_interface_capabilities_multiple_media_types.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/get/get_interface_media_types/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/get/get_interface_media_types/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/get/get_interface_media_types/test_api_get_interface_media_types.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/management/configure/configure_management_gnmi/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/management/configure/configure_management_gnmi/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/management/configure/configure_management_gnmi/test_api_configure_management_gnmi.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/mcast/configure/configure_ip_multicast_routing_distributed/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/mcast/configure/configure_ip_multicast_routing_distributed/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/mcast/configure/configure_ip_multicast_routing_distributed/test_api_configure_ip_multicast_routing_distributed.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/mcast/configure/unconfigure_ip_multicast_routing_distributed/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/mcast/configure/unconfigure_ip_multicast_routing_distributed/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/mcast/configure/unconfigure_ip_multicast_routing_distributed/test_api_unconfigure_ip_multicast_routing_distributed.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/config_ip_multicast_routing_vrf_distributed/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/config_ip_multicast_routing_vrf_distributed/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/config_ip_multicast_routing_vrf_distributed/test_api_config_ip_multicast_routing_vrf_distributed.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/config_ip_pim_vrf/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/config_ip_pim_vrf/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/config_ip_pim_vrf/test_api_config_ip_pim_vrf.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/unconfig_ip_multicast_routing_vrf_distributed/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/unconfig_ip_multicast_routing_vrf_distributed/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/unconfig_ip_multicast_routing_vrf_distributed/test_api_unconfig_ip_multicast_routing_vrf_distributed.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/unconfig_ip_pim_vrf/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/unconfig_ip_pim_vrf/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/unconfig_ip_pim_vrf/test_api_unconfig_ip_pim_vrf.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/nat/configure/configure_static_nat_route_map_rule/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/nat/configure/unconfigure_static_nat_route_map_rule/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/configure/configure_bridge_domain/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/configure/configure_bridge_domain/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/configure/configure_bridge_domain/test_api_configure_bridge_domain.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/configure/unconfigure_bridge_domain/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/configure/unconfigure_bridge_domain/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/configure/unconfigure_bridge_domain/test_api_unconfigure_bridge_domain.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/clear_ip_mfib_counters/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/clear_ip_mfib_counters/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/clear_ip_mfib_counters/test_api_clear_ip_mfib_counters.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_archive_tar/archive_1/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_archive_tar/archive_1/test_api_execute_archive_tar.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_archive_tar/archive_2/mock_data/iosxe/mock_data_option_create.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_archive_tar/archive_2/test_api_execute_archive_tar_option_create.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_archive_tar/archive_3/mock_data/iosxe/mock_data_option_table.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_archive_tar/archive_3/test_api_execute_archive_tar_option_table.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_clear_ip_igmp_group/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_clear_ip_igmp_group/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_clear_ip_igmp_group/test_api_execute_clear_ip_igmp_group.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_clear_ipv6_mld_group/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_clear_ipv6_mld_group/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_clear_ipv6_mld_group/test_api_execute_clear_ipv6_mld_group.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/request_platform_software_package_expand/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/request_platform_software_package_expand/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/request_platform_software_package_expand/test_api_request_platform_software_package_expand.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/utils/erase_startup_config/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/utils/erase_startup_config/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/utils/erase_startup_config/test_api_erase_startup_config.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_object_list_schema_transfer_for_bulkstat/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_object_list_schema_transfer_for_bulkstat/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_object_list_schema_transfer_for_bulkstat/test_api_configure_object_list_schema_transfer_for_bulkstat.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_snmp_server_host_trap/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_snmp_server_host_trap/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_snmp_server_host_trap/test_api_configure_snmp_server_host_trap.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_snmp_server_user/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/vdsl/configure/configure_controller_shutdown/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/vdsl/configure/configure_controller_shutdown/mock_data/iosxe/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/vdsl/configure/configure_controller_shutdown/test_api_configure_controller_shutdown.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/get/get_file_contents/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/get/get_file_contents/mock_data/linux/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/get/get_file_contents/test_api_get_file_contents.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ca_certificate/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ca_certificate/mock_data/linux/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ca_certificate/test_api_generate_ca_certificate.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ecc_ssl_key/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ecc_ssl_key/mock_data/linux/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ecc_ssl_key/test_api_generate_ecc_ssl_key.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_rsa_ssl_key/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_rsa_ssl_key/mock_data/linux/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_rsa_ssl_key/test_api_generate_rsa_ssl_key.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ssl_certificate/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ssl_certificate/mock_data/linux/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ssl_certificate/test_api_generate_ssl_certificate.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/get/get_supported_elliptic_curves/__init__.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/get/get_supported_elliptic_curves/mock_data/linux/mock_data.yaml create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/get/get_supported_elliptic_curves/test_api_get_supported_elliptic_curves.py create mode 100644 pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/test_threading.py diff --git a/Makefile b/Makefile index e98f95ce4..6611338b2 100644 --- a/Makefile +++ b/Makefile @@ -46,10 +46,10 @@ CYTHON_CMD = compileAll RELATED_PKGS = genie.libs.health genie.libs.clean genie.libs.conf genie.libs.ops genie.libs.robot genie.libs.sdk RELATED_PKGS += genie.libs.filetransferutils # pinning the version of pysnmp and pyasn1 to fix the type error when using execute_power_cycle_device api -DEPENDENCIES = restview psutil==5.9.2 Sphinx wheel asynctest pysnmp==4.4.12 pyasn1==0.4.8 +DEPENDENCIES = restview psutil==5.9.2 Sphinx wheel asynctest pysnmp-lextudio==5.0.29 pyasn1==0.4.8 DEPENDENCIES += sphinx-rtd-theme==1.1.0 pyftpdlib tftpy\<0.8.1 robotframework # aiohttp-swagger 1.0.15 requires jinja2==2.11.2 and markupsafe==1.1.1 -DEPENDENCIES += Cython requests ruamel.yaml grpcio protobuf jinja2==2.11.2 markupsafe==1.1.1 +DEPENDENCIES += Cython==3.0.0 requests ruamel.yaml grpcio protobuf jinja2==2.11.2 markupsafe==1.1.1 # aiohttp requires charset-normalizer<3.0.0 DEPENDENCIES += charset-normalizer==2.1.1 # Internal variables. @@ -64,6 +64,7 @@ ALL_PKGS = $(PYPI_PKGS) .PHONY: help docs distribute_docs clean check devnet\ develop undevelop distribute distribute_staging distribute_staging_external\ test install_build_deps uninstall_build_deps $(ALL_PKGS) $(DEV_PKGS) + test install_build_deps uninstall_build_deps $(ALL_PKGS) $(DEV_PKGS) $(UNDEV_PKGS) help: diff --git a/pkgs/clean-pkg/changelog/2023/september.rst b/pkgs/clean-pkg/changelog/2023/september.rst new file mode 100644 index 000000000..07ea30f68 --- /dev/null +++ b/pkgs/clean-pkg/changelog/2023/september.rst @@ -0,0 +1,20 @@ +-------------------------------------------------------------------------------- + New +-------------------------------------------------------------------------------- + +* iosxe + * Added + * Class ConfigureReplace in clean stages + +* stages/iosxe + * Updated connect stage to support rommon boot + + +-------------------------------------------------------------------------------- + Fix +-------------------------------------------------------------------------------- + +* iosxe + * Added `verify_running_image` check to ``install_image`` clean stage + + diff --git a/pkgs/clean-pkg/sdk_generator/output/github_clean.json b/pkgs/clean-pkg/sdk_generator/output/github_clean.json index c387851ed..1abe7294b 100644 --- a/pkgs/clean-pkg/sdk_generator/output/github_clean.json +++ b/pkgs/clean-pkg/sdk_generator/output/github_clean.json @@ -98,7 +98,7 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/sdwan/stages.py#L969" }, "uid": "ChangeBootVariable", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/stages.py#L45" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/stages.py#L41" }, "nxos": { "doc": "This stage configures boot variables of the device using the following steps:\n\n - Delete existing boot variables.\n - Configure boot variables using the provided 'images'.\n - Write memory.\n - Verify the boot variables are as expected.\n\nStage Schema\n------------\nchange_boot_variable:\n\n images:\n\n kickstart (list, optional): The kickstart image file\n\n system (list): The system image file\n\n copy_vdc_all (bool, optional): If True copy onto all VDCs. Defaults to False.\n\n timeout (int, optional): Execute timeout in seconds. Defaults to 300.\n\n max_time (int, optional): Maximum time in seconds allowed for verifications.\n Defaults to 300.\n\n check_interval (int, optional): How often to check verifications in seconds.\n Defaults to 60.\n\n standby_copy_max_time (int, optional): Maximum time in seconds allowed for\n copying to standby RP. Defaults to 300.\n\n standby_copy_check_interval (int, optional): How often to check if the copy\n to the standby RP is complete. Defaults to 20.\n\n current_running_image (bool, optional): Set the boot variable to the currently\n running image from the show version command instead of the image provided.\n Defaults to False.\n\nExample\n-------\nchange_boot_variable:\n images:\n kickstart: bootflash:/kisckstart.gbin\n system: bootflash:/system.gbin\n copy_vdc_all: True\n timeout: 150\n max_time: 300\n check_interval: 20\n standby_copy_max_time: 100\n standby_copy_check_interval: 10\n", @@ -137,6 +137,15 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/clean-pkg/src/genie/libs/clean/stages/stages.py#L2841" } }, + "ConfigureReplace": { + "iosxe": { + "doc": "This stage does a configure replace on the device.", + "module_name": "stages.stages", + "package": "genie.libs.clean", + "uid": "ConfigureReplace", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/stages.py#L1983" + } + }, "ConfigureRrmDcaChannel": { "iosxe": { "c9800": { @@ -157,13 +166,18 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/clean-pkg/src/genie/libs/clean/stages/stages.py#L33" }, "iosxe": { + "doc": "This stage connects to the device that is being cleaned.\nStage Schema\n------------\nconnect:\n via (str, optional): Which connection to use from the testbed file. Uses the\n default connection if not specified.\n alias (str, optional): Which connection alias to use from the testbed file.\n timeout (int, optional): The timeout for the connection to complete in seconds.\n Defaults to 200.\n retry_timeout (int, optional): Overall timeout for retry mechanism in seconds.\n Defaults to 0 which means no retry.\n retry_interval (int, optional): Interval for retry mechanism in seconds. Defaults\n to 0 which means no retry.\nExample\n-------\nconnect:\n timeout: 60\n", + "module_name": "stages.stages", + "package": "genie.libs.clean", "sdwan": { "doc": "This stage connects to the device that is being cleaned.\n\nStage Schema\n------------\nconnect:\n\n via (str, optional): Which connection to use from the testbed file. Uses the\n default connection if not specified.\n\n timeout (int, optional): The timeout for the connection to complete in seconds.\n Defaults to 200.\n\n retry_timeout (int, optional): Overall timeout for retry mechanism in seconds.\n Defaults to 0 which means no retry.\n\n retry_interval (int, optional): Interval for retry mechanism in seconds. Defaults\n to 0 which means no retry.\n\nExample\n-------\nconnect:\n timeout: 60\n", "module_name": "stages.stages", "package": "genie.libs.clean", "uid": "Connect", "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/sdwan/stages.py#L31" - } + }, + "uid": "Connect", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/stages.py#L2039" }, "linux": { "wsim": { @@ -204,7 +218,7 @@ "module_name": "stages.stages", "package": "genie.libs.clean", "uid": "CopyToDevice", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/stages.py#L1317" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/stages.py#L1356" } }, "CopyToLinux": { @@ -310,11 +324,11 @@ "uid": "InstallImage", "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/cat3k/stages.py#L12" }, - "doc": "This stage installs a provided image onto the device using the install\nCLI. It also handles the automatic reloading of your device after the\ninstall is complete.\n\nStage Schema\n------------\ninstall_image:\n images (list): Image to install\n\n directory (str): directory where packages.conf is created\n\n save_system_config (bool, optional): Whether or not to save the system\n config if it was modified. Defaults to False.\n\n install_timeout (int, optional): Maximum time in seconds to wait for install\n process to finish. Defaults to 500.\n\n reload_timeout (int, optional): Maximum time in seconds to wait for reload\n process to finish. Defaults to 800.\n\n reload_service_args (optional):\n\n reload_creds (str, optional): The credential to use after the reload is\n complete. The credential name comes from the testbed yaml file.\n Defaults to the 'default' credential.\n\n prompt_recovery (bool, optional): Enable or disable the prompt recovery\n feature of unicon. Defaults to True.\n\n append_error_pattern (list, optional): List of regex strings to check for,\n to be appended to the default error pattern list. Default: [r\"FAILED:.* \",]\n\n : \n Any other arguments that the Unicon reload service supports\n\nExample\n-------\ninstall_image:\n images:\n - /auto/some-location/that-this/image/stay-isr-image.bin\n save_system_config: True\n install_timeout: 1000\n reload_timeout: 1000\n\n", + "doc": "This stage installs a provided image onto the device using the install\nCLI. It also handles the automatic reloading of your device after the\ninstall is complete.\n\nStage Schema\n------------\ninstall_image:\n images (list): Image to install\n\n directory (str): directory where packages.conf is created\n\n\n save_system_config (bool, optional): Whether or not to save the system\n config if it was modified. Defaults to False.\n\n install_timeout (int, optional): Maximum time in seconds to wait for install\n process to finish. Defaults to 500.\n\n reload_timeout (int, optional): Maximum time in seconds to wait for reload\n process to finish. Defaults to 800.\n\n verify_running_image (bool, optional): Compare the image filename with the running\n image version on device. If a match is found, the stage will be skipped.\n Defaults to True.\n\n reload_service_args (optional):\n\n reload_creds (str, optional): The credential to use after the reload is\n complete. The credential name comes from the testbed yaml file.\n Defaults to the 'default' credential.\n\n prompt_recovery (bool, optional): Enable or disable the prompt recovery\n feature of unicon. Defaults to True.\n\n append_error_pattern (list, optional): List of regex strings to check for,\n to be appended to the default error pattern list. Default: [r\"FAILED:.* \",]\n\n : \n Any other arguments that the Unicon reload service supports\n\nExample\n-------\ninstall_image:\n images:\n - /auto/some-location/that-this/image/stay-isr-image.bin\n save_system_config: True\n install_timeout: 1000\n reload_timeout: 1000\n\n", "module_name": "stages.stages", "package": "genie.libs.clean", "uid": "InstallImage", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/stages.py#L520" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/stages.py#L516" }, "iosxr": { "ncs540": { @@ -350,7 +364,7 @@ "module_name": "stages.stages", "package": "genie.libs.clean", "uid": "InstallPackages", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/stages.py#L735" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/stages.py#L764" } }, "InstallRemoveInactive": { @@ -359,7 +373,7 @@ "module_name": "stages.stages", "package": "genie.libs.clean", "uid": "InstallRemoveInactive", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/stages.py#L465" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/stages.py#L461" } }, "LoadPies": { @@ -422,7 +436,7 @@ "module_name": "stages.stages", "package": "genie.libs.clean", "uid": "Reload", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/stages.py#L819" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/stages.py#L848" } }, "RevertVmSnapshot": { @@ -443,11 +457,11 @@ "uid": "RommonBoot", "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/cat9k/stages.py#L204" }, - "doc": "This stage boots an image onto the device through rommon. Using either\na local image or one from a tftp server.\n\nStage Schema\n------------\nrommon_boot:\n\n image (list): Image to boot with\n\n tftp (optional): If specified boot via tftp otherwise boot using local\n image.\n\n ip_address (list, optional): Management ip address to configure to reach to the\n tftp server\n\n subnet_mask (str, optional): Management subnet mask\n\n gateway (str, optional): Management gateway\n\n tftp_server (str, optional): Tftp server that is reachable with management interface\n\n recovery_password (str): Enable password for device\n required after bootup. Defaults to None.\n\n recovery_enable_password (str): Enable password for device\n required after bootup. Defaults to None.\n\n recovery_username (str): Enable username for device\n required after bootup. Defaults to None.\n\n save_system_config (bool, optional): Whether or not to save the\n system config if it was modified. Defaults to True.\n\n timeout (int, optional): Max time allowed for the booting process.\n Defaults to 600.\n\n config_reg_timeout (int, optional): Max time to set config-register.\n Defaults to 30.\n\n rommon_timeout (int, optional): Timeout after bringing the device to rommon. Default to 15 sec.\n\n reconnect_timeout (int, optional): Timeout to reconnect the device after booting. Default to 90 sec.\n\nExample\n-------\nrommon_boot:\n image:\n - /auto/some-location/that-this/image/stay-isr-image.bin\n tftp:\n ip_address: [10.1.7.126, 10.1.7.127]\n gateway: 10.1.7.1\n subnet_mask: 255.255.255.0\n tftp_server: 11.1.7.251\n recovery_password: nbv_12345\n recovery_username: user_12345\n recovery_enable_password: en\n save_system_config: False\n timeout: 600\n config_reg_timeout: 10\n\nThere is more than one ip address, one for each supervisor.\n\nTo pass tftp information and tftp server ip from the testbed, refer the example below\n\n\ntestbed:\n name:\n passwords:\n tacacs: test\n enable: test\n servers:\n tftp:\n address: 10.x.x.x\n credentials:\n default:\n username: user\n password: 1234\ndevices:\n uut1:\n management:\n address:\n ipv4: '10.1.1.1/16'\n gateway:\n ipv4: '10.1.0.1'\n\n", + "doc": "This stage boots an image onto the device through rommon. Using either\na local image or one from a tftp server.\n\nStage Schema\n------------\nrommon_boot:\n\n image (list): Image to boot with\n\n tftp (optional): If specified boot via tftp otherwise boot using local\n image.\n\n ip_address (list, optional): Management ip address to configure to reach to the\n tftp server\n\n subnet_mask (str, optional): Management subnet mask\n\n gateway (str, optional): Management gateway\n\n tftp_server (str, optional): Tftp server that is reachable with management interface\n\n\n recovery_password (str): Enable password for device\n required after bootup. Defaults to None.\n\n recovery_enable_password (str): Enable password for device\n required after bootup. Defaults to None.\n\n recovery_username (str): Enable username for device\n required after bootup. Defaults to None.\n\n save_system_config (bool, optional): Whether or not to save the\n system config if it was modified. Defaults to True.\n\n timeout (int, optional): Max time allowed for the booting process.\n Defaults to 600.\n\n config_reg_timeout (int, optional): Max time to set config-register.\n Defaults to 30.\n\n\n rommon_timeout (int, optional): Timeout after bringing the device to rommon. Default to 15 sec.\n\n reconnect_timeout (int, optional): Timeout to reconnect the device after booting. Default to 90 sec.\n\nExample\n-------\nrommon_boot:\n image:\n - /auto/some-location/that-this/image/stay-isr-image.bin\n tftp:\n ip_address: [10.1.7.126, 10.1.7.127]\n gateway: 10.1.7.1\n subnet_mask: 255.255.255.0\n tftp_server: 11.1.7.251\n recovery_password: nbv_12345\n recovery_username: user_12345\n recovery_enable_password: en\n save_system_config: False\n timeout: 600\n config_reg_timeout: 10\n\nThere is more than one ip address, one for each supervisor.\n\nTo pass tftp information and tftp server ip from the testbed, refer the example below\n\n\ntestbed:\n name:\n name:\n passwords:\n tacacs: test\n enable: test\n servers:\n tftp:\n tftp:\n address: 10.x.x.x\n credentials:\n default:\n username: user\n password: 1234\ndevices:\n uut1:\n management:\n address:\n ipv4: '10.1.1.1/16'\n gateway:\n ipv4: '10.1.0.1'\n\n", "module_name": "stages.stages", "package": "genie.libs.clean", "uid": "RommonBoot", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/stages.py#L1064" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/stages.py#L1094" } }, "RunConfigure": { @@ -512,7 +526,7 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/sdwan/stages.py#L395" }, "uid": "TftpBoot", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/stages.py#L196" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/stages.py#L192" }, "iosxr": { "doc": "This stage boots a new image onto your device using the tftp booting\nmethod.\n\nStage Schema\n------------\ntftp_boot:\n\n image (list): Image to boot with\n\n ip_address (list): Management ip address to configure to reach to the\n tftp server\n\n subnet_mask (str): Management subnet mask\n\n gateway (str): Management gateway\n\n tftp_server (str): Tftp server that is reachable with management interface\n\n timeout (int, optional): Max time during which tftp boot must\n complete. Defaults to 600.\n\n config_reg_timeout (int, optional): Max time to set config-register.\n Defaults to 30.\n\n device_reload_sleep (int, optional): Time in seconds to wait after\n reloading the device. Defaults to 20.\n\n recovery_username (str, optional): Enable username for device\n required after bootup. Defaults to None.\n\n recovery_password (str, optional): Enable password for device\n required after bootup. Defaults to None.\n\nExample\n-------\ntftp_boot:\n image:\n - /auto/some-location/that-this/image/asr9k-mini-px.vm\n ip_address: [10.1.7.126, 10.1.7.127]\n gateway: 10.1.7.1\n subnet_mask: 255.255.255.0\n tftp_server: 11.1.7.251\n timeout: 1200\n config_reg_timeout: 60\n device_reload_sleep: 300\n recovery_username: admin\n recovery_password: nbv_12345\n\nNote: There is more than one ip address, one for each supervisor.\n", diff --git a/pkgs/clean-pkg/src/genie/libs/clean/__init__.py b/pkgs/clean-pkg/src/genie/libs/clean/__init__.py index fb33d79a5..e12476002 100644 --- a/pkgs/clean-pkg/src/genie/libs/clean/__init__.py +++ b/pkgs/clean-pkg/src/genie/libs/clean/__init__.py @@ -8,7 +8,7 @@ ''' # metadata -__version__ = '23.8' +__version__ = '23.9' __author__ = 'Cisco Systems Inc.' __contact__ = ['asg-genie-support@cisco.com', 'pyats-support-ext@cisco.com'] __copyright__ = 'Copyright (c) 2019, Cisco Systems Inc.' diff --git a/pkgs/clean-pkg/src/genie/libs/clean/recovery/recovery.py b/pkgs/clean-pkg/src/genie/libs/clean/recovery/recovery.py index 396e7caac..7fdd31050 100644 --- a/pkgs/clean-pkg/src/genie/libs/clean/recovery/recovery.py +++ b/pkgs/clean-pkg/src/genie/libs/clean/recovery/recovery.py @@ -213,7 +213,8 @@ def _connectivity(device, console_activity_pattern=None, console_breakboot_char= 'ip_address': list, 'subnet_mask': str, 'gateway': str, - 'tftp_server': str + 'tftp_server': str, + Optional('ether_port'): int, }, Optional('recovery_password'): str, Optional('clear_line'): bool, diff --git a/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/stages.py b/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/stages.py index b08bcaf82..b87089be8 100644 --- a/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/stages.py +++ b/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/stages.py @@ -5,18 +5,14 @@ # Python import re import time -import shutil import os.path -import fnmatch -import ipaddress -from typing import List import logging -import time from ipaddress import IPv4Address, IPv6Address, IPv4Interface, IPv6Interface # pyATS from pyats.async_ import pcall from pyats.utils.fileutils import FileUtils +from pyats.utils.fileutils import FileUtils # Genie from genie.abstract import Lookup @@ -24,11 +20,12 @@ from genie.libs.clean.recovery.recovery import _disconnect_reconnect from genie.metaparser.util.schemaengine import Optional, Required, Any, Or, ListOf from genie.utils import Dq +from genie.metaparser.util.schemaengine import Optional, Required, Any, Or, ListOf +from genie.utils import Dq from genie.utils.timeout import Timeout from genie.libs.clean import BaseStage from genie.libs.sdk.libs.abstracted_libs.iosxe.subsection import get_default_dir from genie.libs.clean.utils import ( - _apply_configuration, find_clean_variable, verify_num_images_provided, remove_string_from_image, @@ -36,7 +33,6 @@ # Unicon from unicon.eal.dialogs import Statement, Dialog -from unicon.core.errors import SubCommandFailure # Logger log = logging.getLogger(__name__) @@ -529,6 +525,7 @@ class InstallImage(BaseStage): directory (str): directory where packages.conf is created + save_system_config (bool, optional): Whether or not to save the system config if it was modified. Defaults to False. @@ -538,6 +535,10 @@ class InstallImage(BaseStage): reload_timeout (int, optional): Maximum time in seconds to wait for reload process to finish. Defaults to 800. + verify_running_image (bool, optional): Compare the image filename with the running + image version on device. If a match is found, the stage will be skipped. + Defaults to True. + reload_service_args (optional): reload_creds (str, optional): The credential to use after the reload is @@ -576,6 +577,8 @@ class InstallImage(BaseStage): } ISSU = False SKIP_BOOT_VARIABLE = False + VERIFY_RUNNING_IMAGE = True + # ============ # Stage Schema # ============ @@ -587,6 +590,7 @@ class InstallImage(BaseStage): Optional('reload_timeout'): int, Optional('issu'): bool, Optional('skip_boot_variable'): bool, + Optional('verify_running_image', description="Compare the image filename with the running image version on device. If a match is found, the stage will be skipped", default=VERIFY_RUNNING_IMAGE): bool, Optional('reload_service_args'): { Optional('reload_creds'): str, Optional('prompt_recovery'): bool, @@ -599,6 +603,7 @@ class InstallImage(BaseStage): # Execution order of Stage steps # ============================== exec_order = [ + 'verify_running_image', 'delete_boot_variable', 'set_boot_variable', 'save_running_config', @@ -606,6 +611,30 @@ class InstallImage(BaseStage): 'install_image' ] + def verify_running_image(self, steps, device, images, verify_running_image=VERIFY_RUNNING_IMAGE): + # Check the running image + if verify_running_image: + # Verify the image running in the device + with steps.start("Verify the image running in the device") as step: + try: + out = device.parse("show version") + except Exception as e: + step.failed("Failed to verify the running image") + + # if the device is in bundle mode this step will not be executed. + if "BUNDLE" in Dq(out).get_values("mode"): + step.skipped(f"The device is in bundle mode. Skipping the verify running image check.") + else: + # To get the image version + image_version = out.get("version", {}).get("xe_version", {}) + image_match = re.search(image_version, images[0]) + if image_match: + image_mapping = self.history['InstallImage'].parameters.setdefault('image_mapping', {}) + system_image = device.api.get_running_image() + image_mapping.update({images[0]: system_image}) + self.skipped(f"The image file provided is same as the current running image {image_version} on the device.\n\ + Skipping the install image stage.") + def delete_boot_variable(self, steps, device, issu=ISSU, skip_boot_variable=SKIP_BOOT_VARIABLE): with steps.start("Delete all boot variables") as step: if issu or skip_boot_variable: @@ -936,6 +965,7 @@ def reload(self, steps, device, reload_service_args=None): continue_timer=False), ]) + self.reload_service_args.update({ 'reply': reload_dialog }) @@ -1083,6 +1113,7 @@ class RommonBoot(BaseStage): tftp_server (str, optional): Tftp server that is reachable with management interface + recovery_password (str): Enable password for device required after bootup. Defaults to None. @@ -1101,6 +1132,7 @@ class RommonBoot(BaseStage): config_reg_timeout (int, optional): Max time to set config-register. Defaults to 30. + rommon_timeout (int, optional): Timeout after bringing the device to rommon. Default to 15 sec. reconnect_timeout (int, optional): Timeout to reconnect the device after booting. Default to 90 sec. @@ -1128,11 +1160,13 @@ class RommonBoot(BaseStage): testbed: + name: name: passwords: tacacs: test enable: test servers: + tftp: tftp: address: 10.x.x.x credentials: @@ -1216,6 +1250,7 @@ def go_to_rommon(self, steps, device, rommon_timeout=ROMMON_TIMEOUT): except Exception as e: step.failed("Failed to bring device to rommon!", from_exception=e) + log.info("Device is reloading") device.destroy_all() @@ -1225,10 +1260,12 @@ def rommon_boot(self, steps, device, image, tftp=None, timeout=TIMEOUT, recovery if not tftp: tftp = {} + # Check if management attribute in device object, if not set to empty dict if not hasattr(device, 'management'): setattr(device, "management", {}) + # Getting the tftp information, if the info not provided by user, it takes from testbed address = device.management.get('address', {}).get('ipv4', '') if isinstance(address, IPv4Interface): @@ -1248,6 +1285,7 @@ def rommon_boot(self, steps, device, image, tftp=None, timeout=TIMEOUT, recovery # setting tftp empty if ttfp information is missing tftp = {} + # Need to instantiate to get the device.start # The device.start only works because of a|b device.instantiate(connection_timeout=timeout) @@ -1305,6 +1343,7 @@ def reconnect(self, steps, device, reconnect_timeout=RECONNECT_TIMEOUT): def enable_device_autoboot(self, steps, device): with steps.start("Enable autoboot after reconnect") as step: + if hasattr(device.api, "configure_autoboot"): try: device.api.configure_autoboot() @@ -1604,11 +1643,15 @@ def copy_to_device(self, steps, device, origin, destination, step.skipped(f"The device is in bundle mode and install_image stage is passed in clean file. Skipping the verify running image check.") else: # To get the image version - image_version = out.get("version", {}).get("xe_version", {}) + image_version = out.get("version", {}).get("xe_version", "") image_match = re.search(image_version, file) if image_match: + dest_file_path = out.get("version", {}).get('system_image', "") + if 'packages.conf' not in dest_file_path: + image_mapping = self.history['CopyToDevice'].parameters.setdefault('image_mapping', {}) + image_mapping.update({origin['files'][index]: dest_file_path}) self.skipped(f"The image file provided is same as the current running image {image_version} on the device.\n\ - Skipping the copy process.") + Setting the destination image to {dest_file_path}. Skipping the copy process.") if server: # Get filesize of image files on remote server @@ -1937,3 +1980,208 @@ def copy_to_device(self, steps, device, origin, destination, "File has been copied to device {}.Cannot verify integrity as " "the original file size is unknown.".format(device.name)) +class ConfigureReplace(BaseStage): + """This stage does a configure replace on the device.""" + + # ================= + # Argument Defaults + # ================= + CONFIG_REPLACE_OPTIONS = "" + TIMEOUT = 60 + KNOWN_WARNINGS = None + + # ============ + # Stage Schema + # ============ + schema = { + 'path': str, + 'file': str, + Optional('config_replace_options'): str, + Optional('known_warnings'): list, + Optional('timeout'): int, + } + + # ============================== + # Execution order of Stage steps + # ============================== + exec_order = [ + 'configure_replace', + ] + + def configure_replace(self, steps, device, path, file, config_replace_options=CONFIG_REPLACE_OPTIONS, known_warnings=KNOWN_WARNINGS, timeout=TIMEOUT): + """This step does a configure replace on the device.""" + + if known_warnings is None: + known_warnings = [] + + with steps.start(f"Configure replace on '{device.name}'") as step: + try: + output = device.api.configure_replace(path=path, file=file, config_replace_options=config_replace_options, timeout=timeout) + pattern = r'\*+\n*!List of Rollback Commands:(?P.*?)end\n\*+' + if re.search(pattern, output, re.DOTALL): + rejected_cmds = re.search(pattern, output, re.DOTALL).group('rejected_cmds').strip().split('\n') + else: + rejected_cmds = [] + if rejected_cmds: + if set(rejected_cmds).issubset(set(known_warnings)): + step.passx("Configure replace warnings are expected") + else: + log.warning(f"Rejected commands: {rejected_cmds}") + log.warning(f"Unexpected warnings: {set(rejected_cmds) - set(known_warnings)}") + step.failed("Configure replace warnings are not expected") + else: + step.passed("Configure replace passed without rejection") + + except Exception as e: + step.failed("Configure replace failed", from_exception=e) + + +class Connect(BaseStage): + """This stage connects to the device that is being cleaned. +Stage Schema +------------ +connect: + via (str, optional): Which connection to use from the testbed file. Uses the + default connection if not specified. + alias (str, optional): Which connection alias to use from the testbed file. + timeout (int, optional): The timeout for the connection to complete in seconds. + Defaults to 200. + retry_timeout (int, optional): Overall timeout for retry mechanism in seconds. + Defaults to 0 which means no retry. + retry_interval (int, optional): Interval for retry mechanism in seconds. Defaults + to 0 which means no retry. +Example +------- +connect: + timeout: 60 +""" + + # ================= + # Argument Defaults + # ================= + VIA = None + ALIAS = None + TIMEOUT = 200 + RETRY_TIMEOUT = 0 + RETRY_INTERVAL = 0 + + + # ============ + # Stage Schema + # ============ + schema = { + Optional('via', description="Which connection to use from the testbed file. Uses the default connection if not specified."): str, + Optional('alias', description="Which connection alias to use."): str, + Optional('timeout', description=f"The timeout for the connection to complete in seconds. Defaults to {TIMEOUT}.", default=TIMEOUT): Or(str, int), + Optional('retry_timeout', description=f"Overall timeout for retry mechanism in seconds. Defaults to {RETRY_TIMEOUT} which means no retry.", default=RETRY_TIMEOUT): Or(str, int, float), + Optional('retry_interval', description=f"Interval for retry mechanism in seconds. Defaults to {RETRY_INTERVAL} which means no retry.", default=RETRY_INTERVAL): Or(str, int, float), + } + + # ============================== + # Execution order of Stage steps + # ============================== + exec_order = [ + 'connect' + ] + + def connect(self, steps, device, via=VIA, alias=ALIAS, timeout=TIMEOUT, + retry_timeout=RETRY_TIMEOUT, retry_interval=RETRY_INTERVAL): + + with steps.start("Connecting to the device") as step: + + log.info('Checking connection to device: %s' % device.name) + + # Create a timeout that will loop + retry_timeout = Timeout(float(retry_timeout), float(retry_interval)) + retry_timeout.one_more_time = True + # Without this we see 'Performing the last attempt' even if retry + # is not being used. + retry_timeout.disable_log = True + + while retry_timeout.iterate(): + retry_timeout.disable_log = False + + # mit=True is used to make sure we do not initialize the connection + # and we can check if the device is in rommon. + device.instantiate(connection_timeout=timeout, + learn_hostname=True, + prompt_recovery=True, + via=via, + alias=alias, + mit=True) + try: + if alias: + getattr(device, alias).connect() + else: + device.connect() + except Exception: + log.error("Connection to the device failed", exc_info=True) + device.destroy_all() + # Loop + else: + step.passed("Successfully connected".format(device.name)) + # Don't loop + + retry_timeout.sleep() + + step.failed("Could not connect. Scroll up for tracebacks.") + + with steps.start(f'Checking the current state of the device: {device.name}') as step: + + log.info(f'Checking the current state of the device: {device.name}') + + state = "" + try: + # To check the state for HA devices + if device.is_ha and hasattr(device, 'subconnections'): + if isinstance(device.subconnections, list): + states = list(set([con.state_machine.current_state for con in device.subconnections])) + if states == ['rommon']: + state = 'rommon' + # Remove the one rp connection for Recovery worker API device_recovery_boot + # to boot a single RP as HA recovery is not yet implemented fully. + device.subconnections = [device.subconnections[0]] + elif 'rommon' in states: + step.failed(f'One of the device connection is in rommon state, need to recover device.') + else: + state = device.state_machine.current_state + except Exception as e: + log.warning(f'There is no connection in device.subconnections: {e}') + + if state == "rommon": + + with steps.start("Setting the rommon variables") as step: + + log.info('Setting the rommon variables for TFTP boot') + + try: + device.api.configure_rommon_tftp() + except Exception as e: + step.failed(f'Failed to set rommon variables. {e}') + else: + log.info("Successfully set the rommon variables") + + with steps.start("Booting the device from rommon") as step: + + log.info('Booting the device from rommon') + + try: + # Gets the recovery details from clean yaml + device.api.device_recovery_boot() + except Exception as e: + step.failed(f'Failed to device boot device from rommon. {e}') + else: + log.info("Successfully booted the device from rommon.") + + + with steps.start("Disconnect and reconnect to the device") as step: + + try: + _disconnect_reconnect(device) + except Exception as e: + step.failed(f'Failed to initialize the connection. {e}') + else: + step.passed("Successfully connected to the device") + + + diff --git a/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/tests/test_config_replace.py b/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/tests/test_config_replace.py new file mode 100644 index 000000000..e39a27405 --- /dev/null +++ b/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/tests/test_config_replace.py @@ -0,0 +1,122 @@ +import unittest +import logging + +from unittest.mock import Mock, MagicMock, call, ANY +from collections import OrderedDict + +from genie.libs.clean.stages.iosxe.stages import ConfigureReplace +from genie.libs.clean.stages.tests.utils import CommonStageTests, create_test_device + +from pyats.aetest.steps import Steps +from pyats.results import Passed, Failed, Passx +from pyats.aetest.signals import TerminateStepSignal + +logger = logging.getLogger(__name__) + +class TestConfigureReplace(unittest.TestCase): + + def setUp(self): + + self.cls = ConfigureReplace() + self.device = create_test_device('PE1', os='iosxe') + + self.data = { + 'configure replace bootflash:test.cfg force': ''' + % Topology global::IPv4 Unicast::base is currently being deconfigured. +% BGP context not been initialized properly. +% Topology global::IPv4 Unicast::base is currently being deconfigured. +% BGP context not been initialized properly. +% Topology global::IPv4 Unicast::base is currently being deconfigured. +% Topology global::IPv4 Unicast::base is currently being deconfigured. +% Topology global::IPv4 Unicast::base is currently being deconfigured. +% Topology global::IPv4 Unicast::base is currently being deconfigured. +% Topology global::IPv4 Unicast::base is currently being deconfigured. +% Topology global::IPv4 Unicast::base is currently being deconfigured.Global Ethernet MTU is set to 1500 bytes. +Note: this is the Ethernet payload size, not the total +Ethernet frame size, which includes the Ethernet +header/trailer and possibly other tags, such as ISL or +802.1q tags. + +% ipv6 addresses from all interfaces in VRF vrf-lite have been removed +% ipv4 addresses from all interfaces in VRF vrf-lite have been removed +% ipv6 addresses from all interfaces in VRF vpnv4 have been removed +% ipv4 addresses from all interfaces in VRF vpnv4 have been removed +% ipv6 addresses from all interfaces in VRF global_evpn have been removed +% ipv4 addresses from all interfaces in VRF global_evpn have been removed +VTP version is already in V1. +VTP version is already in V1. +VTP version is already in V1. +VTP version is already in V1. +VTP version is already in V1. +The rollback configlet from the last pass is listed below: +******** +!List of Rollback Commands: +vtp version 1 +end +******** + + +Rollback aborted after 5 passes''', + } + + def test_configure_replace_failed_known_arguments(self): + steps = Steps() + + self.device.execute = Mock(side_effect=lambda x, **y: self.data[x]) + + with self.assertRaises(TerminateStepSignal): + self.cls.configure_replace(steps=steps, device=self.device, + path='bootflash:', file='test.cfg', + config_replace_options='force', known_warnings=['vtp version 2'], + timeout=60) + + self.assertEqual(Failed, steps.details[0].result) + + def test_configure_replace_failed(self): + + steps = Steps() + + self.device.execute = Mock(side_effect=lambda x, **y: self.data[x]) + + with self.assertRaises(TerminateStepSignal): + self.cls.configure_replace(steps=steps, device=self.device, + path='bootflash:', file='test.cfg', + config_replace_options='force', timeout=60) + + self.assertEqual(Failed, steps.details[0].result) + + def test_configure_replace_pass_known_arguments(self): + steps = Steps() + + self.device.execute = Mock(side_effect=lambda x, **y: self.data[x]) + + self.cls.configure_replace(steps=steps, device=self.device, + path='bootflash:', file='test.cfg', + config_replace_options='force', known_warnings = ['vtp version 1'], + timeout=60) + + self.assertEqual(Passx, steps.details[0].result) + + def test_configure_replace_exception(self): + steps = Steps() + + self.device.execute = Mock(side_effect=Exception) + + with self.assertRaises(TerminateStepSignal): + self.cls(steps=steps, device=self.device, path='bootflash:', file='base.cfg') + + self.assertEqual(Failed, steps.details[0].result) + + def test_configure_replace_pass_rollback_complete(self): + data = {'configure replace bootflash:base.cfg force':'''Total number of passes: 1 +Rollback Done'''} + steps = Steps() + + self.device.execute = Mock(side_effect=lambda x, **y: data[x]) + + self.cls.configure_replace(steps=steps, device=self.device, + path='bootflash:', file='base.cfg', + config_replace_options='force', known_warnings = ['vtp version 1'], + timeout=60) + + self.assertEqual(Passed, steps.details[0].result) diff --git a/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/tests/test_connect.py b/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/tests/test_connect.py new file mode 100644 index 000000000..d5170825a --- /dev/null +++ b/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/tests/test_connect.py @@ -0,0 +1,69 @@ +import unittest +from unittest.mock import MagicMock, Mock, call, patch +import logging + +from pyats.aetest.steps import Steps +from pyats.results import Passed, Failed +from pyats.aetest.signals import TerminateStepSignal +from pyats.topology import loader +from genie.libs.clean.stages.iosxe.stages import Connect +from unicon.plugins.tests.mock.mock_device_iosxe import MockDeviceTcpWrapperIOSXE +import unicon + +unicon.settings.Settings.POST_DISCONNECT_WAIT_SEC = 0 +unicon.settings.Settings.GRACEFUL_DISCONNECT_WAIT_SEC = 0.2 + +logger = logging.getLogger(__name__) + +class TestIosXEConnect(unittest.TestCase): + """ Run unit testing on a mocked IOSXE ASR HA device """ + + @classmethod + def setUpClass(self): + self.md = MockDeviceTcpWrapperIOSXE(hostname='R1', port=0, state='general_enable') + self.md.start() + testbed = """ + testbed: + servers: + http: + dynamic: true + protocol: http + ftp: + dynamic: true + protocol: ftp + tftp: + dynamic: true + protocol: tftp + devices: + R1: + os: iosxe + type: router + tacacs: + username: cisco + passwords: + tacacs: cisco + connections: + defaults: + class: unicon.Unicon + a: + protocol: telnet + ip: 127.0.0.1 + port: {} + """.format(self.md.ports[0]) + + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['R1'] + self.device.connect(mit=True) + + @classmethod + def tearDownClass(self): + self.device.disconnect() + self.md.stop() + + def test_connect(self): + steps = Steps() + self.connect = Connect() + self.connect(steps=steps, device=self.device) + self.assertEqual(Passed, steps.details[0].result) + + diff --git a/pkgs/conf-pkg/changelog/2023/september.rst b/pkgs/conf-pkg/changelog/2023/september.rst new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/conf-pkg/setup.py b/pkgs/conf-pkg/setup.py index 629eb78fb..877082e7a 100755 --- a/pkgs/conf-pkg/setup.py +++ b/pkgs/conf-pkg/setup.py @@ -31,8 +31,12 @@ def build_version_range(version): eg: for version '3.4.7', return '>=3.4.0, <3.5.0' ''' req_ver = version.split('.') - version_range = '>= %s.%s.0rc0, < %s.%s.0' % \ - (req_ver[0], req_ver[1], req_ver[0], int(req_ver[1])+1) + if 'rc' in version: + version_range = '>= %s.%s.0rc0, < %s.%s.0' % \ + (req_ver[0], req_ver[1], req_ver[0], int(req_ver[1])+1) + else: + version_range = '>= %s.%s.0, < %s.%s.0' % \ + (req_ver[0], req_ver[1], req_ver[0], int(req_ver[1])+1) return version_range diff --git a/pkgs/conf-pkg/src/genie/libs/conf/__init__.py b/pkgs/conf-pkg/src/genie/libs/conf/__init__.py index ccf6b0bed..43c707895 100644 --- a/pkgs/conf-pkg/src/genie/libs/conf/__init__.py +++ b/pkgs/conf-pkg/src/genie/libs/conf/__init__.py @@ -12,7 +12,7 @@ ''' # metadata -__version__ = '23.8' +__version__ = '23.9' __author__ = 'Cisco Systems Inc.' __contact__ = ['pyats-support@cisco.com', 'pyats-support-ext@cisco.com'] __copyright__ = 'Copyright (c) 2018, Cisco Systems Inc.' diff --git a/pkgs/filetransferutils-pkg/changelog/2023/september.rst b/pkgs/filetransferutils-pkg/changelog/2023/september.rst new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/filetransferutils-pkg/src/genie/libs/filetransferutils/__init__.py b/pkgs/filetransferutils-pkg/src/genie/libs/filetransferutils/__init__.py index bb5d0094b..037708f32 100644 --- a/pkgs/filetransferutils-pkg/src/genie/libs/filetransferutils/__init__.py +++ b/pkgs/filetransferutils-pkg/src/genie/libs/filetransferutils/__init__.py @@ -9,7 +9,7 @@ ''' -__version__ = '23.8' +__version__ = '23.9' __author__ = 'Cisco Systems Inc.' __contact__ = ['pyats-support@cisco.com', 'pyats-support-ext@cisco.com'] __copyright__ = 'Copyright (c) 2018, Cisco Systems Inc.' diff --git a/pkgs/health-pkg/changelog/2023/september.rst b/pkgs/health-pkg/changelog/2023/september.rst new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/health-pkg/src/genie/libs/health/__init__.py b/pkgs/health-pkg/src/genie/libs/health/__init__.py index 7d3293272..76958f171 100644 --- a/pkgs/health-pkg/src/genie/libs/health/__init__.py +++ b/pkgs/health-pkg/src/genie/libs/health/__init__.py @@ -8,7 +8,7 @@ ''' # metadata -__version__ = '23.8' +__version__ = '23.9' __author__ = 'Cisco Systems Inc.' __contact__ = ['asg-genie-support@cisco.com', 'pyats-support-ext@cisco.com'] __copyright__ = 'Copyright (c) 2020, Cisco Systems Inc.' diff --git a/pkgs/ops-pkg/changelog/2023/september.rst b/pkgs/ops-pkg/changelog/2023/september.rst new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/ops-pkg/setup.py b/pkgs/ops-pkg/setup.py index 6c96e978d..c51c47406 100755 --- a/pkgs/ops-pkg/setup.py +++ b/pkgs/ops-pkg/setup.py @@ -31,8 +31,12 @@ def build_version_range(version): eg: for version '3.4.7', return '>=3.4.0, <3.5.0' ''' req_ver = version.split('.') - version_range = '>= %s.%s.0rc0, < %s.%s.0' % \ - (req_ver[0], req_ver[1], req_ver[0], int(req_ver[1])+1) + if 'rc' in version: + version_range = '>= %s.%s.0rc0, < %s.%s.0' % \ + (req_ver[0], req_ver[1], req_ver[0], int(req_ver[1])+1) + else: + version_range = '>= %s.%s.0, < %s.%s.0' % \ + (req_ver[0], req_ver[1], req_ver[0], int(req_ver[1])+1) return version_range diff --git a/pkgs/ops-pkg/src/genie/libs/ops/__init__.py b/pkgs/ops-pkg/src/genie/libs/ops/__init__.py index 7c8fe5452..fa8accb61 100644 --- a/pkgs/ops-pkg/src/genie/libs/ops/__init__.py +++ b/pkgs/ops-pkg/src/genie/libs/ops/__init__.py @@ -7,7 +7,7 @@ ''' # metadata -__version__ = '23.8' +__version__ = '23.9' __author__ = 'Cisco Systems Inc.' __contact__ = ['pyats-support@cisco.com', 'pyats-support-ext@cisco.com'] __copyright__ = 'Copyright (c) 2018, Cisco Systems Inc.' diff --git a/pkgs/ops-pkg/src/genie/libs/ops/tests/test_threading.py b/pkgs/ops-pkg/src/genie/libs/ops/tests/test_threading.py new file mode 100644 index 000000000..ca3c26654 --- /dev/null +++ b/pkgs/ops-pkg/src/genie/libs/ops/tests/test_threading.py @@ -0,0 +1,214 @@ +from __future__ import annotations + +import logging +import unittest +from typing import Any + +from genie.conf.base.utils import QDict +from genie.libs.conf.device import Device as GenieDevice + +from concurrent.futures import ThreadPoolExecutor, as_completed + +logger = logging.getLogger(__name__) + + +class Device(GenieDevice): # type: ignore[misc] # Class cannot subclass "GenieDevice" (has type "Any") + + def __init__( + self, + device: str, + os: str | None = None, + exec_timeout: int | None = None, + **kwargs: Any, + ) -> None: + if os is None: + raise ValueError( + f"{device} is missing 'os' information, can't instantiate Device" + ) + else: + device_os = os + + # instantiate Genie Device object + custom = {"abstraction": {"order": ["os"]}} + super().__init__(device, os=device_os, custom=custom, **kwargs) + + def connect(self, *args: Any, **kwargs: Any) -> None: + pass + + def disconnect(self, *args: Any, **kwargs: Any) -> None: + pass + + # Overload the execute() method to return device command output + # back to genie. This is needed for genie learn which interactively + # collects device command output + def execute(self, command: str, **kwargs: Any) -> str: + logger.info(f'executing {command}') + data = { + 'show version': """ +Cisco IOS XE Software, Version BLD_POLARIS_DEV_LATEST_20230827_101613_V17_13_0_38 +Cisco IOS Software [IOSXE], Virtual XE Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Experimental Version 17.14.20230827:110032 [BLD_POLARIS_DEV_LATEST_20230827_101613:/nobackup/mcpre/s2c-build-ws 101] +Copyright (c) 1986-2023 by Cisco Systems, Inc. +Compiled Sun 27-Aug-23 04:01 by mcpre + + +Cisco IOS-XE software, Copyright (c) 2005-2023 by cisco Systems, Inc. +All rights reserved. Certain components of Cisco IOS-XE software are +licensed under the GNU General Public License ("GPL") Version 2.0. The +software code licensed under GPL Version 2.0 is free software that comes +with ABSOLUTELY NO WARRANTY. You can redistribute and/or modify such +GPL code under the terms of GPL Version 2.0. For more details, see the +documentation or "License Notice" file accompanying the IOS-XE software, +or the applicable URL provided on the flyer accompanying the IOS-XE +software. + + +ROM: IOS-XE ROMMON +CSR104 uptime is 1 day, 23 hours, 32 minutes +Uptime for this control processor is 1 day, 23 hours, 34 minutes +System returned to ROM by reload +System image file is "bootflash:c8kv.bin" +Last reload reason: reload + + + +This product contains cryptographic features and is subject to United +States and local country laws governing import, export, transfer and +use. Delivery of Cisco cryptographic products does not imply +third-party authority to import, export, distribute or use encryption. +Importers, exporters, distributors and users are responsible for +compliance with U.S. and local country laws. By using this product you +agree to comply with applicable laws and regulations. If you are unable +to comply with U.S. and local laws, return this product immediately. + +A summary of U.S. laws governing Cisco cryptographic products may be found at: +http://www.cisco.com/wwl/export/crypto/tool/stqrg.html + +If you require further assistance please contact us by sending email to +export@cisco.com. + +License Level: network-advantage +License Type: Perpetual +Next reload license Level: network-advantage + +Addon License Level: dna-advantage +Addon License Type: Subscription +Next reload addon license Level: dna-advantage + +The current throughput level is 20000 kbps + + +Smart Licensing Status: Smart Licensing Using Policy + +cisco C8000V (VXE) processor (revision VXE) with 2251787K/3075K bytes of memory. +Processor board ID 9BKQ6ZRKD0C +Router operating mode: Autonomous +4 Gigabit Ethernet interfaces +32768K bytes of non-volatile configuration memory. +8083304K bytes of physical memory. +11530240K bytes of virtual hard disk at bootflash:. + +Configuration register is 0x2102 +""" + } + return data.get(command, "% Unknown command") + + +def _task_learn( + device: str, + models: list[str], + os: str | None = None, + exec_timeout: int | None = None, +) -> tuple[str, QDict]: + results = {} + + dev = Device(device, os=os, exec_timeout=exec_timeout) + + for model in models: + try: + result = dev.learn(model) + except Exception as e: + logger.exception(e) + results[model] = { + 'data': None, + 'status': False, + 'status_message': f"Exception occurred during learning: {e}", + } + continue + + output = QDict(result.to_dict()) + + results[model] = { + 'data': output, + 'status': True, + 'status_message': "learnt successfully", + } + + return device, results + + +def _learn( + devices: list[str], + models: str | list[str], + os: str | None = None, + exec_timeout: int | None = None, + num_threads: int | None = None, +): + + if isinstance(models, str): + models = [models] + + results = {} + with ThreadPoolExecutor( + max_workers=num_threads, + ) as executor: + tasks = [] + for device in devices: + tasks.append( + executor.submit( + _task_learn, + device, + models, + os, + exec_timeout, + ) + ) + + for task in as_completed(tasks): + name, result = task.result() + results[name] = result + + return results + + +class TestThreading(unittest.TestCase): + + def test_threaded_learn(self): + results = _learn( + devices=['r1', 'r2'], + models=['platform'], + os='iosxe', + num_threads=2 + ) + expected_results = { + 'platform': { + 'data': { + 'context_manager': {}, + 'attributes': None, + 'commands': None, + 'connections': None, + 'raw_data': False, + 'chassis': 'C8000V', + 'chassis_sn': '9BKQ6ZRKD0C', + 'rtr_type': 'C8000V', + 'os': 'IOS-XE', + 'version': '17.14.20230827:110032', + 'image': 'bootflash:c8kv.bin', + 'config_register': '0x2102', + 'main_mem': '2251787' + }, + 'status': True, + 'status_message': 'learnt successfully' + } + } + + self.assertEqual(results, {'r1': expected_results, 'r2': expected_results}) diff --git a/pkgs/robot-pkg/changelog/2023/september.rst b/pkgs/robot-pkg/changelog/2023/september.rst new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/robot-pkg/setup.py b/pkgs/robot-pkg/setup.py index 9b134cbcc..75c23b952 100755 --- a/pkgs/robot-pkg/setup.py +++ b/pkgs/robot-pkg/setup.py @@ -31,8 +31,12 @@ def build_version_range(version): eg: for version '3.4.7', return '>=3.4.0, <3.5.0' ''' req_ver = version.split('.') - version_range = '>= %s.%s.0rc0, < %s.%s.0' % \ - (req_ver[0], req_ver[1], req_ver[0], int(req_ver[1])+1) + if 'rc' in version: + version_range = '>= %s.%s.0rc0, < %s.%s.0' % \ + (req_ver[0], req_ver[1], req_ver[0], int(req_ver[1])+1) + else: + version_range = '>= %s.%s.0, < %s.%s.0' % \ + (req_ver[0], req_ver[1], req_ver[0], int(req_ver[1])+1) return version_range diff --git a/pkgs/robot-pkg/src/genie/libs/robot/__init__.py b/pkgs/robot-pkg/src/genie/libs/robot/__init__.py index 9c913d149..bd67c4603 100644 --- a/pkgs/robot-pkg/src/genie/libs/robot/__init__.py +++ b/pkgs/robot-pkg/src/genie/libs/robot/__init__.py @@ -8,7 +8,7 @@ ''' # metadata -__version__ = '23.8' +__version__ = '23.9' __author__ = 'Cisco Systems Inc.' __contact__ = ['pyats-support@cisco.com', 'pyats-support-ext@cisco.com'] __copyright__ = 'Copyright (c) 2018, Cisco Systems Inc.' diff --git a/pkgs/sdk-pkg/changelog/2023/september.rst b/pkgs/sdk-pkg/changelog/2023/september.rst new file mode 100644 index 000000000..132396871 --- /dev/null +++ b/pkgs/sdk-pkg/changelog/2023/september.rst @@ -0,0 +1,179 @@ +-------------------------------------------------------------------------------- + New +-------------------------------------------------------------------------------- + +* iosxe + * Added get_interface_capabilities_multiple_media_types + * API for "get_interface_capabilities_multiple_media_types to know type of connection i.e fiber, copper and dual-port" + * Added request platform_software_package_expand + * API to expand package from filesystem + * API to expand package from sub directory filesystem + * Added configure_snmp_server_host_trap + * API to configure snmp server host trap + * Added configure_ipv6_dhcp_relay_trust + * API to configure ipv6 dhcp relay trust + * Added unconfigure_ipv6_dhcp_relay_trust + * API to unconfigure ipv6 dhcp relay trust + * Added configure_ipv6_dhcp_relay_option_vpn + * API to configure ipv6 dhcp relay option vpn + * Added unconfigure_ipv6_dhcp_relay_option_vpn + * API to unconfigure ipv6 dhcp relay option vpn + * Added configure_ipv6_dhcp_relay_source_interface_intf_id + * API to configure ipv6 dhcp relay source-interface interfaceid + * Added unconfigure_ipv6_dhcp_relay_source_interface_intf_id + * API to unconfigure ipv6 dhcp relay source-interface interfaceid + * Added configure_ipv6_dhcp_relay_destination_ipv6address + * API to configure ipv6 dhcp relay destination ipv6address + * Added unconfigure_ipv6_dhcp_relay_destination_ipv6address + * API to unconfigure ipv6 dhcp relay destination ipv6address + * Added configure_aaa_accounting_update_periodic_interval + * API to configure aaa accounting update periodic {interval} + * Added configure_ip_dhcp_snooping_information_option_allow_untrusted_global + * API to configure ip dhcp snooping information option allow-untrusted global + * Added unconfigure_ip_dhcp_snooping_information_option_allow_untrusted_global + * API to unconfigure ip dhcp snooping information option allow-untrusted global + * Added configure_management_gnmi api + * New API to configure gnmi + * Updated configure_management_protocol api + * updated the logic to support the new schema + * Added disable_cts_enforcement_vlan_list + * API to disable CTS enforcement on vlan-list + * Added execute_clear_ipv6_mld_group + * New API to execute clear ipv6 mld group + * Added execute_clear_ip_igmp_group + * New API to execute clear ip igmp group + * Added configure_object_list_schema_transfer_for_bulkstat + * API to configure object list schema transfer for bulkstat + * Added configure_bridge_domain + * added api to configure bridge-domain + * Added unconfigure_bridge_domain + * added api to unconfigure bridge-domain + * Added configure_interface_vlan + * New API to configure interface vlan 10 + * Added configure_interface_range_no_switchport + * New API to configure interface range no switchport + * Added execute_clear_aaa_counters_server + * Added configure_aaa_accounting_update + * API to configure aaa accounting update + * Added unconfigure_aaa_accounting_update + * API to unconfigure aaa accounting update + * Added unconfigure_aaa_accounting_identity_default_start_stop + * API to unconfigure aaa accounting identity default start stop + * Added configure_service_instance + * added api to configure service instance + * Added unconfigure_service_instance + * added api to unconfigure service instance + * Added configure_interface_ip_nbar + * added api to configure interface ip nbar + * Added unconfigure_interface_ip_nbar + * added api to unconfigure interface ip nbar + * Added execute_archive_tar + * API to execute archive tar + * Added api configure_breakout_cli + * API to configure breakout + * Added api unconfigure_breakout_cli + * API to unconfigure breakout + * Added configure_ip_multicast_routing_distributed + * New API to configure ipv6 multicast routing + * Added unconfigure_ip_multicast_routing_distributed + * New API to unconfigure ipv6 multicast routing + * Added clear_crypto_call_admission_stats + * New API to clear ikev1 statistics + * Added disable_crypto_engine_compliance + * New API to disable crypto engine compliance shield + * Added get_interface_media_types + * API for "get interface media_types" + * Added config_ip_pim_vrf_mode + * added api to configure ip pim vrf mode + * Added unconfig_ip_pim_vrf_mode + * added api to unconfigure ip pim vrf mode + * Added config_ip_multicast_routing_vrf_distributed + * added api to configure ip multicast-routing vrf distributed + * Added unconfig_ip_multicast_routing_vrf_distributed + * added api to unconfigure ip multicast-routing vrf distributed + * Added api erase startup-config + * API to erase startup-config + * Added install_wcs_enable_guestshell + * New API to install wcs enable guestshell + * Added execute_apphosting_cli + * New API to execute apphosting cli + * Added enable_usb_ssd_verify_exists + * New API to enable usb ssd verify exists + * Added configure_app_management_networking + * New API to configure app management networking + * Added clear_ip_mfib_counters + * New API to execute clear ip mfib counters + * Added configure_controller_shutdown API + * API to configure controller shutdown/no shutdown + * Added api configure_mode_change + * API to configure mode change + +* sdk-pkg + * Modified pysnmp to pysnmp-lextudio + +* linux + * Added generate_rsa_ssl_key + * New API to generate an RSA key on a linux server via OpenSSL + * Added generate_ecc_ssl_key + * New API to generate an Elliptic Curve key with a user selected algorithm via OpenSSL + * Added generate_ca_certificate + * New API to generate a CA Certificate via OpenSSL + * Added generate_ssl_certificate + * New API to generate an SSL Certificate via OpenSSL + * Added get_supported_elliptic_curves + * New API to fetch supported curves on a Linux server via OpenSSL and return a list + * Added get_file_contents + * New API that cats out the contents of a file to a return + + +-------------------------------------------------------------------------------- + Fix +-------------------------------------------------------------------------------- + +* utils + * Modified + * Fix trigger discovery from relative Task object + +* iosxe + * Modified configure_evpn_l2_instance_vlan_association + * added protected optional input variable + * Modified configure_ospf_redistributed_connected + * added vrf optional input variable + * Modified configure_ospfv3 + * added redistribute {route_method} command + * Modified configure_static_nat_route_map_rule + * Added no_alias to configure static nat route-map rule with no-alias + * Modified unconfigure_static_nat_route_map_rule + * Added no_alias to unconfigure static nat route-map rule with no-alias + * Modified config_extended_acl + * added parameter port type + * Modified + * Modified copy_to_device to update the image path if verify_running_image is True + * Modify configure_cdp and unconfigure_cdp + * Added timeout for show interfaces + * Modified configure_snmp_server_user + * Added elif to configure snmp server user + * Updated get_interface_interfaces_under_vrf + * No change to API. Adjusted UT for related parser change + * Modified configure_gdoi_group + * added additional attributes gikev2_profile, rekey_address_acl, gikev2_client and pfs + +* jinja2 + * Modified change_configuration_using_jinja_templates + * Passing kwargs to device.configure + +* general + * Fix loading APIs under threaded environment + +* genie.libs.sdk + * Updated yang.connector and rest.connector dependencies to use correct versions. + + +-------------------------------------------------------------------------------- + Update +-------------------------------------------------------------------------------- + +* sdk-pkg + * Modified health logging + + diff --git a/pkgs/sdk-pkg/changelog/changelog_fix_iosxe_configure_duplicate_keywords_issue_20230801145504.rst b/pkgs/sdk-pkg/changelog/changelog_fix_iosxe_configure_duplicate_keywords_issue_20230801145504.rst new file mode 100644 index 000000000..9985fbd7f --- /dev/null +++ b/pkgs/sdk-pkg/changelog/changelog_fix_iosxe_configure_duplicate_keywords_issue_20230801145504.rst @@ -0,0 +1,6 @@ +-------------------------------------------------------------------------------- + Fix +-------------------------------------------------------------------------------- +* IOSXE + * Removed duplicate keywords configure_boot_system_switch_all_flash, configure_stack_power_switch, configure_service_performance, unconfigure_service_performance, configure_key_config_key_password_encrypt, unconfigure_key_config_key_password_encrypt, unconfigure_snmp_mib_bulkstat, configure_stackpower_stack, unconfigure_stackpower_stack, unconfig_cns_agent_password and configure_boot_system_image_file from configure.py file. + * Removed unused import time diff --git a/pkgs/sdk-pkg/sdk_generator/output/github_apis.json b/pkgs/sdk-pkg/sdk_generator/output/github_apis.json index 31638cd37..03e0f6f65 100644 --- a/pkgs/sdk-pkg/sdk_generator/output/github_apis.json +++ b/pkgs/sdk-pkg/sdk_generator/output/github_apis.json @@ -219,7 +219,7 @@ "module_name": "evpn.configure", "package": "genie.libs.sdk.apis", "uid": "change_nve_source_interface", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L578" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L579" } }, "change_pki_server_state": { @@ -354,7 +354,7 @@ "module_name": "evpn.configure", "package": "genie.libs.sdk.apis", "uid": "clear_bgp_l2vpn_evpn", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L706" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L707" } }, "clear_bgp_neighbor": { @@ -411,6 +411,15 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/utils.py#L753" } }, + "clear_crypto_call_admission_stats": { + "iosxe": { + "doc": " clear crypto call admission stats\n Args:\n device (`obj`): Device object\n Returns:\n None\n Raises:\n SubCommandFailure\n ", + "module_name": "ike.configure", + "package": "genie.libs.sdk.apis", + "uid": "clear_crypto_call_admission_stats", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ike/configure.py#L1269" + } + }, "clear_crypto_gkm": { "iosxe": { "doc": " clear_crypto_gkm\n Args:\n device (`obj`): Device object\n group ('str', optional): Name for the GetVpn Gdoi group\n timeout('int', optional): timeout for exec command execution, default is 30\n Returns:\n None\n Raises:\n SubCommandFailure\n ", @@ -780,6 +789,15 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/clear_ip_eigrp_neighbor/util.py#L14" } }, + "clear_ip_mfib_counters": { + "iosxe": { + "doc": " clear ip mfib counters\n Args:\n device (`obj`): Device object\n Returns:\n None\n Raises:\n SubCommandFailure\n ", + "module_name": "platform.execute", + "package": "genie.libs.sdk.apis", + "uid": "clear_ip_mfib_counters", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/execute.py#L1503" + } + }, "clear_ip_mroute_all": { "iosxe": { "doc": " clear ip mroute *\n Args:\n device (`obj`): Device object\n Returns:\n None\n Raises:\n SubCommandFailure\n ", @@ -1043,7 +1061,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "clear_macro_auto_confgis", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2017" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1979" } }, "clear_macsec_counters": { @@ -1178,7 +1196,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "clear_ospfv3_process_all", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2510" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2513" } }, "clear_packet_buffer": { @@ -1338,7 +1356,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "config_acl_on_interface", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L166" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L196" } }, "config_cns_agent_passwd": { @@ -1347,7 +1365,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "config_cns_agent_passwd", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3931" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3809" } }, "config_device_tracking_policy": { @@ -1424,7 +1442,7 @@ }, "config_extended_acl": { "iosxe": { - "doc": " Configure extended ACL on device\n Args:\n device ('obj'): device object\n acl_name ('str'): acl name\n permission ('str'): (permit | deny), default value is None\n protocol ('str'): protocol, default value is None\n src_ip ('str'): source start ip, default value is None\n src_step ('str'): (None | '0.0.0.1'), increment step for source ip, default value is None\n src_wildcard ('str'): source wildcard, default value is None\n dst_ip ('str'): destination start ip, default value is None\n dst_step ('str'): increment step for destination ip, default value is None\n dst_wildcard ('str'): destination wildcard, default value is None\n dst_port ('str'): Acl destination port, default value is None\n entries ('int'): Acl entries, default value is None\n acl_type ('str', optional): type of ACL like with or without host keyword, default value is None\n sequence_num ('str',optional): specific sequence number,default value is None\n log_option ('str',optional): (None | log), Option to log ACL match,default value is None\n Returns:\n config\n Raises:\n SubCommandFailure: Failed to configure access-list\n ", + "doc": " Configure extended ACL on device\n Args:\n device ('obj'): device object\n acl_name ('str'): acl name\n permission ('str'): (permit | deny), default value is None\n protocol ('str'): protocol, default value is None\n src_ip ('str'): source start ip, default value is None\n src_step ('str'): (None | '0.0.0.1'), increment step for source ip, default value is None\n src_wildcard ('str'): source wildcard, default value is None\n dst_ip ('str'): destination start ip, default value is None\n dst_step ('str'): increment step for destination ip, default value is None\n dst_wildcard ('str'): destination wildcard, default value is None\n dst_port ('str'): Acl destination port, default value is None\n entries ('int'): Acl entries, default value is None\n acl_type ('str', optional): type of ACL like with or without host keyword, default value is None\n sequence_num ('str',optional): specific sequence number,default value is None\n log_option ('str',optional): (None | log), Option to log ACL match,default value is None\n time_range ('str',optional): name of the time-range, default value is None\n port_type ('str',optional): name of the port_type ex : 'eq', 'gt', 'lt', 'neq', default value is None\n Returns:\n config\n Raises:\n SubCommandFailure: Failed to configure access-list\n ", "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "config_extended_acl", @@ -1437,7 +1455,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "config_extended_acl_with_evaluate", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L544" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L574" } }, "config_extended_acl_with_reflect": { @@ -1446,7 +1464,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "config_extended_acl_with_reflect", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L606" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L636" } }, "config_flow_exporter": { @@ -1593,6 +1611,15 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/interface/configure.py#L8419" } }, + "config_ip_multicast_routing_vrf_distributed": { + "iosxe": { + "doc": " configure ip multicast-routing vrf distributed on device\n Example : \n\n Args:\n device (`obj`): Device object\n vrf_name('str'): name of the vrf \n Returns:\n None\n ", + "module_name": "multicast.configure", + "package": "genie.libs.sdk.apis", + "uid": "config_ip_multicast_routing_vrf_distributed", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/multicast/configure.py#L2022" + } + }, "config_ip_on_interface": { "iosxe": { "doc": " Configure IP on an interface\n\n Args:\n device (`obj`): Device object\n interface (`str`): Interface to get address\n ip_address (`str`, optional): IP addressed to be configured on interface, default value None\n mask (`str`, optional): Mask address to be used in configuration, default value None\n ipv6_address (`str`, optional): IPv6 address with subnet mask, default value None\n eth_encap_type (`str`, optional): Encapsulation type, default value None\n eth_encap_val (`str`, optional): Encapsulation value, default value None\n sub_interface (`str`, optional): Subinterface to be added to interface name, default value None\n disable_switchport (`bool`, optional): Set interface to operate on layer 3, default value False\n dhcpv4 (`bool`, optional): configure for ipv4 dhcp, default value False\n dhcp_hostname (`str`, optional): Optionally configure dhcp hostname as well, default value \"\"\n vrf (`str`, optional): vrf for in the interface, default value None\n link_local_address (`str`, optional): Link local address for an ipv6 interface, default value None\n secondary (`bool`, optional): Configure as secondary ipv4 address, default value False\n prefix_name (`str`, optional): Prefix name, truncated to 200 characters, default value None\n\n Returns:\n None\n Warning messages\n\n Raises:\n SubCommandFailure\n ", @@ -1620,6 +1647,15 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/multicast/configure.py#L17" } }, + "config_ip_pim_vrf": { + "iosxe": { + "doc": " Enables ip pim vrf mode on device.\n\n Args:\n device (`obj`): Device object\n vrf_num (`str`): vrf number\n mode (`str`): specifiy ip pim vrf mode\n Return:\n None\n Raise:\n SubCommandFailure \n ", + "module_name": "multicast.configure", + "package": "genie.libs.sdk.apis", + "uid": "config_ip_pim_vrf", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/multicast/configure.py#L1978" + } + }, "config_ip_subinterface": { "iosxe": { "doc": " Configure sub-interface with IP addresses on device\n Args:\n device (`obj`): Device object\n interface (`str`): Interface name\n sub_interface_num (`int`): Subinterface to be added to\n interface name\n ip_address(`str`): IP addressed to be configured on interface\n prefix(`str`): prefix to be used in configuration\n encap_type (`str`): Encapsulation type\n Returns:\n None\n Raises:\n SubCommandFailure\n ", @@ -1635,7 +1671,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "config_ip_tcp_mss", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1368" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1398" } }, "config_ipv6_nd_raguard_policy": { @@ -1912,7 +1948,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "config_refacl_global_timeout", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1327" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1357" } }, "config_replace_to_flash_memory": { @@ -2104,6 +2140,15 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/aaa/configure.py#L1917" } }, + "configure_aaa_accounting_update": { + "iosxe": { + "doc": "configure aaa accounting update periodic\n Args:\n device (`obj`): Device object\n action_type('str'): newinfo Only send accounting update records when we have new acct info.\n periodic Send accounting update records at regular intervals.\n\t periodic_interval('str'): <1-71582> Periodic intervals to send accounting update records(in minutes)\n Returns: \n None\n Raise:\n SubCommandFailure: Failed configure aaa accounting update periodic\n ", + "module_name": "aaa.configure", + "package": "genie.libs.sdk.apis", + "uid": "configure_aaa_accounting_update", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/aaa/configure.py#L2661" + } + }, "configure_aaa_accounting_update_periodic": { "iosxe": { "doc": " configure aaa accounting update newinfo periodic\n device (`obj`): Device object\n interval (`str`): intervals in minutes\n None\n Raise:\n SubCommandFailure: Failed configuring aaa accounting update newinfo periodic\n ", @@ -2113,6 +2158,15 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/aaa/configure.py#L1901" } }, + "configure_aaa_accounting_update_periodic_interval": { + "iosxe": { + "doc": "Configure aaa accounting update periodic {interval}\n Args:\n device ('obj'): Device object\n interval('int'): <1-71582> Periodic intervals\n Return:\n None\n Raise:\n SubCommandFailure: Failed configuring aaa accounting update periodic\n ", + "module_name": "aaa.configure", + "package": "genie.libs.sdk.apis", + "uid": "configure_aaa_accounting_update_periodic_interval", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/aaa/configure.py#L2715" + } + }, "configure_aaa_attr_list": { "iosxe": { "doc": " configure Attribute list with type\n Args:\n device (`obj`): Device object\n attr_list_name ('str'): Attribute list name\n attr_type ('str'): Attribute type\n secure_type ('str'): Secure type\n\n Return:\n None\n\n Raise:\n SubCommandFailure: Failed configuring Attribute list with type\n\n ", @@ -2245,7 +2299,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "configure_access_map_match_ip_address_action_forward", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1502" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1532" } }, "configure_access_session_acl_default_passthrough": { @@ -2263,7 +2317,7 @@ "module_name": "aaa.configure", "package": "genie.libs.sdk.apis", "uid": "configure_access_session_attr_filter_list", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/aaa/configure.py#L2570" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/aaa/configure.py#L2572" } }, "configure_access_session_limit": { @@ -2362,7 +2416,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "configure_acl_with_ip_any", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1953" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1983" } }, "configure_acl_with_src_dsc_net": { @@ -2371,7 +2425,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "configure_acl_with_src_dsc_net", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1546" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1576" } }, "configure_action_string": { @@ -2380,7 +2434,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_action_string", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2624" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2586" } }, "configure_action_syslog_msg": { @@ -2389,7 +2443,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_action_syslog_msg", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2598" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2560" } }, "configure_active_timer_under_et_analytics": { @@ -2473,13 +2527,22 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/apphosting/configure.py#L271" } }, + "configure_app_management_networking": { + "iosxe": { + "doc": " \n Args:\n device ('obj'): device to use\n app_name('str'): WORD no description\n auto_start('str'): Application start\n Returns:\n None\n Raises:\n SubCommandFailure \n ", + "module_name": "apphosting.configure", + "package": "genie.libs.sdk.apis", + "uid": "configure_app_management_networking", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/apphosting/configure.py#L420" + } + }, "configure_archive_default": { "iosxe": { "doc": " Configure archive default for switch\n Args:\n device ('obj'): Device object\n archive_option ('str'): archive options\n ex:)\n log Logging commands\n maximum maximum number of backup copies\n path path for backups\n rollback Rollback parameters\n time-period Period of time in minutes to automatically archive the running-config\n write-memory Enable automatic backup generation during write memory\n archive_subcmd('str'): if archive_option is rollback\n ex:)\n filter Rollback filter parameter\n retry Rollback retry parameters\n Returns:\n None\n Raises:\n SubCommandFailure\n ", "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_archive_default", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2134" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2096" } }, "configure_archive_logging": { @@ -2488,7 +2551,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_archive_logging", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L482" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L461" } }, "configure_archive_maximum": { @@ -2497,7 +2560,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_archive_maximum", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2224" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2186" } }, "configure_archive_path": { @@ -2506,7 +2569,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_archive_path", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2174" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2136" } }, "configure_archive_rollback": { @@ -2515,7 +2578,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_archive_rollback", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2267" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2229" } }, "configure_archive_time_period": { @@ -2524,7 +2587,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_archive_time_period", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2320" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2282" } }, "configure_archive_write_memory": { @@ -2533,7 +2596,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_archive_write_memory", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2365" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2327" } }, "configure_arp_access_list_permit_ip_host": { @@ -2551,7 +2614,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "configure_arp_acl", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1968" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1998" } }, "configure_arp_timeout": { @@ -2569,7 +2632,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "configure_as_path_acl", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1678" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1708" } }, "configure_attachment_circuit_vfi": { @@ -2723,7 +2786,7 @@ "module_name": "configure", "package": "genie.libs.sdk.apis", "uid": "configure_autoboot", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/asr1k/configure.py#L7" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/asr1k/configure.py#L8" } } }, @@ -2760,7 +2823,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_banner", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4590" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4353" } }, "configure_bba_group": { @@ -2769,7 +2832,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_bba_group", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L125" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L124" } }, "configure_bba_group_session_auto_cleanup": { @@ -2778,7 +2841,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_bba_group_session_auto_cleanup", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4757" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4520" } }, "configure_bfd_neighbor_on_interface": { @@ -3147,7 +3210,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_boot_manual", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L32" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L31" } }, "configure_boot_manual_switch": { @@ -3156,7 +3219,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_boot_manual_switch", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4259" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4137" } }, "configure_boot_system_image_file": { @@ -3165,7 +3228,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_boot_system_image_file", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4723" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4486" } }, "configure_boot_system_switch_all_flash": { @@ -3174,7 +3237,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_boot_system_switch_all_flash", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1216" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1195" } }, "configure_boot_system_switch_switchnumber": { @@ -3183,7 +3246,27 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_boot_system_switch_switchnumber", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3667" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3545" + } + }, + "configure_breakout_cli": { + "iosxe": { + "cat8k": { + "doc": " Configure breakout \n Args:\n device ('obj'): Device object\n port_type ('str'): Option can be all, native_port_0, native_port_4, native_port_8\n sub_slot ('str',optional): Option can be 0/2\n breakout_type ('str',optional): Option can be 10g\n Returns:\n None\n Raises:\n SubCommandFailure\n ", + "module_name": "configure", + "package": "genie.libs.sdk.apis", + "uid": "configure_breakout_cli", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cat8k/configure.py#L8" + } + } + }, + "configure_bridge_domain": { + "iosxe": { + "doc": " bridge-domain\n Args:\n device (`obj`): Device object\n domain_number (`str`): bridge-domain number\n Returns:\n None\n Raises:\n SubCommandFailure:Could not config bridge-domain on device\n ", + "module_name": "platform.configure", + "package": "genie.libs.sdk.apis", + "uid": "configure_bridge_domain", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4545" } }, "configure_broadband_aaa": { @@ -3192,7 +3275,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_broadband_aaa", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L272" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L271" } }, "configure_bulkstat_profile": { @@ -3201,7 +3284,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_bulkstat_profile", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L916" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L895" } }, "configure_by_jinja2": { @@ -3219,7 +3302,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_call_admission", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L218" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L217" } }, "configure_call_home": { @@ -3453,7 +3536,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_call_home_reporting", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3229" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3107" } }, "configure_call_home_site_id": { @@ -3510,7 +3593,7 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/ios/cdp/configure.py#L11" }, "iosxe": { - "doc": " Enables cdp on target device\n Args:\n device ('obj'): Device object\n Returns:\n None\n ", + "doc": " Enables cdp on target device\n Args:\n device ('obj'): Device object\n interfaces ('list', optional): List of interfaces. Default is None\n timeout ('int', optional): Timeout value for show interfaces parser. Default is 300 seconds\n Returns:\n None\n ", "module_name": "cdp.configure", "package": "genie.libs.sdk.apis", "uid": "configure_cdp", @@ -3537,7 +3620,7 @@ "module_name": "cdp.configure", "package": "genie.libs.sdk.apis", "uid": "configure_cdp_holdtime", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cdp/configure.py#L186" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cdp/configure.py#L190" } }, "configure_cdp_interface": { @@ -3546,7 +3629,7 @@ "module_name": "cdp.configure", "package": "genie.libs.sdk.apis", "uid": "configure_cdp_interface", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cdp/configure.py#L71" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cdp/configure.py#L75" } }, "configure_cdp_neighbors": { @@ -3555,7 +3638,7 @@ "module_name": "cdp.configure", "package": "genie.libs.sdk.apis", "uid": "configure_cdp_neighbors", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cdp/configure.py#L120" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cdp/configure.py#L124" } }, "configure_cdp_timer": { @@ -3564,7 +3647,7 @@ "module_name": "cdp.configure", "package": "genie.libs.sdk.apis", "uid": "configure_cdp_timer", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cdp/configure.py#L152" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cdp/configure.py#L156" } }, "configure_class_map": { @@ -3618,7 +3701,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_clear_logging_onboard_switch_environment", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1127" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1106" } }, "configure_clear_logging_onboard_switch_temperature": { @@ -3627,7 +3710,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_clear_logging_onboard_switch_temperature", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1068" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1047" } }, "configure_clear_logging_onboard_switch_voltage": { @@ -3636,7 +3719,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_clear_logging_onboard_switch_voltage", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1097" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1076" } }, "configure_client_details": { @@ -3663,7 +3746,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_clock_timezone", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1537" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1518" } }, "configure_coa": { @@ -3681,7 +3764,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_commands_to_template", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1728" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1709" } }, "configure_common_criteria_policy": { @@ -3756,13 +3839,22 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/mdns/configure.py#L1361" } }, + "configure_controller_shutdown": { + "iosxe": { + "doc": " Configures the shutdown/no shutdown for VDSL interface\n Args:\n device ('obj'): device to use\n interface ('str'): controller vdsl interface\n shutdown ('bool', optional) : true/false need to be send. default is false/Shutdown\n Returns:\n None\n Raises:\n SubCommandFailure\n ", + "module_name": "vdsl.configure", + "package": "genie.libs.sdk.apis", + "uid": "configure_controller_shutdown", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/vdsl/configure.py#L8" + } + }, "configure_cos": { "iosxe": { "doc": " config COS setting on device\n Args:\n device ('obj'): Device object\n priority_value('int'): Priority number\n ex:)\n <0-7> priority value\n\n Returns:\n None\n Raises:\n SubCommandFailure\n ", "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_cos", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4450" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4328" } }, "configure_crypto_ikev2_NAT_keepalive": { @@ -3771,7 +3863,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_crypto_ikev2_NAT_keepalive", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L811" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L819" } }, "configure_crypto_ikev2_keyring": { @@ -3852,7 +3944,7 @@ "module_name": "gdoi.configure", "package": "genie.libs.sdk.apis", "uid": "configure_crypto_map_for_gdoi", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/gdoi/configure.py#L220" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/gdoi/configure.py#L237" } }, "configure_crypto_map_on_interface": { @@ -3987,7 +4079,7 @@ "module_name": "snmp.configure", "package": "genie.libs.sdk.apis", "uid": "configure_debug_snmp_packets", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py#L434" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py#L442" } }, "configure_default_gateway": { @@ -4050,7 +4142,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_default_stack_power_switch_power_priority", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3493" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3371" } }, "configure_default_switchport_trunk_vlan": { @@ -4095,7 +4187,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_device_classifier", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L779" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L758" } }, "configure_device_classifier_command": { @@ -4104,7 +4196,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_device_classifier_command", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4087" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3965" } }, "configure_device_sensor_filter_list": { @@ -4275,7 +4367,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_diagnostic_bootup_level_minimal", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4433" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4311" } }, "configure_diagnostic_monitor_switch": { @@ -4284,7 +4376,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_diagnostic_monitor_switch", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3311" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3189" } }, "configure_diagnostic_monitor_syslog": { @@ -4293,7 +4385,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_diagnostic_monitor_syslog", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3950" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3828" } }, "configure_diagnostic_schedule_switch": { @@ -4302,7 +4394,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_diagnostic_schedule_switch", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3363" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3241" } }, "configure_diagonistics_monitor_switch": { @@ -4311,7 +4403,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_diagonistics_monitor_switch", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L360" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L339" } }, "configure_dialer_interface": { @@ -4347,7 +4439,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_disable_nat_scale", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L989" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L997" } }, "configure_disable_sci_dot1q_clear": { @@ -4365,7 +4457,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_distribute_prefix_list_under_ospf", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1808" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1811" } }, "configure_dope_wrsp": { @@ -4374,7 +4466,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_dope_wrsp", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L94" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L93" } }, "configure_dot1x_cred_int": { @@ -4446,7 +4538,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_dynamic_nat_interface_overload_route_map_rule", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L412" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L420" } }, "configure_dynamic_nat_outside_rule": { @@ -4455,7 +4547,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_dynamic_nat_outside_rule", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L941" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L949" } }, "configure_dynamic_nat_pool_overload_route_map_rule": { @@ -4464,7 +4556,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_dynamic_nat_pool_overload_route_map_rule", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L363" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L371" } }, "configure_dynamic_nat_route_map_rule": { @@ -4473,7 +4565,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_dynamic_nat_route_map_rule", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L315" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L323" } }, "configure_dynamic_nat_rule": { @@ -4482,7 +4574,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_dynamic_nat_rule", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L549" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L557" } }, "configure_dynamic_path_in_tunnel": { @@ -4653,7 +4745,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_enable_http_server", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1485" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1466" } }, "configure_enable_nat_scale": { @@ -4662,7 +4754,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_enable_nat_scale", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L516" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L524" } }, "configure_enable_policy_password": { @@ -4680,7 +4772,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_enable_secret_password", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3213" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3091" } }, "configure_encapsulation_mpls_ldp": { @@ -4734,7 +4826,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_event_manager_applet", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3060" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2938" } }, "configure_event_manager_applet_event_none": { @@ -4743,7 +4835,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_event_manager_applet_event_none", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2573" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2535" } }, "configure_evpn_default_gateway_advertise_global": { @@ -4761,7 +4853,7 @@ "module_name": "evpn.configure", "package": "genie.libs.sdk.apis", "uid": "configure_evpn_ethernet_segment", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L961" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L962" } }, "configure_evpn_evi_replication_type": { @@ -4779,7 +4871,7 @@ "module_name": "evpn.configure", "package": "genie.libs.sdk.apis", "uid": "configure_evpn_floodsuppress_dhcprelay_disable_globally", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L903" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L904" } }, "configure_evpn_instance": { @@ -4788,7 +4880,7 @@ "module_name": "evpn.configure", "package": "genie.libs.sdk.apis", "uid": "configure_evpn_instance", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L747" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L748" } }, "configure_evpn_instance_encapsulation_type": { @@ -4806,7 +4898,7 @@ "module_name": "evpn.configure", "package": "genie.libs.sdk.apis", "uid": "configure_evpn_instance_evi", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L1071" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L1072" } }, "configure_evpn_instance_vlan_based_flood_suppression": { @@ -4833,12 +4925,12 @@ "module_name": "evpn.configure", "package": "genie.libs.sdk.apis", "uid": "configure_evpn_l2_instance_bd_association", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L841" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L842" } }, "configure_evpn_l2_instance_vlan_association": { "iosxe": { - "doc": " Configure configure VLAN association to EVPN instance\n Args:\n device (`obj`): Device object\n vlan_id (`int`): Vlan id\n evpn_instance('int'): EVPN Instance id\n vni_id('int'): VNI id\n\n Returns:\n None\n\n Raises:\n SubCommandFailure\n\n ", + "doc": " Configure configure VLAN association to EVPN instance\n Args:\n device (`obj`): Device object\n vlan_id (`int`): Vlan id\n evpn_instance('int'): EVPN Instance id\n vni_id('int'): VNI id\n protected('bool'): protected knob True or False \n Returns:\n None\n\n Raises:\n SubCommandFailure\n ", "module_name": "evpn.configure", "package": "genie.libs.sdk.apis", "uid": "configure_evpn_l2_instance_vlan_association", @@ -4851,7 +4943,7 @@ "module_name": "evpn.configure", "package": "genie.libs.sdk.apis", "uid": "configure_evpn_l3_instance_vlan_association", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L444" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L445" } }, "configure_evpn_replication_type": { @@ -4896,7 +4988,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "configure_extended_acl", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1908" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1938" } }, "configure_filter_vlan_list": { @@ -4905,7 +4997,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "configure_filter_vlan_list", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1526" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1556" } }, "configure_fips_authorization_key": { @@ -5081,7 +5173,7 @@ }, "configure_gdoi_group": { "iosxe": { - "doc": " Configures Crypto Gdoi Group\n Args:\n device (`obj`): Device object\n group_name ('str'): gdoi group name\n ident_num ('str', optional): Identity number of gdoi group\n server_ipv4_address ('str', optional): Set ipv4 server address\n server_local ('bool', optional): Configure server local. Default is False\n rekey_algo ('str', optional): Configure rekey algorithm\n rekey_lifetime_sec ('str', optional): Configure rekey lifetime in seconds\n rekey_retransmit ('str', optional): Configure rekey retransmit periodic\n rekey_retransmit_number ('str', optional): Configure rekey retransmit number\n rekey_auth_key ('str', optional): Configure authentication key\n rekey_transport_unicast ('bool', optional): Configure rekey transport as unicast. Default is False\n sa_ipsec_seq ('str',optional): Configure sa ipsec sequence number\n sa_ipsec_profile ('str', optional): configure ipsec profile on gdoi group\n sa_ipsec_match_ipv4 ('str', optional): Set ipv4 match address\n sa_ipsec_match_ipv6 ('str', optional): Set ipv6 match address\n sa_ipsec_replay ('bool', optional): Set to True if sa replay needs to configured. Default is False\n sa_ipsec_replay_time ('str', optional): Set replay time window size\n sa_ipsec_tag ('bool', optional): Set tag. Default is False\n server_local_addr ('str', optional): Set server local address\n server_local_redundancy ('bool', optional): Set redundancy in local server. Default is False\n server_local_redundancy_local_prior ('str', optional): set local priority value for redundancy\n server_local_redundancy_peer_addr ('str', optional): set peer address value for redundancy\n server_local_identifier ('bool', optional): Configure identifier. Default is False\n server_local_identifier_range ('str', optional): set server local identifier range\n server_local_identifier_val ('str', optional): set server local identifier value\n Returns:\n\t\t\tTrue/False\n Raises:\n SubCommandFailure\n ", + "doc": " Configures Crypto Gdoi Group\n Args:\n device (`obj`): Device object\n group_name ('str'): gdoi group name\n ident_num ('str', optional): Identity number of gdoi group\n server_ipv4_address ('str', optional): Set ipv4 server address\n server_local ('bool', optional): Configure server local. Default is False\n rekey_algo ('str', optional): Configure rekey algorithm\n rekey_lifetime_sec ('str', optional): Configure rekey lifetime in seconds\n rekey_retransmit ('str', optional): Configure rekey retransmit periodic\n rekey_retransmit_number ('str', optional): Configure rekey retransmit number\n rekey_auth_key ('str', optional): Configure authentication key\n rekey_transport_unicast ('bool', optional): Configure rekey transport as unicast. Default is False\n sa_ipsec_seq ('str',optional): Configure sa ipsec sequence number\n sa_ipsec_profile ('str', optional): configure ipsec profile on gdoi group\n sa_ipsec_match_ipv4 ('str', optional): Set ipv4 match address\n sa_ipsec_match_ipv6 ('str', optional): Set ipv6 match address\n sa_ipsec_replay ('bool', optional): Set to True if sa replay needs to configured. Default is False\n sa_ipsec_replay_time ('str', optional): Set replay time window size\n sa_ipsec_tag ('bool', optional): Set tag. Default is False\n server_local_addr ('str', optional): Set server local address\n server_local_redundancy ('bool', optional): Set redundancy in local server. Default is False\n server_local_redundancy_local_prior ('str', optional): set local priority value for redundancy\n server_local_redundancy_peer_addr ('str', optional): set peer address value for redundancy\n server_local_identifier ('bool', optional): Configure identifier. Default is False\n server_local_identifier_range ('str', optional): set server local identifier range\n server_local_identifier_val ('str', optional): set server local identifier value\n gikev2_profile ('str', optional): Set gikev2 profile\n rekey_address_acl ('str', optional): Set rekey ipv4 address\n gikev2_client ('str', optional): Set gikev2 profile for GM\n pfs ('bool', optional): Set to True to enable PFS\n Returns:\n\t\t\tTrue/False\n Raises:\n SubCommandFailure\n ", "module_name": "gdoi.configure", "package": "genie.libs.sdk.apis", "uid": "configure_gdoi_group", @@ -5166,7 +5258,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_graceful_reload", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4687" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4450" } }, "configure_graceful_reload_interval": { @@ -5175,7 +5267,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_graceful_reload_interval", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4413" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4291" } }, "configure_host_ip_to_sgt_mapping": { @@ -5247,7 +5339,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_hw_switch_logging_onboard", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1402" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1383" } }, "configure_hw_switch_switch_logging_onboard_environment": { @@ -5256,7 +5348,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_hw_switch_switch_logging_onboard_environment", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L992" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L971" } }, "configure_hw_switch_switch_logging_onboard_temperature": { @@ -5265,7 +5357,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_hw_switch_switch_logging_onboard_temperature", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1030" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1009" } }, "configure_hw_switch_switch_logging_onboard_voltage": { @@ -5274,7 +5366,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_hw_switch_switch_logging_onboard_voltage", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L953" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L932" } }, "configure_icmp_ip_reachables": { @@ -5409,7 +5501,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_interface_VirtualPortGroup", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1625" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1606" } }, "configure_interface_auth_vlan": { @@ -5553,7 +5645,7 @@ "module_name": "evpn.configure", "package": "genie.libs.sdk.apis", "uid": "configure_interface_evpn_ethernet_segment", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L991" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L992" } }, "configure_interface_flow_control": { @@ -5628,6 +5720,15 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/dhcp/configure.py#L1187" } }, + "configure_interface_ip_nbar": { + "iosxe": { + "doc": " Configure ip nbar on an interface\n\n Args:\n device (`obj`): Device object\n interface (`str`): Interface to get address\n\n Returns:\n None\n Warning messages\n\n Raises:\n SubCommandFailure\n ", + "module_name": "interface.configure", + "package": "genie.libs.sdk.apis", + "uid": "configure_interface_ip_nbar", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/interface/configure.py#L9430" + } + }, "configure_interface_ip_tcp_adjust_mss": { "iosxe": { "doc": " Configure ip tcp adjust-mss on interface\n Args:\n device ('obj') : device to use\n interface ('str') : interface to configure\n mss_size('int') : Maximum segment size in bytes\n Returns:\n None\n Raises:\n SubCommandFailure\n ", @@ -5688,7 +5789,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "configure_interface_ipv6_acl", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1595" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1625" } }, "configure_interface_ipv6_isis_router_name": { @@ -5805,7 +5906,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_interface_macro", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L559" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L538" } }, "configure_interface_macro_auto_port_sticky": { @@ -5904,7 +6005,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_interface_ospfv3_ipsec_ah", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2147" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2150" } }, "configure_interface_ospfv3_ipsec_esp": { @@ -5913,7 +6014,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_interface_ospfv3_ipsec_esp", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2184" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2187" } }, "configure_interface_passive": { @@ -5940,7 +6041,7 @@ "module_name": "mcast.configure", "package": "genie.libs.sdk.apis", "uid": "configure_interface_pim", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/mcast/configure.py#L133" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/mcast/configure.py#L163" } }, "configure_interface_point_to_point": { @@ -5988,6 +6089,15 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/interface/configure.py#L4280" } }, + "configure_interface_range_no_switchport": { + "iosxe": { + "doc": " Configure interface range no switchport \n Args:\n device ('obj'): device to use\n start_interface('str'): Starting Interface\n end_interface('str'): Ending Interface number\n Returns:\n None\n Raises:\n SubCommandFailure\n ", + "module_name": "interface.configure", + "package": "genie.libs.sdk.apis", + "uid": "configure_interface_range_no_switchport", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/interface/configure.py#L9509" + } + }, "configure_interface_reg_segment": { "iosxe": { "doc": " Config Reg segment on interface\n Args:\n device ('obj'): Device object\n interface ('str'): Interface name\n segment_no ('int'): rep segment number\n edge('bool'): edge preferred. Default is False\n preferred ('bool'): neighbor preferred . Default is False\n Returns:\n None\n Raises:\n SubCommandFailure\n ", @@ -6303,6 +6413,15 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/flexvpn/configure.py#L13" } }, + "configure_interface_vlan": { + "iosxe": { + "doc": " Configures interface vlan id\n Example : interface vlan 1\n Args:\n device ('obj'): device to use\n vlan_id ('int'): Vlan interface number (Range: 1-4093)\n Returns:\n None\n Raises:\n SubCommandFailure\n ", + "module_name": "interface.configure", + "package": "genie.libs.sdk.apis", + "uid": "configure_interface_vlan", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/interface/configure.py#L9487" + } + }, "configure_interface_vlan_standby_ip": { "iosxe": { "doc": " Configures vlan interface standby group IP\n Example: standby 0 ip 10.1.0.3\n\n Args:\n device ('obj'): Device object\n vlan_number ('int'): Vlan interface number (Range 1-4093) \n group ('int'): Group number (Range 0-255)\n ip_address ('str'): Virtual IP address\n\n Return:\n None\n\n Raise:\n SubCommandFailure\n ", @@ -6414,7 +6533,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ip_access_group_in_out", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1718" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1726" } }, "configure_ip_acl": { @@ -6423,7 +6542,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ip_acl", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1795" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1825" } }, "configure_ip_arp_inspection_filter": { @@ -6570,6 +6689,15 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/dhcp/configure.py#L729" } }, + "configure_ip_dhcp_snooping_information_option_allow_untrusted_global": { + "iosxe": { + "doc": " Configure ip dhcp snooping information option allow-untrusted on device\n Args:\n device ('obj'): Device object\n Returns:\n None\n Raises:\n SubCommandFailure: Failed configuring dhcp snooping information option allow-untrusted on device\n ", + "module_name": "dhcp.configure", + "package": "genie.libs.sdk.apis", + "uid": "configure_ip_dhcp_snooping_information_option_allow_untrusted_global", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/dhcp/configure.py#L1428" + } + }, "configure_ip_dhcp_snooping_limit": { "iosxe": { "doc": " Configure DHCP snooping limit on interface\n Configure 'ip dhcp snooping limit' on interface\n Args:\n device ('obj'): device to use\n interface ('str'): interface to configure\n rate_limit('int'): DHCP snooping rate limit\n Returns:\n None\n Raises:\n SubCommandFailure: Failed configuring DHCP snooping limit rate on interface\n ", @@ -6603,7 +6731,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ip_domain_name", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2832" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2794" } }, "configure_ip_domain_name_vrf_mgmt_vrf": { @@ -6612,7 +6740,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ip_domain_name_vrf_mgmt_vrf", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2850" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2812" } }, "configure_ip_domain_timeout": { @@ -6657,7 +6785,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ip_http_client_source_interface", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2942" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2904" } }, "configure_ip_http_client_source_interface_vlan_domain_lookup": { @@ -6666,7 +6794,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ip_http_client_source_interface_vlan_domain_lookup", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2885" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2847" } }, "configure_ip_http_client_source_interface_vlan_domain_lookup_name_server_vrf_mgmt_vrf": { @@ -6675,7 +6803,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ip_http_client_source_interface_vlan_domain_lookup_name_server_vrf_mgmt_vrf", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2921" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2883" } }, "configure_ip_http_secure_server": { @@ -6864,7 +6992,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ip_local_pool", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L50" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L49" } }, "configure_ip_msdp_cache_sa_state": { @@ -6905,11 +7033,11 @@ }, "configure_ip_multicast_routing_distributed": { "iosxe": { - "doc": "Configure IP multicast routing\n Args:\n device (`obj`): Device object\n no_spd (): If True, turn off selective packet discard. Default False.\n punt_limit (`str` or `int`): Punt limit. Acceptable values are:\n integer (packets per second)\n default\n disable\n Return:\n None\n Raise:\n SubCommandFailure: Failure while configuring\n ", - "module_name": "multicast.configure", + "doc": " configure ip multicast routing on device\n Args:\n device (`obj`): Device object\n Returns:\n None\n ", + "module_name": "mcast.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ip_multicast_routing_distributed", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/multicast/configure.py#L450" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/mcast/configure.py#L48" } }, "configure_ip_multicast_vrf_routing": { @@ -6918,7 +7046,7 @@ "module_name": "mcast.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ip_multicast_vrf_routing", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/mcast/configure.py#L48" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/mcast/configure.py#L78" } }, "configure_ip_name_server": { @@ -6936,7 +7064,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ip_name_server_vrf", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2868" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2830" } }, "configure_ip_on_tunnel_interface": { @@ -6954,7 +7082,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ip_ospf_mtu_ignore", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1471" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1474" } }, "configure_ip_pim_bsr_candidate": { @@ -7017,7 +7145,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ip_prefix_list", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L889" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L891" } }, "configure_ip_prefix_list_deny_permit": { @@ -7071,7 +7199,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ip_source_binding", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4220" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4098" } }, "configure_ip_ssh_version": { @@ -7080,7 +7208,7 @@ "module_name": "management.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ip_ssh_version", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/management/configure.py#L885" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/management/configure.py#L894" } }, "configure_ip_subnet_to_sgt_mapping_vrf": { @@ -7098,7 +7226,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ip_tftp_blocksize", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1444" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1425" } }, "configure_ip_to_sgt_mapping_vrf": { @@ -7305,7 +7433,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ipv6_acl", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L372" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L402" } }, "configure_ipv6_acl_on_interface": { @@ -7416,6 +7544,42 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/interface/configure.py#L2371" } }, + "configure_ipv6_dhcp_relay_destination_ipv6address": { + "iosxe": { + "doc": " Configure interface ipv6 dhcp relay destination ipv6 address \n Args:\n device ('obj'): device to use\n interface ('str'): name of the interface to be configured # example Vlan100\"\n ipv6_address ('str'): IPv6 destination address Ex: 20::1\n vrf_name ('str',Optional): vrf name Ex: green\n Returns:\n None\n Raises:\n SubCommandFailure: Failed to configure ipv6 dhcp relay destination ipv6 address\n ", + "module_name": "dhcpv6.configure", + "package": "genie.libs.sdk.apis", + "uid": "configure_ipv6_dhcp_relay_destination_ipv6address", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/dhcpv6/configure.py#L554" + } + }, + "configure_ipv6_dhcp_relay_option_vpn": { + "iosxe": { + "doc": " Configures ipv6 dhcp relay option vpn\n Args:\n device ('obj'): device to use\n interface ('str'): interface name\n Returns:\n None\n Raises:\n SubCommandFailure\n ", + "module_name": "dhcpv6.configure", + "package": "genie.libs.sdk.apis", + "uid": "configure_ipv6_dhcp_relay_option_vpn", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/dhcpv6/configure.py#L480" + } + }, + "configure_ipv6_dhcp_relay_source_interface_intf_id": { + "iosxe": { + "doc": " Configure interface ipv6 dhcp relay source interface intf_id \n Args:\n device ('obj'): device to use\n interface ('str'): name of the interface to be configured # example Vlan100\"\n intf_id ('str'): Set source interface for relayed messages for interface ex: Loopback1 interface\n Returns:\n None\n Raises:\n SubCommandFailure: Failed to configure ipv6 dhcp relay source-interface intf_id\n ", + "module_name": "dhcpv6.configure", + "package": "genie.libs.sdk.apis", + "uid": "configure_ipv6_dhcp_relay_source_interface_intf_id", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/dhcpv6/configure.py#L514" + } + }, + "configure_ipv6_dhcp_relay_trust": { + "iosxe": { + "doc": " Configures ipv6 dhcp relay trust\n Args:\n device ('obj'): device to use\n interface ('str'): interface name\n Returns:\n None\n Raises:\n SubCommandFailure\n ", + "module_name": "dhcpv6.configure", + "package": "genie.libs.sdk.apis", + "uid": "configure_ipv6_dhcp_relay_trust", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/dhcpv6/configure.py#L446" + } + }, "configure_ipv6_eigrp_named_networks": { "iosxe": { "doc": " Configures eigrp on networks\n Args:\n device ('obj'): Device to use\n eigrp_name ('str'): EIGRP named mode name\n autonomous_system ('str'): Autonomous system number\n protocol_name ('str',optional): protocol should mention\n autonomous_system_number ('str',optional): Autonomous system number \n\t af_action ('str',optional): unicast or multicast (Default is '')\n bandwidth ('str',optional): bandwidth\n topology_name ('str',optional): topology name\n\t \n \n Returns:\n N/A\n Raises:\n SubCommandFailure\n ", @@ -7692,7 +7856,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ipv6_ospf_bfd", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1260" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1263" } }, "configure_ipv6_ospf_mtu_ignore": { @@ -7701,7 +7865,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ipv6_ospf_mtu_ignore", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1318" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1321" } }, "configure_ipv6_ospf_router_id": { @@ -7710,7 +7874,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ipv6_ospf_router_id", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1988" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1991" } }, "configure_ipv6_ospf_routing_on_interface": { @@ -7719,7 +7883,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ipv6_ospf_routing_on_interface", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1376" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1379" } }, "configure_ipv6_pim_bsr_candidate_bsr": { @@ -7818,7 +7982,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ipxe_forever", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L424" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L403" } }, "configure_ipxe_timeout": { @@ -7827,7 +7991,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ipxe_timeout", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L406" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L385" } }, "configure_isakmp_key": { @@ -8014,7 +8178,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_key_config_key_password_encrypt", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3165" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3043" } }, "configure_l2vpn_evpn": { @@ -8041,7 +8205,7 @@ "module_name": "evpn.configure", "package": "genie.libs.sdk.apis", "uid": "configure_l2vpn_evpn_flooding_suppression", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L726" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L727" } }, "configure_l2vpn_evpn_router_id": { @@ -8221,7 +8385,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_license_smart_transport_off", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2762" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2724" } }, "configure_license_smart_transport_smart": { @@ -8275,7 +8439,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_line_vty", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3272" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3150" } }, "configure_line_vty_needs_enhancement": { @@ -8284,7 +8448,7 @@ "module_name": "management.configure", "package": "genie.libs.sdk.apis", "uid": "configure_line_vty_needs_enhancement", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/management/configure.py#L921" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/management/configure.py#L930" } }, "configure_lineconsole_exectimeout": { @@ -8458,7 +8622,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_logging_buffered_persistent_url", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4394" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4272" } }, "configure_logging_console": { @@ -8521,7 +8685,7 @@ "module_name": "snmp.configure", "package": "genie.libs.sdk.apis", "uid": "configure_logging_snmp_trap", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py#L530" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py#L538" } }, "configure_login_log": { @@ -8539,7 +8703,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "configure_mac_access_group_mac_acl_in_out", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1448" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1478" } }, "configure_mac_acl": { @@ -8548,7 +8712,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "configure_mac_acl", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1470" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1500" } }, "configure_mac_address_change_interval": { @@ -8638,7 +8802,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_macro_auto_global_processing", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3754" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3632" } }, "configure_macro_auto_global_processing_on_interface": { @@ -8647,7 +8811,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_macro_auto_global_processing_on_interface", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3716" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3594" } }, "configure_macro_auto_processing_on_interface": { @@ -8656,7 +8820,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_macro_auto_processing_on_interface", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3893" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3771" } }, "configure_macro_auto_sticky": { @@ -8665,7 +8829,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_macro_auto_sticky", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L743" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L722" } }, "configure_macro_global_apply": { @@ -8674,7 +8838,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_macro_global_apply", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1868" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1849" } }, "configure_management": { @@ -8683,7 +8847,7 @@ "module_name": "management.configure", "package": "genie.libs.sdk.apis", "uid": "configure_management", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/management/configure.py#L660" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/management/configure.py#L669" } }, "configure_management_credentials": { @@ -8704,6 +8868,15 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/management/configure.py#L243" } }, + "configure_management_gnmi": { + "iosxe": { + "doc": "\n Configure device for management via gnmi.\n\n Args:\n device ('obj'): device object\n enable ('bool', optional): Enable and start GNxI. Default is True.\n server ('bool', optional): Enable the GNxI (insecure) server. Default is True.\n port ('int', optional): gnxi (insecure) server port. Default is None.\n Returns:\n None\n ", + "module_name": "management.configure", + "package": "genie.libs.sdk.apis", + "uid": "configure_management_gnmi", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/management/configure.py#L972" + } + }, "configure_management_http": { "iosxe": { "doc": "\n Configure device for management via http.\n\n Args:\n device ('obj'): device object\n source_interface ('str'): management interface (optional)\n\n Returns:\n None\n ", @@ -8818,7 +8991,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_maximum_path_under_ospf", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1179" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1182" } }, "configure_maximum_prefix_to_bgp_neighbor": { @@ -8836,7 +9009,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_mdix_auto", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4293" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4171" } }, "configure_mdns": { @@ -9181,6 +9354,17 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/multicast/configure.py#L1956" } }, + "configure_mode_change": { + "iosxe": { + "cat8k": { + "doc": " Configure mode change \n Args:\n device ('obj'): Device object\n sub_slot ('str'): Option can be 0/1, 0/2\n mode_type ('str'): Option can be 10G, 40G, 100G\n Returns:\n None\n Raises:\n SubCommandFailure\n ", + "module_name": "configure", + "package": "genie.libs.sdk.apis", + "uid": "configure_mode_change", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cat8k/configure.py#L73" + } + } + }, "configure_mode_to_eEdge": { "iosxe": { "doc": " Convert the configuration mode to eEdge\n Args:\n device ('obj'): device to use\n Returns:\n None\n Raises:\n SubCommandFailure: Failed to Convert the configuration mode to eEdge\n ", @@ -9196,7 +9380,7 @@ "module_name": "ike.configure", "package": "genie.libs.sdk.apis", "uid": "configure_modify_ikev2_profile", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ike/configure.py#L1330" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ike/configure.py#L1368" } }, "configure_monitor_capture": { @@ -9403,7 +9587,7 @@ "module_name": "management.configure", "package": "genie.libs.sdk.apis", "uid": "configure_mtc", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/management/configure.py#L765" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/management/configure.py#L774" } }, "configure_multicast_routing_mvpn_vrf": { @@ -9421,7 +9605,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_nat64_interface", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1111" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1119" } }, "configure_nat64_nd_ra_prefix": { @@ -9430,7 +9614,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_nat64_nd_ra_prefix", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1624" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1632" } }, "configure_nat64_prefix_stateful": { @@ -9439,7 +9623,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_nat64_prefix_stateful", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1153" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1161" } }, "configure_nat64_translation_timeout": { @@ -9448,7 +9632,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_nat64_translation_timeout", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1540" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1548" } }, "configure_nat64_v4_list_pool": { @@ -9457,7 +9641,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_nat64_v4_list_pool", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1385" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1393" } }, "configure_nat64_v4_list_pool_overload": { @@ -9466,7 +9650,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_nat64_v4_list_pool_overload", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1474" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1482" } }, "configure_nat64_v4_pool": { @@ -9475,7 +9659,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_nat64_v4_pool", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1335" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1343" } }, "configure_nat64_v6v4_static": { @@ -9484,7 +9668,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_nat64_v6v4_static", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1217" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1225" } }, "configure_nat64_v6v4_static_protocol_port": { @@ -9493,7 +9677,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_nat64_v6v4_static_protocol_port", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1277" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1285" } }, "configure_nat_extended_acl": { @@ -9502,7 +9686,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_nat_extended_acl", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L906" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L914" } }, "configure_nat_in_out": { @@ -9520,7 +9704,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_nat_ipv6_acl", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1593" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1601" } }, "configure_nat_overload_rule": { @@ -9547,7 +9731,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_nat_pool_overload_rule", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1057" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1065" } }, "configure_nat_port_route_map_rule": { @@ -9556,7 +9740,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_nat_port_route_map_rule", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L251" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L259" } }, "configure_nat_route_map": { @@ -9565,7 +9749,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_nat_route_map", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L850" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L858" } }, "configure_nat_translation_max_entries": { @@ -9574,7 +9758,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_nat_translation_max_entries", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1902" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1910" } }, "configure_nat_translation_timeout": { @@ -9583,7 +9767,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_nat_translation_timeout", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1011" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1019" } }, "configure_neighbor_under_ospf": { @@ -9592,7 +9776,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_neighbor_under_ospf", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1725" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1728" } }, "configure_netconf_yang": { @@ -9610,7 +9794,7 @@ "module_name": "management.configure", "package": "genie.libs.sdk.apis", "uid": "configure_netconf_yang_intelligent_sync", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/management/configure.py#L855" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/management/configure.py#L864" } }, "configure_network_policy_profile_voice_vlan": { @@ -9637,7 +9821,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_no_boot_manual", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L14" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L13" } }, "configure_no_boot_system_switch_all": { @@ -9646,7 +9830,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_no_boot_system_switch_all", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L322" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L321" } }, "configure_no_ptp_enable_on_interface": { @@ -9730,7 +9914,7 @@ "module_name": "evpn.configure", "package": "genie.libs.sdk.apis", "uid": "configure_nve_interface", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L498" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L499" } }, "configure_nve_interface_group_based_policy": { @@ -9739,7 +9923,16 @@ "module_name": "evpn.configure", "package": "genie.libs.sdk.apis", "uid": "configure_nve_interface_group_based_policy", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L660" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L661" + } + }, + "configure_object_list_schema_transfer_for_bulkstat": { + "iosxe": { + "doc": " Configure object list, schema and transfer for bulkstat\n Args:\n device ('obj'): device to use\n type_('str'): object-list Configure an Object List\n schema Configure Schema definition\n transfer Configure Transfer Parameters\n object_name('str', optional): WORD Name of object list, default value is None\n schema_name('str', optional): WORD Name of the schema, default value is None\n transfer_name('str', optional): WORD Name of bulk transfer, default value is None\n oid_value_list:('list', optional): WORD Object name or OID list, default value is None\n poll_interval('int', optional): Periodicity for the polling of objects in this schema in \n Minutes. (Default value is 5 Mins), default value is None\n snmp_interface('str', optional): Specify instance as ifDescr, default value is None\n format_('str', optional): An ASCII format containing schema definitions, default value is None\n transfer_interval('int', optional): Periodicity for the transfer of bulk data in Minutes, default value is None\n buffer_size('int', optional): Bulkstat data file maximum size(Default size is 2048 bytes), default value is None\n primary_url('str', optional): WORD URL of primary destination, default value is None\n enable('str', optional): Start Data Collection for this Configuration, default value is None \n logging_on('str', optional): Modify message logging facilities, default value is None \n Returns:\n None\n Raises:\n SubCommandFailure\n ", + "module_name": "snmp.configure", + "package": "genie.libs.sdk.apis", + "uid": "configure_object_list_schema_transfer_for_bulkstat", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py#L668" } }, "configure_ospf_area_type": { @@ -9748,7 +9941,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ospf_area_type", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1547" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1550" } }, "configure_ospf_bfd": { @@ -9757,7 +9950,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ospf_bfd", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1091" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1093" } }, "configure_ospf_cost": { @@ -9802,7 +9995,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ospf_max_lsa_limit", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1916" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1919" } }, "configure_ospf_max_metric_router_lsa_on_startup": { @@ -9829,7 +10022,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ospf_network_non_broadcast", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1667" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1670" } }, "configure_ospf_network_point": { @@ -9838,7 +10031,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ospf_network_point", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1033" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1035" } }, "configure_ospf_networks": { @@ -9856,7 +10049,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ospf_nsf_ietf", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1525" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1528" } }, "configure_ospf_passive_interface": { @@ -9886,7 +10079,7 @@ }, "configure_ospf_redistributed_connected": { "iosxe": { - "doc": " configure redistribute connected under ospf\n\n Args:\n device (`obj`): device to execute on\n ospf_process_id (`int`): process id of ospf\n Return:\n None\n\n Raises:\n SubCommandFailure\n ", + "doc": " configure redistribute connected under ospf\n\n Args:\n device (`obj`): device to execute on\n ospf_process_id (`int`): process id of ospf\n vrf ('str',optional): VRF name\n Return:\n None\n\n Raises:\n SubCommandFailure\n ", "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ospf_redistributed_connected", @@ -9899,7 +10092,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ospf_redistributed_eigrp_metric", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2602" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2605" } }, "configure_ospf_redistributed_static": { @@ -9908,7 +10101,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ospf_redistributed_static", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1446" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1449" } }, "configure_ospf_routing": { @@ -9917,7 +10110,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ospf_routing", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L738" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L740" } }, "configure_ospf_routing_on_interface": { @@ -9926,7 +10119,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ospf_routing_on_interface", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L853" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L855" } }, "configure_ospf_vrf": { @@ -9953,7 +10146,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ospfv3_address_family", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L707" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L709" } }, "configure_ospfv3_ipsec_ah": { @@ -9962,7 +10155,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ospfv3_ipsec_ah", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2028" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2031" } }, "configure_ospfv3_ipsec_esp": { @@ -9971,7 +10164,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ospfv3_ipsec_esp", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2065" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2068" } }, "configure_ospfv3_max_lsa_limit": { @@ -9980,7 +10173,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ospfv3_max_lsa_limit", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1896" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1899" } }, "configure_ospfv3_network_point": { @@ -9989,7 +10182,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ospfv3_network_point", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1202" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1205" } }, "configure_ospfv3_network_range": { @@ -9998,7 +10191,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ospfv3_network_range", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2534" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2537" } }, "configure_ospfv3_on_interface": { @@ -10007,7 +10200,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ospfv3_on_interface", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2575" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2578" } }, "configure_ospfv3_redistributed_connected": { @@ -10016,7 +10209,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_ospfv3_redistributed_connected", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1787" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1790" } }, "configure_pac_key": { @@ -10088,7 +10281,7 @@ "module_name": "mcast.configure", "package": "genie.libs.sdk.apis", "uid": "configure_pim_ssm_default", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/mcast/configure.py#L197" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/mcast/configure.py#L227" } }, "configure_pki_authenticate": { @@ -10178,7 +10371,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_platform_qos_port_channel_aggregate", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L174" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L173" } }, "configure_platform_shell": { @@ -10187,7 +10380,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_platform_shell", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2797" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2759" } }, "configure_platform_sudi_cmca3": { @@ -10239,7 +10432,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_policy_map_control", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2681" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2643" } }, "configure_policy_map_on_device": { @@ -10329,7 +10522,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_port_channel_persistent", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2727" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2689" } }, "configure_port_channel_standalone_disable": { @@ -10383,7 +10576,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_power_inline_auto_max", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3079" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2957" } }, "configure_pppoe_enable_interface": { @@ -10437,7 +10630,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_process_cpu_statistics_limit_entry_percentage_size", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3828" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3706" } }, "configure_process_cpu_threshold_type_rising_interval": { @@ -10446,7 +10639,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_process_cpu_threshold_type_rising_interval", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3788" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3666" } }, "configure_protocol_version_optimize_cli_under_gkm_group": { @@ -10590,7 +10783,7 @@ "module_name": "evpn.configure", "package": "genie.libs.sdk.apis", "uid": "configure_pvlan_loadbalancing_ethernetsegment_l2vpn_evpn", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L1011" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L1012" } }, "configure_pvlan_primary": { @@ -10833,7 +11026,7 @@ "module_name": "evpn.configure", "package": "genie.libs.sdk.apis", "uid": "configure_replication_type_on_evi", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L629" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L630" } }, "configure_rip": { @@ -10869,7 +11062,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_route_map", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L977" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L979" } }, "configure_route_map_match_length": { @@ -10977,7 +11170,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_router_ospf_redistribute_internal_external", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1963" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1966" } }, "configure_routing_ip_route": { @@ -11076,7 +11269,7 @@ "module_name": "mcast.configure", "package": "genie.libs.sdk.apis", "uid": "configure_scale_ip_multicast_vrf_distribute_tftp", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/mcast/configure.py#L87" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/mcast/configure.py#L117" } }, "configure_scale_ipv6_accesslist_config": { @@ -11085,7 +11278,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "configure_scale_ipv6_accesslist_config", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1306" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1336" } }, "configure_scale_service_reflection_via_tftp": { @@ -11223,6 +11416,15 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/dhcp/configure.py#L1292" } }, + "configure_service_instance": { + "iosxe": { + "doc": " Configure service instance on an interface\n\n Args:\n device (`obj`): Device object\n interface (`str`): Interface to get address\n service_num (`str`, optional): service instance number to be configured on interface\n dot1q_num (`str`, optional): dot1q encapsulation number to be configured, default value None\n rewrite_option (`str`, optional): rewrite option, default value None\n bridge_dom_num (`str`, optional): bridge-domain number, default value None\n\n Returns:\n None\n Warning messages\n\n Raises:\n SubCommandFailure\n ", + "module_name": "interface.configure", + "package": "genie.libs.sdk.apis", + "uid": "configure_service_instance", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/interface/configure.py#L9352" + } + }, "configure_service_internal": { "iosxe": { "doc": " Configures service internal on device", @@ -11247,7 +11449,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_service_performance", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3131" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3009" } }, "configure_service_policy": { @@ -11283,7 +11485,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_service_template", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2669" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2631" } }, "configure_service_template_linksec": { @@ -11391,7 +11593,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_service_timestamps", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L581" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L560" } }, "configure_set_clock_calendar": { @@ -11400,7 +11602,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_set_clock_calendar", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1511" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1492" } }, "configure_shape_map": { @@ -11463,7 +11665,7 @@ "module_name": "snmp.configure", "package": "genie.libs.sdk.apis", "uid": "configure_snmp_host_version", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py#L381" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py#L389" } }, "configure_snmp_if_index_on_ospfv3_process_id": { @@ -11472,7 +11674,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "configure_snmp_if_index_on_ospfv3_process_id", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2627" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2630" } }, "configure_snmp_mib_bulkstat": { @@ -11481,7 +11683,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_snmp_mib_bulkstat", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L872" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L851" } }, "configure_snmp_server_contact": { @@ -11490,7 +11692,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_snmp_server_contact", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1322" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1303" } }, "configure_snmp_server_enable_traps_power_ethernet_group": { @@ -11499,7 +11701,7 @@ "module_name": "snmp.configure", "package": "genie.libs.sdk.apis", "uid": "configure_snmp_server_enable_traps_power_ethernet_group", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py#L470" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py#L478" } }, "configure_snmp_server_group": { @@ -11511,13 +11713,22 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py#L88" } }, + "configure_snmp_server_host_trap": { + "iosxe": { + "doc": " Configures the snmp traps or informs on device\n Args:\n device ('obj'): device to use\n host_name ('str', optional): WORD IP/IPV6 address of SNMP notification host\n http://[:][/] HTTP address of XML notification host\n trap_type ('str', optional): entity Allow SNMP entity traps\n Returns:\n None\n Raises:\n SubCommandFailure\n ", + "module_name": "snmp.configure", + "package": "genie.libs.sdk.apis", + "uid": "configure_snmp_server_host_trap", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py#L624" + } + }, "configure_snmp_server_location": { "iosxe": { "doc": " Configures snmp-server location\n Example : snmp-server location Regression Test Lab\n\n Args:\n device ('obj'): device to use\n location ('str'): system location information (e.g. Cisco Kanata, Regression Test Lab)\n\n Returns:\n None\n\n Raises:\n SubCommandFailure\n ", "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_snmp_server_location", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1361" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1342" } }, "configure_snmp_server_manager": { @@ -11526,7 +11737,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_snmp_server_manager", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3116" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2994" } }, "configure_snmp_server_trap": { @@ -11540,7 +11751,7 @@ }, "configure_snmp_server_user": { "iosxe": { - "doc": " Configures the snmp user on device\n Args:\n device ('obj'): device to use\n user_name ('str'): Name of the user\n group_name ('str'): Group to which the user belongs\n version ('str'): v1,v2c,v3\n auth ('str'): authentication parameters for the user\n auth_type ('str'): md5, sha\n auth_algorithm ('str'): 256,192,128\n auth_password ('str'): authentication password for user\n priv_method ('str'): 3des,aes,des\n aes_algorithm ('str'): 128,192,256\n aes_password ('str'): privacy password for user\n priv_password ('str'): privacy password for user\n acl_name ('str'): name of the Standerd acl, acl list name, ipv6 named acl\n acl_type ('str'): specify IPv6 Named Access-List\n Returns:\n None\n Raises:\n SubCommandFailure\n ", + "doc": " Configure the snmp user on device\n Args:\n device ('obj'): device to use\n user_name ('str'): Name of the user\n group_name ('str'): Group to which the user belongs\n version ('str'): v1,v2c,v3\n auth ('str'): authentication parameters for the user\n auth_type ('str'): md5, sha\n auth_algorithm ('str'): 256,192,128\n auth_password ('str'): authentication password for user\n priv_method ('str'): 3des,aes,des\n aes_algorithm ('str'): 128,192,256\n aes_password ('str'): privacy password for user\n des_algorithm ('str'): 128,192,256\n des_password ('str'): privacy password for user\n priv_password ('str'): privacy password for user\n acl_name ('str'): name of the Standerd acl, acl list name, ipv6 named acl\n acl_type ('str'): specify IPv6 Named Access-List\n Returns:\n None\n Raises:\n SubCommandFailure\n ", "module_name": "snmp.configure", "package": "genie.libs.sdk.apis", "uid": "configure_snmp_server_user", @@ -11562,7 +11773,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_software_auto_upgrade", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2038" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2000" } }, "configure_source_template": { @@ -11571,7 +11782,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_source_template", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1667" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1648" } }, "configure_span_monitor_session": { @@ -11769,7 +11980,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_stack_power_default_mode", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1995" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1957" } }, "configure_stack_power_mode_power_shared": { @@ -11778,7 +11989,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_stack_power_mode_power_shared", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3624" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3502" } }, "configure_stack_power_mode_redundant": { @@ -11787,7 +11998,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_stack_power_mode_redundant", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1947" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1909" } }, "configure_stack_power_stack": { @@ -11796,7 +12007,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_stack_power_stack", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1909" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1871" } }, "configure_stack_power_switch": { @@ -11805,7 +12016,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_stack_power_switch", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2650" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2612" } }, "configure_stack_power_switch_no_standalone": { @@ -11814,7 +12025,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_stack_power_switch_no_standalone", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3601" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3479" } }, "configure_stack_power_switch_power_priority": { @@ -11823,7 +12034,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_stack_power_switch_power_priority", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3434" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3312" } }, "configure_stack_power_switch_standalone": { @@ -11832,7 +12043,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_stack_power_switch_standalone", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3579" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3457" } }, "configure_stackpower_stack": { @@ -11841,7 +12052,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_stackpower_stack", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4638" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4401" } }, "configure_stackpower_stack_switch_standalone": { @@ -11850,7 +12061,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_stackpower_stack_switch_standalone", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3525" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3403" } }, "configure_stackwise_virtual_dual_active_interfaces": { @@ -11886,7 +12097,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_standard_access_list", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L460" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L468" } }, "configure_standard_acl": { @@ -11895,7 +12106,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "configure_standard_acl", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1619" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1649" } }, "configure_static_arp": { @@ -11931,7 +12142,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_static_nat_network_rule", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L597" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L605" } }, "configure_static_nat_outside_rule": { @@ -11940,7 +12151,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_static_nat_outside_rule", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L730" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L738" } }, "configure_static_nat_route_map_no_alias_rule": { @@ -11949,12 +12160,12 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_static_nat_route_map_no_alias_rule", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1852" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1860" } }, "configure_static_nat_route_map_rule": { "iosxe": { - "doc": " Configure static NAT route-map rule\n Args:\n device ('obj'): device to use\n inside_local_ip ('str'): Inside local ip\n inside_global_ip ('str'): Inside global ip\n route_map_name ('str') : Name of route-map\n Returns:\n None\n Raises:\n SubCommandFailure: static NAT route-map rule not configured\n ", + "doc": " Configure static NAT route-map rule\n Args:\n device ('obj'): device to use\n inside_local_ip ('str'): Inside local ip\n inside_global_ip ('str'): Inside global ip\n route_map_name ('str') : Name of route-map\n no_alias ('bool', optional): no alias static route. Default is False\n Returns:\n None\n Raises:\n SubCommandFailure: static NAT route-map rule not configured\n ", "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_static_nat_route_map_rule", @@ -11967,7 +12178,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_static_nat_rule", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L647" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L655" } }, "configure_static_nat_source_list_rule": { @@ -11976,7 +12187,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "configure_static_nat_source_list_rule", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1922" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1930" } }, "configure_subinterface": { @@ -12039,7 +12250,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_switch_provision_model", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3099" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2977" } }, "configure_switchport_mode_trunk_snooping_trust": { @@ -12219,7 +12430,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_system_disable_password_recovery_switch_all", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1263" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1244" } }, "configure_system_ignore_startupconfig_switch_all": { @@ -12228,7 +12439,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_system_ignore_startupconfig_switch_all", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1156" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1135" } }, "configure_system_jumbomtu": { @@ -12485,7 +12696,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_udld_aggressive", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2498" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2460" } }, "configure_udld_alert_mode": { @@ -12512,7 +12723,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_udld_message_time", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2515" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2477" } }, "configure_udld_port_aggressive": { @@ -12521,7 +12732,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_udld_port_aggressive", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2551" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2513" } }, "configure_udld_recovery": { @@ -12602,7 +12813,7 @@ "module_name": "evpn.configure", "package": "genie.libs.sdk.apis", "uid": "configure_vfi_context_evpn", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L1155" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L1156" } }, "configure_virtual_service": { @@ -12611,7 +12822,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_virtual_service", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1558" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1539" } }, "configure_virtual_service_vnic_gateway_guest_ip_address": { @@ -12620,7 +12831,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "configure_virtual_service_vnic_gateway_guest_ip_address", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L840" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L819" } }, "configure_virtual_template": { @@ -13021,7 +13232,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "copy_running_config_to_tftp", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L707" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L686" } }, "copy_startup_config_from_flash": { @@ -13030,7 +13241,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "copy_startup_config_from_flash", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3864" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3742" } }, "copy_startup_config_to_flash_memory": { @@ -13039,7 +13250,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "copy_startup_config_to_flash_memory", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L643" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L622" } }, "copy_startup_config_to_tftp": { @@ -13048,7 +13259,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "copy_startup_config_to_tftp", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L672" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L651" } }, "copy_to_device": { @@ -13285,7 +13496,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "delete_configure_ip_acl", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1820" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1850" } }, "delete_configure_ipv6_acl": { @@ -13294,7 +13505,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "delete_configure_ipv6_acl", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1845" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1875" } }, "delete_directory": { @@ -13380,7 +13591,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "delete_mac_acl", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1752" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1782" } }, "delete_monitor_capture": { @@ -13487,7 +13698,7 @@ }, "device_recovery_boot": { "com": { - "doc": "Boot device using golden image or using tftp server\n Args:\n device: device object\n break_count: \n console_activity_pattern: \n console_breakboot_char: \n console_breakboot_telnet_break: Use telnet `send break` to interrupt device boot\n grub_activity_pattern: \n grub_breakboot_char: \n timeout: \n recovery_password: \n golden_image: \n kickstart: \n system: \n tftp_boot:\n image: (Mandatory)\n ip_address: (Mandatory)\n subnet_mask: (Mandatory)\n gateway: (Mandatory)\n tftp_server: (Mandatory)\n Return:\n None\n Raise:\n Exception\n ", + "doc": "Boot device using golden image or using tftp server\n Args:\n device: device object\n break_count: \n console_activity_pattern: \n console_breakboot_char: \n console_breakboot_telnet_break: Use telnet `send break` to interrupt device boot\n grub_activity_pattern: \n grub_breakboot_char: \n timeout: \n recovery_password: \n golden_image: \n kickstart: \n system: \n tftp_boot:\n image: (Mandatory)\n ip_address: (Mandatory)\n subnet_mask: (Mandatory)\n gateway: (Mandatory)\n tftp_server: (Mandatory)\n ether_port: (Optional) (Default to 0)\n Return:\n None\n Raise:\n Exception\n ", "module_name": "utils", "package": "genie.libs.sdk.apis", "uid": "device_recovery_boot", @@ -13575,6 +13786,15 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/bfd/configure.py#L74" } }, + "disable_crypto_engine_compliance": { + "iosxe": { + "doc": " Disable CSDL\n Args:\n device ('obj') : device to use\n Returns:\n None\n Raises:\n SubCommandFailure\n ", + "module_name": "ike.configure", + "package": "genie.libs.sdk.apis", + "uid": "disable_crypto_engine_compliance", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ike/configure.py#L1291" + } + }, "disable_cts_enforcement": { "iosxe": { "doc": " Disable cts role-based enforcement\n Args:\n device ('obj'): device to use\n Returns:\n None\n Raises:\n SubCommandFailure: Failed to disable cts role-based enforcement\n ", @@ -13593,6 +13813,15 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cts/configure.py#L307" } }, + "disable_cts_enforcement_vlan_list": { + "iosxe": { + "doc": " disable cts role-based enforcement on given vlan range\n Args:\n device ('obj'): device to use\n vlan ('str'): vlan range to configure\n Returns:\n None\n Raises:\n SubCommandFailure: Failed to disable cts role-based enforcement vlan list\n ", + "module_name": "cts.configure", + "package": "genie.libs.sdk.apis", + "uid": "disable_cts_enforcement_vlan_list", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cts/configure.py#L1108" + } + }, "disable_debug": { "iosxe": { "doc": " Disable debug for the mentioned parameter\n Args:\n device ('obj'): device to use\n parameter ('str'): parameter for which debug has to be disabled\n Returns:\n None\n Raises:\n SubCommandFailure: Failed disabling debug\n ", @@ -13716,7 +13945,7 @@ "module_name": "snmp.configure", "package": "genie.libs.sdk.apis", "uid": "disable_ietf_standard_snmp_link_traps", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py#L600" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py#L608" } }, "disable_iox": { @@ -14098,7 +14327,7 @@ "module_name": "snmp.configure", "package": "genie.libs.sdk.apis", "uid": "enable_ietf_standard_snmp_link_traps", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py#L583" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py#L591" } }, "enable_iox": { @@ -14233,7 +14462,7 @@ "module_name": "evpn.configure", "package": "genie.libs.sdk.apis", "uid": "enable_multicast_advertise_on_evi", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L601" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L602" } }, "enable_radius_automate_tester_probe_on": { @@ -14290,6 +14519,24 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/apphosting/configure.py#L17" } }, + "enable_usb_ssd_verify_exists": { + "iosxe": { + "doc": " configure app-hosting appid\n Args:\n device ('obj'): device to use\n storage_name('str'): storage name eg:flash or bootflash\n time('int'): time\n Returns:\n None\n Raises:\n SubCommandFailure\n ", + "module_name": "apphosting.configure", + "package": "genie.libs.sdk.apis", + "uid": "enable_usb_ssd_verify_exists", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/apphosting/configure.py#L385" + } + }, + "erase_startup_config": { + "iosxe": { + "doc": " erase startup_config\n Args:\n device ('obj'): device to execute on\n Return:\n None\n Raises:\n SubCommandFailure\n ", + "module_name": "platform.utils", + "package": "genie.libs.sdk.apis", + "uid": "erase_startup_config", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/utils.py#L521" + } + }, "escape_ansi": { "com": { "doc": null, @@ -14353,6 +14600,15 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/apphosting/execute.py#L229" } }, + "execute_apphosting_cli": { + "iosxe": { + "doc": " \n Args:\n device ('obj'): device to use\n cli('str'): app-hosting Application hosting related informations\n list List the appliance\n loops('int'): time\n wait_timer('int'): time\n unicon_timer('int'): time\n Returns:\n None\n Raises:\n SubCommandFailure\n ", + "module_name": "apphosting.execute", + "package": "genie.libs.sdk.apis", + "uid": "execute_apphosting_cli", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/apphosting/execute.py#L311" + } + }, "execute_archive_config": { "iosxe": { "doc": " execute archive config in switch\n Args:\n device ('obj'): Device object\n Returns:\n Execution output\n Raises:\n SubCommandFailure\n ", @@ -14362,6 +14618,15 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/execute.py#L1177" } }, + "execute_archive_tar": { + "iosxe": { + "doc": " Execute archive tar \n Example: archive tar /create usb0:usb_files.tar bootflash:/tracelogs\n archive tar /xtract usb0:usb_files.tar usb0:new-tar-files\n Args:\n device ('obj'): Device object\n dest_filesystem ('str'): specifying filesystems such as bootflash:,usb:, tftp:\n tar_filename('str'): tar filename \n operation_type('str'): Option can be xtract, table, create\n src_filesystem ('str'): specifying filesystems such as bootflash:,usb:, tftp:\n src_filepath ('str',optional): specifying files path which need to be archived,Default is None\n dest_filepath ('str',optional): specifying destination path of tar file,Default is None\n timeout ('int',optional): Max time for completion of cli execution,Default is 120 seconds\n Returns:\n output\n Raises:\n SubCommandFailure\n ", + "module_name": "platform.execute", + "package": "genie.libs.sdk.apis", + "uid": "execute_archive_tar", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/execute.py#L1459" + } + }, "execute_by_jinja2": { "linux": { "doc": " Configure using Jinja template\n Args:\n device ('obj'): Device object\n templates_dir ('str'): Template directory\n template_name ('str'): Template name\n post_commands ('list'): List of post commands\n failure_commands ('list'): List of commands required after failure\n kwargs ('obj'): Keyword arguments\n Returns:\n Boolean\n Raises:\n None\n ", @@ -14443,6 +14708,15 @@ } } }, + "execute_clear_aaa_counters_server": { + "iosxe": { + "doc": " Execute clear aaa counters for servers\n Example: clear aaa counters servers all\n Args:\n device ('obj'): Device object\n server_info ('str'): specifying server information (eg. radius)\n server_id ('str'): server id displayed by show aaa servers(Range 0-2147483647)\n Returns:\n output\n Raises:\n SubCommandFailure\n ", + "module_name": "aaa.execute", + "package": "genie.libs.sdk.apis", + "uid": "execute_clear_aaa_counters_server", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/aaa/execute.py#L48" + } + }, "execute_clear_dns_statistics": { "iosxe": { "doc": " Execute test CLI to Clear umbrella dns querey/response statistics\n Args:\n device ('obj'): device to use\n Returns:\n clear statistics execution command\n Raises:\n SubCommandFailure: test ngdns cli\n ", @@ -14479,6 +14753,15 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/install/execute.py#L533" } }, + "execute_clear_ip_igmp_group": { + "iosxe": { + "doc": " clear ipv6 mld group\n Args:\n device (`obj`) : Device object\n interface('str',optional): Interface name \n Returns:\n None\n Raises:\n SubCommandFailure\n ", + "module_name": "platform.execute", + "package": "genie.libs.sdk.apis", + "uid": "execute_clear_ip_igmp_group", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/execute.py#L1597" + } + }, "execute_clear_ip_nat_translation": { "iosxe": { "doc": " Clear IP NAT Flows\n Args:\n device ('obj'): Device object\n tcp ('bool', optional): clear ip nat tcp. Default to False.\n udp ('bool', optional): clear ip nat udp. Default to False.\n forced ('bool', optional): clear ip nat forcefully. Default to False.\n inside_local_ip ('str', optional): Inside local ip address. Default to None.\n inside_global_ip ('str', optional): Inside global ip address. Default to None.\n inside_local_port ('str', optional): Inside local port in case of tcp/udp. Default to None.\n inside_global_port ('str', optional): Inside global port in case of tcp/udp. Default to None.\n outside_local_ip ('str', optional): Outside local ip address. Default to None.\n outside_global_ip ('str', optional): Outside global ip address. Default to None.\n outside_local_port ('str', optional): Outside local port in case of tcp/udp. Default to None.\n outside_global_port ('str', optional): Outside global port in case of tcp/udp. Default to None.\n\n Returns:\n output\n\n Raises:\n SubCommandFailure\n ", @@ -14497,6 +14780,15 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/execute.py#L623" } }, + "execute_clear_ipv6_mld_group": { + "iosxe": { + "doc": " clear ipv6 mld group\n Args:\n device (`obj`) : Device object\n interface('str',optional): Interface name \n Returns:\n None\n Raises:\n SubCommandFailure\n ", + "module_name": "platform.execute", + "package": "genie.libs.sdk.apis", + "uid": "execute_clear_ipv6_mld_group", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/execute.py#L1574" + } + }, "execute_clear_line": { "com": { "doc": " Executes 'clear line ' to clear busy console port on device\n Args:\n device ('obj'): Device object\n alias ('str'): Alias used for console port connection\n Default: 'cli'\n Returns:\n None\n ", @@ -15335,7 +15627,7 @@ "module_name": "platform.execute", "package": "genie.libs.sdk.apis", "uid": "execute_switch_card_OIR_power_force", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/execute.py#L1458" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/execute.py#L1523" } }, "execute_switch_clear_stack_mode": { @@ -15595,7 +15887,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "force_unconfigure_static_nat_route_map_rule", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1080" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1088" } }, "fp_switchover": { @@ -15623,6 +15915,15 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/execute.py#L182" } }, + "generate_ca_certificate": { + "linux": { + "doc": "\n Args:\n device(`obj`): Device to configure the SSL key on\n private_key_file(`str`): Filename or absolute path to a file containing a private key\n subject(`str`, Optional): The subject line for the certificate. Default '/C=/ST=/L=/O=/CN=rootCA'\n private_key_password(`str`, Optional): The password for the private_key_file, if applicable. Default None\n certificate_name(`str`, Optional): The name of the generated certificate file, default 'rootCA.pem'\n path_to_file(`str`, Optional): Absolute path to the directory where the file should be saved, default None\n Raises:\n SubCommandFailure\n ", + "module_name": "openssl.generate", + "package": "genie.libs.sdk.apis", + "uid": "generate_ca_certificate", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/linux/openssl/generate.py#L71" + } + }, "generate_crypto_key": { "iosxe": { "doc": " Generate Crypto keys\n Args:\n device ('obj') : device to use\n key_type ('str', optional) : iosxe routers support rsa and ec keys\n key_label ('str', optional) : Name of the keypair\n modulus ('int', optional) : Size of the key that will be generated. <512-4096> \n keysize ('int', optional) : Size of the EC keys. <256,384,521>\n exportable ('boolean', optional) : Allows the key to be exported. Default value is False\n timeout('int', optional): timeout for exec command execution, default is 30\n Returns:\n None\n Raises:\n SubCommandFailure\n ", @@ -15641,6 +15942,33 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/key/configure.py#L142" } }, + "generate_ecc_ssl_key": { + "linux": { + "doc": "\n Args:\n device(`obj`): Device to configure the SSL key on\n private_key_name(`str`): Name of the private key file\n elliptic_curve(`str`): Specify which elliptic curve to employ\n password(`str`, Optional): Password to encrypt the private key, default None\n aes_key_size(`int`, Optional): AES keysize used to encrypt password if provided. Default 256\n path_to_file(`str`, Optional): Absolute path to the directory where the file should be saved, default None\n Raises:\n SubCommandFailure\n ", + "module_name": "openssl.generate", + "package": "genie.libs.sdk.apis", + "uid": "generate_ecc_ssl_key", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/linux/openssl/generate.py#L40" + } + }, + "generate_rsa_ssl_key": { + "linux": { + "doc": "\n Args:\n device('obj'): Device to configure the SSL key on\n private_key_name(`str`): Name of the certificate file\n key_size(`int`, Optional): RSA key bit length, default 2048\n password(`str`, Optional): Password to encrypt the device key, default None\n aes_key_size(`int`, Optional): AES keysize used to encrypt password if provided. Default 256\n path_to_file(`str`, Optional): Absolute path to the directory where the file should be saved, default None\n Raises:\n SubCommandFailure\n ", + "module_name": "openssl.generate", + "package": "genie.libs.sdk.apis", + "uid": "generate_rsa_ssl_key", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/linux/openssl/generate.py#L9" + } + }, + "generate_ssl_certificate": { + "linux": { + "doc": "\n Args:\n device(`obj`): Device to configure the SSL key on\n device_key_file(`str`): Filename or absolute path to a file containing a private key for the device\n ca_certificate_file(`str`): Filename or absolute path to a file containing a CA Certificate\n private_key_file(`str`): Filename or absolute path to a file containing a private key for the certificate\n device_key_password(`str`, Optional): The password for the device_key_file, if applicable. Default None\n subject(`str`, Optional): The subject line for the certificate. Default is '/C=/ST=/L=/O=/CN=$(hostname)'\n private_key_password(`str`, Optional): The password for the private_key_file, if applicable. Default None\n csr_name(`str`, Optional): The name of the generated csr file, default 'device.csr'\n crt_name(`str`, Optional): The name of the generated cst file, default 'device.crt'\n path_to_file(`str`, Optional): Absolute path to the directory where the files should be saved, default None\n sha_bit_length(`int`, Optional): The bit length of the SHA hash of the crt file, default 256\n Raises:\n SubCommandFailure\n ", + "module_name": "openssl.generate", + "package": "genie.libs.sdk.apis", + "uid": "generate_ssl_certificate", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/linux/openssl/generate.py#L105" + } + }, "get_RIPng_routes": { "iosxe": { "doc": "\n Gets installed RIPng routes from \"show ipv6 route\" on a device\n\n Args:\n device(): Device used to run commands\n\n Returns:\n Routes: list of routes\n ", @@ -16866,6 +17194,15 @@ } } }, + "get_file_contents": { + "linux": { + "doc": "\n Args:\n device(`obj`)\n filename(`str`): Absolute path to the file\n Returns:\n File contents as a string\n ", + "module_name": "get", + "package": "genie.libs.sdk.apis", + "uid": "get_file_contents", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/linux/get.py#L8" + } + }, "get_file_size": { "ios": { "doc": "Get file size on the device\n Args:\n device (`obj`): Device object\n file (`str`): File name\n output ('str'): Output of 'dir' command\n if not provided, executes the cmd on device\n Returns:\n file size in `int` type or None if file size is not available\n ", @@ -17164,6 +17501,15 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/utils.py#L3328" } }, + "get_interface_capabilities_multiple_media_types": { + "iosxe": { + "doc": " Get interface capabilities multiple media types\n\n Args:\n device (`obj`): Device object\n interface (`str`): Interface name\n\n Returns:\n None\n multiple media types (`str`): 'rj45 - interface type supporting copper connection.\n 'sfp, - interface type supporting fiber connection.\n 'rj45 , 'sfp', 'auto-select' - interface type supporting both fiber and copper connection.\n Raises:\n None\n ", + "module_name": "interface.get", + "package": "genie.libs.sdk.apis", + "uid": "get_interface_capabilities_multiple_media_types", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/interface/get.py#L1503" + } + }, "get_interface_carrier_delay": { "iosxe": { "doc": " Get interface carrier delay\n\n Args:\n device ('obj'): Device object\n interface ('str'): Interface name\n delay_type ('str'): Carrier delay type: 'up', 'down'\n\n Returns:\n None\n delay in seconds ('str')\n\n Raises:\n None\n ", @@ -17396,6 +17742,15 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/interface/get.py#L221" } }, + "get_interface_media_types": { + "iosxe": { + "doc": " Get interface media types\n\n Args:\n device (`obj`): Device object\n interface (`str`): Interface name\n\n Returns:\n None\n media types (`str`): Example: '10/100/1000BaseTX' , '100/1000/2.5GBaseTX' ,'100/1000/10GBaseTX - interface media \n type supporting copper connection.\n Example: '1000BaseSX', '1000BaseEX'- interface media type is supporting fiber connection.\n 'unknown' - interface type is unknown.\n Raises:\n None\n ", + "module_name": "interface.get", + "package": "genie.libs.sdk.apis", + "uid": "get_interface_media_types", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/interface/get.py#L1478" + } + }, "get_interface_mtu_config_range": { "iosxe": { "doc": " Get MTU config range\n\n Args:\n device (`obj`): Device object\n interface (`str`): Interface name\n\n Returns:\n None\n range_dict (`dict`): MTU range dict\n ex: {'min':30, 'max':360, range: '30-360'}\n\n Raises:\n None\n ", @@ -20501,6 +20856,15 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/utils.py#L3743" } }, + "get_supported_elliptic_curves": { + "linux": { + "doc": "\n Args:\n device(`obj`)\n Returns:\n Supported Curves\n ", + "module_name": "openssl.get", + "package": "genie.libs.sdk.apis", + "uid": "get_supported_elliptic_curves", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/linux/openssl/get.py#L10" + } + }, "get_switch_qos_queue_config_on_interface": { "iosxe": { "doc": " Get platform hardware fed on switch and qos queue config on Interface\n\n Args:\n device ('obj'): Device object\n interface ('str'): interface name\n switch_num ('str'): switch number\n Return:\n Dictionary with running interface configuration\n Raises:\n None\n ", @@ -21040,7 +21404,7 @@ "module_name": "health.health", "package": "genie.libs.sdk.apis", "uid": "health_core", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/health/health.py#L375" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/health/health.py#L382" }, "iosxr": { "doc": "Get the default directory of this device\n\n Args:\n device (`obj`) : Device object\n default_dir (`str` or `list`) : default directory where core is generated \n on device\n ex.) `harddisk:/dumper`\n output (`str`) : Output of `dir` command\n keyword (`list`): List of keywords to search\n num_of_cores (`bool`): flag to return number of core files\n Default to False\n remote_device (`str`): remote device in testbed yaml\n Default to None\n remote_path (`str`): path with/without file on remote device\n Default to None\n remote_via (`str`) : specify connection to get ip\n Default to None\n protocol (`str`): protocol for copy. Default to scp\n vrf (`str`): use vrf where scp find route to remote device\n Default to None\n archive (`bool`): flag to save the decode output as file in archive\n Defaults to False\n delete_core (`bool`): flag to delete core files only when copying to\n remove_device is successfully done\n Defaults to False\n\n ### CISCO INTERNAL ###\n decode (`bool`): flag to enable for decoding core\n copy core file to remote_server and decode on remote_server\n decode_timeout (`int`): timeout to execute decode script\n Default to 300\n\n Returns:\n all_corefiles (`dict`): return health_data format.\n ex.)\n {\n \"health_data\": {\n \"num_of_cores\": 1,\n \"core_files\": [\n {\n \"filename\": \"asr-MIB-1_RP_1_nginx_23178_20210317-175351-UTC.core.gz\",\n \"decode\": \"\"\"\n \n \"\"\"\n }\n ]\n }\n }\n ", @@ -21139,7 +21503,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "hw_module_beacon_RP_active_standby", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4741" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4504" } }, "hw_module_beacon_slot_on_off": { @@ -21148,7 +21512,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "hw_module_beacon_slot_on_off", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L441" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L420" } }, "hw_module_switch_num_usbflash_security_password": { @@ -21187,6 +21551,15 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/install/configure.py#L12" } }, + "install_wcs_enable_guestshell": { + "iosxe": { + "doc": "\n Args:\n device ('obj'): device to use\n appid_name('str'): WORD Name of application\n directory('str'): flash: Package path\n package_name('str'): flash:iperf3_signed.tar\n Returns:\n None\n Raises:\n SubCommandFailure\n ", + "module_name": "apphosting.execute", + "package": "genie.libs.sdk.apis", + "uid": "install_wcs_enable_guestshell", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/apphosting/execute.py#L289" + } + }, "int_to_mask": { "com": { "doc": " Convert int to mask\n Args:\n mask_int ('int'): prefix length is convert to mask\n Returns:\n mask value\n ", @@ -22048,7 +22421,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "power_supply_on_off", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2115" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2077" } }, "prepare_issu": { @@ -22129,7 +22502,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "redistribute_bgp_metric_route_map_under_ospf", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1870" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1873" } }, "redistribute_bgp_metric_type_under_ospf": { @@ -22147,7 +22520,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "redistribute_bgp_on_ospfv3", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2677" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2680" } }, "redistribute_bgp_under_ospf": { @@ -22165,7 +22538,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "redistribute_eigrp_under_ospf", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1592" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1595" } }, "redistribute_route_map_under_ospf": { @@ -22174,7 +22547,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "redistribute_route_map_under_ospf", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L817" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L819" } }, "redistribute_route_metric_vrf_green": { @@ -22183,7 +22556,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "redistribute_route_metric_vrf_green", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2649" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2652" } }, "reload_issu_slot": { @@ -22201,7 +22574,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "remove_acl_from_interface", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L335" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L365" } }, "remove_all_span": { @@ -22722,7 +23095,16 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "request_platform_software_package_clean", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1838" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1819" + } + }, + "request_platform_software_package_expand": { + "iosxe": { + "doc": " Perform request platform software package expand file {file_system}/{sub_directory}/{test_image}\n Perform request platform software package expand file {file_system}/{test_image}\n Args:\n device ('obj'): Device object\n file_system ('str'): bootflash: , harddisk: , usb0:\n test_image ('str'): image_name\n sub_directory ('str',optional): subdirectory inside the filesystem where the test image is present,Default is None\n timeout ('int'): Max time \n Returns:\n None\n Raises:\n SubCommandFailure\n ", + "module_name": "platform.execute", + "package": "genie.libs.sdk.apis", + "uid": "request_platform_software_package_expand", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/execute.py#L1546" } }, "request_platform_software_process_core": { @@ -22806,7 +23188,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "restore_running_config_file", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3686" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3564" } }, "revert_vm_snapshot": { @@ -22883,7 +23265,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "scale_accesslist_config", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L217" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L247" } }, "scp": { @@ -22990,7 +23372,7 @@ "module_name": "aaa.execute", "package": "genie.libs.sdk.apis", "uid": "set_platform_soft_trace_debug", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/aaa/execute.py#L14" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/aaa/execute.py#L15" } }, "set_snmp_snmpset": { @@ -23035,7 +23417,7 @@ "module_name": "aaa.execute", "package": "genie.libs.sdk.apis", "uid": "show_logging_smd_output_to_file", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/aaa/execute.py#L34" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/aaa/execute.py#L35" } }, "show_switch_redirect": { @@ -23141,7 +23523,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "stack_ports_enable_disable", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L456" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L435" } }, "start_monitor_capture": { @@ -23321,6 +23703,7 @@ "c8000", "c9800", "cat3k", + "cat8k", "cat9500", "cat9k", "com", @@ -23462,7 +23845,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfig_banner", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4374" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4252" } }, "unconfig_cns_agent_password": { @@ -23471,7 +23854,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfig_cns_agent_password", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4703" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4466" } }, "unconfig_device_tracking_policy": { @@ -23525,7 +23908,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "unconfig_extended_acl", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L202" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L232" } }, "unconfig_extended_acl_with_evaluate": { @@ -23534,7 +23917,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "unconfig_extended_acl_with_evaluate", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L581" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L611" } }, "unconfig_extended_acl_with_reflect": { @@ -23543,7 +23926,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "unconfig_extended_acl_with_reflect", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L988" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1018" } }, "unconfig_flow_exporter": { @@ -23636,6 +24019,15 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/interface/configure.py#L8444" } }, + "unconfig_ip_multicast_routing_vrf_distributed": { + "iosxe": { + "doc": "Unconfigure ip multicast-routing vrf distributed on device\n Example : \n\n Args:\n device (`obj`): Device object\n vrf_name('str'): name of the vrf \n Returns:\n None\n ", + "module_name": "multicast.configure", + "package": "genie.libs.sdk.apis", + "uid": "unconfig_ip_multicast_routing_vrf_distributed", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/multicast/configure.py#L2041" + } + }, "unconfig_ip_on_vlan": { "iosxe": { "doc": "unconfigures an IPv4/IPv6 address on a vlan\n\n Args:\n device (`obj`): Device object\n vlan_id (`str`): Vlan id\n ipv4_address (`str`): IPv4 address\n subnetmask (`str`): Subnet mask to be used for IPv4 address\n ipv6_address (`str`): Ipv6 address\n ipv6_prefix_len (`int`): length of IPv6 prefix\n secondary ('bool'): True/False\n Return:\n None\n Raise:\n SubCommandFailure: Failed to unconfigure Ipv4/Ipv6 address on vlan\n ", @@ -23645,13 +24037,22 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/vlan/configure.py#L78" } }, + "unconfig_ip_pim_vrf": { + "iosxe": { + "doc": " Enables ip pim vrf mode on device.\n\n Args:\n device (`obj`): Device object\n vrf_num (`str`): vrf number\n mode (`str`): specifiy ip pim vrf mode\n Return:\n None\n Raise:\n SubCommandFailure \n ", + "module_name": "multicast.configure", + "package": "genie.libs.sdk.apis", + "uid": "unconfig_ip_pim_vrf", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/multicast/configure.py#L2000" + } + }, "unconfig_ip_tcp_mss": { "iosxe": { "doc": " Unconfigures tcp Maximum Segment Size\n\n Args:\n device ('obj'): device to use\n global_config_key ('str'): set global_config_key to 1 for global else set it to 0 for interface level config\n seg_size ('str'): segment size value to apply, range:0-10000\n interface ('str'): interface on which mss needs to be unconfigured.\n ", "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "unconfig_ip_tcp_mss", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1407" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1437" } }, "unconfig_ipv6_nd_raguard_policy": { @@ -23795,7 +24196,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "unconfig_refacl_global_timeout", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1348" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1378" } }, "unconfig_standard_acl_for_ip_pim": { @@ -23888,6 +24289,33 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/aaa/configure.py#L2380" } }, + "unconfigure_aaa_accounting_identity_default_start_stop": { + "iosxe": { + "doc": "Unconfigure aaa accounting identity default start-stop\n Args:\n device (`obj`): Device object\n server_grp (`str`): Server-group (i.e group)\n server_grp_name ('str'): Server-group name\n Returns: \n None\n Raise:\n SubCommandFailure: Failed unconfiguring aaa accounting identity default start-stop\n ", + "module_name": "aaa.configure", + "package": "genie.libs.sdk.apis", + "uid": "unconfigure_aaa_accounting_identity_default_start_stop", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/aaa/configure.py#L2697" + } + }, + "unconfigure_aaa_accounting_update": { + "iosxe": { + "doc": "Unconfigure aaa accounting update periodic\n Args:\n device (`obj`): Device object\n action_type('str'): newinfo Only send accounting update records when we have new acct info.\n periodic Send accounting update records at regular intervals.\n\t periodic_interval('str'): <1-71582> Periodic intervals to send accounting update records(in minutes)\n Returns: \n None\n Raise:\n SubCommandFailure: Failed unconfigure aaa accounting update periodic\n ", + "module_name": "aaa.configure", + "package": "genie.libs.sdk.apis", + "uid": "unconfigure_aaa_accounting_update", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/aaa/configure.py#L2679" + } + }, + "unconfigure_aaa_accounting_update_periodic_interval": { + "iosxe": { + "doc": "Unconfigure aaa accounting update periodic {interval}\n Args:\n device ('obj'): Device object\n interval('int'): <1-71582> Periodic intervals\n Return:\n None\n Raise:\n SubCommandFailure: Failed unconfiguring aaa accounting update periodic\n ", + "module_name": "aaa.configure", + "package": "genie.libs.sdk.apis", + "uid": "unconfigure_aaa_accounting_update_periodic_interval", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/aaa/configure.py#L2732" + } + }, "unconfigure_aaa_attr_list": { "iosxe": { "doc": " Unconfigure Attribute list with type\n Args:\n device (`obj`): Device object\n attr_list_name ('str'): Attribute list name\n\n Return:\n None\n\n Raise:\n SubCommandFailure: Failed unconfiguring Attribute list with type\n\n ", @@ -23984,7 +24412,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_access_map_match_ip_address_action_forward", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1870" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1900" } }, "unconfigure_access_session_acl_default_passthrough": { @@ -24002,7 +24430,7 @@ "module_name": "aaa.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_access_session_attr_filter_list", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/aaa/configure.py#L2605" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/aaa/configure.py#L2607" } }, "unconfigure_access_session_attr_filter_list_protocol": { @@ -24011,7 +24439,7 @@ "module_name": "aaa.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_access_session_attr_filter_list_protocol", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/aaa/configure.py#L2624" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/aaa/configure.py#L2626" } }, "unconfigure_access_session_limit": { @@ -24074,7 +24502,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_ace", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L270" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L300" } }, "unconfigure_acl": { @@ -24083,7 +24511,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_acl", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L241" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L271" } }, "unconfigure_acl_with_src_dsc_net": { @@ -24092,7 +24520,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_acl_with_src_dsc_net", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1576" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1606" } }, "unconfigure_active_timer_under_et_analytics": { @@ -24128,7 +24556,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_archive_logging", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L508" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L487" } }, "unconfigure_archive_maximum": { @@ -24137,7 +24565,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_archive_maximum", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2248" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2210" } }, "unconfigure_archive_path": { @@ -24146,7 +24574,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_archive_path", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2205" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2167" } }, "unconfigure_archive_rollback": { @@ -24155,7 +24583,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_archive_rollback", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2294" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2256" } }, "unconfigure_archive_time_period": { @@ -24164,7 +24592,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_archive_time_period", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2345" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2307" } }, "unconfigure_archive_write_memory": { @@ -24173,7 +24601,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_archive_write_memory", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2386" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2348" } }, "unconfigure_arp_access_list": { @@ -24191,7 +24619,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_as_path_acl", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1700" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1730" } }, "unconfigure_auth_method": { @@ -24335,7 +24763,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_bba_group", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L151" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L150" } }, "unconfigure_bfd_neighbor_on_interface": { @@ -24434,7 +24862,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_boot_manual_switch", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4276" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4154" } }, "unconfigure_boot_system": { @@ -24443,7 +24871,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_boot_system", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1242" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1223" } }, "unconfigure_boot_system_switch_switchnumber": { @@ -24452,7 +24880,27 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_boot_system_switch_switchnumber", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3650" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3528" + } + }, + "unconfigure_breakout_cli": { + "iosxe": { + "cat8k": { + "doc": " Unconfigure breakout \n Args:\n device ('obj'): Device object\n port_type ('str'): Option can be all, native_port_0, native_port_4, native_port_8\n sub_slot ('str',optional): Option can be 0/2\n breakout_type ('str'): Option can be none,10g\n Returns:\n None\n Raises:\n SubCommandFailure\n ", + "module_name": "configure", + "package": "genie.libs.sdk.apis", + "uid": "unconfigure_breakout_cli", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cat8k/configure.py#L39" + } + } + }, + "unconfigure_bridge_domain": { + "iosxe": { + "doc": " bridge-domain\n Args:\n device (`obj`): Device object\n domain_number (`str`): bridge-domain number\n Returns:\n None\n Raises:\n SubCommandFailure:Could not unconfig bridge-domain on device\n ", + "module_name": "platform.configure", + "package": "genie.libs.sdk.apis", + "uid": "unconfigure_bridge_domain", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4567" } }, "unconfigure_broadband_aaa": { @@ -24461,7 +24909,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_broadband_aaa", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L297" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L296" } }, "unconfigure_bulkstat_profile": { @@ -24470,7 +24918,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_bulkstat_profile", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L932" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L911" } }, "unconfigure_call_admission": { @@ -24479,7 +24927,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_call_admission", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L245" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L244" } }, "unconfigure_call_home": { @@ -24527,11 +24975,11 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/ios/cdp/configure.py#L41" }, "iosxe": { - "doc": " Disable cdp on target device\n Args:\n device ('obj'): Device object\n Returns:\n None\n ", + "doc": " Disable cdp on target device\n Args:\n device ('obj'): Device object\n interfaces ('list', optional): List of interfaces. Default is None\n timeout ('int', optional): Timeout value for show interfaces parser. Default is 300 seconds\n Returns:\n None\n ", "module_name": "cdp.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_cdp", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cdp/configure.py#L41" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cdp/configure.py#L43" }, "iosxr": { "doc": " Disable cdp on target device\n Args:\n device ('obj'): Device object\n Returns:\n None\n ", @@ -24554,7 +25002,7 @@ "module_name": "cdp.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_cdp_holdtime", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cdp/configure.py#L203" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cdp/configure.py#L207" } }, "unconfigure_cdp_interface": { @@ -24563,7 +25011,7 @@ "module_name": "cdp.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_cdp_interface", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cdp/configure.py#L96" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cdp/configure.py#L100" } }, "unconfigure_cdp_neighbors": { @@ -24572,7 +25020,7 @@ "module_name": "cdp.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_cdp_neighbors", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cdp/configure.py#L136" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cdp/configure.py#L140" } }, "unconfigure_cdp_timer": { @@ -24581,7 +25029,7 @@ "module_name": "cdp.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_cdp_timer", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cdp/configure.py#L169" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cdp/configure.py#L173" } }, "unconfigure_class_map": { @@ -24617,7 +25065,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_commands_from_template", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1783" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1764" } }, "unconfigure_common_criteria_policy": { @@ -24662,7 +25110,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_crypto_ikev2_NAT_keepalive", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L831" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L839" } }, "unconfigure_crypto_ikev2_keyring": { @@ -24725,7 +25173,7 @@ "module_name": "gdoi.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_crypto_map_for_gdoi", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/gdoi/configure.py#L265" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/gdoi/configure.py#L282" } }, "unconfigure_crypto_map_on_interface": { @@ -24851,7 +25299,7 @@ "module_name": "snmp.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_debug_snmp_packets", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py#L452" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py#L460" } }, "unconfigure_default_switchport_trunk_vlan": { @@ -24878,7 +25326,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_device_classifier", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L809" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L788" } }, "unconfigure_device_classifier_command": { @@ -24887,7 +25335,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_device_classifier_command", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3986" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3864" } }, "unconfigure_device_classifier_operator": { @@ -24896,7 +25344,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_device_classifier_operator", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4191" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4069" } }, "unconfigure_device_classifier_profile": { @@ -24905,7 +25353,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_device_classifier_profile", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4135" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4013" } }, "unconfigure_device_classifier_profile_command": { @@ -24914,7 +25362,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_device_classifier_profile_command", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4029" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3907" } }, "unconfigure_device_sensor_filter_list": { @@ -25004,7 +25452,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_diagnostic_monitor_switch", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3340" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3218" } }, "unconfigure_diagnostic_monitor_syslog": { @@ -25013,7 +25461,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_diagnostic_monitor_syslog", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3968" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3846" } }, "unconfigure_diagnostic_schedule_switch": { @@ -25022,7 +25470,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_diagnostic_schedule_switch", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3398" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3276" } }, "unconfigure_diagonistics_monitor_switch": { @@ -25031,7 +25479,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_diagonistics_monitor_switch", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L383" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L362" } }, "unconfigure_disable_sci_dot1q_clear": { @@ -25049,7 +25497,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_distribute_prefix_list_under_ospf", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1839" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1842" } }, "unconfigure_dot1x_cred_int": { @@ -25139,7 +25587,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_dynamic_nat_interface_overload_route_map_rule", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L436" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L444" } }, "unconfigure_dynamic_nat_outside_rule": { @@ -25148,7 +25596,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_dynamic_nat_outside_rule", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L965" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L973" } }, "unconfigure_dynamic_nat_pool_overload_route_map_rule": { @@ -25157,7 +25605,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_dynamic_nat_pool_overload_route_map_rule", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L388" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L396" } }, "unconfigure_dynamic_nat_route_map_rule": { @@ -25166,7 +25614,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_dynamic_nat_route_map_rule", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L339" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L347" } }, "unconfigure_dynamic_nat_rule": { @@ -25175,7 +25623,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_dynamic_nat_rule", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L573" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L581" } }, "unconfigure_dynamic_path_in_tunnel": { @@ -25301,7 +25749,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_enable_secret_level", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4339" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4217" } }, "unconfigure_enable_secret_password": { @@ -25310,7 +25758,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_enable_secret_password", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3256" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3134" } }, "unconfigure_errdisable": { @@ -25346,7 +25794,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_event_manager_applet", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3044" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2922" } }, "unconfigure_evpn_default_gateway_advertise_global": { @@ -25373,7 +25821,7 @@ "module_name": "evpn.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_evpn_floodsuppress_dhcprelay_disable_globally", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L932" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L933" } }, "unconfigure_evpn_instance": { @@ -25382,7 +25830,7 @@ "module_name": "evpn.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_evpn_instance", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L795" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L796" } }, "unconfigure_evpn_instance_encapsulation_type": { @@ -25400,7 +25848,7 @@ "module_name": "evpn.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_evpn_instance_evi", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L1125" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L1126" } }, "unconfigure_evpn_instance_vlan_based": { @@ -25427,7 +25875,7 @@ "module_name": "evpn.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_evpn_l2_instance_bd_association", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L877" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L878" } }, "unconfigure_evpn_l2_instance_vlan_association": { @@ -25436,7 +25884,7 @@ "module_name": "evpn.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_evpn_l2_instance_vlan_association", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L415" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L416" } }, "unconfigure_evpn_l3_instance_vlan_association": { @@ -25445,7 +25893,7 @@ "module_name": "evpn.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_evpn_l3_instance_vlan_association", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L471" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L472" } }, "unconfigure_evpn_replication_type": { @@ -25472,7 +25920,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_filter_vlan_list", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1888" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1918" } }, "unconfigure_fips_authorization_key": { @@ -25553,7 +26001,7 @@ "module_name": "gdoi.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_gdoi_group", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/gdoi/configure.py#L148" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/gdoi/configure.py#L165" } }, "unconfigure_gdoi_group_on_gm": { @@ -25562,7 +26010,7 @@ "module_name": "gdoi.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_gdoi_group_on_gm", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/gdoi/configure.py#L188" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/gdoi/configure.py#L205" } }, "unconfigure_global_dual_active_recovery_reload_disable": { @@ -25589,7 +26037,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_global_source_template", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1710" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1691" } }, "unconfigure_global_stackwise_virtual": { @@ -25661,7 +26109,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_hw_switch_logging_onboard", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1423" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1404" } }, "unconfigure_hw_switch_switch_logging_onboard_environment": { @@ -25670,7 +26118,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_hw_switch_switch_logging_onboard_environment", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1011" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L990" } }, "unconfigure_hw_switch_switch_logging_onboard_temperature": { @@ -25679,7 +26127,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_hw_switch_switch_logging_onboard_temperature", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1049" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1028" } }, "unconfigure_hw_switch_switch_logging_onboard_voltage": { @@ -25688,7 +26136,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_hw_switch_switch_logging_onboard_voltage", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L972" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L951" } }, "unconfigure_icmp_ip_reachables": { @@ -25805,7 +26253,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_interface_VirtualPortGroup", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1646" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1627" } }, "unconfigure_interface_access_session": { @@ -25988,6 +26436,15 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/dhcp/configure.py#L1209" } }, + "unconfigure_interface_ip_nbar": { + "iosxe": { + "doc": " Unconfigure ip nbar on an interface\n\n Args:\n device (`obj`): Device object\n interface (`str`): Interface to get address\n\n Returns:\n None\n Warning messages\n\n Raises:\n SubCommandFailure\n ", + "module_name": "interface.configure", + "package": "genie.libs.sdk.apis", + "uid": "unconfigure_interface_ip_nbar", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/interface/configure.py#L9459" + } + }, "unconfigure_interface_ip_tcp_adjust_mss": { "iosxe": { "doc": " Unconfigure ip tcp adjust-mss on interface\n Args:\n device ('obj') : device to use\n interface ('str') : interface to configure\n Returns:\n None\n Raises:\n SubCommandFailure\n ", @@ -26111,7 +26568,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_interface_ospfv3_ipsec_ah", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2388" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2391" } }, "unconfigure_interface_ospfv3_ipsec_esp": { @@ -26120,7 +26577,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_interface_ospfv3_ipsec_esp", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2425" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2428" } }, "unconfigure_interface_pim": { @@ -26129,7 +26586,7 @@ "module_name": "mcast.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_interface_pim", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/mcast/configure.py#L165" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/mcast/configure.py#L195" } }, "unconfigure_interface_port_channel": { @@ -26381,7 +26838,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_interface_vlan", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2533" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2495" } }, "unconfigure_interface_vlan_standby_ip": { @@ -26435,7 +26892,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_ip_access_group_in_out", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1747" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1755" } }, "unconfigure_ip_arp_inspection_filter": { @@ -26564,6 +27021,15 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/dhcp/configure.py#L754" } }, + "unconfigure_ip_dhcp_snooping_information_option_allow_untrusted_global": { + "iosxe": { + "doc": " Unconfigure ip dhcp snooping information option allow-untrusted on device\n Args:\n device ('obj'): Device object\n Returns:\n None\n Raises:\n SubCommandFailure: Failed unconfiguring dhcp snooping information option allow-untrusted on device\n ", + "module_name": "dhcp.configure", + "package": "genie.libs.sdk.apis", + "uid": "unconfigure_ip_dhcp_snooping_information_option_allow_untrusted_global", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/dhcp/configure.py#L1447" + } + }, "unconfigure_ip_dhcp_snooping_trust": { "iosxe": { "doc": "Unconfigures ip dhcp snooping trust\n\n Args:\n device ('obj'): device object\n interface ('str'): name of interface\n\n Return:\n None\n\n Raises:\n SubCommandFailure\n ", @@ -26777,7 +27243,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_ip_local_pool", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L73" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L72" } }, "unconfigure_ip_mtu": { @@ -26800,11 +27266,11 @@ }, "unconfigure_ip_multicast_routing_distributed": { "iosxe": { - "doc": "Unconfigure IP multicast routing\n Args:\n device (`obj`): Device object\n no_spd (): Selective packet discard\n punt_limit (`str` or `int`): Punt limit. Acceptable values are:\n integer (packets per second)\n default\n disable\n Return:\n None\n Raise:\n SubCommandFailure: Failure while configuring\n ", - "module_name": "multicast.configure", + "doc": "Unconfigure ip multicast routing on device\n Args:\n device (`obj`): Device object\n Returns:\n None\n ", + "module_name": "mcast.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_ip_multicast_routing_distributed", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/multicast/configure.py#L481" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/mcast/configure.py#L63" } }, "unconfigure_ip_multicast_vrf_routing": { @@ -26813,7 +27279,7 @@ "module_name": "mcast.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_ip_multicast_vrf_routing", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/mcast/configure.py#L67" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/mcast/configure.py#L97" } }, "unconfigure_ip_name_server": { @@ -26840,7 +27306,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_ip_ospf_mtu_ignore", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1498" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1501" } }, "unconfigure_ip_pim": { @@ -26894,7 +27360,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_ip_prefix_list", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L946" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L948" } }, "unconfigure_ip_prefix_list_deny_permit": { @@ -26957,7 +27423,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_ip_source_binding", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4239" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4117" } }, "unconfigure_ip_ssh_version": { @@ -26966,7 +27432,7 @@ "module_name": "management.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_ip_ssh_version", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/management/configure.py#L903" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/management/configure.py#L912" } }, "unconfigure_ip_subnet_to_sgt_mapping_vrf": { @@ -26984,7 +27450,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_ip_tftp_blocksize", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1465" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1446" } }, "unconfigure_ip_to_sgt_mapping_vrf": { @@ -27128,7 +27594,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_ipv6_acl", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L449" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L479" } }, "unconfigure_ipv6_acl_ace": { @@ -27137,7 +27603,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_ipv6_acl_ace", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L470" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L500" } }, "unconfigure_ipv6_acl_on_interface": { @@ -27221,6 +27687,42 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/interface/configure.py#L7046" } }, + "unconfigure_ipv6_dhcp_relay_destination_ipv6address": { + "iosxe": { + "doc": " Unconfigure interface ipv6 dhcp relay destination ipv6 address \n Args:\n device ('obj'): device to use\n interface ('str'): name of the interface to be configured # example Vlan100\"\n ipv6_address ('str'): IPv6 destination address Ex: 20::1\n vrf_name ('str',Optional): vrf name Ex: green\n Returns:\n None\n Raises:\n SubCommandFailure: Failed to unconfigure ipv6 dhcp relay destination ipv6 address\n ", + "module_name": "dhcpv6.configure", + "package": "genie.libs.sdk.apis", + "uid": "unconfigure_ipv6_dhcp_relay_destination_ipv6address", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/dhcpv6/configure.py#L579" + } + }, + "unconfigure_ipv6_dhcp_relay_option_vpn": { + "iosxe": { + "doc": " Unconfigures ipv6 dhcp relay option vpn\n Args:\n device ('obj'): device to use\n interface ('str'): interface name\n Returns:\n None\n Raises:\n SubCommandFailure\n ", + "module_name": "dhcpv6.configure", + "package": "genie.libs.sdk.apis", + "uid": "unconfigure_ipv6_dhcp_relay_option_vpn", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/dhcpv6/configure.py#L497" + } + }, + "unconfigure_ipv6_dhcp_relay_source_interface_intf_id": { + "iosxe": { + "doc": " Unconfigure interface ipv6 dhcp relay source interface intf_id \n Args:\n device ('obj'): device to use\n interface ('str'): name of the interface # example Vlan100\"\n intf_id ('str'): Set source interface for relayed messages for interface ex: Loopback1 interface\n Returns:\n None\n Raises:\n SubCommandFailure: Failed to unconfigure ipv6 dhcp relay source-interface intf_id\n ", + "module_name": "dhcpv6.configure", + "package": "genie.libs.sdk.apis", + "uid": "unconfigure_ipv6_dhcp_relay_source_interface_intf_id", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/dhcpv6/configure.py#L534" + } + }, + "unconfigure_ipv6_dhcp_relay_trust": { + "iosxe": { + "doc": " Unconfigures ipv6 dhcp relay trust\n Args:\n device ('obj'): device to use\n interface ('str'): interface name\n Returns:\n None\n Raises:\n SubCommandFailure\n ", + "module_name": "dhcpv6.configure", + "package": "genie.libs.sdk.apis", + "uid": "unconfigure_ipv6_dhcp_relay_trust", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/dhcpv6/configure.py#L463" + } + }, "unconfigure_ipv6_eigrp_router": { "iosxe": { "doc": " Unconfigures IPv6 Eigrp Router\n Args:\n device ('obj') device to use\n process_id ('str). EIGRP process id\n Returns:\n None\n Raises:\n SubCommandFailure\n ", @@ -27470,7 +27972,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_ipv6_ospf_bfd", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1289" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1292" } }, "unconfigure_ipv6_ospf_mtu_ignore": { @@ -27479,7 +27981,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_ipv6_ospf_mtu_ignore", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1347" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1350" } }, "unconfigure_ipv6_ospf_routing_on_interface": { @@ -27488,7 +27990,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_ipv6_ospf_routing_on_interface", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1411" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1414" } }, "unconfigure_ipv6_pim_bsr_candidate_bsr": { @@ -27686,7 +28188,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_key_config_key_password_encrypt", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3185" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3063" } }, "unconfigure_l2vpn_evpn": { @@ -27704,7 +28206,7 @@ "module_name": "evpn.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_l2vpn_evpn_flooding_suppression", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L819" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L820" } }, "unconfigure_l2vpn_evpn_router_id": { @@ -27785,7 +28287,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_license_smart_reservation", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2745" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2707" } }, "unconfigure_license_smart_transport": { @@ -27821,7 +28323,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_line_vty", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3292" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3170" } }, "unconfigure_lisp_enhanced_forwarding": { @@ -28013,7 +28515,7 @@ "module_name": "snmp.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_logging_snmp_trap", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py#L548" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py#L556" } }, "unconfigure_mac_access_group_mac_acl_in_out": { @@ -28022,7 +28524,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_mac_access_group_mac_acl_in_out", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1773" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1803" } }, "unconfigure_mac_acl": { @@ -28031,7 +28533,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_mac_acl", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1722" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1752" } }, "unconfigure_mac_address_change_interval": { @@ -28121,7 +28623,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_macro_auto_global_processing", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3771" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3649" } }, "unconfigure_macro_auto_global_processing_on_interface": { @@ -28130,7 +28632,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_macro_auto_global_processing_on_interface", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3735" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3613" } }, "unconfigure_macro_auto_processing_on_interface": { @@ -28139,7 +28641,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_macro_auto_processing_on_interface", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3912" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3790" } }, "unconfigure_macro_auto_sticky": { @@ -28148,16 +28650,16 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_macro_auto_sticky", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L761" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L740" } }, "unconfigure_management_netconf": { "iosxe": { - "doc": "\n Unonfigure device for management via netconf.\n\n Args:\n device ('obj'): device object\n\n Returns:\n_ None\n ", + "doc": "\n Unonfigure device for management via netconf.\n\n Args:\n device ('obj'): device object\n\n Returns:\n None\n ", "module_name": "management.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_management_netconf", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/management/configure.py#L946" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/management/configure.py#L955" } }, "unconfigure_match_service_type_mdns_controller_service_list": { @@ -28184,7 +28686,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_mdix_auto", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4316" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4194" } }, "unconfigure_mdns_active_response_timer": { @@ -28328,7 +28830,7 @@ "module_name": "evpn.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_mdt_config_on_vrf", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L1044" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L1045" } }, "unconfigure_mdt_data_threshold": { @@ -28400,7 +28902,7 @@ "module_name": "ike.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_modify_ikev2_profile", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ike/configure.py#L1388" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ike/configure.py#L1426" } }, "unconfigure_monitor_capture_buffer_size": { @@ -28490,7 +28992,7 @@ "module_name": "management.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_mtc", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/management/configure.py#L837" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/management/configure.py#L846" } }, "unconfigure_mtc_parameters": { @@ -28499,7 +29001,7 @@ "module_name": "management.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_mtc_parameters", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/management/configure.py#L803" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/management/configure.py#L812" } }, "unconfigure_nat64_interface": { @@ -28508,7 +29010,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_nat64_interface", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1132" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1140" } }, "unconfigure_nat64_nd_ra_prefix": { @@ -28517,7 +29019,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_nat64_nd_ra_prefix", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1673" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1681" } }, "unconfigure_nat64_prefix_stateful": { @@ -28526,7 +29028,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_nat64_prefix_stateful", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1184" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1192" } }, "unconfigure_nat64_translation_timeout": { @@ -28535,7 +29037,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_nat64_translation_timeout", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1564" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1572" } }, "unconfigure_nat64_v4_list_pool": { @@ -28544,7 +29046,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_nat64_v4_list_pool", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1441" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1449" } }, "unconfigure_nat64_v4_list_pool_overload": { @@ -28553,7 +29055,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_nat64_v4_list_pool_overload", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1507" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1515" } }, "unconfigure_nat64_v4_pool": { @@ -28562,7 +29064,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_nat64_v4_pool", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1360" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1368" } }, "unconfigure_nat64_v6v4_static": { @@ -28571,7 +29073,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_nat64_v6v4_static", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1244" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1252" } }, "unconfigure_nat64_v6v4_static_protocol_port": { @@ -28580,7 +29082,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_nat64_v6v4_static_protocol_port", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1306" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1314" } }, "unconfigure_nat_in_out": { @@ -28616,7 +29118,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_nat_pool_address", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1820" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1828" } }, "unconfigure_nat_pool_overload_rule": { @@ -28625,7 +29127,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_nat_pool_overload_rule", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1418" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1426" } }, "unconfigure_nat_port_route_map_rule": { @@ -28634,7 +29136,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_nat_port_route_map_rule", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L283" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L291" } }, "unconfigure_nat_route_map": { @@ -28643,7 +29145,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_nat_route_map", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L881" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L889" } }, "unconfigure_nat_translation_max_entries": { @@ -28652,7 +29154,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_nat_translation_max_entries", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1962" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1970" } }, "unconfigure_nat_translation_timeout": { @@ -28661,7 +29163,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_nat_translation_timeout", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1035" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1043" } }, "unconfigure_neighbor_under_ospf": { @@ -28670,7 +29172,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_neighbor_under_ospf", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1756" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1759" } }, "unconfigure_netconf_yang": { @@ -28688,7 +29190,7 @@ "module_name": "management.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_netconf_yang_intelligent_sync", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/management/configure.py#L870" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/management/configure.py#L879" } }, "unconfigure_netconf_yang_polling": { @@ -28697,7 +29199,7 @@ "module_name": "management.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_netconf_yang_polling", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/management/configure.py#L750" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/management/configure.py#L759" } }, "unconfigure_network_policy_profile_number": { @@ -28724,7 +29226,7 @@ "module_name": "evpn.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_nve_interface", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L550" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L551" } }, "unconfigure_nve_interface_group_based_policy": { @@ -28733,7 +29235,7 @@ "module_name": "evpn.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_nve_interface_group_based_policy", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L683" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L684" } }, "unconfigure_ospf": { @@ -28751,7 +29253,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_ospf_area_type", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1618" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1621" } }, "unconfigure_ospf_cost": { @@ -28760,7 +29262,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_ospf_cost", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1937" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1940" } }, "unconfigure_ospf_from_interface": { @@ -28769,7 +29271,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_ospf_from_interface", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2008" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2011" } }, "unconfigure_ospf_network_non_broadcast": { @@ -28778,7 +29280,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_ospf_network_non_broadcast", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1696" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1699" } }, "unconfigure_ospf_on_device": { @@ -28787,7 +29289,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_ospf_on_device", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L919" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L921" } }, "unconfigure_ospf_router_id": { @@ -28805,7 +29307,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_ospf_vrf_on_device", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1150" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1153" } }, "unconfigure_ospfv3": { @@ -28832,7 +29334,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_ospfv3_ipsec_ah", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2269" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2272" } }, "unconfigure_ospfv3_ipsec_esp": { @@ -28841,7 +29343,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_ospfv3_ipsec_esp", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2306" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L2309" } }, "unconfigure_ospfv3_network": { @@ -28850,7 +29352,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_ospfv3_network", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1231" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1234" } }, "unconfigure_outside_static_nat_rule": { @@ -28859,7 +29361,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_outside_static_nat_rule", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1777" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1785" } }, "unconfigure_pae": { @@ -28895,7 +29397,7 @@ "module_name": "mcast.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_pim_ssm_default", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/mcast/configure.py#L221" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/mcast/configure.py#L251" } }, "unconfigure_pki_trustpoint": { @@ -28913,7 +29415,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_platform_qos_port_channel_aggregate", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L196" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L195" } }, "unconfigure_platform_sudi_cmca3": { @@ -29048,7 +29550,7 @@ "module_name": "ike.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_ppk_on_keyring", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ike/configure.py#L1269" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ike/configure.py#L1307" } }, "unconfigure_pppoe_enable_interface": { @@ -29066,7 +29568,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_process_cpu_statistics_limit_entry_percentage_size", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3846" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3724" } }, "unconfigure_process_cpu_threshold_type_rising_interval": { @@ -29075,7 +29577,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_process_cpu_threshold_type_rising_interval", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3808" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3686" } }, "unconfigure_profile_on_tunnel_interface": { @@ -29309,7 +29811,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_redistribute_eigrp_under_ospf", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1641" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1644" } }, "unconfigure_rip": { @@ -29336,7 +29838,7 @@ "module_name": "ospf.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_route_map", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1065" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py#L1067" } }, "unconfigure_route_map_permit": { @@ -29372,7 +29874,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_router_bgp", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2406" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2368" } }, "unconfigure_router_bgp_maximum_paths": { @@ -29408,7 +29910,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_router_ospf", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2461" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2423" } }, "unconfigure_routing_ip_route_vrf": { @@ -29492,13 +29994,22 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/dhcp/configure.py#L1309" } }, + "unconfigure_service_instance": { + "iosxe": { + "doc": " Unconfigure service instance on an interface\n\n Args:\n device (`obj`): Device object\n interface (`str`): Interface to get address\n service_num (`str`, optional): service instance number to be configured on interface\n\n Returns:\n None\n Warning messages\n\n Raises:\n SubCommandFailure\n ", + "module_name": "interface.configure", + "package": "genie.libs.sdk.apis", + "uid": "unconfigure_service_instance", + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/interface/configure.py#L9397" + } + }, "unconfigure_service_internal": { "iosxe": { "doc": " Unonfigure service imternal\n Args:\n device ('obj'): device to use\n Returns\n None\n Raises:\n SubCommandFailure\n ", "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_service_internal", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2905" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2867" } }, "unconfigure_service_password_encryption": { @@ -29516,7 +30027,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_service_performance", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3148" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3026" } }, "unconfigure_service_policy": { @@ -29561,7 +30072,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_service_timestamps", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L619" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L598" } }, "unconfigure_service_type_mdns_service_definition": { @@ -29606,7 +30117,7 @@ "module_name": "snmp.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_snmp_host_version", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py#L408" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py#L416" } }, "unconfigure_snmp_mib_bulkstat": { @@ -29615,7 +30126,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_snmp_mib_bulkstat", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4609" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4372" } }, "unconfigure_snmp_server_contact": { @@ -29624,7 +30135,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_snmp_server_contact", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1342" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1323" } }, "unconfigure_snmp_server_enable_traps_power_ethernet_group": { @@ -29633,7 +30144,7 @@ "module_name": "snmp.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_snmp_server_enable_traps_power_ethernet_group", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py#L616" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py#L642" } }, "unconfigure_snmp_server_engineid": { @@ -29642,7 +30153,7 @@ "module_name": "snmp.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_snmp_server_engineid", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py#L565" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py#L573" } }, "unconfigure_snmp_server_group": { @@ -29660,7 +30171,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_snmp_server_location", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1382" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1363" } }, "unconfigure_snmp_server_manager": { @@ -29669,7 +30180,7 @@ "module_name": "snmp.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_snmp_server_manager", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py#L513" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py#L521" } }, "unconfigure_snmp_server_trap": { @@ -29687,7 +30198,7 @@ "module_name": "snmp.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_snmp_server_user", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py#L324" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py#L332" } }, "unconfigure_snmp_server_view": { @@ -29705,7 +30216,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_software_auto_upgrade", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2078" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2040" } }, "unconfigure_source_template": { @@ -29723,7 +30234,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_source_template_global", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1688" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1669" } }, "unconfigure_span_monitor_session": { @@ -29867,7 +30378,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_stack_power_mode_redundant", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1971" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1933" } }, "unconfigure_stack_power_stack": { @@ -29876,7 +30387,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_stack_power_stack", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1928" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1890" } }, "unconfigure_stack_power_switch": { @@ -29885,7 +30396,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_stack_power_switch", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4355" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4233" } }, "unconfigure_stack_power_switch_power_priority": { @@ -29894,7 +30405,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_stack_power_switch_power_priority", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3465" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3343" } }, "unconfigure_stackpower_stack": { @@ -29903,7 +30414,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_stackpower_stack", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4666" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L4429" } }, "unconfigure_stackpower_stack_switch_standalone": { @@ -29912,7 +30423,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_stackpower_stack_switch_standalone", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3551" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L3429" } }, "unconfigure_stackwise_virtual_dual_active_interfaces": { @@ -29948,7 +30459,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_standard_access_list", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L488" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L496" } }, "unconfigure_standard_acl": { @@ -29957,7 +30468,7 @@ "module_name": "acl.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_standard_acl", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1649" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py#L1679" } }, "unconfigure_static_ip_pim_rp_address": { @@ -29993,7 +30504,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_static_nat_network_rule", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L622" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L630" } }, "unconfigure_static_nat_outside_rule": { @@ -30002,7 +30513,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_static_nat_outside_rule", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L771" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L779" } }, "unconfigure_static_nat_route_map_no_alias_rule": { @@ -30011,16 +30522,16 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_static_nat_route_map_no_alias_rule", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1877" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1885" } }, "unconfigure_static_nat_route_map_rule": { "iosxe": { - "doc": " UnConfigure static NAT route-map rule\n Args:\n device ('obj'): device to use\n inside_local_ip ('str'): Inside local ip\n inside_global_ip ('str'): Inside global ip\n route_map_name ('str') : Name of route-map\n Returns:\n None\n Raises:\n SubCommandFailure: static NAT route-map rule not unconfigured\n ", + "doc": " UnConfigure static NAT route-map rule\n Args:\n device ('obj'): device to use\n inside_local_ip ('str'): Inside local ip\n inside_global_ip ('str'): Inside global ip\n route_map_name ('str') : Name of route-map\n no_alias ('bool', optional): no alias static route. Default is False\n Returns:\n None\n Raises:\n SubCommandFailure: static NAT route-map rule not unconfigured\n ", "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_static_nat_route_map_rule", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L225" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L229" } }, "unconfigure_static_nat_rule": { @@ -30029,7 +30540,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_static_nat_rule", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L688" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L696" } }, "unconfigure_static_nat_source_list_rule": { @@ -30038,7 +30549,7 @@ "module_name": "nat.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_static_nat_source_list_rule", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1982" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py#L1990" } }, "unconfigure_subinterface": { @@ -30137,7 +30648,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_system_disable_password_recovery_switch_all", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1293" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1274" } }, "unconfigure_system_ignore_startupconfig_switch_all": { @@ -30146,7 +30657,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_system_ignore_startupconfig_switch_all", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1186" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1165" } }, "unconfigure_system_mtu": { @@ -30281,7 +30792,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_udld_aggressive", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2425" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2387" } }, "unconfigure_udld_enable": { @@ -30299,7 +30810,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_udld_message_time", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2443" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L2405" } }, "unconfigure_umbrella_global_parameter_map": { @@ -30353,7 +30864,7 @@ "module_name": "evpn.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_vfi_context_evpn", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L1204" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py#L1205" } }, "unconfigure_virtual_service": { @@ -30362,7 +30873,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_virtual_service", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1579" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1560" } }, "unconfigure_virtual_service_activate": { @@ -30371,7 +30882,7 @@ "module_name": "platform.configure", "package": "genie.libs.sdk.apis", "uid": "unconfigure_virtual_service_activate", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1600" + "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py#L1581" } }, "unconfigure_virtual_template": { diff --git a/pkgs/sdk-pkg/sdk_generator/output/github_verifications.json b/pkgs/sdk-pkg/sdk_generator/output/github_verifications.json index 7f5f8caea..10f7af8eb 100644 --- a/pkgs/sdk-pkg/sdk_generator/output/github_verifications.json +++ b/pkgs/sdk-pkg/sdk_generator/output/github_verifications.json @@ -2969,7 +2969,7 @@ "c9300": { "doc": "Parser for show environment all", "groups": [], - "schema": "{'switch': {Any (str) *: {'fan': {Any (str) *: {'state': , Optional (str) direction: , Optional (str) speed: }}, 'power_supply': {Any (str) *: {'state': , Optional (str) pid: , Optional (str) serial_number: , 'status': , Optional (str) system_power: , Optional (str) poe_power: , Optional (str) watts: }}, 'system_temperature_state': , Optional (str) inlet_temperature: {'value': , 'state': , 'yellow_threshold': , 'red_threshold': }, Optional (str) outlet_temperature: {'value': , 'state': , 'yellow_threshold': , 'red_threshold': }, Optional (str) hotspot_temperature: {'value': , 'state': , 'yellow_threshold': , 'red_threshold': }, Optional (str) asic_temperature: {'value': , 'state': , 'yellow_threshold': , 'red_threshold': }}}}", + "schema": "{'switch': {Any (str) *: {'fan': {Any (str) *: {'state': , Optional (str) direction: , Optional (str) speed: }}, 'power_supply': {Any (str) *: {Optional (str) state: , Optional (str) pid: , Optional (str) serial_number: , 'status': , Optional (str) system_power: , Optional (str) poe_power: , Optional (str) watts: }}, Optional (str) system_temperature_state: , Optional (str) inlet_temperature: {'value': , 'state': , 'yellow_threshold': , 'red_threshold': }, Optional (str) outlet_temperature: {'value': , 'state': , 'yellow_threshold': , 'red_threshold': }, Optional (str) hotspot_temperature: {'value': , 'state': , 'yellow_threshold': , 'red_threshold': }, Optional (str) asic_temperature: {'value': , 'state': , 'yellow_threshold': , 'red_threshold': }}}}", "source": { "class": "genie.harness.base.Template" }, @@ -7243,7 +7243,7 @@ "ios": { "doc": "Parser for \"show lisp all instance-id dabatase\"", "groups": [], - "schema": "{'lisp_id': {Any (str) *: {'instance_id': {: {'eid_table': , 'lsb': , 'entries': {'total': , 'no_route': , 'inactive': , 'eids': {: {'eid': , 'mask': , Optional (str) dynamic_eid: , Optional (str) locator_set: , Optional (str) no_route_to_prefix: , Optional (str) proxy: , Optional (str) sgt: , Optional (str) domain_id: , Optional (str) service_insertion: , Optional (str) auto_discover_rlocs: , Optional (str) uptime: , Optional (str) last_change: , Optional (str) locators: {: {'priority': , 'weight': , 'source': , 'location': , 'state': }}}}}}}}}}", + "schema": "{'lisp_id': {Any (str) *: {'instance_id': {: {'eid_table': , 'lsb': , 'entries': {'total': , 'no_route': , 'inactive': , Optional (str) do_not_register: , 'eids': {: {'eid': , 'mask': , Optional (str) do_not_register: , Optional (str) dynamic_eid: , Optional (str) locator_set: , Optional (str) no_route_to_prefix: , Optional (str) proxy: , Optional (str) sgt: , Optional (str) domain_id: , Optional (str) service_insertion: , Optional (str) auto_discover_rlocs: , Optional (str) uptime: , Optional (str) last_change: , Optional (str) locators: {: {'priority': , 'weight': , 'source': , 'location': , 'state': }}}}}}}}}}", "source": { "class": "genie.harness.base.Template" }, @@ -7261,7 +7261,7 @@ "instance_id": "*", "service": "ethernet" }, - "schema": "{'lisp_id': {Any (str) *: {'instance_id': {: {'eid_table': , 'lsb': , 'entries': {'total': , 'no_route': , 'inactive': , 'eids': {: {'eid': , 'mask': , Optional (str) dynamic_eid: , Optional (str) locator_set: , Optional (str) no_route_to_prefix: , Optional (str) proxy: , Optional (str) sgt: , Optional (str) domain_id: , Optional (str) service_insertion: , Optional (str) auto_discover_rlocs: , Optional (str) uptime: , Optional (str) last_change: , Optional (str) locators: {: {'priority': , 'weight': , 'source': , 'location': , 'state': }}}}}}}}}}", + "schema": "{'lisp_id': {Any (str) *: {'instance_id': {: {'eid_table': , 'lsb': , 'entries': {'total': , 'no_route': , 'inactive': , Optional (str) do_not_register: , 'eids': {: {'eid': , 'mask': , Optional (str) do_not_register: , Optional (str) dynamic_eid: , Optional (str) locator_set: , Optional (str) no_route_to_prefix: , Optional (str) proxy: , Optional (str) sgt: , Optional (str) domain_id: , Optional (str) service_insertion: , Optional (str) auto_discover_rlocs: , Optional (str) uptime: , Optional (str) last_change: , Optional (str) locators: {: {'priority': , 'weight': , 'source': , 'location': , 'state': }}}}}}}}}}", "source": { "class": "genie.harness.base.Template" }, @@ -7272,7 +7272,7 @@ "ios": { "doc": "Parser for \"show lisp all instance-id dabatase\"", "groups": [], - "schema": "{'lisp_id': {Any (str) *: {'instance_id': {: {'eid_table': , 'lsb': , 'entries': {'total': , 'no_route': , 'inactive': , 'eids': {: {'eid': , 'mask': , Optional (str) dynamic_eid: , Optional (str) locator_set: , Optional (str) no_route_to_prefix: , Optional (str) proxy: , Optional (str) sgt: , Optional (str) domain_id: , Optional (str) service_insertion: , Optional (str) auto_discover_rlocs: , Optional (str) uptime: , Optional (str) last_change: , Optional (str) locators: {: {'priority': , 'weight': , 'source': , 'location': , 'state': }}}}}}}}}}", + "schema": "{'lisp_id': {Any (str) *: {'instance_id': {: {'eid_table': , 'lsb': , 'entries': {'total': , 'no_route': , 'inactive': , Optional (str) do_not_register: , 'eids': {: {'eid': , 'mask': , Optional (str) do_not_register: , Optional (str) dynamic_eid: , Optional (str) locator_set: , Optional (str) no_route_to_prefix: , Optional (str) proxy: , Optional (str) sgt: , Optional (str) domain_id: , Optional (str) service_insertion: , Optional (str) auto_discover_rlocs: , Optional (str) uptime: , Optional (str) last_change: , Optional (str) locators: {: {'priority': , 'weight': , 'source': , 'location': , 'state': }}}}}}}}}}", "source": { "class": "genie.harness.base.Template" }, @@ -7290,7 +7290,7 @@ "instance_id": "*", "service": "ipv4" }, - "schema": "{'lisp_id': {Any (str) *: {'instance_id': {: {'eid_table': , 'lsb': , 'entries': {'total': , 'no_route': , 'inactive': , 'eids': {: {'eid': , 'mask': , Optional (str) dynamic_eid: , Optional (str) locator_set: , Optional (str) no_route_to_prefix: , Optional (str) proxy: , Optional (str) sgt: , Optional (str) domain_id: , Optional (str) service_insertion: , Optional (str) auto_discover_rlocs: , Optional (str) uptime: , Optional (str) last_change: , Optional (str) locators: {: {'priority': , 'weight': , 'source': , 'location': , 'state': }}}}}}}}}}", + "schema": "{'lisp_id': {Any (str) *: {'instance_id': {: {'eid_table': , 'lsb': , 'entries': {'total': , 'no_route': , 'inactive': , Optional (str) do_not_register: , 'eids': {: {'eid': , 'mask': , Optional (str) do_not_register: , Optional (str) dynamic_eid: , Optional (str) locator_set: , Optional (str) no_route_to_prefix: , Optional (str) proxy: , Optional (str) sgt: , Optional (str) domain_id: , Optional (str) service_insertion: , Optional (str) auto_discover_rlocs: , Optional (str) uptime: , Optional (str) last_change: , Optional (str) locators: {: {'priority': , 'weight': , 'source': , 'location': , 'state': }}}}}}}}}}", "source": { "class": "genie.harness.base.Template" }, @@ -7301,7 +7301,7 @@ "ios": { "doc": "Parser for \"show lisp all instance-id dabatase\"", "groups": [], - "schema": "{'lisp_id': {Any (str) *: {'instance_id': {: {'eid_table': , 'lsb': , 'entries': {'total': , 'no_route': , 'inactive': , 'eids': {: {'eid': , 'mask': , Optional (str) dynamic_eid: , Optional (str) locator_set: , Optional (str) no_route_to_prefix: , Optional (str) proxy: , Optional (str) sgt: , Optional (str) domain_id: , Optional (str) service_insertion: , Optional (str) auto_discover_rlocs: , Optional (str) uptime: , Optional (str) last_change: , Optional (str) locators: {: {'priority': , 'weight': , 'source': , 'location': , 'state': }}}}}}}}}}", + "schema": "{'lisp_id': {Any (str) *: {'instance_id': {: {'eid_table': , 'lsb': , 'entries': {'total': , 'no_route': , 'inactive': , Optional (str) do_not_register: , 'eids': {: {'eid': , 'mask': , Optional (str) do_not_register: , Optional (str) dynamic_eid: , Optional (str) locator_set: , Optional (str) no_route_to_prefix: , Optional (str) proxy: , Optional (str) sgt: , Optional (str) domain_id: , Optional (str) service_insertion: , Optional (str) auto_discover_rlocs: , Optional (str) uptime: , Optional (str) last_change: , Optional (str) locators: {: {'priority': , 'weight': , 'source': , 'location': , 'state': }}}}}}}}}}", "source": { "class": "genie.harness.base.Template" }, @@ -7319,7 +7319,7 @@ "instance_id": "*", "service": "ipv6" }, - "schema": "{'lisp_id': {Any (str) *: {'instance_id': {: {'eid_table': , 'lsb': , 'entries': {'total': , 'no_route': , 'inactive': , 'eids': {: {'eid': , 'mask': , Optional (str) dynamic_eid: , Optional (str) locator_set: , Optional (str) no_route_to_prefix: , Optional (str) proxy: , Optional (str) sgt: , Optional (str) domain_id: , Optional (str) service_insertion: , Optional (str) auto_discover_rlocs: , Optional (str) uptime: , Optional (str) last_change: , Optional (str) locators: {: {'priority': , 'weight': , 'source': , 'location': , 'state': }}}}}}}}}}", + "schema": "{'lisp_id': {Any (str) *: {'instance_id': {: {'eid_table': , 'lsb': , 'entries': {'total': , 'no_route': , 'inactive': , Optional (str) do_not_register: , 'eids': {: {'eid': , 'mask': , Optional (str) do_not_register: , Optional (str) dynamic_eid: , Optional (str) locator_set: , Optional (str) no_route_to_prefix: , Optional (str) proxy: , Optional (str) sgt: , Optional (str) domain_id: , Optional (str) service_insertion: , Optional (str) auto_discover_rlocs: , Optional (str) uptime: , Optional (str) last_change: , Optional (str) locators: {: {'priority': , 'weight': , 'source': , 'location': , 'state': }}}}}}}}}}", "source": { "class": "genie.harness.base.Template" }, diff --git a/pkgs/sdk-pkg/setup.py b/pkgs/sdk-pkg/setup.py index c609a8fde..9f7ed8322 100755 --- a/pkgs/sdk-pkg/setup.py +++ b/pkgs/sdk-pkg/setup.py @@ -33,8 +33,12 @@ def build_version_range(version): eg: for version '3.4.7', return '>=3.4.0, <3.5.0' ''' req_ver = version.split('.') - version_range = '>= %s.%s.0rc0, < %s.%s.0' % \ - (req_ver[0], req_ver[1], req_ver[0], int(req_ver[1])+1) + if 'rc' in version: + version_range = '>= %s.%s.0rc0, < %s.%s.0' % \ + (req_ver[0], req_ver[1], req_ver[0], int(req_ver[1])+1) + else: + version_range = '>= %s.%s.0, < %s.%s.0' % \ + (req_ver[0], req_ver[1], req_ver[0], int(req_ver[1])+1) return version_range @@ -45,11 +49,14 @@ def version_info(*paths): return version, build_version_range(version) # compute version range -version = find_version('src', 'genie', 'libs', 'sdk', '__init__.py') +version, version_range = version_info('src', 'genie', 'libs', 'sdk', '__init__.py') install_requires = [ - 'ruamel.yaml', 'yang.connector', - 'pysnmp==4.4.12', 'pyasn1==0.4.8' + 'ruamel.yaml', + f'yang.connector{version_range}', + f'rest.connector{version_range}', + 'pysnmp-lextudio==5.0.29', + 'pyasn1==0.4.8' ] # launch setup diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/__init__.py index e1f73546f..afeeb7b88 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/__init__.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/__init__.py @@ -7,7 +7,7 @@ ''' # metadata -__version__ = '23.8' +__version__ = '23.9' __author__ = 'Cisco Systems Inc.' __contact__ = ['pyats-support@cisco.com', 'pyats-support-ext@cisco.com'] __copyright__ = 'Copyright (c) 2020, Cisco Systems Inc.' diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/aaa/configure.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/aaa/configure.py index ec1d69ba5..481ef8535 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/aaa/configure.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/aaa/configure.py @@ -2567,6 +2567,8 @@ def unconfig_access_session_accnt_attr_filter_spec_include_list(device, filter_l raise SubCommandFailure( 'Could not unconfigure Attribute list with type' ) + + def configure_access_session_attr_filter_list(device, filter_list_name, vlan_id=None, cdp=None, dhcp=None, lldp=None, dhcpv6=None, http=None): """ Configure access-session filter list @@ -2654,4 +2656,91 @@ def unconfigure_access_session_attr_filter_list_protocol(device, filter_list_nam device.configure(cmd) except SubCommandFailure as e: - raise SubCommandFailure(f"Failed to configure device sensor filter list. Error:\n{e}") \ No newline at end of file + raise SubCommandFailure(f"Failed to configure device sensor filter list. Error:\n{e}") + +def configure_aaa_accounting_update(device, action_type, periodic_interval): + """configure aaa accounting update periodic + Args: + device (`obj`): Device object + action_type('str'): newinfo Only send accounting update records when we have new acct info. + periodic Send accounting update records at regular intervals. + periodic_interval('str'): <1-71582> Periodic intervals to send accounting update records(in minutes) + Returns: + None + Raise: + SubCommandFailure: Failed configure aaa accounting update periodic + """ + config =f"aaa accounting update {action_type} {periodic_interval}" + try: + device.configure(config) + except SubCommandFailure as e: + raise SubCommandFailure(f"Could not configure aaa accounting update periodic. Error:\n{e}") + +def unconfigure_aaa_accounting_update(device, action_type, periodic_interval): + """Unconfigure aaa accounting update periodic + Args: + device (`obj`): Device object + action_type('str'): newinfo Only send accounting update records when we have new acct info. + periodic Send accounting update records at regular intervals. + periodic_interval('str'): <1-71582> Periodic intervals to send accounting update records(in minutes) + Returns: + None + Raise: + SubCommandFailure: Failed unconfigure aaa accounting update periodic + """ + config =f"no aaa accounting update {action_type} {periodic_interval}" + try: + device.configure(config) + except SubCommandFailure as e: + raise SubCommandFailure(f"Could not unconfigure aaa accounting update periodic. Error:\n{e}") + +def unconfigure_aaa_accounting_identity_default_start_stop(device,server_grp,server_grp_name): + """Unconfigure aaa accounting identity default start-stop + Args: + device (`obj`): Device object + server_grp (`str`): Server-group (i.e group) + server_grp_name ('str'): Server-group name + Returns: + None + Raise: + SubCommandFailure: Failed unconfiguring aaa accounting identity default start-stop + """ + config = f"no aaa accounting identity default start-stop {server_grp} {server_grp_name}" + try: + device.configure(config) + except SubCommandFailure as e: + raise SubCommandFailure(f"Could not unconfigure aaa accounting identity default start-stop. Error:\n{e}") + + +def configure_aaa_accounting_update_periodic_interval(device, interval): + """Configure aaa accounting update periodic {interval} + Args: + device ('obj'): Device object + interval('int'): <1-71582> Periodic intervals + Return: + None + Raise: + SubCommandFailure: Failed configuring aaa accounting update periodic + """ + cmd= f'aaa accounting update periodic {interval}' + try: + device.configure(cmd) + except SubCommandFailure as e: + raise SubCommandFailure(f'Could not configure aaa accounting update periodic {interval}. Error:\n{e}') + + +def unconfigure_aaa_accounting_update_periodic_interval(device, interval): + """Unconfigure aaa accounting update periodic {interval} + Args: + device ('obj'): Device object + interval('int'): <1-71582> Periodic intervals + Return: + None + Raise: + SubCommandFailure: Failed unconfiguring aaa accounting update periodic + """ + cmd= f'no aaa accounting update periodic {interval}' + try: + device.configure(cmd) + except SubCommandFailure as e: + raise SubCommandFailure(f'Could not unconfigure aaa accounting update periodic {interval}. Error:\n{e}') diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/aaa/execute.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/aaa/execute.py index c0f97c726..c3ede71a1 100755 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/aaa/execute.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/aaa/execute.py @@ -7,6 +7,7 @@ # Unicon from unicon.core.errors import SubCommandFailure +from unicon.eal.dialogs import Statement, Dialog # Logger log = logging.getLogger(__name__) @@ -43,3 +44,28 @@ def show_logging_smd_output_to_file(device, sprocess, file_name): device.execute(cmd) except SubCommandFailure as e: raise SubCommandFailure(f"Could not set platform software trace aaa-acct debug {device}. Error:\n{e}") + +def execute_clear_aaa_counters_server(device, server_info='', server_id='all'): + """ Execute clear aaa counters for servers + Example: clear aaa counters servers all + Args: + device ('obj'): Device object + server_info ('str'): specifying server information (eg. radius) + server_id ('str'): server id displayed by show aaa servers(Range 0-2147483647) + Returns: + output + Raises: + SubCommandFailure + """ + log.info("Clear aaa counters servers on the device") + + dialog = Statement( + pattern=r".*clear aaa counters servers \[confirm\]", + action='sendline()', + loop_continue=True, + continue_timer=False) + cmd = f"clear aaa counters servers {server_info} {server_id}" + try: + device.execute(cmd, reply=Dialog([dialog])) + except SubCommandFailure as e: + raise SubCommandFailure(f"Could not clear aaa counters servers on device. Error:\n{e}") diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py index 222810ef5..4cbaaeea2 100755 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/acl/configure.py @@ -25,7 +25,9 @@ def config_extended_acl( entries=None, acl_type=None, sequence_num=None, - log_option=None + log_option=None, + time_range=None, + port_type=None ): """ Configure extended ACL on device Args: @@ -44,6 +46,8 @@ def config_extended_acl( acl_type ('str', optional): type of ACL like with or without host keyword, default value is None sequence_num ('str',optional): specific sequence number,default value is None log_option ('str',optional): (None | log), Option to log ACL match,default value is None + time_range ('str',optional): name of the time-range, default value is None + port_type ('str',optional): name of the port_type ex : 'eq', 'gt', 'lt', 'neq', default value is None Returns: config Raises: @@ -62,7 +66,25 @@ def config_extended_acl( dst_ip=dst_ip) if log_option: cmd += log_option + if time_range: + cmd += f"time-range {time_range}" configs.append(cmd) + elif acl_type is None and protocol is not None and src_ip=='any' and dst_ip=="any": + if (protocol in ["tcp", "udp"]) and (port_type in ['eq', 'gt', 'lt', 'neq']) and (time_range is not None): + configs.append( + "{sequence_num} {permission} {protocol} any any {port_type} {dst_port} time-range {time_range}".format(permission=permission, + protocol=protocol, + dst_port=dst_port, + port_type=port_type, + sequence_num=sequence_num, + time_range=time_range)) + elif (protocol in ["tcp", "udp"]) and (port_type in ['eq', 'gt', 'lt', 'neq']) and (time_range is None): + configs.append( + "{sequence_num} {permission} {protocol} any any {port_type} {dst_port}".format(permission=permission, + protocol=protocol, + dst_port=dst_port, + port_type=port_type, + sequence_num=sequence_num,)) else: if dst_wildcard != "0.0.0.0": if entries > 1: @@ -85,6 +107,8 @@ def config_extended_acl( cmd += f"{dst_wildcard} " if dst_port: cmd += f"eq {dst_port} " + if time_range: + cmd += f"time-range {time_range}" if log_option: cmd += log_option configs.append(cmd) @@ -102,6 +126,8 @@ def config_extended_acl( cmd += f"{dst_wildcard} " if dst_port: cmd += f"eq {dst_port} " + if time_range: + cmd += f"time-range {time_range}" if log_option: cmd += log_option configs.append(cmd) @@ -126,6 +152,8 @@ def config_extended_acl( cmd += f"host {dst_ip_inc} " if dst_port: cmd += f"eq {dst_port} " + if time_range: + cmd += f"time-range {time_range}" if log_option: cmd += log_option configs.append(cmd) @@ -143,6 +171,8 @@ def config_extended_acl( cmd += f"{dst_ip} " if dst_port: cmd += f"eq {dst_port} " + if time_range: + cmd += f"time-range {time_range}" if log_option: cmd += log_option configs.append(cmd) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/apphosting/configure.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/apphosting/configure.py index a78cd113c..6d8fa225d 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/apphosting/configure.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/apphosting/configure.py @@ -381,3 +381,61 @@ def confirm_iox_enabled_requested_storage_media(uut, storage='ssd'): else: log.error('IOX not brought up properly! - Error!') return False + +def enable_usb_ssd_verify_exists(device, storage_name="usbflash1:.",time=30): + """ configure app-hosting appid + Args: + device ('obj'): device to use + storage_name('str'): storage name eg:flash or bootflash + time('int'): time + Returns: + None + Raises: + SubCommandFailure + """ + + try: + out = device.api.get_show_output_include(command='show running-config | include platform usb disable',\ + filter='platform usb disable') + if not out[0]: # if we got False + device.api.enable_usb_ssd() + time.sleep(time) + output = device.parse("show version") + + try: + if output['version']['disks'][storage_name]: + log.info(output['version']['disks']) + return True + else: + log.info(output['version']) + return False + except SubCommandFailure as e: + log.error("Problem with parsing show version CLI") + return False + except SubCommandFailure as e: + log.error(f"Problem with parsing show version CLI. Error:\n{e}") + return False + + +def configure_app_management_networking(device, app_name="guestshell", auto_start=None): + ''' + Args: + device ('obj'): device to use + app_name('str'): WORD no description + auto_start('str'): Application start + Returns: + None + Raises: + SubCommandFailure + ''' + + log.info("Configuring APP %s with basic Mgmt Interface config - app-vnic management guest-interface 0" % app_name) + config = [f'app-hosting appid {app_name}',f'app-vnic management guest-interface 0'] + + if auto_start: + config.append('start') + + try: + device.configure(config) + except SubCommandFailure as e: + raise SubCommandFailure(f"Could not configure app_management networking. Error:\n{e}") diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/apphosting/execute.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/apphosting/execute.py index 077be56ff..a9865f4ca 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/apphosting/execute.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/apphosting/execute.py @@ -285,3 +285,53 @@ def set_stack_mode(dev, stack_mode, active_sw_number='', standby_sw_number=''): else: log.info('Reload failed') return False + +def install_wcs_enable_guestshell(device, appid_name, directory, package_name): + ''' + Args: + device ('obj'): device to use + appid_name('str'): WORD Name of application + directory('str'): flash: Package path + package_name('str'): flash:iperf3_signed.tar + Returns: + None + Raises: + SubCommandFailure + ''' + + cli= "app-hosting install appid {appid_name} package {directory}:{package_name}".format(directory=directory,package_name=package_name,appid_name=appid_name) + if not execute_apphosting_cli(device, cli=cli): + log.info("Unable to install wcs_docker app using CLI") + time.sleep(300) + try: + device.execute("guestshell enable", timeout=300) + except SubCommandFailure as e: + raise SubCommandFailure(f"Unable to execute guestshell. Error {e}") + +def execute_apphosting_cli(device, cli="", loops=10, wait_timer=10, unicon_timer=60): + ''' + Args: + device ('obj'): device to use + cli('str'): app-hosting Application hosting related informations + list List the appliance + loops('int'): time + wait_timer('int'): time + unicon_timer('int'): time + Returns: + None + Raises: + SubCommandFailure + ''' + + if not cli: + cli = "show app-hosting list" + + for attempt in range (0,loops): + output = device.execute(cli, timeout=unicon_timer) + if 'The process for the command is not responding or is otherwise unavailable' in output: + log.info("Wait 10 seconds and try again!") + time.sleep(10) + else: + return True + + return False diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/asr1k/configure.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/asr1k/configure.py index fb7f3c455..89a0e0565 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/asr1k/configure.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/asr1k/configure.py @@ -2,6 +2,7 @@ # Unicon from unicon.core.errors import SubCommandFailure +from unicon.eal.dialogs import Dialog, Statement def configure_autoboot(device): @@ -18,4 +19,3 @@ def configure_autoboot(device): device.configure(cmd) except SubCommandFailure as e: raise SubCommandFailure(f'Could not configure Autoboot on asr1k device. Error:\n{e}') - diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cat8k/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cat8k/__init__.py new file mode 100644 index 000000000..cc5085ab6 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cat8k/__init__.py @@ -0,0 +1,3 @@ +# Enable abstraction using this directory name as the abstraction token +from genie import abstract +abstract.declare_token(__name__) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cat8k/configure.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cat8k/configure.py new file mode 100644 index 000000000..705720baa --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cat8k/configure.py @@ -0,0 +1,100 @@ +''' Common Config functions for cat8k''' + +# Unicon +from unicon.core.errors import SubCommandFailure +from unicon.eal.dialogs import Dialog, Statement + + +def configure_breakout_cli(device, port_type, sub_slot='0/2', breakout_type='10g'): + """ Configure breakout + Args: + device ('obj'): Device object + port_type ('str'): Option can be all, native_port_0, native_port_4, native_port_8 + sub_slot ('str',optional): Option can be 0/2 + breakout_type ('str',optional): Option can be 10g + Returns: + None + Raises: + SubCommandFailure + """ + + dialog = Dialog( + [ + Statement( + pattern=r'.*Do you want to proceed\?\s+\[confirm\]$', + action='sendline()', + loop_continue=True, + continue_timer=False + ) + ] + ) + cmd = f"hw-module subslot {sub_slot} breakout {breakout_type} port {port_type}" + + try: + device.configure(cmd, reply=dialog, timeout=60) + except SubCommandFailure as e: + raise SubCommandFailure(f'Could not configure breakout on {device.name} device. Error:\n{e}') + + +def unconfigure_breakout_cli(device, port_type, breakout_type, sub_slot='0/2'): + """ Unconfigure breakout + Args: + device ('obj'): Device object + port_type ('str'): Option can be all, native_port_0, native_port_4, native_port_8 + sub_slot ('str',optional): Option can be 0/2 + breakout_type ('str'): Option can be none,10g + Returns: + None + Raises: + SubCommandFailure + """ + + dialog = Dialog( + [ + Statement( + pattern=r'.*Do you want to proceed\?\s+\[confirm\]$', + action='sendline()', + loop_continue=True, + continue_timer=False + ) + ] + ) + if breakout_type == "10g": + cmd = f"no hw-module subslot {sub_slot} breakout {breakout_type} port {port_type}" + else: + cmd = f"hw-module subslot {sub_slot} breakout {breakout_type} port {port_type}" + + try: + device.configure(cmd, reply=dialog, timeout=60) + except SubCommandFailure as e: + raise SubCommandFailure(f'Could not unconfigure breakout on {device.name} device. Error:\n{e}') + + +def configure_mode_change(device, sub_slot, mode_type): + """ Configure mode change + Args: + device ('obj'): Device object + sub_slot ('str'): Option can be 0/1, 0/2 + mode_type ('str'): Option can be 10G, 40G, 100G + Returns: + None + Raises: + SubCommandFailure + """ + + dialog = Dialog( + [ + Statement( + pattern=r'.*Do you want to proceed\?\s+\[confirm\]$', + action='sendline()', + loop_continue=True, + continue_timer=False + ) + ] + ) + cmd = f"hw-module subslot {sub_slot} mode {mode_type}" + + try: + device.configure(cmd, reply=dialog, timeout=60) + except SubCommandFailure as e: + raise SubCommandFailure(f'Could not configure mode change on {device.name} device. Error:\n{e}') \ No newline at end of file diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cdp/configure.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cdp/configure.py index 41fa3686b..1330d385e 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cdp/configure.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cdp/configure.py @@ -8,19 +8,21 @@ log = logging.getLogger(__name__) -def configure_cdp(device, interfaces=None): +def configure_cdp(device, interfaces=None, timeout=300): """ Enables cdp on target device Args: device ('obj'): Device object + interfaces ('list', optional): List of interfaces. Default is None + timeout ('int', optional): Timeout value for show interfaces parser. Default is 300 seconds Returns: None """ interface_list = {} # if no list of interfaces given get list of all interfaces if interfaces is None: - interface_list = device.parse('show interfaces') + interface_list = device.parse('show interfaces', timeout=timeout) else: - interface_list = device.api.get_interface_information(interface_list) + interface_list = device.api.get_interface_information(interfaces) skipped_ints = [] # build a list of commands to send, checks if interface is correct type @@ -38,19 +40,21 @@ def configure_cdp(device, interfaces=None): log.info('Skipped interfaces {} due to type incompatability'.format(skipped_ints)) device.configure(command_list) -def unconfigure_cdp(device, interfaces=None): +def unconfigure_cdp(device, interfaces=None, timeout=300): """ Disable cdp on target device Args: device ('obj'): Device object + interfaces ('list', optional): List of interfaces. Default is None + timeout ('int', optional): Timeout value for show interfaces parser. Default is 300 seconds Returns: None """ interface_list = {} # if no list of interfaces given get list of all interfaces if interfaces is None: - interface_list = device.parse('show interfaces') + interface_list = device.parse('show interfaces', timeout=timeout) else: - interface_list = device.api.get_interface_information(interface_list) + interface_list = device.api.get_interface_information(interfaces) skipped_ints = [] # build a list of commands to send, checks if interface is correct type diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cts/configure.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cts/configure.py index 0a9968020..c7eee9325 100755 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cts/configure.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/cts/configure.py @@ -1103,4 +1103,22 @@ def enable_cts_enforcement_vlan_list(device, vlan): except SubCommandFailure as e: raise SubCommandFailure( "Could not enable CTS enforcement on vlan {}.Error:\n{}".format(vlan, str(e)) + ) + +def disable_cts_enforcement_vlan_list(device, vlan): + """ disable cts role-based enforcement on given vlan range + Args: + device ('obj'): device to use + vlan ('str'): vlan range to configure + Returns: + None + Raises: + SubCommandFailure: Failed to disable cts role-based enforcement vlan list + """ + log.info("Disable CTS enforcement on vlan-list") + try: + device.configure(["no cts role-based enforcement vlan-list {}".format(vlan)]) + except SubCommandFailure as e: + raise SubCommandFailure( + "Could not disble CTS enforcement on vlan {}.Error:\n{}".format(vlan, str(e)) ) \ No newline at end of file diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/dhcp/configure.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/dhcp/configure.py index 3e8421283..ae20912f6 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/dhcp/configure.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/dhcp/configure.py @@ -1422,4 +1422,41 @@ def unconfigure_cts_role_based_sgt_map_vlan_list(device, Vlan_id, Tag_value): except SubCommandFailure as e: raise SubCommandFailure( f'Failed to unconfigure cts role-based sgt-map vlan-list 300 sgt 300 on {device.name}\n{e}' - ) \ No newline at end of file + ) + + +def configure_ip_dhcp_snooping_information_option_allow_untrusted_global(device): + """ Configure ip dhcp snooping information option allow-untrusted on device + Args: + device ('obj'): Device object + Returns: + None + Raises: + SubCommandFailure: Failed configuring dhcp snooping information option allow-untrusted on device + """ + cmd= f'ip dhcp snooping information option allow-untrusted' + try: + device.configure(cmd) + + except SubCommandFailure as e: + raise SubCommandFailure( + "Could not configure ip dhcp snooping information option allow-untrusted. Error:\n{e}" + ) + + +def unconfigure_ip_dhcp_snooping_information_option_allow_untrusted_global(device): + """ Unconfigure ip dhcp snooping information option allow-untrusted on device + Args: + device ('obj'): Device object + Returns: + None + Raises: + SubCommandFailure: Failed unconfiguring dhcp snooping information option allow-untrusted on device + """ + cmd= f'no ip dhcp snooping information option allow-untrusted' + try: + device.configure(cmd) + except SubCommandFailure as e: + raise SubCommandFailure( + "Could not unconfigure dhcp snooping information option allow-untrusted. Error:\n{e}" + ) \ No newline at end of file diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/dhcpv6/configure.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/dhcpv6/configure.py index be1738d23..205129a36 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/dhcpv6/configure.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/dhcpv6/configure.py @@ -442,3 +442,161 @@ def configure_dhcp_pool_dns_server(device, ip_version, pool_name, dns_server): except SubCommandFailure as e: raise SubCommandFailure(f"Could not configure dns-server {dns_server} under dhcp pool {pool_name}. Error:\n{e}") + +def configure_ipv6_dhcp_relay_trust(device, interface): + """ Configures ipv6 dhcp relay trust + Args: + device ('obj'): device to use + interface ('str'): interface name + Returns: + None + Raises: + SubCommandFailure + """ + log.info(f"Configuring ipv6 dhcp relay trust on {device.name} {interface}") + cmd = [f'interface {interface}','ipv6 dhcp relay trust'] + try: + device.configure(cmd) + except SubCommandFailure as e: + raise SubCommandFailure(f'Could not configure ipv6 dhcp relay trust on device interface. Error:\n{e}') + +def unconfigure_ipv6_dhcp_relay_trust(device, interface): + """ Unconfigures ipv6 dhcp relay trust + Args: + device ('obj'): device to use + interface ('str'): interface name + Returns: + None + Raises: + SubCommandFailure + """ + log.info(f"Unconfiguring ipv6 dhcp relay trust on {device.name} {interface}") + cmd = [f'interface {interface}','no ipv6 dhcp relay trust'] + try: + device.configure(cmd) + except SubCommandFailure as e: + raise SubCommandFailure(f'Could not configure ipv6 dhcp relay trust on device interface. Error:\n{e}') + +def configure_ipv6_dhcp_relay_option_vpn(device, interface): + """ Configures ipv6 dhcp relay option vpn + Args: + device ('obj'): device to use + interface ('str'): interface name + Returns: + None + Raises: + SubCommandFailure + """ + log.info(f"Configuring ipv6 dhcp relay option vpn on {device.name} {interface}") + cmd = [f'interface {interface}','ipv6 dhcp relay option vpn'] + try: + device.configure(cmd) + except SubCommandFailure as e: + raise SubCommandFailure(f'Could not configure ipv6 dhcp relay option vpn on device interface. Error:\n{e}') + +def unconfigure_ipv6_dhcp_relay_option_vpn(device, interface): + """ Unconfigures ipv6 dhcp relay option vpn + Args: + device ('obj'): device to use + interface ('str'): interface name + Returns: + None + Raises: + SubCommandFailure + """ + log.info(f"Unconfiguring ipv6 dhcp relay option vpn on {device.name} {interface}") + cmd = [f'interface {interface}','no ipv6 dhcp relay option vpn'] + try: + device.configure(cmd) + except SubCommandFailure as e: + raise SubCommandFailure(f'Could not Unconfigure ipv6 dhcp relay option vpn on device interface. Error:\n{e}') + +def configure_ipv6_dhcp_relay_source_interface_intf_id(device, interface, intf_id): + """ Configure interface ipv6 dhcp relay source interface intf_id + Args: + device ('obj'): device to use + interface ('str'): name of the interface to be configured # example Vlan100" + intf_id ('str'): Set source interface for relayed messages for interface ex: Loopback1 interface + Returns: + None + Raises: + SubCommandFailure: Failed to configure ipv6 dhcp relay source-interface intf_id + """ + log.info("Configuring ip dhcp relay source-interface intf_id on the interface") + cmd = [f"interface {interface}",f"ipv6 dhcp relay source-interface {intf_id}"] + try: + device.configure(cmd) + except SubCommandFailure as e: + raise SubCommandFailure( + f"Failed to configure ipv6 dhcp relay source interface intf_id {interface}. Error\n{e}" + ) + +def unconfigure_ipv6_dhcp_relay_source_interface_intf_id(device, interface, intf_id): + """ Unconfigure interface ipv6 dhcp relay source interface intf_id + Args: + device ('obj'): device to use + interface ('str'): name of the interface # example Vlan100" + intf_id ('str'): Set source interface for relayed messages for interface ex: Loopback1 interface + Returns: + None + Raises: + SubCommandFailure: Failed to unconfigure ipv6 dhcp relay source-interface intf_id + """ + log.info("Configuring ip dhcp relay source-interface intf_id on the interface") + cmd = [f"interface {interface}",f"no ipv6 dhcp relay source-interface {intf_id}"] + try: + device.configure(cmd) + except SubCommandFailure as e: + raise SubCommandFailure( + f"Failed to unconfigure ipv6 dhcp relay source interface intf_id {interface}. Error\n{e}" + ) + +def configure_ipv6_dhcp_relay_destination_ipv6address(device, interface, ipv6_address,vrf_name=None): + """ Configure interface ipv6 dhcp relay destination ipv6 address + Args: + device ('obj'): device to use + interface ('str'): name of the interface to be configured # example Vlan100" + ipv6_address ('str'): IPv6 destination address Ex: 20::1 + vrf_name ('str',Optional): vrf name Ex: green + Returns: + None + Raises: + SubCommandFailure: Failed to configure ipv6 dhcp relay destination ipv6 address + """ + log.info("Configuring ipv6 dhcp relay destination ipv6 address on the interface") + cmd = [f"interface {interface}"] + if vrf_name: + cmd.append(f"ipv6 dhcp relay destination vrf {vrf_name} {ipv6_address}") + else: + cmd.append(f"ipv6 dhcp relay destination {ipv6_address}") + try: + device.configure(cmd) + except SubCommandFailure as e: + raise SubCommandFailure( + f"Failed to configure ipv6 dhcp relay destination ipv6 address on {interface}. Error\n{e}" + ) + +def unconfigure_ipv6_dhcp_relay_destination_ipv6address(device, interface, ipv6_address,vrf_name=None): + """ Unconfigure interface ipv6 dhcp relay destination ipv6 address + Args: + device ('obj'): device to use + interface ('str'): name of the interface to be configured # example Vlan100" + ipv6_address ('str'): IPv6 destination address Ex: 20::1 + vrf_name ('str',Optional): vrf name Ex: green + Returns: + None + Raises: + SubCommandFailure: Failed to unconfigure ipv6 dhcp relay destination ipv6 address + """ + log.info("Unconfiguring ipv6 dhcp relay destination ipv6 address on the interface") + cmd = [f"interface {interface}"] + if vrf_name: + cmd.append(f"no ipv6 dhcp relay destination vrf {vrf_name} {ipv6_address}") + else: + cmd.append(f"no ipv6 dhcp relay destination {ipv6_address}") + try: + device.configure(cmd) + except SubCommandFailure as e: + raise SubCommandFailure( + f"Failed to unconfigure ipv6 dhcp relay destination ipv6 address on {interface}. Error\n{e}" + ) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py index e7b352600..75af30858 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/evpn/configure.py @@ -384,25 +384,26 @@ def unconfigure_evpn_default_gateway_advertise_global(device): 'Error:{e}'.format(e=e) ) -def configure_evpn_l2_instance_vlan_association(device,vlan_id,evpn_instance,vni_id): +def configure_evpn_l2_instance_vlan_association(device,vlan_id,evpn_instance,vni_id,protected=False): """ Configure configure VLAN association to EVPN instance Args: device (`obj`): Device object vlan_id (`int`): Vlan id evpn_instance('int'): EVPN Instance id vni_id('int'): VNI id - + protected('bool'): protected knob True or False Returns: None Raises: SubCommandFailure - """ - configs = [] configs.append("vlan configuration {vlan_id}".format(vlan_id = vlan_id)) - configs.append("member evpn-instance {evpn_instance} vni {vni_id}".format(evpn_instance=evpn_instance,vni_id = vni_id)) + if protected is True: + configs.append("member evpn-instance {evpn_instance} vni {vni_id} protected".format(evpn_instance=evpn_instance,vni_id = vni_id)) + else: + configs.append("member evpn-instance {evpn_instance} vni {vni_id}".format(evpn_instance=evpn_instance,vni_id = vni_id)) try: device.configure(configs) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/gdoi/configure.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/gdoi/configure.py index d3949dfed..760b70b5a 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/gdoi/configure.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/gdoi/configure.py @@ -40,7 +40,11 @@ def configure_gdoi_group(device, server_local_redundancy_peer_addr=None, server_local_identifier=False, server_local_identifier_range=None, - server_local_identifier_val=None): + server_local_identifier_val=None, + gikev2_profile=None, + rekey_address_acl=None, + gikev2_client=None, + pfs=None): """ Configures Crypto Gdoi Group Args: @@ -69,6 +73,10 @@ def configure_gdoi_group(device, server_local_identifier ('bool', optional): Configure identifier. Default is False server_local_identifier_range ('str', optional): set server local identifier range server_local_identifier_val ('str', optional): set server local identifier value + gikev2_profile ('str', optional): Set gikev2 profile + rekey_address_acl ('str', optional): Set rekey ipv4 address + gikev2_client ('str', optional): Set gikev2 profile for GM + pfs ('bool', optional): Set to True to enable PFS Returns: True/False Raises: @@ -91,12 +99,16 @@ def configure_gdoi_group(device, configs.append(f"identity number {ident_num}") if server_ipv4_address is not None: configs.append(f"server address ipv4 {server_ipv4_address}") + if gikev2_client is not None: + configs.append(f"client protocol gikev2 {gikev2_client}") if server_local: configs.append("server local") if rekey_algo is not None : configs.append(f"rekey algorithm {rekey_algo}") if rekey_lifetime_sec is not None : configs.append(f"rekey lifetime seconds {rekey_lifetime_sec}") + if rekey_address_acl is not None: + configs.append(f"rekey address ipv4 {rekey_address_acl}") if rekey_retransmit is not None and rekey_retransmit_number is not None : configs.append(f"rekey retransmit {rekey_retransmit} number {rekey_retransmit_number}") if rekey_retransmit is not None and rekey_retransmit_number is None : @@ -105,6 +117,10 @@ def configure_gdoi_group(device, configs.append(f"rekey authentication mypubkey rsa {rekey_auth_key}") if rekey_transport_unicast: configs.append("rekey transport unicast") + if pfs is True: + configs.append("pfs") + if gikev2_profile is not None: + configs.append(f"gikev2 {gikev2_profile}") if sa_ipsec_seq is not None: configs.append(f"sa ipsec {sa_ipsec_seq}") if sa_ipsec_profile is not None: @@ -136,6 +152,7 @@ def configure_gdoi_group(device, configs.append(f"value {server_local_identifier_val}") elif server_local_identifier_range is not None : configs.append(f"range {server_local_identifier_range}") + try: device.configure(configs) except SubCommandFailure as e: diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/health/health.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/health/health.py index 8e7711978..38daf7460 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/health/health.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/health/health.py @@ -355,7 +355,14 @@ def health_logging(device, existing_log_count = runtime_health_data.get('num_of_logs') or 0 log_count = len(logs) - new_log_count = log_count - existing_log_count + + if log_count > 0 and existing_log_count > log_count: + new_log_count = log_count - existing_log_count + elif log_count: + new_log_count = log_count + else: + new_log_count = 0 + runtime_health_data['num_of_logs'] = new_log_count runtime_health_data.setdefault('lines', logs) if new_log_count: diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ike/configure.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ike/configure.py index 8ae4817e1..7df87d23b 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ike/configure.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ike/configure.py @@ -1266,6 +1266,44 @@ def clear_crypto_session(device, .format(device=device, error=e) ) +def clear_crypto_call_admission_stats(device): + """ clear crypto call admission stats + Args: + device (`obj`): Device object + Returns: + None + Raises: + SubCommandFailure + """ + log.debug( + "Clearing crypto ikev1 statistics" + ) + + try: + device.execute( + "clear crypto call admission statistics" + ) + except SubCommandFailure as e: + raise SubCommandFailure( + "Could not clear crypto call admission stats. Error:\n{error}".format(error=e) + ) + +def disable_crypto_engine_compliance(device): + """ Disable CSDL + Args: + device ('obj') : device to use + Returns: + None + Raises: + SubCommandFailure + """ + log.debug("Disabling CSDL. write mem and reload device is required ") + + try: + device.configure(["crypto engine compliance shield disable"]) + except SubCommandFailure as e: + raise SubCommandFailure(f'Could not disable. Error: {e}') + def unconfigure_ppk_on_keyring(device, keyring_name, peer_name, diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/interface/configure.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/interface/configure.py index 888889f74..2c60747da 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/interface/configure.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/interface/configure.py @@ -9347,3 +9347,182 @@ def configure_glbp_details_on_interface(device, interface, group_number, ip_addr raise SubCommandFailure( f"Failed to configure glbp details on interface. Error:\n{e}" ) + + +def configure_service_instance( + device, + interface, + service_num, + dot1q_num=None, + rewrite_option=None, + bridge_dom_num=None): + + """ Configure service instance on an interface + + Args: + device (`obj`): Device object + interface (`str`): Interface to get address + service_num (`str`, optional): service instance number to be configured on interface + dot1q_num (`str`, optional): dot1q encapsulation number to be configured, default value None + rewrite_option (`str`, optional): rewrite option, default value None + bridge_dom_num (`str`, optional): bridge-domain number, default value None + + Returns: + None + Warning messages + + Raises: + SubCommandFailure + """ + + log.info(f"Configuring service instance on interface {interface}") + + cmd = [] + cmd.append(f"interface {interface}") + cmd.append(f"service instance {service_num} ethernet") + if dot1q_num: + cmd.append(f"encapsulation dot1q {dot1q_num}") + if rewrite_option: + cmd.append(f"rewrite {rewrite_option}") + if bridge_dom_num: + cmd.append(f"bridge-domain {bridge_dom_num}") + + try: + device.configure(cmd) + except SubCommandFailure as e: + raise SubCommandFailure( + f"Could not configure service instance Error:\n{e}") + + +def unconfigure_service_instance( + device, + interface, + service_num): + + """ Unconfigure service instance on an interface + + Args: + device (`obj`): Device object + interface (`str`): Interface to get address + service_num (`str`, optional): service instance number to be configured on interface + + Returns: + None + Warning messages + + Raises: + SubCommandFailure + """ + + log.info(f"Unconfiguring service instance on interface {interface}") + + cmd = [] + cmd.append(f"interface {interface}") + cmd.append(f"no service instance {service_num} ethernet") + + try: + device.configure(cmd) + except SubCommandFailure as e: + raise SubCommandFailure( + f"Could not unconfigure service instance Error:\n{e}") + + +def configure_interface_ip_nbar(device,interface): + + """ Configure ip nbar on an interface + + Args: + device (`obj`): Device object + interface (`str`): Interface to get address + + Returns: + None + Warning messages + + Raises: + SubCommandFailure + """ + + log.info(f"Configuring ip nbar on interface {interface}") + + cmd = [] + cmd.append(f"interface {interface}") + cmd.append(f"ip nbar protocol-discovery") + + try: + device.configure(cmd) + except SubCommandFailure as e: + raise SubCommandFailure( + f"Could not configure ip nbar Error:\n{e}") + + +def unconfigure_interface_ip_nbar(device,interface): + + """ Unconfigure ip nbar on an interface + + Args: + device (`obj`): Device object + interface (`str`): Interface to get address + + Returns: + None + Warning messages + + Raises: + SubCommandFailure + """ + + log.info(f"Unconfiguring ip nbar on interface {interface}") + + cmd = [] + cmd.append(f"interface {interface}") + cmd.append(f"no ip nbar protocol-discovery") + + try: + device.configure(cmd) + except SubCommandFailure as e: + raise SubCommandFailure( + f"Could not unconfigure ip nbar Error:\n{e}") + +def configure_interface_vlan(device, vlan_id): + """ Configures interface vlan id + Example : interface vlan 1 + Args: + device ('obj'): device to use + vlan_id ('int'): Vlan interface number (Range: 1-4093) + Returns: + None + Raises: + SubCommandFailure + """ + log.info(f"Configuring interface vlan {vlan_id} on {device}") + config = [ + f'interface vlan {vlan_id}', + 'no shutdown' + ] + try: + device.configure(config) + except SubCommandFailure as e: + raise SubCommandFailure(f"Failed to configure interface vlan {vlan_id} on device {device}. Error:\n{e}") + + +def configure_interface_range_no_switchport(device, start_interface, end_interface): + """ Configure interface range no switchport + Args: + device ('obj'): device to use + start_interface('str'): Starting Interface + end_interface('str'): Ending Interface number + Returns: + None + Raises: + SubCommandFailure + """ + log.info(f'Configuring interface range no switchport on {device}') + config = [ + f'interface range {start_interface} - {end_interface}', + 'no switchport' + ] + try: + device.configure(config) + except SubCommandFailure as e: + raise SubCommandFailure(f"Failed to configure interface range no switchport on device {device}. Error:\n{e}") diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/interface/get.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/interface/get.py index acb5ee5f8..541e9a6c3 100755 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/interface/get.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/interface/get.py @@ -1475,3 +1475,51 @@ def get_switch_qos_queue_config_on_interface(device, interface, switch_num): return get_config_dict(output) +def get_interface_media_types(device, interface): + """ Get interface media types + + Args: + device (`obj`): Device object + interface (`str`): Interface name + + Returns: + None + media types (`str`): Example: '10/100/1000BaseTX' , '100/1000/2.5GBaseTX' ,'100/1000/10GBaseTX - interface media + type supporting copper connection. + Example: '1000BaseSX', '1000BaseEX'- interface media type is supporting fiber connection. + 'unknown' - interface type is unknown. + Raises: + None + """ + try: + out = device.parse( + "show interfaces {interface}".format(interface=interface) + ) + except SchemaEmptyParserError: + return + + return out[interface].get('media_type') + +def get_interface_capabilities_multiple_media_types(device, interface): + """ Get interface capabilities multiple media types + + Args: + device (`obj`): Device object + interface (`str`): Interface name + + Returns: + None + multiple media types (`str`): 'rj45 - interface type supporting copper connection. + 'sfp, - interface type supporting fiber connection. + 'rj45 , 'sfp', 'auto-select' - interface type supporting both fiber and copper connection. + Raises: + None + """ + try: + out = device.parse( + "show interfaces {interface} capabilities".format(interface=interface) + ) + except SchemaEmptyParserError: + return + + return out['interface'][interface].get('multiple_media_types') diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/management/configure.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/management/configure.py index 7170f94d2..d6b7e7c13 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/management/configure.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/management/configure.py @@ -650,11 +650,20 @@ def configure_management_protocols(device, protocols = protocols or management.get('protocols', []) for proto in protocols: - if hasattr(device.api, f'configure_management_{proto}'): - func = getattr(device.api, f'configure_management_{proto}') - func() - else: - log.warning(f'Protocol {proto} does not have a configure API, ignoring') + if isinstance(proto, str): + if hasattr(device.api, f'configure_management_{proto}'): + func = getattr(device.api, f'configure_management_{proto}') + func() + else: + log.warning(f'Protocol {proto} does not have a configure API, ignoring') + + elif isinstance(proto, dict): + for protocol, kwargs in proto.items(): + if hasattr(device.api, f'configure_management_{protocol}'): + func = getattr(device.api, f'configure_management_{protocol}') + func(**kwargs) + else: + log.warning(f'Protocol {protocol} does not have a configure API, ignoring') def configure_management(device, @@ -951,7 +960,7 @@ def unconfigure_management_netconf(device): device ('obj'): device object Returns: -_ None + None ''' netconf_config = ['no netconf-yang'] @@ -960,3 +969,27 @@ def unconfigure_management_netconf(device): except SubCommandFailure as e: raise SubCommandFailure(f"Failed to unconfigure netconf-yang on device {device}. Error:\n{e}") +def configure_management_gnmi(device, enable=True, server=True, port=None, **kwargs): + ''' + Configure device for management via gnmi. + + Args: + device ('obj'): device object + enable ('bool', optional): Enable and start GNxI. Default is True. + server ('bool', optional): Enable the GNxI (insecure) server. Default is True. + port ('int', optional): gnxi (insecure) server port. Default is None. + Returns: + None + ''' + + try: + device.api.configure_gnxi( + device=device, + enable=enable, + server=server, + port=port + ) + except SubCommandFailure as e: + raise SubCommandFailure(f"Failed to configure gnmi on device {device}. Error:\n{e}") + + diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/mcast/configure.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/mcast/configure.py index 6f4deb590..80677a2f7 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/mcast/configure.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/mcast/configure.py @@ -12,7 +12,7 @@ log = logging.getLogger(__name__) def configure_ip_multicast_routing(device): - + """ configure ip multicast routing on device Args: @@ -45,6 +45,36 @@ def unconfigure_ip_multicast_routing(device): "Unconfigure ip multicast-routing. Error {e}".format(e=e) ) +def configure_ip_multicast_routing_distributed(device): + """ configure ip multicast routing on device + Args: + device (`obj`): Device object + Returns: + None + """ + try: + device.configure("ip multicast-routing distributed") + except SubCommandFailure as e: + log.error(e) + raise SubCommandFailure( + "Configure ip multicast-routing. Error {e}".format(e=e) + ) + +def unconfigure_ip_multicast_routing_distributed(device): + """Unconfigure ip multicast routing on device + Args: + device (`obj`): Device object + Returns: + None + """ + try: + device.configure("no ip multicast-routing distributed") + except SubCommandFailure as e: + log.error(e) + raise SubCommandFailure( + "Unconfigure ip multicast-routing. Error {e}".format(e=e) + ) + def configure_ip_multicast_vrf_routing(device, vrf_name): """ configure ip multicast routing vrf on device diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/multicast/configure.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/multicast/configure.py index 49e62d90c..e5bc5482b 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/multicast/configure.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/multicast/configure.py @@ -1973,3 +1973,86 @@ def configure_mld_version(device, interface_no, version_no): except SubCommandFailure as e: raise SubCommandFailure( f'Failed to Configure mld version on {device.name}\n{e}') + + +def config_ip_pim_vrf(device, vrf_num, mode): + """ Enables ip pim vrf mode on device. + + Args: + device (`obj`): Device object + vrf_num (`str`): vrf number + mode (`str`): specifiy ip pim vrf mode + Return: + None + Raise: + SubCommandFailure + """ + log.info(f"Configuring ip pim vrf {mode} on {device}") + + cmd = f"ip pim vrf {vrf_num} {mode}" + try: + device.configure(cmd) + except SubCommandFailure as e: + raise SubCommandFailure( + f"Could not configure ip pim vrf Error:\n{e}") + + +def unconfig_ip_pim_vrf(device, vrf_num, mode): + """ Enables ip pim vrf mode on device. + + Args: + device (`obj`): Device object + vrf_num (`str`): vrf number + mode (`str`): specifiy ip pim vrf mode + Return: + None + Raise: + SubCommandFailure + """ + log.info(f"Unconfiguring ip pim vrf {mode} on {device}") + + cmd = f"no ip pim vrf {vrf_num} {mode}" + try: + device.configure(cmd) + except SubCommandFailure as e: + raise SubCommandFailure( + f"Could not unconfigure ip pim vrf Error:\n{e}") + + +def config_ip_multicast_routing_vrf_distributed(device, vrf_name): + + """ configure ip multicast-routing vrf distributed on device + Example : + + Args: + device (`obj`): Device object + vrf_name('str'): name of the vrf + Returns: + None + """ + try: + device.configure("ip multicast-routing vrf {} distributed".format(vrf_name)) + except SubCommandFailure as e: + log.error(e) + raise SubCommandFailure( + "Configure ip multicast-routing vrf vrf_name distributed. Error {e}".format(e=e) + ) + +def unconfig_ip_multicast_routing_vrf_distributed(device, vrf_name): + + """Unconfigure ip multicast-routing vrf distributed on device + Example : + + Args: + device (`obj`): Device object + vrf_name('str'): name of the vrf + Returns: + None + """ + try: + device.configure("no ip multicast-routing vrf {} distributed".format(vrf_name)) + except SubCommandFailure as e: + log.error(e) + raise SubCommandFailure( + "Unconfigure ip multicast-routing vrf distributed Error {e}".format(e=e) + ) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py index 3b4b9b666..be9f4d5df 100755 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/nat/configure.py @@ -200,7 +200,8 @@ def configure_static_nat_route_map_rule( device, inside_local_ip, inside_global_ip, - route_map_name + route_map_name, + no_alias=False ): """ Configure static NAT route-map rule Args: @@ -208,13 +209,16 @@ def configure_static_nat_route_map_rule( inside_local_ip ('str'): Inside local ip inside_global_ip ('str'): Inside global ip route_map_name ('str') : Name of route-map + no_alias ('bool', optional): no alias static route. Default is False Returns: None Raises: SubCommandFailure: static NAT route-map rule not configured """ - cmd = ["ip nat inside source static {} {} route-map {}".format( - inside_local_ip,inside_global_ip,route_map_name)] + cmd = "ip nat inside source static {} {} route-map {}".format( + inside_local_ip,inside_global_ip,route_map_name) + if no_alias: + cmd += " no-alias" try: device.configure(cmd) @@ -226,7 +230,8 @@ def unconfigure_static_nat_route_map_rule( device, inside_local_ip, inside_global_ip, - route_map_name + route_map_name, + no_alias=False ): """ UnConfigure static NAT route-map rule Args: @@ -234,14 +239,17 @@ def unconfigure_static_nat_route_map_rule( inside_local_ip ('str'): Inside local ip inside_global_ip ('str'): Inside global ip route_map_name ('str') : Name of route-map + no_alias ('bool', optional): no alias static route. Default is False Returns: None Raises: SubCommandFailure: static NAT route-map rule not unconfigured """ - cmd = ["no ip nat inside source static {} {} route-map {}".format( - inside_local_ip,inside_global_ip,route_map_name)] - + cmd = "no ip nat inside source static {} {} route-map {}".format( + inside_local_ip,inside_global_ip,route_map_name) + if no_alias: + cmd += " no-alias" + try: device.configure(cmd) except SubCommandFailure as e: diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py index 34bb810cc..0c70c0529 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/ospf/configure.py @@ -694,6 +694,8 @@ def configure_ospfv3(device, pid, router_id=None, vrf=None, nsr=None, if vrf: config.append('address-family ipv6 unicast vrf {vrf}'.format(vrf=vrf)) config.append('redistribute connected') + if route_method: + config.append('redistribute {route_method}'.format(route_method=route_method)) try: device.configure(config) except SubCommandFailure as e: @@ -1117,23 +1119,25 @@ def configure_ospf_bfd(device, interface): ) ) - - -def configure_ospf_redistributed_connected(device, ospf_process_id): +def configure_ospf_redistributed_connected(device, ospf_process_id,vrf=None): """ configure redistribute connected under ospf Args: device (`obj`): device to execute on ospf_process_id (`int`): process id of ospf + vrf ('str',optional): VRF name Return: None Raises: SubCommandFailure """ - config=["router ospf {ospf_process_id}".format( - ospf_process_id=ospf_process_id)] + if vrf: + config = ["router ospf {} vrf {}".format(ospf_process_id,vrf)] + else: + config = ["router ospf {}".format(ospf_process_id)] + config.append("redistribute connected") try: device.configure(config) @@ -1146,7 +1150,6 @@ def configure_ospf_redistributed_connected(device, ospf_process_id): ) ) - def unconfigure_ospf_vrf_on_device( device, ospf_process_id, vrf=None): """ unonfigure destination in vrf @@ -1159,7 +1162,7 @@ def unconfigure_ospf_vrf_on_device( Raises: SubCommandFailure: Failed executing configure commands """ - + cmd = "no router ospf {ospf_process_id}".format( ospf_process_id=ospf_process_id) if vrf: diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py index 07763d010..db131100b 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/configure.py @@ -2,7 +2,6 @@ # Python import logging -import time # Unicon from unicon.core.errors import SubCommandFailure @@ -337,26 +336,6 @@ def configure_no_boot_system_switch_all(device): .format(device=device, error=e) ) -def configure_boot_system_switch_all_flash(device, image): - """ boot system switch all flash - Args: - device ('obj'): Device object - image ('str'): Image name - Returns: - None - Raises: - SubCommandFailure - """ - - cmd = f"boot system switch all flash:{image}" - try: - device.configure(cmd) - except SubCommandFailure as e: - raise SubCommandFailure( - "Could not config boot system on {device}. Error:\n{error}" - .format(device=device, error=e) - ) - def configure_diagonistics_monitor_switch(device, switch_num, test_name, time, millisec, days): """ diagonistics monitor switch Args: @@ -1228,11 +1207,13 @@ def configure_boot_system_switch_all_flash(device, destination): SubCommandFailure """ log.info(f"Configuring boot system variable on flash on {device.name}") - output = device.execute("show switch") + output = device.execute("show switch", error_pattern=[]) + if "Invalid input" not in output: configs = f"boot system switch all flash:{destination}" else: configs = f"boot system flash:{destination}" + try: device.configure(configs) except SubCommandFailure as e: @@ -1887,25 +1868,6 @@ def configure_macro_global_apply(device, macro_name): f"Failed to configure macro global on device {device}. Error:\n{e}" ) -def configure_stack_power_switch(device, switch_number): - """ Configures stack-power switch - Example : stack-power switch 1 - - Args: - device ('obj'): device to use - switch_number ('int'): Switch number (1-16) - Returns: - None - Raises: - SubCommandFailure - """ - log.info(f"Configuring stack-power switch {switch_number} on {device.name}") - config = f'stack-power switch {switch_number}' - try: - device.configure(config) - except SubCommandFailure as e: - raise SubCommandFailure(f"Failed to configure stack-power switch on device {device.name}. Error:\n{e}") - def configure_stack_power_stack(device, powerstack_name): """ Configures stack-power stack Example : stack-power stack test @@ -2957,90 +2919,6 @@ def configure_ip_http_client_source_interface(device, interface_name, interface_ except SubCommandFailure as e: raise SubCommandFailure(f"Failed to configure ip http client source-interface on this device. Error:\n{e}") -def configure_service_performance(device): - """ Configures service performance on device - Args: - device (`obj`): Device object - Returns: - None - Raises: - SubCommandFailure - """ - log.info("Configuring service performance on device") - cmd = 'service performance' - try: - device.configure(cmd) - except SubCommandFailure as e: - raise SubCommandFailure( - "Could not configure service performance on {device}. Error:\n{error}" - .format(device=device, error=e)) -def unconfigure_service_performance(device): - """ Unconfigures service performance on device - Args: - device (`obj`): Device object - Returns: - None - Raises: - SubCommandFailure - """ - log.info("Unconfiguring service performance on device") - cmd = 'no service performance' - try: - device.configure(cmd) - except SubCommandFailure as e: - raise SubCommandFailure( - "Could not unconfigure service performance on {device}. Error:\n{error}" - .format(device=device, error=e)) -def configure_key_config_key_password_encrypt(device, password): - """ Configure key config-key password encrypt on device - Args: - device ('obj'): Device object - password('str'): password, The config-key - Minimum 8 characters not beginning with - IOS special character(! # ;) - Returns: - None - Raises: - SubCommandFailure - """ - log.info("Configuring key config-key password encrypt on device") - cmd = [f'key config-key password encrypt {password}'] - try: - device.configure(cmd) - except SubCommandFailure as e: - raise SubCommandFailure( - "Could not configure key config-key password encrypt on {device}. Error:\n{error}" - .format(device=device, error=e)) -def unconfigure_key_config_key_password_encrypt(device, password): - """ Unconfigures key config-key password encrypt on device - Args: - device (`obj`): Device object - password('str'): password, The config-key - Minimum 8 characters not beginning with - IOS special character(! # ;) - Returns: - None - Raises: - SubCommandFailure - """ - log.info("Configuring no key config-key password encrypt on device") - cmd = [f'no key config-key password encrypt {password}'] - - dialog = Dialog([ - Statement(pattern=r"Continue with master key deletion \? \[yes\/no\]\:\s*$", - action='sendline(yes)', - loop_continue=True, - continue_timer=False) - ]) - try: - device.configure(cmd,reply=dialog) - - except SubCommandFailure as e: - raise SubCommandFailure( - "Could not configure no key config-key password encrypt on {device}. Error:\n{error}" - .format(device=device, error=e)) - - def unconfigure_event_manager_applet(device, event): """ Unonfigures event manager applet Args: @@ -4472,121 +4350,6 @@ def configure_cos(device,priority_value): 'Error:{e}'.format(e=e) ) -def unconfigure_snmp_mib_bulkstat(device, object_name, schema_name, transfer_name): - - """ unconfigure snmp mib bulkstat - Args: - device ('obj'): device to use - object_name ('str'): The name of the object - schema_name ('str'): The name of the schema - transfer_name ('str'): bulkstat transfer name - Returns: - None - Raises: - SubCommandFailure - """ - cmd = [ - f"bulkstat profile {transfer_name}", - f"no enable", - "exit", - f"no snmp mib bulkstat object-list {object_name}", - f"no snmp mib bulkstat schema {schema_name}", - f"no snmp mib bulkstat transfer {transfer_name}", - - ] - - try: - device.configure(cmd) - except SubCommandFailure as e: - raise SubCommandFailure(f"Failed to unconfigure snmp mib bulkstat on this device. Error:\n{e}") - - -def configure_stackpower_stack(device, powerstack_name, mode=None, strict=False): - """ Configures power stack mode on stack-power stack - - Args: - device ('obj'): device to use - powerstack_name ('str'): Power stack name - Up to 31 chars - mode ('str', optional): Power stack mode. Default is None - strict ('bool', optional): Strict mode. Default is False - Returns: - None - Raises: - SubCommandFailure - """ - - cmd = [f'stack-power stack {powerstack_name}'] - - if mode: - command = f'mode {mode}' - if strict: - command += ' strict' - cmd.append(command) - try: - device.configure(cmd) - - except SubCommandFailure as e: - raise SubCommandFailure(f"Failed to configure stackpower stack on device {device.name}. Error:\n{e}") - - -def unconfigure_stackpower_stack(device, powerstack_name): - """ Configures power stack mode on stack-power stack - - Args: - device ('obj'): device to use - powerstack_name ('str'): Power stack name - Up to 31 chars - Returns: - None - Raises: - SubCommandFailure - """ - - cmd = [f'no stack-power stack {powerstack_name}'] - - try: - device.configure(cmd) - - except SubCommandFailure as e: - raise SubCommandFailure(f"Failed to configure stackpower stack on device {device.name}. Error:\n{e}") - -def unconfig_cns_agent_password(device, cns_password=None): - """ un configure cns agent password - Args: - device ('obj'): Device object - cns_password ('str', optional): Cns agent password. Default is None - Returns: - None - Raise: - SubCommandFailure: Failed to un configure cns agent password - """ - log.debug("un configure cns agent password") - try: - if cns_password: - device.configure("no cns password {cns_password}".format(cns_password=cns_password)) - else: - device.configure("no cns password") - except SubCommandFailure as e: - raise SubCommandFailure(f"Could not un configure cns agent password. Error:\n{e}") - - -def configure_boot_system_image_file(device, image_path, switch_number=None): - """ Configure boot system image file - Args: - device ('obj'): Device object - image_path ('str'): full image path. Ex: flash:cat9k_17467.SSA.pkg - switch_number ('str', optional): switch number or all. Default is None - Returns: - None - Raises: - SubCommandFailure - """ - - cmd = f"boot system{f' switch {switch_number}' if switch_number else ''} {image_path}" - try: - device.configure(cmd) - except SubCommandFailure as e: - raise SubCommandFailure(f"Could not configure boot system on {device}. Error:\n{e}") - def configure_banner(device, banner_text): """ Config Day banner Args: @@ -4777,3 +4540,47 @@ def configure_bba_group_session_auto_cleanup(device,name,session_auto_cleanup): "Could not config bba-group on {device}. Error:\n{error}" .format(device=device, error=e) ) + + +def configure_bridge_domain(device,domain_number): + """ bridge-domain + Args: + device (`obj`): Device object + domain_number (`str`): bridge-domain number + Returns: + None + Raises: + SubCommandFailure:Could not config bridge-domain on device + """ + + cli = [] + cli.append(f"bridge-domain {domain_number}") + try: + device.configure(cli) + except SubCommandFailure as e: + raise SubCommandFailure( + "Could not config bridge-domain on {device}. Error:\n{error}" + .format(device=device, error=e) + ) + + +def unconfigure_bridge_domain(device,domain_number): + """ bridge-domain + Args: + device (`obj`): Device object + domain_number (`str`): bridge-domain number + Returns: + None + Raises: + SubCommandFailure:Could not unconfig bridge-domain on device + """ + + cli = [] + cli.append(f"no bridge-domain {domain_number}") + try: + device.configure(cli) + except SubCommandFailure as e: + raise SubCommandFailure( + "Could not unconfig bridge-domain on {device}. Error:\n{error}" + .format(device=device, error=e) + ) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/execute.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/execute.py index 8bdbf9808..fb0fb24c7 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/execute.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/execute.py @@ -1455,6 +1455,71 @@ def execute_dir_file_system(device, file_system, sub_directory=None, timeout=120 f"Could not execute dir {file_system} on device. Error:\n{e}" ) + +def execute_archive_tar(device, tar_filename, operation_type, src_filesystem, src_filepath=None, dest_filesystem=None, dest_filepath=None, timeout=120): + """ Execute archive tar + Example: archive tar /create usb0:usb_files.tar bootflash:/tracelogs + archive tar /xtract usb0:usb_files.tar usb0:new-tar-files + Args: + device ('obj'): Device object + dest_filesystem ('str'): specifying filesystems such as bootflash:,usb:, tftp: + tar_filename('str'): tar filename + operation_type('str'): Option can be xtract, table, create + src_filesystem ('str'): specifying filesystems such as bootflash:,usb:, tftp: + src_filepath ('str',optional): specifying files path which need to be archived,Default is None + dest_filepath ('str',optional): specifying destination path of tar file,Default is None + timeout ('int',optional): Max time for completion of cli execution,Default is 120 seconds + Returns: + output + Raises: + SubCommandFailure + """ + if operation_type not in ('create', 'xtract', 'table') : + raise ValueError('Operation type must be "xtract", "table" or "create"') + + cmd = f"archive tar /{operation_type} " + dest = f" {dest_filesystem}" + if dest_filepath: + dest += f"{dest_filepath}/" + src = f" {src_filesystem}" + if src_filepath: + src += f"{src_filepath}/" + if operation_type == 'create': + cmd += f"{dest}{tar_filename} {src}" + elif operation_type == 'xtract': + cmd += f"{src}{tar_filename} {dest}" + elif operation_type == 'table': + cmd += f"{src}{tar_filename}" + + try: + output = device.execute(cmd, timeout=timeout) + return output + except SubCommandFailure as e: + raise SubCommandFailure( + f"Could not execute archive tar on device. Error:\n{e}" + ) + + +def clear_ip_mfib_counters(device): + """ clear ip mfib counters + Args: + device (`obj`): Device object + Returns: + None + Raises: + SubCommandFailure + """ + + log.debug(f"Clear ip mfib counters on {device}") + + try: + device.execute('clear ip mfib counters') + except SubCommandFailure as e: + raise SubCommandFailure( + f"Could not clear ip mfib counters on {device}. Error:\n{e}" + ) + + def execute_switch_card_OIR_power_force(device, card_slot, subslot): """ execute oir power force Args: @@ -1474,4 +1539,79 @@ def execute_switch_card_OIR_power_force(device, card_slot, subslot): device.execute(cmd) except SubCommandFailure as e: - raise SubCommandFailure(f"Could not execute hw-module subslot {card_slot}/{subslot} oir power force. Error:\n{e}") + + raise SubCommandFailure(f"Could not execute hw-module subslot {card_slot}/{subslot} oir power force. Error:\n{e}") + + +def request_platform_software_package_expand(device, file_system, test_image, sub_directory=None,timeout=240): + """ Perform request platform software package expand file {file_system}/{sub_directory}/{test_image} + Perform request platform software package expand file {file_system}/{test_image} + Args: + device ('obj'): Device object + file_system ('str'): bootflash: , harddisk: , usb0: + test_image ('str'): image_name + sub_directory ('str',optional): subdirectory inside the filesystem where the test image is present,Default is None + timeout ('int'): Max time + Returns: + None + Raises: + SubCommandFailure + """ + + try: + if sub_directory: + cmd = f'request platform software package expand file {file_system}/{sub_directory}/{test_image}' + + else : + cmd = f'request platform software package expand file {file_system}/{test_image}' + + device.execute(cmd,timeout=timeout) + + except SubCommandFailure as e: + raise SubCommandFailure(f"Failed to perform request platform software package expand on the device. Error:\n{e}") + + +def execute_clear_ipv6_mld_group(device, interface=None): + """ clear ipv6 mld group + Args: + device (`obj`) : Device object + interface('str',optional): Interface name + Returns: + None + Raises: + SubCommandFailure + """ + + log.debug(f"Clear ipv6 mld group on {device}") + + cmd = "clear ipv6 mld group" + if interface: + cmd += f" {interface}" + + try: + device.execute(cmd) + except SubCommandFailure as e: + raise SubCommandFailure(f"Could not clear ipv6 mld group on {device}. Error:\n{e}") + + +def execute_clear_ip_igmp_group(device, interface=None): + """ clear ipv6 mld group + Args: + device (`obj`) : Device object + interface('str',optional): Interface name + Returns: + None + Raises: + SubCommandFailure + """ + + log.debug(f"clear ip igmp group on {device}") + cmd = "clear ip igmp group" + if interface: + cmd += f" {interface}" + + try: + device.execute(cmd) + except SubCommandFailure as e: + raise SubCommandFailure(f"Could not clear ip igmp group on {device}. Error:\n{e}") + diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/utils.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/utils.py index 388a2f4e9..00e301cfc 100755 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/utils.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/platform/utils.py @@ -517,4 +517,32 @@ def clear_controllers_ethernet_controller(device): except SubCommandFailure as e: raise SubCommandFailure( f'Could not clear controllers ethernet controller {device}. Error:\n{e}') + +def erase_startup_config(device): + """ erase startup_config + Args: + device ('obj'): device to execute on + Return: + None + Raises: + SubCommandFailure + """ + # Set 'erase startup-config' dialog + erase_dialog = Dialog( + [ + Statement( + pattern=r"Erasing the nvram filesystem will " + r"Continue? \[confirm\].*", + action="sendline()", + loop_continue=True, + continue_timer=False, + ) + ] + ) + log.info(f"erase startup config on {device}") + try: + device.execute("erase startup-config", reply=erase_dialog) + except SubCommandFailure as e: + raise SubCommandFailure( + f'could not erase startup config on {device}. Error:\n{e}') diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/rommon/configure.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/rommon/configure.py index baf0f4c80..837ddf976 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/rommon/configure.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/rommon/configure.py @@ -21,6 +21,22 @@ def configure_rommon_tftp(device, ipv6_address=False): """ tftp = {} + # Get the current device state from the device + if device.is_ha and hasattr(device, 'subconnections'): + if isinstance(device.subconnections, list): + states = list(set([con.state_machine.current_state for con in device.subconnections])) + if states == ['rommon']: + state = 'rommon' + elif 'rommon' in states: + raise Exception(f'One of the device connection is in rommon state, need to recover device.') + else: + state = device.state_machine.current_state + + # check the device is in rommon + if state != 'rommon': + raise Exception(f'The device is not in rommon state') + + # Check if management attribute in device object, if not set to empty dict if not hasattr(device, 'management'): setattr(device, "management", {}) @@ -59,10 +75,15 @@ def configure_rommon_tftp(device, ipv6_address=False): log.warning(f"Some TFTP information is missing: {tftp}") for set_command, value in tftp.items(): + # To set rommon variables cmd = f'{set_command}={value}' try: - device.execute(cmd) + # Configure tftp rommon variables in active rp + if device.is_ha and hasattr(device, 'subconnections'): + device.subconnections[0].execute(cmd) + else: + device.execute(cmd) except Exception as e: raise SubCommandFailure( f"Failed to set the rommon variable {set_command}. Error:\n{e}") diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py index bb45d4f95..a1b0a1298 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/configure.py @@ -273,10 +273,12 @@ def configure_snmp_server_user(device, priv_method = None, aes_algorithm = None, aes_password = None, + des_algorithm = None, + des_password = None, priv_password = None, acl_type = None, acl_name = None): - """ Configures the snmp user on device + """ Configure the snmp user on device Args: device ('obj'): device to use user_name ('str'): Name of the user @@ -289,6 +291,8 @@ def configure_snmp_server_user(device, priv_method ('str'): 3des,aes,des aes_algorithm ('str'): 128,192,256 aes_password ('str'): privacy password for user + des_algorithm ('str'): 128,192,256 + des_password ('str'): privacy password for user priv_password ('str'): privacy password for user acl_name ('str'): name of the Standerd acl, acl list name, ipv6 named acl acl_type ('str'): specify IPv6 Named Access-List @@ -300,12 +304,16 @@ def configure_snmp_server_user(device, cli = f"snmp-server user {user_name} {group_name} {version}" - if auth_type is not None: - cli = cli+' auth '+auth_type+' '+auth_algorithm+' '+auth_password + if auth_type is not None and auth_password is not None: + cli = f"{cli} auth {auth_type} {auth_password}" if priv_method is not None: if(priv_method == 'aes'): - cli = cli+' priv '+priv_method+' '+aes_algorithm+' '+aes_password + if aes_algorithm is not None and aes_password is not None: + cli = f"{cli} priv {priv_method} {aes_algorithm} {aes_password}" + elif(priv_method == 'des'): + if des_algorithm is not None and des_password is not None: + cli = f"{cli} priv {priv_method} {des_algorithm} {des_password}" if acl_name is not None: if (acl_type == 'ipv6'): @@ -612,6 +620,24 @@ def disable_ietf_standard_snmp_link_traps(device): device.configure(f"no snmp-server trap link ietf") except SubCommandFailure as e: raise SubCommandFailure(f"Could not disable ietf standard snmp link traps . Error:\n{e}") + +def configure_snmp_server_host_trap(device, host_name=None, trap_type=None): + """ Configures the snmp traps or informs on device + Args: + device ('obj'): device to use + host_name ('str', optional): WORD IP/IPV6 address of SNMP notification host + http://[:][/] HTTP address of XML notification host + trap_type ('str', optional): entity Allow SNMP entity traps + Returns: + None + Raises: + SubCommandFailure + """ + + try: + device.configure(f"snmp-server host {host_name} traps public {trap_type}") + except SubCommandFailure as error: + raise SubCommandFailure(f"Could not configure host on snmp-server. Error:\n{str(error)}") def unconfigure_snmp_server_enable_traps_power_ethernet_group(device, action_type_1, action_type_2, group_number): @@ -637,3 +663,61 @@ def unconfigure_snmp_server_enable_traps_power_ethernet_group(device, action_typ raise SubCommandFailure( f'Failed to unconfigure snmp server enable traps power ethernet group on {device.name}\n{e}' ) + + +def configure_object_list_schema_transfer_for_bulkstat(device, type_, object_name=None, schema_name=None, transfer_name=None, + oid_value_list=None, poll_interval=None, snmp_interface=None, + format_=None, transfer_interval=None, + buffer_size=None, primary_url=None, enable=None, logging_on=None): + """ Configure object list, schema and transfer for bulkstat + Args: + device ('obj'): device to use + type_('str'): object-list Configure an Object List + schema Configure Schema definition + transfer Configure Transfer Parameters + object_name('str', optional): WORD Name of object list, default value is None + schema_name('str', optional): WORD Name of the schema, default value is None + transfer_name('str', optional): WORD Name of bulk transfer, default value is None + oid_value_list:('list', optional): WORD Object name or OID list, default value is None + poll_interval('int', optional): Periodicity for the polling of objects in this schema in + Minutes. (Default value is 5 Mins), default value is None + snmp_interface('str', optional): Specify instance as ifDescr, default value is None + format_('str', optional): An ASCII format containing schema definitions, default value is None + transfer_interval('int', optional): Periodicity for the transfer of bulk data in Minutes, default value is None + buffer_size('int', optional): Bulkstat data file maximum size(Default size is 2048 bytes), default value is None + primary_url('str', optional): WORD URL of primary destination, default value is None + enable('str', optional): Start Data Collection for this Configuration, default value is None + logging_on('str', optional): Modify message logging facilities, default value is None + Returns: + None + Raises: + SubCommandFailure + """ + + + if type_ == "object-list": + cli = [f"snmp mib bulkstat {type_} {object_name}"] + for oid_value in oid_value_list: + cli.append(f"add {oid_value}") + + elif type_ == "schema": + cli =[f"snmp mib bulkstat {type_} {schema_name}", + f"object-list {object_name}", + f"poll-interval {poll_interval}", + f"instance wild interface {snmp_interface}"] + + elif type_ == "transfer": + cli =[f"snmp mib bulkstat {type_} {transfer_name}", + f"schema {schema_name}", + f"format {format_}", + f"transfer-interval {transfer_interval}", + f"buffer-size {buffer_size}", + f"url primary {primary_url}", + f"{enable}", + f"{logging_on}"] + try: + device.configure(cli) + except SubCommandFailure as error: + raise SubCommandFailure( + f"Could not configure Object list Schema Transfer for Bulkstat. Error:\n{error}" + ) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/vdsl/configure.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/vdsl/configure.py new file mode 100644 index 000000000..02a28980f --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/vdsl/configure.py @@ -0,0 +1,30 @@ +import logging +from unicon.core.errors import SubCommandFailure +from pyats.aetest.steps import Steps +from genie.conf.base import Interface + +log = logging.getLogger(__name__) + +def configure_controller_shutdown(device, interface, shutdown=True): + """ Configures the shutdown/no shutdown for VDSL interface + Args: + device ('obj'): device to use + interface ('str'): controller vdsl interface + shutdown ('bool', optional) : true/false need to be send. default is false/Shutdown + Returns: + None + Raises: + SubCommandFailure + """ + + cmd = 'shutdown' if shutdown else 'no shutdown' + log.debug(f"Configuring VDSL interface {cmd} on device {device}") + + try: + device.configure( + "Controller VDSL {interface}\n" + "{cmd}".format(interface=interface,cmd=cmd)) + except SubCommandFailure as e: + raise SubCommandFailure("Could not configure controller VDSL shutdown/no shutdown. Error:\n{error}".format(error=e)) + + diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/jinja/configure.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/jinja/configure.py index c5f64c5a4..41cfc2d32 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/jinja/configure.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/jinja/configure.py @@ -29,9 +29,9 @@ def change_configuration_using_jinja_templates(device, template, **kwargs): if timeout: log.info('{} timeout value used for device: {}'.format( timeout, device.name)) - device.configure(out, timeout=timeout) + device.configure(out, timeout=timeout, **kwargs) else: - device.configure(out) + device.configure(out, **kwargs) except SubCommandFailure as e: raise SubCommandFailure( "Failed in applying the following " diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/linux/get.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/linux/get.py new file mode 100644 index 000000000..61b9fcd35 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/linux/get.py @@ -0,0 +1,21 @@ +"""Common get functions for linux""" + +import logging +from unicon.core.errors import SubCommandFailure + +log = logging.getLogger(__name__) + +def get_file_contents(device, filename): + """ + Args: + device(`obj`) + filename(`str`): Absolute path to the file + Returns: + File contents as a string + """ + cmd = f"cat {filename}" + + try: + return str(device.execute(cmd)) + except SubCommandFailure as e: + SubCommandFailure(f"Failed to get supported elliptic curves. Error\n {e}") diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/linux/openssl/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/linux/openssl/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/linux/openssl/generate.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/linux/openssl/generate.py new file mode 100644 index 000000000..301341197 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/linux/openssl/generate.py @@ -0,0 +1,151 @@ +"""Common configure functions for openssl""" + +import logging +from unicon.core.errors import SubCommandFailure + +log = logging.getLogger(__name__) + + +def generate_rsa_ssl_key(device, private_key_name, key_size=2048, password=None, aes_key_size=256, path_to_file=None): + """ + Args: + device('obj'): Device to configure the SSL key on + private_key_name(`str`): Name of the certificate file + key_size(`int`, Optional): RSA key bit length, default 2048 + password(`str`, Optional): Password to encrypt the device key, default None + aes_key_size(`int`, Optional): AES keysize used to encrypt password if provided. Default 256 + path_to_file(`str`, Optional): Absolute path to the directory where the file should be saved, default None + Raises: + SubCommandFailure + """ + + log.info(f"Configuring RSA private key with {key_size} bits") + if path_to_file: + try: + device.execute(f"mkdir -p {path_to_file}") + private_key_name = f"{path_to_file}/{private_key_name}" + except SubCommandFailure as e: + raise SubCommandFailure(f"Error with sourcing the directory in which to save the private key. Error:\n{e}") + + cmd = [f"openssl genrsa -out {private_key_name} {key_size}"] + if password: + log.info(f"Key will be encrypted to file encrypted_{private_key_name}") + cmd.append(f"openssl rsa -aes{aes_key_size} -in {private_key_name} -out {private_key_name} -passout pass:{password}") + + try: + device.execute(cmd) + except SubCommandFailure as e: + raise SubCommandFailure(f"Failed to configure RSA{key_size} key on the device. Error:\n{e}") + +def generate_ecc_ssl_key(device, private_key_name, elliptic_curve, password=None, aes_key_size=256, path_to_file=None): + """ + Args: + device(`obj`): Device to configure the SSL key on + private_key_name(`str`): Name of the private key file + elliptic_curve(`str`): Specify which elliptic curve to employ + password(`str`, Optional): Password to encrypt the private key, default None + aes_key_size(`int`, Optional): AES keysize used to encrypt password if provided. Default 256 + path_to_file(`str`, Optional): Absolute path to the directory where the file should be saved, default None + Raises: + SubCommandFailure + """ + + log.info(f"Configuring ECC private key with {elliptic_curve}") + if path_to_file: + try: + device.execute(f"mkdir -p {path_to_file}") + private_key_name = f"{path_to_file}/{private_key_name}" + except SubCommandFailure as e: + raise SubCommandFailure(f"Error with sourcing the directory in which to save the private key. Error:\n{e}") + + cmd = [f"openssl ecparam -genkey -name {elliptic_curve} -out {private_key_name}"] + if password: + log.info(f"Key will be encrypted to file {private_key_name}") + cmd.append(f"openssl ec -aes{aes_key_size} -in {private_key_name} -out {private_key_name} -passout pass:{password}") + + try: + device.execute(cmd) + except SubCommandFailure as e: + raise SubCommandFailure(f"Failed to configure the {elliptic_curve} key on the device. Error:\n{e}") + +def generate_ca_certificate(device, private_key_file, subject=None, private_key_password=None, + certificate_name=None, path_to_file=None): + """ + Args: + device(`obj`): Device to configure the SSL key on + private_key_file(`str`): Filename or absolute path to a file containing a private key + subject(`str`, Optional): The subject line for the certificate. Default '/C=/ST=/L=/O=/CN=rootCA' + private_key_password(`str`, Optional): The password for the private_key_file, if applicable. Default None + certificate_name(`str`, Optional): The name of the generated certificate file, default 'rootCA.pem' + path_to_file(`str`, Optional): Absolute path to the directory where the file should be saved, default None + Raises: + SubCommandFailure + """ + if not certificate_name: + certificate_name = 'rootCA.pem' + if not subject: + subject = '/C=/ST=/L=/O=/CN=rootCA' + if path_to_file: + try: + device.execute(f"mkdir -p {path_to_file}") + certificate_name = f"{path_to_file}/{certificate_name}" + except SubCommandFailure as e: + raise SubCommandFailure(f"Error with sourcing the directory in which to save the CA certificate. Error:\n{e}") + + log.info(f"Generating a ca certificate for subject {subject} to be named {certificate_name}") + cmd = f"openssl req -subj {subject} -x509 -new -nodes -key {private_key_file} -sha256 -out {certificate_name}" + if private_key_password: + cmd += f" -passin pass:{private_key_password}" + + try: + device.execute(cmd) + except SubCommandFailure as e: + raise SubCommandFailure(f"Failed to configure the ca certificate. Error: \n{e}") + +def generate_ssl_certificate(device, device_key_file, ca_certificate_file, private_key_file, + device_key_password=None, private_key_password=None, + subject=None, csr_name=None, crt_name=None, path_to_file=None, sha_bit_length=256): + """ + Args: + device(`obj`): Device to configure the SSL key on + device_key_file(`str`): Filename or absolute path to a file containing a private key for the device + ca_certificate_file(`str`): Filename or absolute path to a file containing a CA Certificate + private_key_file(`str`): Filename or absolute path to a file containing a private key for the certificate + device_key_password(`str`, Optional): The password for the device_key_file, if applicable. Default None + subject(`str`, Optional): The subject line for the certificate. Default is '/C=/ST=/L=/O=/CN=$(hostname)' + private_key_password(`str`, Optional): The password for the private_key_file, if applicable. Default None + csr_name(`str`, Optional): The name of the generated csr file, default 'device.csr' + crt_name(`str`, Optional): The name of the generated cst file, default 'device.crt' + path_to_file(`str`, Optional): Absolute path to the directory where the files should be saved, default None + sha_bit_length(`int`, Optional): The bit length of the SHA hash of the crt file, default 256 + Raises: + SubCommandFailure + """ + if not subject: + try: + hostname = device.execute('hostname') + except SubCommandFailure as e: + raise SubCommandFailure(f"Failed to fetch hostname to populate default subject. Error:\n{e}") + subject = f"/C=/ST=/L=/O=/CN={hostname}" + if not csr_name: + csr_name = "device.csr" + if not crt_name: + crt_name = "device.crt" + if path_to_file: + csr_name = f"{path_to_file}/{csr_name}" + crt_name = f"{path_to_file}/{crt_name}" + + csr_cmd = f"openssl req -subj {subject} -new -key {device_key_file} -out {csr_name}" + if device_key_password: + csr_cmd += f" -passin pass:{device_key_password}" + + crt_cmd = f"openssl x509 -req -in {csr_name} -CA {ca_certificate_file} -CAkey {private_key_file} -CAcreateserial -out {crt_name} -sha{sha_bit_length}" + if private_key_password: + crt_cmd += f" -passin pass:{private_key_password}" + + cmd = [csr_cmd, crt_cmd] + + try: + device.execute(cmd) + except SubCommandFailure as e: + raise SubCommandFailure(f"Failed to generate the ssl certificate. Error:\n{e}") diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/linux/openssl/get.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/linux/openssl/get.py new file mode 100644 index 000000000..8effb5fb3 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/linux/openssl/get.py @@ -0,0 +1,23 @@ +"""Common get functions for openssl""" + +import logging +from re import findall +from unicon.core.errors import SubCommandFailure + +log = logging.getLogger(__name__) + + +def get_supported_elliptic_curves(device): + """ + Args: + device(`obj`) + Returns: + Supported Curves + """ + cmd = "openssl ecparam -list_curves" + + try: + curves = findall(r'(\w+)\s*:', device.execute(cmd)) + return curves + except SubCommandFailure as e: + SubCommandFailure(f"Failed to get supported elliptic curves. Error\n {e}") diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/configure_aaa_accounting_update/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/configure_aaa_accounting_update/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/configure_aaa_accounting_update/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/configure_aaa_accounting_update/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..f44b0d07e --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/configure_aaa_accounting_update/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,35 @@ +configure: + commands: + aaa accounting update periodic 3: "aaa accounting update periodic 3\r\n" + end: + new_state: execute + line console 0: + new_state: configure_line + no logging console: '' + prompt: T1-9400-SP2(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: T1-9400-SP2(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: T1-9400-SP2# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/configure_aaa_accounting_update/test_api_configure_aaa_accounting_update.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/configure_aaa_accounting_update/test_api_configure_aaa_accounting_update.py new file mode 100644 index 000000000..03b3e9103 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/configure_aaa_accounting_update/test_api_configure_aaa_accounting_update.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.aaa.configure import configure_aaa_accounting_update + + +class TestConfigureAaaAccountingUpdate(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + Switch: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: c9500L + type: c9500L + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['Switch'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_configure_aaa_accounting_update(self): + result = configure_aaa_accounting_update(self.device, 'periodic', 3) + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/configure_aaa_accounting_update_periodic_interval/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/configure_aaa_accounting_update_periodic_interval/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/configure_aaa_accounting_update_periodic_interval/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/configure_aaa_accounting_update_periodic_interval/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..b8117bb8c --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/configure_aaa_accounting_update_periodic_interval/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,35 @@ +configure: + commands: + aaa accounting update periodic 10: "aaa accounting update periodic 10\r\n" + end: + new_state: execute + line console 0: + new_state: configure_line + no logging console: '' + prompt: SW2(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: SW2(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: SW2# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/configure_aaa_accounting_update_periodic_interval/test_api_configure_aaa_accounting_update_periodic_interval.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/configure_aaa_accounting_update_periodic_interval/test_api_configure_aaa_accounting_update_periodic_interval.py new file mode 100644 index 000000000..e5bab4bc6 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/configure_aaa_accounting_update_periodic_interval/test_api_configure_aaa_accounting_update_periodic_interval.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.aaa.configure import configure_aaa_accounting_update_periodic_interval + + +class TestConfigureAaaAccountingUpdatePeriodicInterval(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + SW2: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: c9500 + type: c9500 + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['SW2'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_configure_aaa_accounting_update_periodic_interval(self): + result = configure_aaa_accounting_update_periodic_interval(self.device, 10) + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_identity_default_start_stop/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_identity_default_start_stop/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_identity_default_start_stop/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_identity_default_start_stop/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..fdbf5b449 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_identity_default_start_stop/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,39 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no aaa accounting identity default start-stop group My-Radius: "no aaa accounting\ + \ identity default start-stop group My-Ra\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ + \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ + \b$unting identity default start-stop group My-Rad \b\b\b\b\b\b\b\b\b\ + ius\r\n" + no logging console: '' + prompt: T1-9400-SP2(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: T1-9400-SP2(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: T1-9400-SP2# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_identity_default_start_stop/test_api_unconfigure_aaa_accounting_identity_default_start_stop.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_identity_default_start_stop/test_api_unconfigure_aaa_accounting_identity_default_start_stop.py new file mode 100644 index 000000000..7f879b6c5 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_identity_default_start_stop/test_api_unconfigure_aaa_accounting_identity_default_start_stop.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.aaa.configure import unconfigure_aaa_accounting_identity_default_start_stop + + +class TestUnconfigureAaaAccountingIdentityDefaultStartStop(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + Switch: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: c9500L + type: c9500L + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['Switch'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_unconfigure_aaa_accounting_identity_default_start_stop(self): + result = unconfigure_aaa_accounting_identity_default_start_stop(self.device, 'group', 'My-Radius') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_update/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_update/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_update/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_update/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..930f10582 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_update/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,35 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no aaa accounting update periodic 3: "no aaa accounting update periodic 3\r\n" + no logging console: '' + prompt: T1-9400-SP2(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: T1-9400-SP2(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: T1-9400-SP2# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_update/test_api_unconfigure_aaa_accounting_update.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_update/test_api_unconfigure_aaa_accounting_update.py new file mode 100644 index 000000000..3476dd3b0 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_update/test_api_unconfigure_aaa_accounting_update.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.aaa.configure import unconfigure_aaa_accounting_update + + +class TestUnconfigureAaaAccountingUpdate(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + Switch: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: c9500L + type: c9500L + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['Switch'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_unconfigure_aaa_accounting_update(self): + result = unconfigure_aaa_accounting_update(self.device, 'periodic', 3) + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_update_periodic_interval/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_update_periodic_interval/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_update_periodic_interval/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_update_periodic_interval/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..1cdd72f58 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_update_periodic_interval/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,35 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no aaa accounting update periodic 10: "no aaa accounting update periodic 10\r\n" + no logging console: '' + prompt: SW2(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: SW2(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: SW2# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_update_periodic_interval/test_api_unconfigure_aaa_accounting_update_periodic_interval.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_update_periodic_interval/test_api_unconfigure_aaa_accounting_update_periodic_interval.py new file mode 100644 index 000000000..f3b8ced4d --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/configure/unconfigure_aaa_accounting_update_periodic_interval/test_api_unconfigure_aaa_accounting_update_periodic_interval.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.aaa.configure import unconfigure_aaa_accounting_update_periodic_interval + + +class TestUnconfigureAaaAccountingUpdatePeriodicInterval(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + SW2: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: c9500 + type: c9500 + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['SW2'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_unconfigure_aaa_accounting_update_periodic_interval(self): + result = unconfigure_aaa_accounting_update_periodic_interval(self.device, 10) + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/execute/execute_clear_aaa_counters_server/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/execute/execute_clear_aaa_counters_server/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/execute/execute_clear_aaa_counters_server/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/execute/execute_clear_aaa_counters_server/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..6525b1442 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/execute/execute_clear_aaa_counters_server/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,39 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no logging console: '' + prompt: 9300_UUT1(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: 9300_UUT1(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + clear aaa counters servers all: + response: + - "clear aaa counters servers [confirm]\r\nThe process for the command is not\ + \ responding or is otherwise unavailable" + response_type: circular + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: 9300_UUT1# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/execute/execute_clear_aaa_counters_server/test_api_execute_clear_aaa_counters_server.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/execute/execute_clear_aaa_counters_server/test_api_execute_clear_aaa_counters_server.py new file mode 100644 index 000000000..878e2790b --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/aaa/execute/execute_clear_aaa_counters_server/test_api_execute_clear_aaa_counters_server.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.aaa.execute import execute_clear_aaa_counters_server + + +class TestExecuteClearAaaCountersServer(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + 9300_UUT1: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: cat9k + type: switch + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['9300_UUT1'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_execute_clear_aaa_counters_server(self): + result = execute_clear_aaa_counters_server(self.device) + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/acl/configure/config_extended_acl/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/acl/configure/config_extended_acl/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/acl/configure/config_extended_acl/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/acl/configure/config_extended_acl/mock_data/iosxe/mock_data.yaml index ff8221da3..76ede0d10 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/acl/configure/config_extended_acl/mock_data/iosxe/mock_data.yaml +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/acl/configure/config_extended_acl/mock_data/iosxe/mock_data.yaml @@ -1,98 +1,21 @@ configure: commands: - 1 permit ip 20.1.1.0 0.0.0.1 10.1.1.1 0.0.0.1 log: "1 permit ip 20.1.1.0 0.0.0.1\ - \ 10.1.1.1 0.0.0.1 log\r\n" - 10 permit ip 20.1.1.9 0.0.0.1 10.1.1.10 0.0.0.1 log: "10 permit ip 20.1.1.9 0.0.0.1\ - \ 10.1.1.10 0.0.0.1 log\r\n" - 11 permit ip 20.1.1.10 0.0.0.1 10.1.1.11 0.0.0.1 log: "11 permit ip 20.1.1.10\ - \ 0.0.0.1 10.1.1.11 0.0.0.1 log\r\n" - 12 permit ip 20.1.1.11 0.0.0.1 10.1.1.12 0.0.0.1 log: "12 permit ip 20.1.1.11\ - \ 0.0.0.1 10.1.1.12 0.0.0.1 log\r\n" - 13 permit ip 20.1.1.12 0.0.0.1 10.1.1.13 0.0.0.1 log: "13 permit ip 20.1.1.12\ - \ 0.0.0.1 10.1.1.13 0.0.0.1 log\r\n" - 14 permit ip 20.1.1.13 0.0.0.1 10.1.1.14 0.0.0.1 log: "14 permit ip 20.1.1.13\ - \ 0.0.0.1 10.1.1.14 0.0.0.1 log\r\n" - 15 permit ip 20.1.1.14 0.0.0.1 10.1.1.15 0.0.0.1 log: "15 permit ip 20.1.1.14\ - \ 0.0.0.1 10.1.1.15 0.0.0.1 log\r\n" - 16 permit ip 20.1.1.15 0.0.0.1 10.1.1.16 0.0.0.1 log: "16 permit ip 20.1.1.15\ - \ 0.0.0.1 10.1.1.16 0.0.0.1 log\r\n" - 17 permit ip 20.1.1.16 0.0.0.1 10.1.1.17 0.0.0.1 log: "17 permit ip 20.1.1.16\ - \ 0.0.0.1 10.1.1.17 0.0.0.1 log\r\n" - 18 permit ip 20.1.1.17 0.0.0.1 10.1.1.18 0.0.0.1 log: "18 permit ip 20.1.1.17\ - \ 0.0.0.1 10.1.1.18 0.0.0.1 log\r\n" - 19 permit ip 20.1.1.18 0.0.0.1 10.1.1.19 0.0.0.1 log: "19 permit ip 20.1.1.18\ - \ 0.0.0.1 10.1.1.19 0.0.0.1 log\r\n" - 2 permit ip 20.1.1.1 0.0.0.1 10.1.1.2 0.0.0.1 log: "2 permit ip 20.1.1.1 0.0.0.1\ - \ 10.1.1.2 0.0.0.1 log\r\n" - 20 permit ip 20.1.1.19 0.0.0.1 10.1.1.20 0.0.0.1 log: "20 permit ip 20.1.1.19\ - \ 0.0.0.1 10.1.1.20 0.0.0.1 log\r\n" - 21 permit ip 20.1.1.0 0.0.0.1 host 10.1.1.1 log: "21 permit ip 20.1.1.0 0.0.0.1\ - \ host 10.1.1.1 log\r\n" - 22 permit ip 20.1.1.1 0.0.0.1 host 10.1.1.2 log: "22 permit ip 20.1.1.1 0.0.0.1\ - \ host 10.1.1.2 log\r\n" - 23 permit ip 20.1.1.2 0.0.0.1 host 10.1.1.3 log: "23 permit ip 20.1.1.2 0.0.0.1\ - \ host 10.1.1.3 log\r\n" - 24 permit ip 20.1.1.3 0.0.0.1 host 10.1.1.4 log: "24 permit ip 20.1.1.3 0.0.0.1\ - \ host 10.1.1.4 log\r\n" - 25 permit ip 20.1.1.4 0.0.0.1 host 10.1.1.5 log: "25 permit ip 20.1.1.4 0.0.0.1\ - \ host 10.1.1.5 log\r\n" - 26 permit ip 20.1.1.5 0.0.0.1 host 10.1.1.6 log: "26 permit ip 20.1.1.5 0.0.0.1\ - \ host 10.1.1.6 log\r\n" - 27 permit ip 20.1.1.6 0.0.0.1 host 10.1.1.7 log: "27 permit ip 20.1.1.6 0.0.0.1\ - \ host 10.1.1.7 log\r\n" - 28 permit ip 20.1.1.7 0.0.0.1 host 10.1.1.8 log: "28 permit ip 20.1.1.7 0.0.0.1\ - \ host 10.1.1.8 log\r\n" - 29 permit ip 20.1.1.8 0.0.0.1 host 10.1.1.9 log: "29 permit ip 20.1.1.8 0.0.0.1\ - \ host 10.1.1.9 log\r\n" - 3 permit ip 20.1.1.2 0.0.0.1 10.1.1.3 0.0.0.1 log: "3 permit ip 20.1.1.2 0.0.0.1\ - \ 10.1.1.3 0.0.0.1 log\r\n" - 30 permit ip 20.1.1.9 0.0.0.1 host 10.1.1.10 log: "30 permit ip 20.1.1.9 0.0.0.1\ - \ host 10.1.1.10 log\r\n" - 31 permit ip 20.1.1.10 0.0.0.1 host 10.1.1.11 log: "31 permit ip 20.1.1.10 0.0.0.1\ - \ host 10.1.1.11 log\r\n" - 32 permit ip 20.1.1.11 0.0.0.1 host 10.1.1.12 log: "32 permit ip 20.1.1.11 0.0.0.1\ - \ host 10.1.1.12 log\r\n" - 33 permit ip 20.1.1.12 0.0.0.1 host 10.1.1.13 log: "33 permit ip 20.1.1.12 0.0.0.1\ - \ host 10.1.1.13 log\r\n" - 34 permit ip 20.1.1.13 0.0.0.1 host 10.1.1.14 log: "34 permit ip 20.1.1.13 0.0.0.1\ - \ host 10.1.1.14 log\r\n" - 35 permit ip 20.1.1.14 0.0.0.1 host 10.1.1.15 log: "35 permit ip 20.1.1.14 0.0.0.1\ - \ host 10.1.1.15 log\r\n" - 36 permit ip 20.1.1.15 0.0.0.1 host 10.1.1.16 log: "36 permit ip 20.1.1.15 0.0.0.1\ - \ host 10.1.1.16 log\r\n" - 37 permit ip 20.1.1.16 0.0.0.1 host 10.1.1.17 log: "37 permit ip 20.1.1.16 0.0.0.1\ - \ host 10.1.1.17 log\r\n" - 38 permit ip 20.1.1.17 0.0.0.1 host 10.1.1.18 log: "38 permit ip 20.1.1.17 0.0.0.1\ - \ host 10.1.1.18 log\r\n" - 39 permit ip 20.1.1.18 0.0.0.1 host 10.1.1.19 log: "39 permit ip 20.1.1.18 0.0.0.1\ - \ host 10.1.1.19 log\r\n" - 4 permit ip 20.1.1.3 0.0.0.1 10.1.1.4 0.0.0.1 log: "4 permit ip 20.1.1.3 0.0.0.1\ - \ 10.1.1.4 0.0.0.1 log\r\n" - 40 permit ip 20.1.1.19 0.0.0.1 host 10.1.1.20 log: "40 permit ip 20.1.1.19 0.0.0.1\ - \ host 10.1.1.20 log\r\n" - 5 permit ip 20.1.1.4 0.0.0.1 10.1.1.5 0.0.0.1 log: "5 permit ip 20.1.1.4 0.0.0.1\ - \ 10.1.1.5 0.0.0.1 log\r\n" - 6 permit ip 20.1.1.5 0.0.0.1 10.1.1.6 0.0.0.1 log: "6 permit ip 20.1.1.5 0.0.0.1\ - \ 10.1.1.6 0.0.0.1 log\r\n" - 7 permit ip 20.1.1.6 0.0.0.1 10.1.1.7 0.0.0.1 log: "7 permit ip 20.1.1.6 0.0.0.1\ - \ 10.1.1.7 0.0.0.1 log\r\n" - 8 permit ip 20.1.1.7 0.0.0.1 10.1.1.8 0.0.0.1 log: "8 permit ip 20.1.1.7 0.0.0.1\ - \ 10.1.1.8 0.0.0.1 log\r\n" - 9 permit ip 20.1.1.8 0.0.0.1 10.1.1.9 0.0.0.1 log: "9 permit ip 20.1.1.8 0.0.0.1\ - \ 10.1.1.9 0.0.0.1 log\r\n" + 10 permit tcp any any eq telnet time-range time1: "10 permit tcp any any eq telnet\ + \ time-range time1\r\n" end: new_state: execute - ip access-list extended racl: "ip access-list extended racl\r\n" + ip access-list extended TIME_BASED_ACL_permit: "ip access-list extended TIME_BASED_ACL_permit\r\ + \n" line console 0: new_state: configure_line no logging console: '' - prompt: stack3-nyquist-1(config)# + prompt: stack3-nyq-PE1(config)# configure_line: commands: end: new_state: execute exec-timeout 0: '' - prompt: stack3-nyquist-1(config-line)# + prompt: stack3-nyq-PE1(config-line)# connect: commands: ? '' @@ -112,4 +35,4 @@ execute: show version: '' term length 0: '' term width 0: '' - prompt: stack3-nyquist-1# + prompt: stack3-nyq-PE1# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/acl/configure/config_extended_acl/test_api_config_extended_acl.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/acl/configure/config_extended_acl/test_api_config_extended_acl.py index 0af8a6343..2d8196c3e 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/acl/configure/config_extended_acl/test_api_config_extended_acl.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/acl/configure/config_extended_acl/test_api_config_extended_acl.py @@ -10,7 +10,7 @@ class TestConfigExtendedAcl(unittest.TestCase): def setUpClass(self): testbed = f""" devices: - stack3-nyquist-1: + stack3-nyq-PE1#: connections: defaults: class: unicon.Unicon @@ -18,11 +18,11 @@ def setUpClass(self): command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect protocol: unknown os: iosxe - platform: cat9k - type: c9300 + platform: c9500 + type: c9500 """ self.testbed = loader.load(testbed) - self.device = self.testbed.devices['stack3-nyquist-1'] + self.device = self.testbed.devices['stack3-nyq-PE1#'] self.device.connect( learn_hostname=True, init_config_commands=[], @@ -30,6 +30,6 @@ def setUpClass(self): ) def test_config_extended_acl(self): - result = config_extended_acl(self.device, 'racl', 'permit', 'ip', '20.1.1.0', '0.0.0.1', '0.0.0.1', '10.1.1.1', '0.0.0.1', '0.0.0.1', None, 20, None, None, 'log') + result = config_extended_acl(self.device, 'TIME_BASED_ACL_permit', 'permit', 'tcp', 'any', '', '', 'any', '', '', 'telnet', 0, None, 10, '', 'time1', 'eq') expected_output = None - self.assertEqual(result, expected_output) \ No newline at end of file + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/configure/configure_app_management_networking/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/configure/configure_app_management_networking/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/configure/configure_app_management_networking/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/configure/configure_app_management_networking/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..6c8a59257 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/configure/configure_app_management_networking/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,38 @@ +configure: + commands: + app-hosting appid guestshell: "app-hosting appid guestshell\r\n" + app-vnic management guest-interface 0: "app-vnic management guest-interface 0\r\ + \n" + end: + new_state: execute + line console 0: + new_state: configure_line + no logging console: '' + start: "start\r\n" + prompt: T1-9300-SP1(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: T1-9300-SP1(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: T1-9300-SP1# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/configure/configure_app_management_networking/test_api_configure_app_management_networking.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/configure/configure_app_management_networking/test_api_configure_app_management_networking.py new file mode 100644 index 000000000..27c534194 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/configure/configure_app_management_networking/test_api_configure_app_management_networking.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.apphosting.configure import configure_app_management_networking + + +class TestConfigureAppManagementNetworking(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + T1-9300-SP1: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: c9300 + type: c9500 + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['T1-9300-SP1'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_configure_app_management_networking(self): + result = configure_app_management_networking(self.device, 'guestshell', 'None') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/configure/enable_usb_ssd_verify_exists/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/configure/enable_usb_ssd_verify_exists/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/configure/enable_usb_ssd_verify_exists/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/configure/enable_usb_ssd_verify_exists/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..53577620c --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/configure/enable_usb_ssd_verify_exists/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,104 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no logging console: '' + prompt: T1-9300-SP1(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: T1-9300-SP1(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show running-config | include platform usb disable | include platform usb disable: + response: + - $ include platform usb disable | include platform usb disable + response_type: circular + show version: + response: + - "Cisco IOS XE Software, Version BLD_V179_THROTTLE_MONIT_LATEST_20230630_102418\r\ + \nCisco IOS Software [Cupertino], Catalyst L3 Switch Software (CAT9K_IOSXE),\ + \ Experimental Version 17.9.20230630:111447 [BLD_V179_THROTTLE_MONIT_LATEST_20230630_102418:/nobackup/mcpre/s2c-build-ws\ + \ 101]\r\nCopyright (c) 1986-2023 by Cisco Systems, Inc.\r\nCompiled Fri 30-Jun-23\ + \ 04:14 by mcpre\r\n\r\n\r\nCisco IOS-XE software, Copyright (c) 2005-2023\ + \ by cisco Systems, Inc.\r\nAll rights reserved. Certain components of Cisco\ + \ IOS-XE software are\r\nlicensed under the GNU General Public License (\"\ + GPL\") Version 2.0. The\r\nsoftware code licensed under GPL Version 2.0 is\ + \ free software that comes\r\nwith ABSOLUTELY NO WARRANTY. You can redistribute\ + \ and/or modify such\r\nGPL code under the terms of GPL Version 2.0. For\ + \ more details, see the\r\ndocumentation or \"License Notice\" file accompanying\ + \ the IOS-XE software,\r\nor the applicable URL provided on the flyer accompanying\ + \ the IOS-XE\r\nsoftware.\r\n\r\n\r\nROM: IOS-XE ROMMON\r\nBOOTLDR: System\ + \ Bootstrap, Version 17.12.0.1r, DEVELOPMENT SOFTWARE\r\n\r\nT1-9300-SP1 uptime\ + \ is 3 weeks, 5 days, 19 hours, 46 minutes\r\nUptime for this control processor\ + \ is 3 weeks, 5 days, 19 hours, 48 minutes\r\nSystem returned to ROM by Reload\ + \ Command\r\nSystem restarted at 20:21:23 IST Wed Jul 5 2023\r\nSystem image\ + \ file is \"flash:cat9k_iosxe.BLD_V179_THROTTLE_MONIT_LATEST_20230630_102418.SSA.bin\"\ + \r\nLast reload reason: Reload Command\r\n\r\n\r\n\r\nThis product contains\ + \ cryptographic features and is subject to United\r\nStates and local country\ + \ laws governing import, export, transfer and\r\nuse. Delivery of Cisco cryptographic\ + \ products does not imply\r\nthird-party authority to import, export, distribute\ + \ or use encryption.\r\nImporters, exporters, distributors and users are responsible\ + \ for\r\ncompliance with U.S. and local country laws. By using this product\ + \ you\r\nagree to comply with applicable laws and regulations. If you are\ + \ unable\r\nto comply with U.S. and local laws, return this product immediately.\r\ + \n\r\nA summary of U.S. laws governing Cisco cryptographic products may be\ + \ found at:\r\nhttp://www.cisco.com/wwl/export/crypto/tool/stqrg.html\r\n\r\ + \nIf you require further assistance please contact us by sending email to\r\ + \nexport@cisco.com.\r\n\r\n\r\nTechnology Package License Information: \r\n\ + \r\n------------------------------------------------------------------------------\r\ + \nTechnology-package Technology-package\r\ + \nCurrent Type Next reboot \r\ + \n------------------------------------------------------------------------------\r\ + \nnetwork-advantage \tSmart License \t network-advantage\ + \ \r\ndna-advantage \tSubscription Smart License \t dna-advantage\ + \ \r\nAIR License Level: AIR DNA Advantage\r\nNext reload\ + \ AIR license Level: AIR DNA Advantage\r\n\r\n\r\nSmart Licensing Status:\ + \ Smart Licensing Using Policy\r\n\r\ncisco C9300-24P (X86) processor with\ + \ 1310597K/6147K bytes of memory.\r\nProcessor board ID FCW2124L0XE\r\n11\ + \ Virtual Ethernet interfaces\r\n56 Gigabit Ethernet interfaces\r\n16 Ten\ + \ Gigabit Ethernet interfaces\r\n4 TwentyFive Gigabit Ethernet interfaces\r\ + \n4 Forty Gigabit Ethernet interfaces\r\n2048K bytes of non-volatile configuration\ + \ memory.\r\n8388608K bytes of physical memory.\r\n1638400K bytes of Crash\ + \ Files at crashinfo:.\r\n1638400K bytes of Crash Files at crashinfo-1:.\r\ + \n11264000K bytes of Flash at flash:.\r\n11264000K bytes of Flash at flash-1:.\r\ + \n\r\nBase Ethernet MAC Address : a0:f8:49:0f:3b:80\r\nMotherboard\ + \ Assembly Number : 73-17953-06\r\nMotherboard Serial Number \ + \ : FOC21230KCQ\r\nModel Revision Number : A0\r\nMotherboard\ + \ Revision Number : A0\r\nModel Number : C9300-24P\r\ + \nSystem Serial Number : FCW2124L0XE\r\nCLEI Code Number \ + \ : INM2T10ARA\r\n\r\n\r\nSwitch Ports Model SW\ + \ Version SW Image Mode \r\n------ ----- ----- \ + \ ---------- ---------- ---- \r\n 1 41 \ + \ C9300-24P 17.09.04 CAT9K_IOSXE BUNDLE \r\n*\ + \ 2 41 C9300-24P 17.09.04 CAT9K_IOSXE BUNDLE\ + \ \r\n\r\n\r\nSwitch 01\r\n---------\r\nSwitch uptime \ + \ : 3 weeks, 5 days, 19 hours, 47 minutes \r\n\r\nBase Ethernet MAC Address\ + \ : a0:f8:49:10:b3:80\r\nMotherboard Assembly Number : 73-17953-06\r\ + \nMotherboard Serial Number : FOC21230KDW\r\nModel Revision Number\ + \ : A0\r\nMotherboard Revision Number : A0\r\nModel Number\ + \ : C9300-24P\r\nSystem Serial Number \ + \ : FCW2125G011\r\nLast reload reason : Reload Command\r\n\ + CLEI Code Number : INM2T10ARA" + response_type: circular + term length 0: '' + term width 0: '' + prompt: T1-9300-SP1# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/configure/enable_usb_ssd_verify_exists/test_api_enable_usb_ssd_verify_exists.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/configure/enable_usb_ssd_verify_exists/test_api_enable_usb_ssd_verify_exists.py new file mode 100644 index 000000000..7fc4dffbc --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/configure/enable_usb_ssd_verify_exists/test_api_enable_usb_ssd_verify_exists.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.apphosting.configure import enable_usb_ssd_verify_exists + + +class TestEnableUsbSsdVerifyExists(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + T1-9300-SP1: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: c9300 + type: c9500 + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['T1-9300-SP1'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_enable_usb_ssd_verify_exists(self): + result = enable_usb_ssd_verify_exists(self.device, 'flash-1:.', 30) + expected_output = True + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/execute/execute_apphosting_cli/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/execute/execute_apphosting_cli/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/execute/execute_apphosting_cli/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/execute/execute_apphosting_cli/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..efa627a98 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/execute/execute_apphosting_cli/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,40 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no logging console: '' + prompt: stack3-nyquist-1(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: stack3-nyquist-1(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show app-hosting list: + response: + - "App id State\r\n---------------------------------------------------------\r\ + \nguestshell DEPLOYED\r\nwcs_docker \ + \ DEPLOYED" + response_type: circular + show version: '' + term length 0: '' + term width 0: '' + prompt: stack3-nyquist-1# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/execute/execute_apphosting_cli/test_api_execute_apphosting_cli.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/execute/execute_apphosting_cli/test_api_execute_apphosting_cli.py new file mode 100644 index 000000000..beeafc1b4 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/execute/execute_apphosting_cli/test_api_execute_apphosting_cli.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.apphosting.execute import execute_apphosting_cli + + +class TestExecuteApphostingCli(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + stack3-nyquist-1: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: c9300 + type: c9500 + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['stack3-nyquist-1'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_execute_apphosting_cli(self): + result = execute_apphosting_cli(self.device) + expected_output = True + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/execute/install_wcs_enable_guestshell/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/execute/install_wcs_enable_guestshell/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/execute/install_wcs_enable_guestshell/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/execute/install_wcs_enable_guestshell/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..152d31ba4 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/execute/install_wcs_enable_guestshell/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,44 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no logging console: '' + prompt: stack3-nyquist-1(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: stack3-nyquist-1(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + app-hosting install appid wcs_docker package flash:iperf3_signed.tar: + response: + - Invalid 'install' request. wcs_docker is in DEPLOYED + response_type: circular + config term: + new_state: configure + config-transaction: + new_state: configure + guestshell enable: + response: + - "Interface will be selected if configured in app-hosting\r\nPlease wait for\ + \ completion\r\n% Error: Config DB Appid guestshell: No interface has been\ + \ configured" + response_type: circular + show version: '' + term length 0: '' + term width 0: '' + prompt: stack3-nyquist-1# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/execute/install_wcs_enable_guestshell/test_api_install_wcs_enable_guestshell.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/execute/install_wcs_enable_guestshell/test_api_install_wcs_enable_guestshell.py new file mode 100644 index 000000000..350fcbed1 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/apphosting/execute/install_wcs_enable_guestshell/test_api_install_wcs_enable_guestshell.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.apphosting.execute import install_wcs_enable_guestshell + + +class TestInstallWcsEnableGuestshell(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + stack3-nyquist-1: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: c9300 + type: c9500 + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['stack3-nyquist-1'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_install_wcs_enable_guestshell(self): + result = install_wcs_enable_guestshell(self.device, 'wcs_docker', 'flash', 'iperf3_signed.tar') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/configure_breakout_cli/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/configure_breakout_cli/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..4e7a7ca7f --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/configure_breakout_cli/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,45 @@ +configure: + commands: + end: + new_state: execute + hw-module subslot 0/2 breakout 10g port all: + response: "hw-module subslot 0/2 breakout 10g\ + \ port all\r\nBreakout configuration would reload the EPA in 0/2\r\nPresent\ + \ configuration of ports on which breakout config change is being applied will\ + \ be erased and will not be restored!\r\n" + new_state: confirm + line console 0: + new_state: configure_line + no logging console: '' + prompt: GD_F12(config)# +confirm: + prompt: "Do you want to proceed? [confirm]" + commands: + "": + new_state: configure +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: GD_F12(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: GD_F12# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/configure_breakout_cli/test_api_configure_breakout_cli.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/configure_breakout_cli/test_api_configure_breakout_cli.py new file mode 100644 index 000000000..aafb2fa2d --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/configure_breakout_cli/test_api_configure_breakout_cli.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.cat8k.configure import configure_breakout_cli + + +class TestConfigureBreakoutCli(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + GD_F12: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: iosxe + type: iosxe + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['GD_F12'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_configure_breakout_cli(self): + result = configure_breakout_cli(self.device, 'all', '0/2', '10g') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/configure_mode_change/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/configure_mode_change/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..df73171a4 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/configure_mode_change/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,39 @@ +configure: + commands: + end: + new_state: execute + hw-module subslot 0/1 mode 100G: "hw-module subslot 0/1 mode 100G\r\nChanging\ + \ mode of subslot 0/1 to 100G will cause EPA in subslot 0/0 to go offline\r\n\ + Present configuration of this subslot will be erased and will not be restored.\r\ + \nCLI will not be available until mode change is complete and EPA returns to\ + \ OK state.\r\nDo you want to proceed? [confirm]\r\n" + line console 0: + new_state: configure_line + no logging console: '' + prompt: GD_F12(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: GD_F12(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: GD_F12# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/configure_mode_change/test_api_configure_mode_change.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/configure_mode_change/test_api_configure_mode_change.py new file mode 100644 index 000000000..9baf0cea4 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/configure_mode_change/test_api_configure_mode_change.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.cat8k.configure import configure_mode_change + + +class TestConfigureModeChange(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + GD_F12: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: iosxe + type: iosxe + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['GD_F12'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_configure_mode_change(self): + result = configure_mode_change(self.device, '0/1', '100G') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/unconfigure_breakout_cli/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/unconfigure_breakout_cli/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..fee63c37a --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/unconfigure_breakout_cli/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,45 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no hw-module subslot 0/2 breakout 10g port native_port_8: + response: "no hw-module subslot\ + \ 0/2 breakout 10g port native_port_8\r\nBreakout configuration would reload\ + \ the EPA in 0/2\r\nPresent configuration of ports on which breakout config\ + \ change is being applied will be erased and will not be restored!\r\n" + new_state: confirm + no logging console: '' + prompt: GD_F12(config)# +confirm: + prompt: "Do you want to proceed? [confirm]" + commands: + "": + new_state: configure +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: GD_F12(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: GD_F12# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/unconfigure_breakout_cli/test_api_unconfigure_breakout_cli.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/unconfigure_breakout_cli/test_api_unconfigure_breakout_cli.py new file mode 100644 index 000000000..c0054d4d7 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/unconfigure_breakout_cli/test_api_unconfigure_breakout_cli.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.cat8k.configure import unconfigure_breakout_cli + + +class TestUnconfigureBreakoutCli(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + GD_F12: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: iosxe + type: iosxe + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['GD_F12'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_unconfigure_breakout_cli(self): + result = unconfigure_breakout_cli(self.device, 'native_port_8', '10g', '0/2') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cdp/configure/configure_cdp/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cdp/configure/configure_cdp/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cdp/configure/configure_cdp/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cdp/configure/configure_cdp/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..8d7da5dc4 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cdp/configure/configure_cdp/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,930 @@ +configure: + commands: + cdp enable: "interface AppGigabitEthernet1/0/1\r\n" + cdp run: "cdp run\r\n" + end: + new_state: execute + interface AppGigabitEthernet1/0/1: "cdp enable\r\n" + interface FortyGigabitEthernet1/1/1: "cdp enable\r\n" + interface FortyGigabitEthernet1/1/2: "cdp enable\r\n" + interface GigabitEthernet0/0: "% Cannot enable this CLI, since CDP is not supported\ + \ on this interface\r\n" + interface GigabitEthernet1/1/1: "cdp enable\r\n" + interface GigabitEthernet1/1/2: "cdp enable\r\n" + interface GigabitEthernet1/1/3: "cdp enable\r\n" + interface GigabitEthernet1/1/4: "cdp enable\r\n" + interface TenGigabitEthernet1/0/1: "cdp enable\r\n" + interface TenGigabitEthernet1/0/10: "cdp enable\r\n" + interface TenGigabitEthernet1/0/11: "cdp enable\r\n" + interface TenGigabitEthernet1/0/12: "cdp enable\r\n" + interface TenGigabitEthernet1/0/13: "cdp enable\r\n" + interface TenGigabitEthernet1/0/14: "cdp enable\r\n" + interface TenGigabitEthernet1/0/15: "cdp enable\r\n" + interface TenGigabitEthernet1/0/16: "cdp enable\r\n" + interface TenGigabitEthernet1/0/17: "cdp enable\r\n" + interface TenGigabitEthernet1/0/18: "cdp enable\r\n" + interface TenGigabitEthernet1/0/19: "cdp enable\r\n" + interface TenGigabitEthernet1/0/2: "cdp enable\r\n" + interface TenGigabitEthernet1/0/20: "cdp enable\r\n" + interface TenGigabitEthernet1/0/21: "cdp enable\r\n" + interface TenGigabitEthernet1/0/22: "cdp enable\r\n" + interface TenGigabitEthernet1/0/23: "cdp enable\r\n" + interface TenGigabitEthernet1/0/24: "cdp enable\r\n" + interface TenGigabitEthernet1/0/3: "cdp enable\r\n" + interface TenGigabitEthernet1/0/4: "cdp enable\r\n" + interface TenGigabitEthernet1/0/5: "cdp enable\r\n" + interface TenGigabitEthernet1/0/6: "cdp enable\r\n" + interface TenGigabitEthernet1/0/7: "cdp enable\r\n" + interface TenGigabitEthernet1/0/8: "cdp enable\r\n" + interface TenGigabitEthernet1/0/9: "cdp enable\r\n" + interface TenGigabitEthernet1/1/1: "cdp enable\r\n" + interface TenGigabitEthernet1/1/2: "cdp enable\r\n" + interface TenGigabitEthernet1/1/3: "cdp enable\r\n" + interface TenGigabitEthernet1/1/4: "cdp enable\r\n" + interface TenGigabitEthernet1/1/5: "cdp enable\r\n" + interface TenGigabitEthernet1/1/6: "cdp enable\r\n" + interface TenGigabitEthernet1/1/7: "cdp enable\r\n" + interface TenGigabitEthernet1/1/8: "cdp enable\r\n" + interface TwentyFiveGigE1/1/1: "cdp enable\r\n" + interface TwentyFiveGigE1/1/2: "cdp enable\r\n" + interface Vlan1: "interface Vlan1\r\n" + line console 0: + new_state: configure_line + no logging console: '' + prompt: 9300-24UX-1(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: 9300-24UX-1(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show interfaces: + response: + - "Vlan1 is up, line protocol is up , Autostate Enabled\r\n Hardware is Ethernet\ + \ SVI, address is 6c5e.3b84.6cc7 (bia 6c5e.3b84.6cc7)\r\n MTU 1500 bytes,\ + \ BW 1000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload 1/255,\ + \ rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive not\ + \ supported \r\n ARP type: ARPA, ARP Timeout 04:00:00\r\n Last input 00:01:10,\ + \ output never, output hang never\r\n Last clearing of \"show interface\"\ + \ counters never\r\n Input queue: 0/375/0/0 (size/max/drops/flushes); Total\ + \ output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\ + \n 5 minute input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate\ + \ 0 bits/sec, 0 packets/sec\r\n 172 packets input, 16168 bytes, 0 no buffer\r\ + \n Received 0 broadcasts (0 IP multicasts)\r\n 0 runts, 0 giants,\ + \ 0 throttles \r\n 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\ + \n 0 packets output, 0 bytes, 0 underruns\r\n Output 0 broadcasts\ + \ (0 IP multicasts)\r\n 0 output errors, 2 interface resets\r\n 0\ + \ unknown protocol drops\r\n 0 output buffer failures, 0 output buffers\ + \ swapped out\r\nGigabitEthernet0/0 is up, line protocol is up \r\n Hardware\ + \ is RP management port, address is 6c5e.3b84.6c80 (bia 6c5e.3b84.6c80)\r\n\ + \ MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, \r\n reliability\ + \ 255/255, txload 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not\ + \ set\r\n Keepalive set (10 sec)\r\n Full Duplex, 1000Mbps, link type is\ + \ auto, media type is RJ45\r\n output flow-control is unsupported, input\ + \ flow-control is unsupported\r\n ARP type: ARPA, ARP Timeout 04:00:00\r\n\ + \ Last input 00:00:11, output 00:00:41, output hang never\r\n Last clearing\ + \ of \"show interface\" counters never\r\n Input queue: 0/75/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 0 bits/sec, 0 packets/sec\r\n 5 minute\ + \ output rate 0 bits/sec, 0 packets/sec\r\n 179903 packets input, 15963983\ + \ bytes, 0 no buffer\r\n Received 0 broadcasts (0 IP multicasts)\r\n \ + \ 0 runts, 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame,\ + \ 0 overrun, 0 ignored\r\n 0 watchdog, 0 multicast, 0 pause input\r\n\ + \ 1251 packets output, 515906 bytes, 0 underruns\r\n Output 0 broadcasts\ + \ (0 IP multicasts)\r\n 0 output errors, 0 collisions, 0 interface resets\r\ + \n 3516 unknown protocol drops\r\n 0 babbles, 0 late collision, 0\ + \ deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n 0\ + \ output buffer failures, 0 output buffers swapped out\r\n 0 carrier transitions\r\ + \nTenGigabitEthernet1/0/1 is up, line protocol is up (connected) \r\n Hardware\ + \ is Ten Gigabit Ethernet, address is 6c5e.3b84.6c81 (bia 6c5e.3b84.6c81)\r\ + \n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, \r\n reliability\ + \ 255/255, txload 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not\ + \ set\r\n Keepalive set (10 sec)\r\n Full-duplex, 1000Mb/s, media type is\ + \ 100/1000/2.5G/5G/10GBaseTX\r\n input flow-control is on, output flow-control\ + \ is unsupported \r\n ARP type: ARPA, ARP Timeout 04:00:00\r\n Last input\ + \ 00:00:01, output 00:00:01, output hang never\r\n Last clearing of \"show\ + \ interface\" counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 1000 bits/sec, 1 packets/sec\r\n 5\ + \ minute output rate 0 bits/sec, 0 packets/sec\r\n 145307 packets input,\ + \ 20819075 bytes, 0 no buffer\r\n Received 127464 broadcasts (96108 multicasts)\r\ + \n 0 runts, 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame,\ + \ 0 overrun, 0 ignored\r\n 0 watchdog, 96108 multicast, 0 pause input\r\ + \n 0 input packets with dribble condition detected\r\n 23306 packets\ + \ output, 1492300 bytes, 0 underruns\r\n Output 0 broadcasts (5832 multicasts)\r\ + \n 0 output errors, 0 collisions, 16 interface resets\r\n 0 unknown\ + \ protocol drops\r\n 0 babbles, 0 late collision, 0 deferred\r\n 0\ + \ lost carrier, 0 no carrier, 0 pause output\r\n 0 output buffer failures,\ + \ 0 output buffers swapped out\r\nTenGigabitEthernet1/0/2 is up, line protocol\ + \ is up (connected) \r\n Hardware is Ten Gigabit Ethernet, address is 6c5e.3b84.6c82\ + \ (bia 6c5e.3b84.6c82)\r\n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,\ + \ \r\n reliability 255/255, txload 1/255, rxload 1/255\r\n Encapsulation\ + \ ARPA, loopback not set\r\n Keepalive set (10 sec)\r\n Full-duplex, 1000Mb/s,\ + \ media type is 100/1000/2.5G/5G/10GBaseTX\r\n input flow-control is on,\ + \ output flow-control is unsupported \r\n ARP type: ARPA, ARP Timeout 04:00:00\r\ + \n Last input 00:00:01, output 00:00:01, output hang never\r\n Last clearing\ + \ of \"show interface\" counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 1000 bits/sec, 1 packets/sec\r\n 5\ + \ minute output rate 0 bits/sec, 0 packets/sec\r\n 145330 packets input,\ + \ 20817809 bytes, 0 no buffer\r\n Received 127456 broadcasts (96100 multicasts)\r\ + \n 0 runts, 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame,\ + \ 0 overrun, 0 ignored\r\n 0 watchdog, 96100 multicast, 0 pause input\r\ + \n 0 input packets with dribble condition detected\r\n 23266 packets\ + \ output, 1489740 bytes, 0 underruns\r\n Output 0 broadcasts (5827 multicasts)\r\ + \n 0 output errors, 0 collisions, 8 interface resets\r\n 0 unknown\ + \ protocol drops\r\n 0 babbles, 0 late collision, 0 deferred\r\n 0\ + \ lost carrier, 0 no carrier, 0 pause output\r\n 0 output buffer failures,\ + \ 0 output buffers swapped out\r\nTenGigabitEthernet1/0/3 is up, line protocol\ + \ is up (connected) \r\n Hardware is Ten Gigabit Ethernet, address is 6c5e.3b84.6c83\ + \ (bia 6c5e.3b84.6c83)\r\n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,\ + \ \r\n reliability 255/255, txload 1/255, rxload 1/255\r\n Encapsulation\ + \ ARPA, loopback not set\r\n Keepalive set (10 sec)\r\n Full-duplex, 1000Mb/s,\ + \ media type is 100/1000/2.5G/5G/10GBaseTX\r\n input flow-control is on,\ + \ output flow-control is unsupported \r\n ARP type: ARPA, ARP Timeout 04:00:00\r\ + \n Last input 00:00:01, output 00:00:00, output hang never\r\n Last clearing\ + \ of \"show interface\" counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 1000 bits/sec, 1 packets/sec\r\n 5\ + \ minute output rate 0 bits/sec, 0 packets/sec\r\n 145331 packets input,\ + \ 20818655 bytes, 0 no buffer\r\n Received 127457 broadcasts (96101 multicasts)\r\ + \n 0 runts, 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame,\ + \ 0 overrun, 0 ignored\r\n 0 watchdog, 96101 multicast, 0 pause input\r\ + \n 0 input packets with dribble condition detected\r\n 23267 packets\ + \ output, 1489804 bytes, 0 underruns\r\n Output 0 broadcasts (5828 multicasts)\r\ + \n 0 output errors, 0 collisions, 4 interface resets\r\n 0 unknown\ + \ protocol drops\r\n 0 babbles, 0 late collision, 0 deferred\r\n 0\ + \ lost carrier, 0 no carrier, 0 pause output\r\n 0 output buffer failures,\ + \ 0 output buffers swapped out\r\nTenGigabitEthernet1/0/4 is up, line protocol\ + \ is up (connected) \r\n Hardware is Ten Gigabit Ethernet, address is 6c5e.3b84.6c84\ + \ (bia 6c5e.3b84.6c84)\r\n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,\ + \ \r\n reliability 255/255, txload 1/255, rxload 1/255\r\n Encapsulation\ + \ ARPA, loopback not set\r\n Keepalive set (10 sec)\r\n Full-duplex, 1000Mb/s,\ + \ media type is 100/1000/2.5G/5G/10GBaseTX\r\n input flow-control is on,\ + \ output flow-control is unsupported \r\n ARP type: ARPA, ARP Timeout 04:00:00\r\ + \n Last input 00:00:01, output 00:00:00, output hang never\r\n Last clearing\ + \ of \"show interface\" counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 1000 bits/sec, 1 packets/sec\r\n 5\ + \ minute output rate 0 bits/sec, 0 packets/sec\r\n 145329 packets input,\ + \ 20818136 bytes, 0 no buffer\r\n Received 127455 broadcasts (96099 multicasts)\r\ + \n 0 runts, 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame,\ + \ 0 overrun, 0 ignored\r\n 0 watchdog, 96099 multicast, 0 pause input\r\ + \n 0 input packets with dribble condition detected\r\n 23267 packets\ + \ output, 1489804 bytes, 0 underruns\r\n Output 0 broadcasts (5828 multicasts)\r\ + \n 0 output errors, 0 collisions, 4 interface resets\r\n 0 unknown\ + \ protocol drops\r\n 0 babbles, 0 late collision, 0 deferred\r\n 0\ + \ lost carrier, 0 no carrier, 0 pause output\r\n 0 output buffer failures,\ + \ 0 output buffers swapped out\r\nTenGigabitEthernet1/0/5 is up, line protocol\ + \ is up (connected) \r\n Hardware is Ten Gigabit Ethernet, address is 6c5e.3b84.6c85\ + \ (bia 6c5e.3b84.6c85)\r\n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,\ + \ \r\n reliability 255/255, txload 1/255, rxload 1/255\r\n Encapsulation\ + \ ARPA, loopback not set\r\n Keepalive set (10 sec)\r\n Full-duplex, 1000Mb/s,\ + \ media type is 100/1000/2.5G/5G/10GBaseTX\r\n input flow-control is on,\ + \ output flow-control is unsupported \r\n ARP type: ARPA, ARP Timeout 04:00:00\r\ + \n Last input 00:00:00, output 00:00:00, output hang never\r\n Last clearing\ + \ of \"show interface\" counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 1000 bits/sec, 1 packets/sec\r\n 5\ + \ minute output rate 0 bits/sec, 0 packets/sec\r\n 145333 packets input,\ + \ 20820347 bytes, 0 no buffer\r\n Received 127459 broadcasts (96103 multicasts)\r\ + \n 0 runts, 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame,\ + \ 0 overrun, 0 ignored\r\n 0 watchdog, 96103 multicast, 0 pause input\r\ + \n 0 input packets with dribble condition detected\r\n 23267 packets\ + \ output, 1489804 bytes, 0 underruns\r\n Output 0 broadcasts (5828 multicasts)\r\ + \n 0 output errors, 0 collisions, 4 interface resets\r\n 0 unknown\ + \ protocol drops\r\n 0 babbles, 0 late collision, 0 deferred\r\n 0\ + \ lost carrier, 0 no carrier, 0 pause output\r\n 0 output buffer failures,\ + \ 0 output buffers swapped out\r\nTenGigabitEthernet1/0/6 is up, line protocol\ + \ is up (connected) \r\n Hardware is Ten Gigabit Ethernet, address is 6c5e.3b84.6c86\ + \ (bia 6c5e.3b84.6c86)\r\n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,\ + \ \r\n reliability 255/255, txload 1/255, rxload 1/255\r\n Encapsulation\ + \ ARPA, loopback not set\r\n Keepalive set (10 sec)\r\n Full-duplex, 1000Mb/s,\ + \ media type is 100/1000/2.5G/5G/10GBaseTX\r\n input flow-control is on,\ + \ output flow-control is unsupported \r\n ARP type: ARPA, ARP Timeout 04:00:00\r\ + \n Last input 00:00:00, output 00:00:00, output hang never\r\n Last clearing\ + \ of \"show interface\" counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 1000 bits/sec, 1 packets/sec\r\n 5\ + \ minute output rate 0 bits/sec, 0 packets/sec\r\n 145324 packets input,\ + \ 20817034 bytes, 0 no buffer\r\n Received 127450 broadcasts (96094 multicasts)\r\ + \n 0 runts, 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame,\ + \ 0 overrun, 0 ignored\r\n 0 watchdog, 96094 multicast, 0 pause input\r\ + \n 0 input packets with dribble condition detected\r\n 23267 packets\ + \ output, 1489804 bytes, 0 underruns\r\n Output 0 broadcasts (5828 multicasts)\r\ + \n 0 output errors, 0 collisions, 4 interface resets\r\n 0 unknown\ + \ protocol drops\r\n 0 babbles, 0 late collision, 0 deferred\r\n 0\ + \ lost carrier, 0 no carrier, 0 pause output\r\n 0 output buffer failures,\ + \ 0 output buffers swapped out\r\nTenGigabitEthernet1/0/7 is up, line protocol\ + \ is up (connected) \r\n Hardware is Ten Gigabit Ethernet, address is 6c5e.3b84.6c87\ + \ (bia 6c5e.3b84.6c87)\r\n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,\ + \ \r\n reliability 255/255, txload 1/255, rxload 1/255\r\n Encapsulation\ + \ ARPA, loopback not set\r\n Keepalive set (10 sec)\r\n Full-duplex, 1000Mb/s,\ + \ media type is 100/1000/2.5G/5G/10GBaseTX\r\n input flow-control is on,\ + \ output flow-control is unsupported \r\n ARP type: ARPA, ARP Timeout 04:00:00\r\ + \n Last input 00:00:00, output 00:00:01, output hang never\r\n Last clearing\ + \ of \"show interface\" counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 2000 bits/sec, 1 packets/sec\r\n 5\ + \ minute output rate 0 bits/sec, 0 packets/sec\r\n 145328 packets input,\ + \ 20818854 bytes, 0 no buffer\r\n Received 127454 broadcasts (96098 multicasts)\r\ + \n 0 runts, 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame,\ + \ 0 overrun, 0 ignored\r\n 0 watchdog, 96098 multicast, 0 pause input\r\ + \n 0 input packets with dribble condition detected\r\n 23267 packets\ + \ output, 1489804 bytes, 0 underruns\r\n Output 0 broadcasts (5828 multicasts)\r\ + \n 0 output errors, 0 collisions, 4 interface resets\r\n 0 unknown\ + \ protocol drops\r\n 0 babbles, 0 late collision, 0 deferred\r\n 0\ + \ lost carrier, 0 no carrier, 0 pause output\r\n 0 output buffer failures,\ + \ 0 output buffers swapped out\r\nTenGigabitEthernet1/0/8 is up, line protocol\ + \ is up (connected) \r\n Hardware is Ten Gigabit Ethernet, address is 6c5e.3b84.6c88\ + \ (bia 6c5e.3b84.6c88)\r\n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,\ + \ \r\n reliability 255/255, txload 1/255, rxload 1/255\r\n Encapsulation\ + \ ARPA, loopback not set\r\n Keepalive set (10 sec)\r\n Full-duplex, 1000Mb/s,\ + \ media type is 100/1000/2.5G/5G/10GBaseTX\r\n input flow-control is on,\ + \ output flow-control is unsupported \r\n ARP type: ARPA, ARP Timeout 04:00:00\r\ + \n Last input 00:00:00, output 00:00:00, output hang never\r\n Last clearing\ + \ of \"show interface\" counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 1000 bits/sec, 1 packets/sec\r\n 5\ + \ minute output rate 0 bits/sec, 0 packets/sec\r\n 145323 packets input,\ + \ 20816579 bytes, 0 no buffer\r\n Received 127449 broadcasts (96093 multicasts)\r\ + \n 0 runts, 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame,\ + \ 0 overrun, 0 ignored\r\n 0 watchdog, 96093 multicast, 0 pause input\r\ + \n 0 input packets with dribble condition detected\r\n 23265 packets\ + \ output, 1489676 bytes, 0 underruns\r\n Output 0 broadcasts (5826 multicasts)\r\ + \n 0 output errors, 0 collisions, 4 interface resets\r\n 0 unknown\ + \ protocol drops\r\n 0 babbles, 0 late collision, 0 deferred\r\n 0\ + \ lost carrier, 0 no carrier, 0 pause output\r\n 0 output buffer failures,\ + \ 0 output buffers swapped out\r\nTenGigabitEthernet1/0/9 is down, line protocol\ + \ is down (notconnect) \r\n Hardware is Ten Gigabit Ethernet, address is\ + \ 6c5e.3b84.6c89 (bia 6c5e.3b84.6c89)\r\n MTU 1500 bytes, BW 10000000 Kbit/sec,\ + \ DLY 10 usec, \r\n reliability 255/255, txload 1/255, rxload 1/255\r\n\ + \ Encapsulation ARPA, loopback not set\r\n Keepalive set (10 sec)\r\n Auto-duplex,\ + \ Auto-speed, media type is 100/1000/2.5G/5G/10GBaseTX\r\n input flow-control\ + \ is on, output flow-control is unsupported \r\n ARP type: ARPA, ARP Timeout\ + \ 04:00:00\r\n Last input never, output never, output hang never\r\n Last\ + \ clearing of \"show interface\" counters never\r\n Input queue: 0/2000/0/0\ + \ (size/max/drops/flushes); Total output drops: 0\r\n Queueing strategy:\ + \ fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute input rate 0 bits/sec,\ + \ 0 packets/sec\r\n 5 minute output rate 0 bits/sec, 0 packets/sec\r\n \ + \ 0 packets input, 0 bytes, 0 no buffer\r\n Received 0 broadcasts (0\ + \ multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n 0 input errors,\ + \ 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog, 0 multicast, 0\ + \ pause input\r\n 0 input packets with dribble condition detected\r\n\ + \ 0 packets output, 0 bytes, 0 underruns\r\n Output 0 broadcasts (0\ + \ multicasts)\r\n 0 output errors, 0 collisions, 4 interface resets\r\n\ + \ 0 unknown protocol drops\r\n 0 babbles, 0 late collision, 0 deferred\r\ + \n 0 lost carrier, 0 no carrier, 0 pause output\r\n 0 output buffer\ + \ failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/0/10 is down,\ + \ line protocol is down (notconnect) \r\n Hardware is Ten Gigabit Ethernet,\ + \ address is 6c5e.3b84.6c8a (bia 6c5e.3b84.6c8a)\r\n MTU 1500 bytes, BW 10000000\ + \ Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload 1/255, rxload\ + \ 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive set (10 sec)\r\ + \n Auto-duplex, Auto-speed, media type is 100/1000/2.5G/5G/10GBaseTX\r\n\ + \ input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/0/11\ + \ is up, line protocol is up (connected) \r\n Hardware is Ten Gigabit Ethernet,\ + \ address is 6c5e.3b84.6c8b (bia 6c5e.3b84.6c8b)\r\n MTU 1500 bytes, BW 1000000\ + \ Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload 1/255, rxload\ + \ 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive set (10 sec)\r\ + \n Full-duplex, 1000Mb/s, media type is 100/1000/2.5G/5G/10GBaseTX\r\n input\ + \ flow-control is on, output flow-control is unsupported \r\n ARP type: ARPA,\ + \ ARP Timeout 04:00:00\r\n Last input 00:00:29, output 00:00:01, output hang\ + \ never\r\n Last clearing of \"show interface\" counters never\r\n Input\ + \ queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\n Queueing\ + \ strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute input rate\ + \ 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec, 0 packets/sec\r\ + \n 40349 packets input, 6561383 bytes, 0 no buffer\r\n Received 9437\ + \ broadcasts (7413 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 7413 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 155396 packets output, 11943970 bytes, 0 underruns\r\n\ + \ Output 58 broadcasts (124138 multicasts)\r\n 0 output errors, 0\ + \ collisions, 12 interface resets\r\n 162 unknown protocol drops\r\n \ + \ 0 babbles, 0 late collision, 0 deferred\r\n 0 lost carrier, 0 no\ + \ carrier, 0 pause output\r\n 0 output buffer failures, 0 output buffers\ + \ swapped out\r\nTenGigabitEthernet1/0/12 is up, line protocol is up (connected)\ + \ \r\n Hardware is Ten Gigabit Ethernet, address is 6c5e.3b84.6c8c (bia 6c5e.3b84.6c8c)\r\ + \n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, \r\n reliability\ + \ 255/255, txload 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not\ + \ set\r\n Keepalive set (10 sec)\r\n Full-duplex, 1000Mb/s, media type is\ + \ 100/1000/2.5G/5G/10GBaseTX\r\n input flow-control is on, output flow-control\ + \ is unsupported \r\n ARP type: ARPA, ARP Timeout 04:00:00\r\n Last input\ + \ 00:00:06, output 00:00:01, output hang never\r\n Last clearing of \"show\ + \ interface\" counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 0 bits/sec, 0 packets/sec\r\n 5 minute\ + \ output rate 0 bits/sec, 0 packets/sec\r\n 52421 packets input, 8904283\ + \ bytes, 0 no buffer\r\n Received 27365 broadcasts (13215 multicasts)\r\ + \n 0 runts, 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame,\ + \ 0 overrun, 0 ignored\r\n 0 watchdog, 13215 multicast, 0 pause input\r\ + \n 0 input packets with dribble condition detected\r\n 192889 packets\ + \ output, 23373657 bytes, 0 underruns\r\n Output 32114 broadcasts (135125\ + \ multicasts)\r\n 0 output errors, 0 collisions, 8 interface resets\r\n\ + \ 0 unknown protocol drops\r\n 0 babbles, 0 late collision, 0 deferred\r\ + \n 0 lost carrier, 0 no carrier, 0 pause output\r\n 0 output buffer\ + \ failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/0/13 is up,\ + \ line protocol is up (connected) \r\n Hardware is Ten Gigabit Ethernet,\ + \ address is 6c5e.3b84.6c8d (bia 6c5e.3b84.6c8d)\r\n MTU 1500 bytes, BW 1000000\ + \ Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload 1/255, rxload\ + \ 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive set (10 sec)\r\ + \n Full-duplex, 1000Mb/s, media type is 100/1000/2.5G/5G/10GBaseTX\r\n input\ + \ flow-control is on, output flow-control is unsupported \r\n ARP type: ARPA,\ + \ ARP Timeout 04:00:00\r\n Last input 00:00:07, output 00:00:01, output hang\ + \ never\r\n Last clearing of \"show interface\" counters never\r\n Input\ + \ queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\n Queueing\ + \ strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute input rate\ + \ 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec, 0 packets/sec\r\ + \n 37353 packets input, 4049403 bytes, 0 no buffer\r\n Received 12304\ + \ broadcasts (12301 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 12301 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 207403 packets output, 28186900 bytes, 0 underruns\r\n\ + \ Output 46264 broadcasts (135670 multicasts)\r\n 0 output errors,\ + \ 0 collisions, 8 interface resets\r\n 0 unknown protocol drops\r\n \ + \ 0 babbles, 0 late collision, 0 deferred\r\n 0 lost carrier, 0 no carrier,\ + \ 0 pause output\r\n 0 output buffer failures, 0 output buffers swapped\ + \ out\r\nTenGigabitEthernet1/0/14 is up, line protocol is up (connected) \r\ + \n Hardware is Ten Gigabit Ethernet, address is 6c5e.3b84.6c8e (bia 6c5e.3b84.6c8e)\r\ + \n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, \r\n reliability\ + \ 255/255, txload 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not\ + \ set\r\n Keepalive set (10 sec)\r\n Full-duplex, 1000Mb/s, media type is\ + \ 100/1000/2.5G/5G/10GBaseTX\r\n input flow-control is on, output flow-control\ + \ is unsupported \r\n ARP type: ARPA, ARP Timeout 04:00:00\r\n Last input\ + \ 00:00:07, output 00:00:01, output hang never\r\n Last clearing of \"show\ + \ interface\" counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 0 bits/sec, 0 packets/sec\r\n 5 minute\ + \ output rate 0 bits/sec, 0 packets/sec\r\n 37342 packets input, 4055200\ + \ bytes, 0 no buffer\r\n Received 12301 broadcasts (12301 multicasts)\r\ + \n 0 runts, 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame,\ + \ 0 overrun, 0 ignored\r\n 0 watchdog, 12301 multicast, 0 pause input\r\ + \n 0 input packets with dribble condition detected\r\n 207299 packets\ + \ output, 28177070 bytes, 0 underruns\r\n Output 46263 broadcasts (135605\ + \ multicasts)\r\n 0 output errors, 0 collisions, 8 interface resets\r\n\ + \ 0 unknown protocol drops\r\n 0 babbles, 0 late collision, 0 deferred\r\ + \n 0 lost carrier, 0 no carrier, 0 pause output\r\n 0 output buffer\ + \ failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/0/15 is down,\ + \ line protocol is down (notconnect) \r\n Hardware is Ten Gigabit Ethernet,\ + \ address is 6c5e.3b84.6c8f (bia 6c5e.3b84.6c8f)\r\n MTU 1500 bytes, BW 10000000\ + \ Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload 1/255, rxload\ + \ 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive set (10 sec)\r\ + \n Auto-duplex, Auto-speed, media type is 100/1000/2.5G/5G/10GBaseTX\r\n\ + \ input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/0/16\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6c90 (bia 6c5e.3b84.6c90)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ set (10 sec)\r\n Auto-duplex, Auto-speed, media type is 100/1000/2.5G/5G/10GBaseTX\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/0/17\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6c91 (bia 6c5e.3b84.6c91)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ set (10 sec)\r\n Auto-duplex, Auto-speed, media type is 100/1000/2.5G/5G/10GBaseTX\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/0/18\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6c92 (bia 6c5e.3b84.6c92)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ set (10 sec)\r\n Auto-duplex, Auto-speed, media type is 100/1000/2.5G/5G/10GBaseTX\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/0/19\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6c93 (bia 6c5e.3b84.6c93)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ set (10 sec)\r\n Auto-duplex, Auto-speed, media type is 100/1000/2.5G/5G/10GBaseTX\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/0/20\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6c94 (bia 6c5e.3b84.6c94)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ set (10 sec)\r\n Auto-duplex, Auto-speed, media type is 100/1000/2.5G/5G/10GBaseTX\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/0/21\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6c95 (bia 6c5e.3b84.6c95)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ set (10 sec)\r\n Auto-duplex, Auto-speed, media type is 100/1000/2.5G/5G/10GBaseTX\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/0/22\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6c96 (bia 6c5e.3b84.6c96)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ set (10 sec)\r\n Auto-duplex, Auto-speed, media type is 100/1000/2.5G/5G/10GBaseTX\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/0/23\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6c97 (bia 6c5e.3b84.6c97)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ set (10 sec)\r\n Auto-duplex, Auto-speed, media type is 100/1000/2.5G/5G/10GBaseTX\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/0/24\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6c98 (bia 6c5e.3b84.6c98)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ set (10 sec)\r\n Auto-duplex, Auto-speed, media type is 100/1000/2.5G/5G/10GBaseTX\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nGigabitEthernet1/1/1\ + \ is down, line protocol is down (notconnect) \r\n Hardware is not present\r\ + \n Hardware is Gigabit Ethernet, address is 6c5e.3b84.6c99 (bia 6c5e.3b84.6c99)\r\ + \n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, \r\n reliability\ + \ 255/255, txload 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not\ + \ set\r\n Keepalive not set\r\n ARP type: ARPA, ARP Timeout 04:00:00\r\n\ + \ Last input never, output never, output hang never\r\n Last clearing of\ + \ \"show interface\" counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 0 bits/sec, 0 packets/sec\r\n 5 minute\ + \ output rate 0 bits/sec, 0 packets/sec\r\n 0 packets input, 0 bytes,\ + \ 0 no buffer\r\n Received 0 broadcasts (0 multicasts)\r\n 0 runts,\ + \ 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame, 0 overrun,\ + \ 0 ignored\r\n 0 watchdog, 0 multicast, 0 pause input\r\n 0 input\ + \ packets with dribble condition detected\r\n 0 packets output, 0 bytes,\ + \ 0 underruns\r\n Output 0 broadcasts (0 multicasts)\r\n 0 output\ + \ errors, 0 collisions, 0 interface resets\r\n 0 unknown protocol drops\r\ + \n 0 babbles, 0 late collision, 0 deferred\r\n 0 lost carrier, 0 no\ + \ carrier, 0 pause output\r\n 0 output buffer failures, 0 output buffers\ + \ swapped out\r\nGigabitEthernet1/1/2 is down, line protocol is down (notconnect)\ + \ \r\n Hardware is not present\r\n Hardware is Gigabit Ethernet, address\ + \ is 6c5e.3b84.6c9a (bia 6c5e.3b84.6c9a)\r\n MTU 1500 bytes, BW 1000000 Kbit/sec,\ + \ DLY 10 usec, \r\n reliability 255/255, txload 1/255, rxload 1/255\r\n\ + \ Encapsulation ARPA, loopback not set\r\n Keepalive not set\r\n ARP type:\ + \ ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output hang\ + \ never\r\n Last clearing of \"show interface\" counters never\r\n Input\ + \ queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\n Queueing\ + \ strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute input rate\ + \ 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec, 0 packets/sec\r\ + \n 0 packets input, 0 bytes, 0 no buffer\r\n Received 0 broadcasts\ + \ (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n 0 input errors,\ + \ 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog, 0 multicast, 0\ + \ pause input\r\n 0 input packets with dribble condition detected\r\n\ + \ 0 packets output, 0 bytes, 0 underruns\r\n Output 0 broadcasts (0\ + \ multicasts)\r\n 0 output errors, 0 collisions, 0 interface resets\r\n\ + \ 0 unknown protocol drops\r\n 0 babbles, 0 late collision, 0 deferred\r\ + \n 0 lost carrier, 0 no carrier, 0 pause output\r\n 0 output buffer\ + \ failures, 0 output buffers swapped out\r\nGigabitEthernet1/1/3 is down,\ + \ line protocol is down (notconnect) \r\n Hardware is not present\r\n Hardware\ + \ is Gigabit Ethernet, address is 6c5e.3b84.6c9b (bia 6c5e.3b84.6c9b)\r\n\ + \ MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, \r\n reliability\ + \ 255/255, txload 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not\ + \ set\r\n Keepalive not set\r\n ARP type: ARPA, ARP Timeout 04:00:00\r\n\ + \ Last input never, output never, output hang never\r\n Last clearing of\ + \ \"show interface\" counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 0 bits/sec, 0 packets/sec\r\n 5 minute\ + \ output rate 0 bits/sec, 0 packets/sec\r\n 0 packets input, 0 bytes,\ + \ 0 no buffer\r\n Received 0 broadcasts (0 multicasts)\r\n 0 runts,\ + \ 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame, 0 overrun,\ + \ 0 ignored\r\n 0 watchdog, 0 multicast, 0 pause input\r\n 0 input\ + \ packets with dribble condition detected\r\n 0 packets output, 0 bytes,\ + \ 0 underruns\r\n Output 0 broadcasts (0 multicasts)\r\n 0 output\ + \ errors, 0 collisions, 0 interface resets\r\n 0 unknown protocol drops\r\ + \n 0 babbles, 0 late collision, 0 deferred\r\n 0 lost carrier, 0 no\ + \ carrier, 0 pause output\r\n 0 output buffer failures, 0 output buffers\ + \ swapped out\r\nGigabitEthernet1/1/4 is down, line protocol is down (notconnect)\ + \ \r\n Hardware is not present\r\n Hardware is Gigabit Ethernet, address\ + \ is 6c5e.3b84.6c9c (bia 6c5e.3b84.6c9c)\r\n MTU 1500 bytes, BW 1000000 Kbit/sec,\ + \ DLY 10 usec, \r\n reliability 255/255, txload 1/255, rxload 1/255\r\n\ + \ Encapsulation ARPA, loopback not set\r\n Keepalive not set\r\n ARP type:\ + \ ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output hang\ + \ never\r\n Last clearing of \"show interface\" counters never\r\n Input\ + \ queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\n Queueing\ + \ strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute input rate\ + \ 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec, 0 packets/sec\r\ + \n 0 packets input, 0 bytes, 0 no buffer\r\n Received 0 broadcasts\ + \ (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n 0 input errors,\ + \ 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog, 0 multicast, 0\ + \ pause input\r\n 0 input packets with dribble condition detected\r\n\ + \ 0 packets output, 0 bytes, 0 underruns\r\n Output 0 broadcasts (0\ + \ multicasts)\r\n 0 output errors, 0 collisions, 0 interface resets\r\n\ + \ 0 unknown protocol drops\r\n 0 babbles, 0 late collision, 0 deferred\r\ + \n 0 lost carrier, 0 no carrier, 0 pause output\r\n 0 output buffer\ + \ failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/1/1 is down,\ + \ line protocol is down (notconnect) \r\n Hardware is Ten Gigabit Ethernet,\ + \ address is 6c5e.3b84.6c9d (bia 6c5e.3b84.6c9d)\r\n MTU 1500 bytes, BW 10000000\ + \ Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload 1/255, rxload\ + \ 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive not set\r\ + \n Auto-duplex, Auto-speed, link type is auto, media type is unknown\r\n\ + \ input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/1/2\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6c9e (bia 6c5e.3b84.6c9e)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ not set\r\n Auto-duplex, Auto-speed, link type is auto, media type is unknown\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/1/3\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6c9f (bia 6c5e.3b84.6c9f)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ not set\r\n Auto-duplex, Auto-speed, link type is auto, media type is unknown\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/1/4\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6ca0 (bia 6c5e.3b84.6ca0)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ not set\r\n Auto-duplex, Auto-speed, link type is auto, media type is unknown\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/1/5\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6ca1 (bia 6c5e.3b84.6ca1)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ not set\r\n Auto-duplex, Auto-speed, link type is auto, media type is unknown\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/1/6\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6ca2 (bia 6c5e.3b84.6ca2)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ not set\r\n Auto-duplex, Auto-speed, link type is auto, media type is unknown\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/1/7\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6ca3 (bia 6c5e.3b84.6ca3)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ not set\r\n Auto-duplex, Auto-speed, link type is auto, media type is unknown\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/1/8\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6ca4 (bia 6c5e.3b84.6ca4)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ not set\r\n Auto-duplex, Auto-speed, link type is auto, media type is unknown\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nFortyGigabitEthernet1/1/1\ + \ is down, line protocol is down (notconnect) \r\n Hardware is not present\r\ + \n Hardware is Forty Gigabit Ethernet, address is 6c5e.3b84.6ca5 (bia 6c5e.3b84.6ca5)\r\ + \n MTU 1500 bytes, BW 40000000 Kbit/sec, DLY 10 usec, \r\n reliability\ + \ 255/255, txload 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not\ + \ set\r\n Keepalive not set\r\n ARP type: ARPA, ARP Timeout 04:00:00\r\n\ + \ Last input never, output never, output hang never\r\n Last clearing of\ + \ \"show interface\" counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 0 bits/sec, 0 packets/sec\r\n 5 minute\ + \ output rate 0 bits/sec, 0 packets/sec\r\n 0 packets input, 0 bytes,\ + \ 0 no buffer\r\n Received 0 broadcasts (0 multicasts)\r\n 0 runts,\ + \ 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame, 0 overrun,\ + \ 0 ignored\r\n 0 watchdog, 0 multicast, 0 pause input\r\n 0 input\ + \ packets with dribble condition detected\r\n 0 packets output, 0 bytes,\ + \ 0 underruns\r\n Output 0 broadcasts (0 multicasts)\r\n 0 output\ + \ errors, 0 collisions, 0 interface resets\r\n 0 unknown protocol drops\r\ + \n 0 babbles, 0 late collision, 0 deferred\r\n 0 lost carrier, 0 no\ + \ carrier, 0 pause output\r\n 0 output buffer failures, 0 output buffers\ + \ swapped out\r\nFortyGigabitEthernet1/1/2 is down, line protocol is down\ + \ (notconnect) \r\n Hardware is not present\r\n Hardware is Forty Gigabit\ + \ Ethernet, address is 6c5e.3b84.6ca6 (bia 6c5e.3b84.6ca6)\r\n MTU 1500 bytes,\ + \ BW 40000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ not set\r\n ARP type: ARPA, ARP Timeout 04:00:00\r\n Last input never,\ + \ output never, output hang never\r\n Last clearing of \"show interface\"\ + \ counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes); Total\ + \ output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\ + \n 5 minute input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate\ + \ 0 bits/sec, 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\ + \n Received 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles\ + \ \r\n 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0\ + \ watchdog, 0 multicast, 0 pause input\r\n 0 input packets with dribble\ + \ condition detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n \ + \ Output 0 broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions,\ + \ 0 interface resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0\ + \ late collision, 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause\ + \ output\r\n 0 output buffer failures, 0 output buffers swapped out\r\n\ + TwentyFiveGigE1/1/1 is down, line protocol is down (notconnect) \r\n Hardware\ + \ is not present\r\n Hardware is Twenty Five Gigabit Ethernet, address is\ + \ 6c5e.3b84.6ca7 (bia 6c5e.3b84.6ca7)\r\n MTU 1500 bytes, BW 25000000 Kbit/sec,\ + \ DLY 10 usec, \r\n reliability 255/255, txload 1/255, rxload 1/255\r\n\ + \ Encapsulation ARPA, loopback not set\r\n Keepalive not set\r\n ARP type:\ + \ ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output hang\ + \ never\r\n Last clearing of \"show interface\" counters never\r\n Input\ + \ queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\n Queueing\ + \ strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute input rate\ + \ 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec, 0 packets/sec\r\ + \n 0 packets input, 0 bytes, 0 no buffer\r\n Received 0 broadcasts\ + \ (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n 0 input errors,\ + \ 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog, 0 multicast, 0\ + \ pause input\r\n 0 input packets with dribble condition detected\r\n\ + \ 0 packets output, 0 bytes, 0 underruns\r\n Output 0 broadcasts (0\ + \ multicasts)\r\n 0 output errors, 0 collisions, 0 interface resets\r\n\ + \ 0 unknown protocol drops\r\n 0 babbles, 0 late collision, 0 deferred\r\ + \n 0 lost carrier, 0 no carrier, 0 pause output\r\n 0 output buffer\ + \ failures, 0 output buffers swapped out\r\nTwentyFiveGigE1/1/2 is down, line\ + \ protocol is down (notconnect) \r\n Hardware is not present\r\n Hardware\ + \ is Twenty Five Gigabit Ethernet, address is 6c5e.3b84.6ca8 (bia 6c5e.3b84.6ca8)\r\ + \n MTU 1500 bytes, BW 25000000 Kbit/sec, DLY 10 usec, \r\n reliability\ + \ 255/255, txload 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not\ + \ set\r\n Keepalive not set\r\n ARP type: ARPA, ARP Timeout 04:00:00\r\n\ + \ Last input never, output never, output hang never\r\n Last clearing of\ + \ \"show interface\" counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 0 bits/sec, 0 packets/sec\r\n 5 minute\ + \ output rate 0 bits/sec, 0 packets/sec\r\n 0 packets input, 0 bytes,\ + \ 0 no buffer\r\n Received 0 broadcasts (0 multicasts)\r\n 0 runts,\ + \ 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame, 0 overrun,\ + \ 0 ignored\r\n 0 watchdog, 0 multicast, 0 pause input\r\n 0 input\ + \ packets with dribble condition detected\r\n 0 packets output, 0 bytes,\ + \ 0 underruns\r\n Output 0 broadcasts (0 multicasts)\r\n 0 output\ + \ errors, 0 collisions, 0 interface resets\r\n 0 unknown protocol drops\r\ + \n 0 babbles, 0 late collision, 0 deferred\r\n 0 lost carrier, 0 no\ + \ carrier, 0 pause output\r\n 0 output buffer failures, 0 output buffers\ + \ swapped out\r\nAppGigabitEthernet1/0/1 is up, line protocol is up (connected)\ + \ \r\n Hardware is App-hosting Gigabit Ethernet, address is 6c5e.3b84.6ca9\ + \ (bia 6c5e.3b84.6ca9)\r\n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,\ + \ \r\n reliability 255/255, txload 1/255, rxload 1/255\r\n Encapsulation\ + \ ARPA, loopback not set\r\n Keepalive set (10 sec)\r\n Full-duplex, 1000Mb/s,\ + \ media type is App-hosting port\r\n input flow-control is on, output flow-control\ + \ is unsupported \r\n ARP type: ARPA, ARP Timeout 04:00:00\r\n Last input\ + \ never, output 00:00:01, output hang never\r\n Last clearing of \"show interface\"\ + \ counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes); Total\ + \ output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\ + \n 5 minute input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate\ + \ 1000 bits/sec, 1 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\ + \n Received 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles\ + \ \r\n 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0\ + \ watchdog, 0 multicast, 0 pause input\r\n 0 input packets with dribble\ + \ condition detected\r\n 208216 packets output, 28218203 bytes, 0 underruns\r\ + \n Output 46251 broadcasts (136225 multicasts)\r\n 0 output errors,\ + \ 0 collisions, 4 interface resets\r\n 0 unknown protocol drops\r\n \ + \ 0 babbles, 0 late collision, 0 deferred\r\n 0 lost carrier, 0 no carrier,\ + \ 0 pause output\r\n 0 output buffer failures, 0 output buffers swapped\ + \ out" + response_type: circular + show version: '' + term length 0: '' + term width 0: '' + prompt: 9300-24UX-1# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cdp/configure/configure_cdp/test_api_configure_cdp.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cdp/configure/configure_cdp/test_api_configure_cdp.py new file mode 100644 index 000000000..8bb740e9b --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cdp/configure/configure_cdp/test_api_configure_cdp.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.cdp.configure import configure_cdp + + +class TestConfigureCdp(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + 9300-24UX-1: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: cat9k + type: c9300 + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['9300-24UX-1'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_configure_cdp(self): + result = configure_cdp(self.device, None, 300) + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cdp/configure/unconfigure_cdp/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cdp/configure/unconfigure_cdp/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cdp/configure/unconfigure_cdp/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cdp/configure/unconfigure_cdp/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..e45e4e3c4 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cdp/configure/unconfigure_cdp/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,930 @@ +configure: + commands: + end: + new_state: execute + interface AppGigabitEthernet1/0/1: "no cdp enable\r\n" + interface FortyGigabitEthernet1/1/1: "no cdp enable\r\n" + interface FortyGigabitEthernet1/1/2: "no cdp enable\r\n" + interface GigabitEthernet0/0: "% Cannot enable this CLI, since CDP is not supported\ + \ on this interface\r\n" + interface GigabitEthernet1/1/1: "no cdp enable\r\n" + interface GigabitEthernet1/1/2: "no cdp enable\r\n" + interface GigabitEthernet1/1/3: "no cdp enable\r\n" + interface GigabitEthernet1/1/4: "no cdp enable\r\n" + interface TenGigabitEthernet1/0/1: "no cdp enable\r\n" + interface TenGigabitEthernet1/0/10: "no cdp enable\r\n" + interface TenGigabitEthernet1/0/11: "no cdp enable\r\n" + interface TenGigabitEthernet1/0/12: "no cdp enable\r\n" + interface TenGigabitEthernet1/0/13: "no cdp enable\r\n" + interface TenGigabitEthernet1/0/14: "no cdp enable\r\n" + interface TenGigabitEthernet1/0/15: "no cdp enable\r\n" + interface TenGigabitEthernet1/0/16: "no cdp enable\r\n" + interface TenGigabitEthernet1/0/17: "no cdp enable\r\n" + interface TenGigabitEthernet1/0/18: "no cdp enable\r\n" + interface TenGigabitEthernet1/0/19: "no cdp enable\r\n" + interface TenGigabitEthernet1/0/2: "no cdp enable\r\n" + interface TenGigabitEthernet1/0/20: "no cdp enable\r\n" + interface TenGigabitEthernet1/0/21: "no cdp enable\r\n" + interface TenGigabitEthernet1/0/22: "no cdp enable\r\n" + interface TenGigabitEthernet1/0/23: "no cdp enable\r\n" + interface TenGigabitEthernet1/0/24: "no cdp enable\r\n" + interface TenGigabitEthernet1/0/3: "no cdp enable\r\n" + interface TenGigabitEthernet1/0/4: "no cdp enable\r\n" + interface TenGigabitEthernet1/0/5: "no cdp enable\r\n" + interface TenGigabitEthernet1/0/6: "no cdp enable\r\n" + interface TenGigabitEthernet1/0/7: "no cdp enable\r\n" + interface TenGigabitEthernet1/0/8: "no cdp enable\r\n" + interface TenGigabitEthernet1/0/9: "no cdp enable\r\n" + interface TenGigabitEthernet1/1/1: "no cdp enable\r\n" + interface TenGigabitEthernet1/1/2: "no cdp enable\r\n" + interface TenGigabitEthernet1/1/3: "no cdp enable\r\n" + interface TenGigabitEthernet1/1/4: "no cdp enable\r\n" + interface TenGigabitEthernet1/1/5: "no cdp enable\r\n" + interface TenGigabitEthernet1/1/6: "no cdp enable\r\n" + interface TenGigabitEthernet1/1/7: "no cdp enable\r\n" + interface TenGigabitEthernet1/1/8: "no cdp enable\r\n" + interface TwentyFiveGigE1/1/1: "no cdp enable\r\n" + interface TwentyFiveGigE1/1/2: "no cdp enable\r\n" + interface Vlan1: "interface Vlan1\r\n" + line console 0: + new_state: configure_line + no cdp enable: "interface AppGigabitEthernet1/0/1\r\n" + no cdp run: "no cdp run\r\n" + no logging console: '' + prompt: 9300-24UX-1(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: 9300-24UX-1(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show interfaces: + response: + - "Vlan1 is up, line protocol is up , Autostate Enabled\r\n Hardware is Ethernet\ + \ SVI, address is 6c5e.3b84.6cc7 (bia 6c5e.3b84.6cc7)\r\n MTU 1500 bytes,\ + \ BW 1000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload 1/255,\ + \ rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive not\ + \ supported \r\n ARP type: ARPA, ARP Timeout 04:00:00\r\n Last input 00:00:25,\ + \ output never, output hang never\r\n Last clearing of \"show interface\"\ + \ counters never\r\n Input queue: 0/375/0/0 (size/max/drops/flushes); Total\ + \ output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\ + \n 5 minute input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate\ + \ 0 bits/sec, 0 packets/sec\r\n 172 packets input, 16168 bytes, 0 no buffer\r\ + \n Received 0 broadcasts (0 IP multicasts)\r\n 0 runts, 0 giants,\ + \ 0 throttles \r\n 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\ + \n 0 packets output, 0 bytes, 0 underruns\r\n Output 0 broadcasts\ + \ (0 IP multicasts)\r\n 0 output errors, 2 interface resets\r\n 0\ + \ unknown protocol drops\r\n 0 output buffer failures, 0 output buffers\ + \ swapped out\r\nGigabitEthernet0/0 is up, line protocol is up \r\n Hardware\ + \ is RP management port, address is 6c5e.3b84.6c80 (bia 6c5e.3b84.6c80)\r\n\ + \ MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, \r\n reliability\ + \ 255/255, txload 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not\ + \ set\r\n Keepalive set (10 sec)\r\n Full Duplex, 1000Mbps, link type is\ + \ auto, media type is RJ45\r\n output flow-control is unsupported, input\ + \ flow-control is unsupported\r\n ARP type: ARPA, ARP Timeout 04:00:00\r\n\ + \ Last input 00:00:40, output 00:00:11, output hang never\r\n Last clearing\ + \ of \"show interface\" counters never\r\n Input queue: 0/75/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 0 bits/sec, 0 packets/sec\r\n 5 minute\ + \ output rate 0 bits/sec, 0 packets/sec\r\n 179950 packets input, 15966567\ + \ bytes, 0 no buffer\r\n Received 0 broadcasts (0 IP multicasts)\r\n \ + \ 0 runts, 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame,\ + \ 0 overrun, 0 ignored\r\n 0 watchdog, 0 multicast, 0 pause input\r\n\ + \ 1253 packets output, 516700 bytes, 0 underruns\r\n Output 0 broadcasts\ + \ (0 IP multicasts)\r\n 0 output errors, 0 collisions, 0 interface resets\r\ + \n 3516 unknown protocol drops\r\n 0 babbles, 0 late collision, 0\ + \ deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n 0\ + \ output buffer failures, 0 output buffers swapped out\r\n 0 carrier transitions\r\ + \nTenGigabitEthernet1/0/1 is up, line protocol is up (connected) \r\n Hardware\ + \ is Ten Gigabit Ethernet, address is 6c5e.3b84.6c81 (bia 6c5e.3b84.6c81)\r\ + \n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, \r\n reliability\ + \ 255/255, txload 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not\ + \ set\r\n Keepalive set (10 sec)\r\n Full-duplex, 1000Mb/s, media type is\ + \ 100/1000/2.5G/5G/10GBaseTX\r\n input flow-control is on, output flow-control\ + \ is unsupported \r\n ARP type: ARPA, ARP Timeout 04:00:00\r\n Last input\ + \ 00:00:00, output 00:00:08, output hang never\r\n Last clearing of \"show\ + \ interface\" counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 1000 bits/sec, 1 packets/sec\r\n 5\ + \ minute output rate 0 bits/sec, 0 packets/sec\r\n 145367 packets input,\ + \ 20827070 bytes, 0 no buffer\r\n Received 127517 broadcasts (96150 multicasts)\r\ + \n 0 runts, 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame,\ + \ 0 overrun, 0 ignored\r\n 0 watchdog, 96150 multicast, 0 pause input\r\ + \n 0 input packets with dribble condition detected\r\n 23317 packets\ + \ output, 1493720 bytes, 0 underruns\r\n Output 0 broadcasts (5836 multicasts)\r\ + \n 0 output errors, 0 collisions, 16 interface resets\r\n 0 unknown\ + \ protocol drops\r\n 0 babbles, 0 late collision, 0 deferred\r\n 0\ + \ lost carrier, 0 no carrier, 0 pause output\r\n 0 output buffer failures,\ + \ 0 output buffers swapped out\r\nTenGigabitEthernet1/0/2 is up, line protocol\ + \ is up (connected) \r\n Hardware is Ten Gigabit Ethernet, address is 6c5e.3b84.6c82\ + \ (bia 6c5e.3b84.6c82)\r\n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,\ + \ \r\n reliability 255/255, txload 1/255, rxload 1/255\r\n Encapsulation\ + \ ARPA, loopback not set\r\n Keepalive set (10 sec)\r\n Full-duplex, 1000Mb/s,\ + \ media type is 100/1000/2.5G/5G/10GBaseTX\r\n input flow-control is on,\ + \ output flow-control is unsupported \r\n ARP type: ARPA, ARP Timeout 04:00:00\r\ + \n Last input 00:00:00, output 00:00:00, output hang never\r\n Last clearing\ + \ of \"show interface\" counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 1000 bits/sec, 1 packets/sec\r\n 5\ + \ minute output rate 0 bits/sec, 0 packets/sec\r\n 145390 packets input,\ + \ 20825804 bytes, 0 no buffer\r\n Received 127509 broadcasts (96142 multicasts)\r\ + \n 0 runts, 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame,\ + \ 0 overrun, 0 ignored\r\n 0 watchdog, 96142 multicast, 0 pause input\r\ + \n 0 input packets with dribble condition detected\r\n 23277 packets\ + \ output, 1490802 bytes, 0 underruns\r\n Output 0 broadcasts (5831 multicasts)\r\ + \n 0 output errors, 0 collisions, 8 interface resets\r\n 0 unknown\ + \ protocol drops\r\n 0 babbles, 0 late collision, 0 deferred\r\n 0\ + \ lost carrier, 0 no carrier, 0 pause output\r\n 0 output buffer failures,\ + \ 0 output buffers swapped out\r\nTenGigabitEthernet1/0/3 is up, line protocol\ + \ is up (connected) \r\n Hardware is Ten Gigabit Ethernet, address is 6c5e.3b84.6c83\ + \ (bia 6c5e.3b84.6c83)\r\n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,\ + \ \r\n reliability 255/255, txload 1/255, rxload 1/255\r\n Encapsulation\ + \ ARPA, loopback not set\r\n Keepalive set (10 sec)\r\n Full-duplex, 1000Mb/s,\ + \ media type is 100/1000/2.5G/5G/10GBaseTX\r\n input flow-control is on,\ + \ output flow-control is unsupported \r\n ARP type: ARPA, ARP Timeout 04:00:00\r\ + \n Last input 00:00:00, output 00:00:01, output hang never\r\n Last clearing\ + \ of \"show interface\" counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 1000 bits/sec, 1 packets/sec\r\n 5\ + \ minute output rate 0 bits/sec, 0 packets/sec\r\n 145392 packets input,\ + \ 20827105 bytes, 0 no buffer\r\n Received 127511 broadcasts (96144 multicasts)\r\ + \n 0 runts, 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame,\ + \ 0 overrun, 0 ignored\r\n 0 watchdog, 96144 multicast, 0 pause input\r\ + \n 0 input packets with dribble condition detected\r\n 23279 packets\ + \ output, 1491288 bytes, 0 underruns\r\n Output 0 broadcasts (5833 multicasts)\r\ + \n 0 output errors, 0 collisions, 4 interface resets\r\n 0 unknown\ + \ protocol drops\r\n 0 babbles, 0 late collision, 0 deferred\r\n 0\ + \ lost carrier, 0 no carrier, 0 pause output\r\n 0 output buffer failures,\ + \ 0 output buffers swapped out\r\nTenGigabitEthernet1/0/4 is up, line protocol\ + \ is up (connected) \r\n Hardware is Ten Gigabit Ethernet, address is 6c5e.3b84.6c84\ + \ (bia 6c5e.3b84.6c84)\r\n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,\ + \ \r\n reliability 255/255, txload 1/255, rxload 1/255\r\n Encapsulation\ + \ ARPA, loopback not set\r\n Keepalive set (10 sec)\r\n Full-duplex, 1000Mb/s,\ + \ media type is 100/1000/2.5G/5G/10GBaseTX\r\n input flow-control is on,\ + \ output flow-control is unsupported \r\n ARP type: ARPA, ARP Timeout 04:00:00\r\ + \n Last input 00:00:00, output 00:00:01, output hang never\r\n Last clearing\ + \ of \"show interface\" counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 1000 bits/sec, 1 packets/sec\r\n 5\ + \ minute output rate 0 bits/sec, 0 packets/sec\r\n 145389 packets input,\ + \ 20826131 bytes, 0 no buffer\r\n Received 127508 broadcasts (96141 multicasts)\r\ + \n 0 runts, 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame,\ + \ 0 overrun, 0 ignored\r\n 0 watchdog, 96141 multicast, 0 pause input\r\ + \n 0 input packets with dribble condition detected\r\n 23279 packets\ + \ output, 1491288 bytes, 0 underruns\r\n Output 0 broadcasts (5833 multicasts)\r\ + \n 0 output errors, 0 collisions, 4 interface resets\r\n 0 unknown\ + \ protocol drops\r\n 0 babbles, 0 late collision, 0 deferred\r\n 0\ + \ lost carrier, 0 no carrier, 0 pause output\r\n 0 output buffer failures,\ + \ 0 output buffers swapped out\r\nTenGigabitEthernet1/0/5 is up, line protocol\ + \ is up (connected) \r\n Hardware is Ten Gigabit Ethernet, address is 6c5e.3b84.6c85\ + \ (bia 6c5e.3b84.6c85)\r\n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,\ + \ \r\n reliability 255/255, txload 1/255, rxload 1/255\r\n Encapsulation\ + \ ARPA, loopback not set\r\n Keepalive set (10 sec)\r\n Full-duplex, 1000Mb/s,\ + \ media type is 100/1000/2.5G/5G/10GBaseTX\r\n input flow-control is on,\ + \ output flow-control is unsupported \r\n ARP type: ARPA, ARP Timeout 04:00:00\r\ + \n Last input 00:00:00, output 00:00:01, output hang never\r\n Last clearing\ + \ of \"show interface\" counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 1000 bits/sec, 1 packets/sec\r\n 5\ + \ minute output rate 0 bits/sec, 0 packets/sec\r\n 145393 packets input,\ + \ 20828342 bytes, 0 no buffer\r\n Received 127512 broadcasts (96145 multicasts)\r\ + \n 0 runts, 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame,\ + \ 0 overrun, 0 ignored\r\n 0 watchdog, 96145 multicast, 0 pause input\r\ + \n 0 input packets with dribble condition detected\r\n 23279 packets\ + \ output, 1491288 bytes, 0 underruns\r\n Output 0 broadcasts (5833 multicasts)\r\ + \n 0 output errors, 0 collisions, 4 interface resets\r\n 0 unknown\ + \ protocol drops\r\n 0 babbles, 0 late collision, 0 deferred\r\n 0\ + \ lost carrier, 0 no carrier, 0 pause output\r\n 0 output buffer failures,\ + \ 0 output buffers swapped out\r\nTenGigabitEthernet1/0/6 is up, line protocol\ + \ is up (connected) \r\n Hardware is Ten Gigabit Ethernet, address is 6c5e.3b84.6c86\ + \ (bia 6c5e.3b84.6c86)\r\n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,\ + \ \r\n reliability 255/255, txload 1/255, rxload 1/255\r\n Encapsulation\ + \ ARPA, loopback not set\r\n Keepalive set (10 sec)\r\n Full-duplex, 1000Mb/s,\ + \ media type is 100/1000/2.5G/5G/10GBaseTX\r\n input flow-control is on,\ + \ output flow-control is unsupported \r\n ARP type: ARPA, ARP Timeout 04:00:00\r\ + \n Last input 00:00:00, output 00:00:01, output hang never\r\n Last clearing\ + \ of \"show interface\" counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 1000 bits/sec, 1 packets/sec\r\n 5\ + \ minute output rate 0 bits/sec, 0 packets/sec\r\n 145384 packets input,\ + \ 20825029 bytes, 0 no buffer\r\n Received 127503 broadcasts (96136 multicasts)\r\ + \n 0 runts, 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame,\ + \ 0 overrun, 0 ignored\r\n 0 watchdog, 96136 multicast, 0 pause input\r\ + \n 0 input packets with dribble condition detected\r\n 23279 packets\ + \ output, 1491288 bytes, 0 underruns\r\n Output 0 broadcasts (5833 multicasts)\r\ + \n 0 output errors, 0 collisions, 4 interface resets\r\n 0 unknown\ + \ protocol drops\r\n 0 babbles, 0 late collision, 0 deferred\r\n 0\ + \ lost carrier, 0 no carrier, 0 pause output\r\n 0 output buffer failures,\ + \ 0 output buffers swapped out\r\nTenGigabitEthernet1/0/7 is up, line protocol\ + \ is up (connected) \r\n Hardware is Ten Gigabit Ethernet, address is 6c5e.3b84.6c87\ + \ (bia 6c5e.3b84.6c87)\r\n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,\ + \ \r\n reliability 255/255, txload 1/255, rxload 1/255\r\n Encapsulation\ + \ ARPA, loopback not set\r\n Keepalive set (10 sec)\r\n Full-duplex, 1000Mb/s,\ + \ media type is 100/1000/2.5G/5G/10GBaseTX\r\n input flow-control is on,\ + \ output flow-control is unsupported \r\n ARP type: ARPA, ARP Timeout 04:00:00\r\ + \n Last input 00:00:00, output 00:00:01, output hang never\r\n Last clearing\ + \ of \"show interface\" counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 1000 bits/sec, 1 packets/sec\r\n 5\ + \ minute output rate 0 bits/sec, 0 packets/sec\r\n 145388 packets input,\ + \ 20826849 bytes, 0 no buffer\r\n Received 127507 broadcasts (96140 multicasts)\r\ + \n 0 runts, 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame,\ + \ 0 overrun, 0 ignored\r\n 0 watchdog, 96140 multicast, 0 pause input\r\ + \n 0 input packets with dribble condition detected\r\n 23279 packets\ + \ output, 1491288 bytes, 0 underruns\r\n Output 0 broadcasts (5833 multicasts)\r\ + \n 0 output errors, 0 collisions, 4 interface resets\r\n 0 unknown\ + \ protocol drops\r\n 0 babbles, 0 late collision, 0 deferred\r\n 0\ + \ lost carrier, 0 no carrier, 0 pause output\r\n 0 output buffer failures,\ + \ 0 output buffers swapped out\r\nTenGigabitEthernet1/0/8 is up, line protocol\ + \ is up (connected) \r\n Hardware is Ten Gigabit Ethernet, address is 6c5e.3b84.6c88\ + \ (bia 6c5e.3b84.6c88)\r\n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,\ + \ \r\n reliability 255/255, txload 1/255, rxload 1/255\r\n Encapsulation\ + \ ARPA, loopback not set\r\n Keepalive set (10 sec)\r\n Full-duplex, 1000Mb/s,\ + \ media type is 100/1000/2.5G/5G/10GBaseTX\r\n input flow-control is on,\ + \ output flow-control is unsupported \r\n ARP type: ARPA, ARP Timeout 04:00:00\r\ + \n Last input 00:00:01, output 00:00:01, output hang never\r\n Last clearing\ + \ of \"show interface\" counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 1000 bits/sec, 1 packets/sec\r\n 5\ + \ minute output rate 0 bits/sec, 0 packets/sec\r\n 145383 packets input,\ + \ 20824574 bytes, 0 no buffer\r\n Received 127502 broadcasts (96135 multicasts)\r\ + \n 0 runts, 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame,\ + \ 0 overrun, 0 ignored\r\n 0 watchdog, 96135 multicast, 0 pause input\r\ + \n 0 input packets with dribble condition detected\r\n 23277 packets\ + \ output, 1491160 bytes, 0 underruns\r\n Output 0 broadcasts (5831 multicasts)\r\ + \n 0 output errors, 0 collisions, 4 interface resets\r\n 0 unknown\ + \ protocol drops\r\n 0 babbles, 0 late collision, 0 deferred\r\n 0\ + \ lost carrier, 0 no carrier, 0 pause output\r\n 0 output buffer failures,\ + \ 0 output buffers swapped out\r\nTenGigabitEthernet1/0/9 is down, line protocol\ + \ is down (notconnect) \r\n Hardware is Ten Gigabit Ethernet, address is\ + \ 6c5e.3b84.6c89 (bia 6c5e.3b84.6c89)\r\n MTU 1500 bytes, BW 10000000 Kbit/sec,\ + \ DLY 10 usec, \r\n reliability 255/255, txload 1/255, rxload 1/255\r\n\ + \ Encapsulation ARPA, loopback not set\r\n Keepalive set (10 sec)\r\n Auto-duplex,\ + \ Auto-speed, media type is 100/1000/2.5G/5G/10GBaseTX\r\n input flow-control\ + \ is on, output flow-control is unsupported \r\n ARP type: ARPA, ARP Timeout\ + \ 04:00:00\r\n Last input never, output never, output hang never\r\n Last\ + \ clearing of \"show interface\" counters never\r\n Input queue: 0/2000/0/0\ + \ (size/max/drops/flushes); Total output drops: 0\r\n Queueing strategy:\ + \ fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute input rate 0 bits/sec,\ + \ 0 packets/sec\r\n 5 minute output rate 0 bits/sec, 0 packets/sec\r\n \ + \ 0 packets input, 0 bytes, 0 no buffer\r\n Received 0 broadcasts (0\ + \ multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n 0 input errors,\ + \ 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog, 0 multicast, 0\ + \ pause input\r\n 0 input packets with dribble condition detected\r\n\ + \ 0 packets output, 0 bytes, 0 underruns\r\n Output 0 broadcasts (0\ + \ multicasts)\r\n 0 output errors, 0 collisions, 4 interface resets\r\n\ + \ 0 unknown protocol drops\r\n 0 babbles, 0 late collision, 0 deferred\r\ + \n 0 lost carrier, 0 no carrier, 0 pause output\r\n 0 output buffer\ + \ failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/0/10 is down,\ + \ line protocol is down (notconnect) \r\n Hardware is Ten Gigabit Ethernet,\ + \ address is 6c5e.3b84.6c8a (bia 6c5e.3b84.6c8a)\r\n MTU 1500 bytes, BW 10000000\ + \ Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload 1/255, rxload\ + \ 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive set (10 sec)\r\ + \n Auto-duplex, Auto-speed, media type is 100/1000/2.5G/5G/10GBaseTX\r\n\ + \ input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/0/11\ + \ is up, line protocol is up (connected) \r\n Hardware is Ten Gigabit Ethernet,\ + \ address is 6c5e.3b84.6c8b (bia 6c5e.3b84.6c8b)\r\n MTU 1500 bytes, BW 1000000\ + \ Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload 1/255, rxload\ + \ 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive set (10 sec)\r\ + \n Full-duplex, 1000Mb/s, media type is 100/1000/2.5G/5G/10GBaseTX\r\n input\ + \ flow-control is on, output flow-control is unsupported \r\n ARP type: ARPA,\ + \ ARP Timeout 04:00:00\r\n Last input 00:00:51, output 00:00:00, output hang\ + \ never\r\n Last clearing of \"show interface\" counters never\r\n Input\ + \ queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\n Queueing\ + \ strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute input rate\ + \ 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec, 0 packets/sec\r\ + \n 40358 packets input, 6562386 bytes, 0 no buffer\r\n Received 9438\ + \ broadcasts (7414 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 7414 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 155443 packets output, 11947696 bytes, 0 underruns\r\n\ + \ Output 58 broadcasts (124178 multicasts)\r\n 0 output errors, 0\ + \ collisions, 12 interface resets\r\n 162 unknown protocol drops\r\n \ + \ 0 babbles, 0 late collision, 0 deferred\r\n 0 lost carrier, 0 no\ + \ carrier, 0 pause output\r\n 0 output buffer failures, 0 output buffers\ + \ swapped out\r\nTenGigabitEthernet1/0/12 is up, line protocol is up (connected)\ + \ \r\n Hardware is Ten Gigabit Ethernet, address is 6c5e.3b84.6c8c (bia 6c5e.3b84.6c8c)\r\ + \n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, \r\n reliability\ + \ 255/255, txload 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not\ + \ set\r\n Keepalive set (10 sec)\r\n Full-duplex, 1000Mb/s, media type is\ + \ 100/1000/2.5G/5G/10GBaseTX\r\n input flow-control is on, output flow-control\ + \ is unsupported \r\n ARP type: ARPA, ARP Timeout 04:00:00\r\n Last input\ + \ 00:00:17, output 00:00:00, output hang never\r\n Last clearing of \"show\ + \ interface\" counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 0 bits/sec, 0 packets/sec\r\n 5 minute\ + \ output rate 1000 bits/sec, 1 packets/sec\r\n 52432 packets input, 8905841\ + \ bytes, 0 no buffer\r\n Received 27369 broadcasts (13219 multicasts)\r\ + \n 0 runts, 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame,\ + \ 0 overrun, 0 ignored\r\n 0 watchdog, 13219 multicast, 0 pause input\r\ + \n 0 input packets with dribble condition detected\r\n 192949 packets\ + \ output, 23381620 bytes, 0 underruns\r\n Output 32125 broadcasts (135166\ + \ multicasts)\r\n 0 output errors, 0 collisions, 8 interface resets\r\n\ + \ 0 unknown protocol drops\r\n 0 babbles, 0 late collision, 0 deferred\r\ + \n 0 lost carrier, 0 no carrier, 0 pause output\r\n 0 output buffer\ + \ failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/0/13 is up,\ + \ line protocol is up (connected) \r\n Hardware is Ten Gigabit Ethernet,\ + \ address is 6c5e.3b84.6c8d (bia 6c5e.3b84.6c8d)\r\n MTU 1500 bytes, BW 1000000\ + \ Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload 1/255, rxload\ + \ 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive set (10 sec)\r\ + \n Full-duplex, 1000Mb/s, media type is 100/1000/2.5G/5G/10GBaseTX\r\n input\ + \ flow-control is on, output flow-control is unsupported \r\n ARP type: ARPA,\ + \ ARP Timeout 04:00:00\r\n Last input 00:00:07, output 00:00:00, output hang\ + \ never\r\n Last clearing of \"show interface\" counters never\r\n Input\ + \ queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\n Queueing\ + \ strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute input rate\ + \ 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 1000 bits/sec, 1 packets/sec\r\ + \n 37364 packets input, 4050961 bytes, 0 no buffer\r\n Received 12308\ + \ broadcasts (12305 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 12305 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 207464 packets output, 28195286 bytes, 0 underruns\r\n\ + \ Output 46275 broadcasts (135712 multicasts)\r\n 0 output errors,\ + \ 0 collisions, 8 interface resets\r\n 0 unknown protocol drops\r\n \ + \ 0 babbles, 0 late collision, 0 deferred\r\n 0 lost carrier, 0 no carrier,\ + \ 0 pause output\r\n 0 output buffer failures, 0 output buffers swapped\ + \ out\r\nTenGigabitEthernet1/0/14 is up, line protocol is up (connected) \r\ + \n Hardware is Ten Gigabit Ethernet, address is 6c5e.3b84.6c8e (bia 6c5e.3b84.6c8e)\r\ + \n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, \r\n reliability\ + \ 255/255, txload 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not\ + \ set\r\n Keepalive set (10 sec)\r\n Full-duplex, 1000Mb/s, media type is\ + \ 100/1000/2.5G/5G/10GBaseTX\r\n input flow-control is on, output flow-control\ + \ is unsupported \r\n ARP type: ARPA, ARP Timeout 04:00:00\r\n Last input\ + \ 00:00:00, output 00:00:00, output hang never\r\n Last clearing of \"show\ + \ interface\" counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 0 bits/sec, 0 packets/sec\r\n 5 minute\ + \ output rate 1000 bits/sec, 1 packets/sec\r\n 37352 packets input, 4056267\ + \ bytes, 0 no buffer\r\n Received 12304 broadcasts (12304 multicasts)\r\ + \n 0 runts, 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame,\ + \ 0 overrun, 0 ignored\r\n 0 watchdog, 12304 multicast, 0 pause input\r\ + \n 0 input packets with dribble condition detected\r\n 207360 packets\ + \ output, 28185456 bytes, 0 underruns\r\n Output 46274 broadcasts (135647\ + \ multicasts)\r\n 0 output errors, 0 collisions, 8 interface resets\r\n\ + \ 0 unknown protocol drops\r\n 0 babbles, 0 late collision, 0 deferred\r\ + \n 0 lost carrier, 0 no carrier, 0 pause output\r\n 0 output buffer\ + \ failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/0/15 is down,\ + \ line protocol is down (notconnect) \r\n Hardware is Ten Gigabit Ethernet,\ + \ address is 6c5e.3b84.6c8f (bia 6c5e.3b84.6c8f)\r\n MTU 1500 bytes, BW 10000000\ + \ Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload 1/255, rxload\ + \ 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive set (10 sec)\r\ + \n Auto-duplex, Auto-speed, media type is 100/1000/2.5G/5G/10GBaseTX\r\n\ + \ input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/0/16\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6c90 (bia 6c5e.3b84.6c90)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ set (10 sec)\r\n Auto-duplex, Auto-speed, media type is 100/1000/2.5G/5G/10GBaseTX\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/0/17\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6c91 (bia 6c5e.3b84.6c91)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ set (10 sec)\r\n Auto-duplex, Auto-speed, media type is 100/1000/2.5G/5G/10GBaseTX\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/0/18\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6c92 (bia 6c5e.3b84.6c92)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ set (10 sec)\r\n Auto-duplex, Auto-speed, media type is 100/1000/2.5G/5G/10GBaseTX\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/0/19\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6c93 (bia 6c5e.3b84.6c93)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ set (10 sec)\r\n Auto-duplex, Auto-speed, media type is 100/1000/2.5G/5G/10GBaseTX\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/0/20\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6c94 (bia 6c5e.3b84.6c94)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ set (10 sec)\r\n Auto-duplex, Auto-speed, media type is 100/1000/2.5G/5G/10GBaseTX\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/0/21\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6c95 (bia 6c5e.3b84.6c95)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ set (10 sec)\r\n Auto-duplex, Auto-speed, media type is 100/1000/2.5G/5G/10GBaseTX\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/0/22\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6c96 (bia 6c5e.3b84.6c96)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ set (10 sec)\r\n Auto-duplex, Auto-speed, media type is 100/1000/2.5G/5G/10GBaseTX\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/0/23\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6c97 (bia 6c5e.3b84.6c97)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ set (10 sec)\r\n Auto-duplex, Auto-speed, media type is 100/1000/2.5G/5G/10GBaseTX\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/0/24\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6c98 (bia 6c5e.3b84.6c98)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ set (10 sec)\r\n Auto-duplex, Auto-speed, media type is 100/1000/2.5G/5G/10GBaseTX\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nGigabitEthernet1/1/1\ + \ is down, line protocol is down (notconnect) \r\n Hardware is not present\r\ + \n Hardware is Gigabit Ethernet, address is 6c5e.3b84.6c99 (bia 6c5e.3b84.6c99)\r\ + \n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, \r\n reliability\ + \ 255/255, txload 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not\ + \ set\r\n Keepalive not set\r\n ARP type: ARPA, ARP Timeout 04:00:00\r\n\ + \ Last input never, output never, output hang never\r\n Last clearing of\ + \ \"show interface\" counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 0 bits/sec, 0 packets/sec\r\n 5 minute\ + \ output rate 0 bits/sec, 0 packets/sec\r\n 0 packets input, 0 bytes,\ + \ 0 no buffer\r\n Received 0 broadcasts (0 multicasts)\r\n 0 runts,\ + \ 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame, 0 overrun,\ + \ 0 ignored\r\n 0 watchdog, 0 multicast, 0 pause input\r\n 0 input\ + \ packets with dribble condition detected\r\n 0 packets output, 0 bytes,\ + \ 0 underruns\r\n Output 0 broadcasts (0 multicasts)\r\n 0 output\ + \ errors, 0 collisions, 0 interface resets\r\n 0 unknown protocol drops\r\ + \n 0 babbles, 0 late collision, 0 deferred\r\n 0 lost carrier, 0 no\ + \ carrier, 0 pause output\r\n 0 output buffer failures, 0 output buffers\ + \ swapped out\r\nGigabitEthernet1/1/2 is down, line protocol is down (notconnect)\ + \ \r\n Hardware is not present\r\n Hardware is Gigabit Ethernet, address\ + \ is 6c5e.3b84.6c9a (bia 6c5e.3b84.6c9a)\r\n MTU 1500 bytes, BW 1000000 Kbit/sec,\ + \ DLY 10 usec, \r\n reliability 255/255, txload 1/255, rxload 1/255\r\n\ + \ Encapsulation ARPA, loopback not set\r\n Keepalive not set\r\n ARP type:\ + \ ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output hang\ + \ never\r\n Last clearing of \"show interface\" counters never\r\n Input\ + \ queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\n Queueing\ + \ strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute input rate\ + \ 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec, 0 packets/sec\r\ + \n 0 packets input, 0 bytes, 0 no buffer\r\n Received 0 broadcasts\ + \ (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n 0 input errors,\ + \ 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog, 0 multicast, 0\ + \ pause input\r\n 0 input packets with dribble condition detected\r\n\ + \ 0 packets output, 0 bytes, 0 underruns\r\n Output 0 broadcasts (0\ + \ multicasts)\r\n 0 output errors, 0 collisions, 0 interface resets\r\n\ + \ 0 unknown protocol drops\r\n 0 babbles, 0 late collision, 0 deferred\r\ + \n 0 lost carrier, 0 no carrier, 0 pause output\r\n 0 output buffer\ + \ failures, 0 output buffers swapped out\r\nGigabitEthernet1/1/3 is down,\ + \ line protocol is down (notconnect) \r\n Hardware is not present\r\n Hardware\ + \ is Gigabit Ethernet, address is 6c5e.3b84.6c9b (bia 6c5e.3b84.6c9b)\r\n\ + \ MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, \r\n reliability\ + \ 255/255, txload 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not\ + \ set\r\n Keepalive not set\r\n ARP type: ARPA, ARP Timeout 04:00:00\r\n\ + \ Last input never, output never, output hang never\r\n Last clearing of\ + \ \"show interface\" counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 0 bits/sec, 0 packets/sec\r\n 5 minute\ + \ output rate 0 bits/sec, 0 packets/sec\r\n 0 packets input, 0 bytes,\ + \ 0 no buffer\r\n Received 0 broadcasts (0 multicasts)\r\n 0 runts,\ + \ 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame, 0 overrun,\ + \ 0 ignored\r\n 0 watchdog, 0 multicast, 0 pause input\r\n 0 input\ + \ packets with dribble condition detected\r\n 0 packets output, 0 bytes,\ + \ 0 underruns\r\n Output 0 broadcasts (0 multicasts)\r\n 0 output\ + \ errors, 0 collisions, 0 interface resets\r\n 0 unknown protocol drops\r\ + \n 0 babbles, 0 late collision, 0 deferred\r\n 0 lost carrier, 0 no\ + \ carrier, 0 pause output\r\n 0 output buffer failures, 0 output buffers\ + \ swapped out\r\nGigabitEthernet1/1/4 is down, line protocol is down (notconnect)\ + \ \r\n Hardware is not present\r\n Hardware is Gigabit Ethernet, address\ + \ is 6c5e.3b84.6c9c (bia 6c5e.3b84.6c9c)\r\n MTU 1500 bytes, BW 1000000 Kbit/sec,\ + \ DLY 10 usec, \r\n reliability 255/255, txload 1/255, rxload 1/255\r\n\ + \ Encapsulation ARPA, loopback not set\r\n Keepalive not set\r\n ARP type:\ + \ ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output hang\ + \ never\r\n Last clearing of \"show interface\" counters never\r\n Input\ + \ queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\n Queueing\ + \ strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute input rate\ + \ 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec, 0 packets/sec\r\ + \n 0 packets input, 0 bytes, 0 no buffer\r\n Received 0 broadcasts\ + \ (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n 0 input errors,\ + \ 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog, 0 multicast, 0\ + \ pause input\r\n 0 input packets with dribble condition detected\r\n\ + \ 0 packets output, 0 bytes, 0 underruns\r\n Output 0 broadcasts (0\ + \ multicasts)\r\n 0 output errors, 0 collisions, 0 interface resets\r\n\ + \ 0 unknown protocol drops\r\n 0 babbles, 0 late collision, 0 deferred\r\ + \n 0 lost carrier, 0 no carrier, 0 pause output\r\n 0 output buffer\ + \ failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/1/1 is down,\ + \ line protocol is down (notconnect) \r\n Hardware is Ten Gigabit Ethernet,\ + \ address is 6c5e.3b84.6c9d (bia 6c5e.3b84.6c9d)\r\n MTU 1500 bytes, BW 10000000\ + \ Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload 1/255, rxload\ + \ 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive not set\r\ + \n Auto-duplex, Auto-speed, link type is auto, media type is unknown\r\n\ + \ input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/1/2\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6c9e (bia 6c5e.3b84.6c9e)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ not set\r\n Auto-duplex, Auto-speed, link type is auto, media type is unknown\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/1/3\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6c9f (bia 6c5e.3b84.6c9f)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ not set\r\n Auto-duplex, Auto-speed, link type is auto, media type is unknown\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/1/4\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6ca0 (bia 6c5e.3b84.6ca0)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ not set\r\n Auto-duplex, Auto-speed, link type is auto, media type is unknown\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/1/5\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6ca1 (bia 6c5e.3b84.6ca1)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ not set\r\n Auto-duplex, Auto-speed, link type is auto, media type is unknown\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/1/6\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6ca2 (bia 6c5e.3b84.6ca2)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ not set\r\n Auto-duplex, Auto-speed, link type is auto, media type is unknown\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/1/7\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6ca3 (bia 6c5e.3b84.6ca3)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ not set\r\n Auto-duplex, Auto-speed, link type is auto, media type is unknown\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nTenGigabitEthernet1/1/8\ + \ is down, line protocol is down (notconnect) \r\n Hardware is Ten Gigabit\ + \ Ethernet, address is 6c5e.3b84.6ca4 (bia 6c5e.3b84.6ca4)\r\n MTU 1500 bytes,\ + \ BW 10000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ not set\r\n Auto-duplex, Auto-speed, link type is auto, media type is unknown\r\ + \n input flow-control is on, output flow-control is unsupported \r\n ARP\ + \ type: ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output\ + \ hang never\r\n Last clearing of \"show interface\" counters never\r\n \ + \ Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\ + \n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute\ + \ input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec,\ + \ 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\n Received\ + \ 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n\ + \ 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog,\ + \ 0 multicast, 0 pause input\r\n 0 input packets with dribble condition\ + \ detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n Output 0\ + \ broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions, 4 interface\ + \ resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0 late collision,\ + \ 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause output\r\n \ + \ 0 output buffer failures, 0 output buffers swapped out\r\nFortyGigabitEthernet1/1/1\ + \ is down, line protocol is down (notconnect) \r\n Hardware is not present\r\ + \n Hardware is Forty Gigabit Ethernet, address is 6c5e.3b84.6ca5 (bia 6c5e.3b84.6ca5)\r\ + \n MTU 1500 bytes, BW 40000000 Kbit/sec, DLY 10 usec, \r\n reliability\ + \ 255/255, txload 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not\ + \ set\r\n Keepalive not set\r\n ARP type: ARPA, ARP Timeout 04:00:00\r\n\ + \ Last input never, output never, output hang never\r\n Last clearing of\ + \ \"show interface\" counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 0 bits/sec, 0 packets/sec\r\n 5 minute\ + \ output rate 0 bits/sec, 0 packets/sec\r\n 0 packets input, 0 bytes,\ + \ 0 no buffer\r\n Received 0 broadcasts (0 multicasts)\r\n 0 runts,\ + \ 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame, 0 overrun,\ + \ 0 ignored\r\n 0 watchdog, 0 multicast, 0 pause input\r\n 0 input\ + \ packets with dribble condition detected\r\n 0 packets output, 0 bytes,\ + \ 0 underruns\r\n Output 0 broadcasts (0 multicasts)\r\n 0 output\ + \ errors, 0 collisions, 0 interface resets\r\n 0 unknown protocol drops\r\ + \n 0 babbles, 0 late collision, 0 deferred\r\n 0 lost carrier, 0 no\ + \ carrier, 0 pause output\r\n 0 output buffer failures, 0 output buffers\ + \ swapped out\r\nFortyGigabitEthernet1/1/2 is down, line protocol is down\ + \ (notconnect) \r\n Hardware is not present\r\n Hardware is Forty Gigabit\ + \ Ethernet, address is 6c5e.3b84.6ca6 (bia 6c5e.3b84.6ca6)\r\n MTU 1500 bytes,\ + \ BW 40000000 Kbit/sec, DLY 10 usec, \r\n reliability 255/255, txload\ + \ 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not set\r\n Keepalive\ + \ not set\r\n ARP type: ARPA, ARP Timeout 04:00:00\r\n Last input never,\ + \ output never, output hang never\r\n Last clearing of \"show interface\"\ + \ counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes); Total\ + \ output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\ + \n 5 minute input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate\ + \ 0 bits/sec, 0 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\ + \n Received 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles\ + \ \r\n 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0\ + \ watchdog, 0 multicast, 0 pause input\r\n 0 input packets with dribble\ + \ condition detected\r\n 0 packets output, 0 bytes, 0 underruns\r\n \ + \ Output 0 broadcasts (0 multicasts)\r\n 0 output errors, 0 collisions,\ + \ 0 interface resets\r\n 0 unknown protocol drops\r\n 0 babbles, 0\ + \ late collision, 0 deferred\r\n 0 lost carrier, 0 no carrier, 0 pause\ + \ output\r\n 0 output buffer failures, 0 output buffers swapped out\r\n\ + TwentyFiveGigE1/1/1 is down, line protocol is down (notconnect) \r\n Hardware\ + \ is not present\r\n Hardware is Twenty Five Gigabit Ethernet, address is\ + \ 6c5e.3b84.6ca7 (bia 6c5e.3b84.6ca7)\r\n MTU 1500 bytes, BW 25000000 Kbit/sec,\ + \ DLY 10 usec, \r\n reliability 255/255, txload 1/255, rxload 1/255\r\n\ + \ Encapsulation ARPA, loopback not set\r\n Keepalive not set\r\n ARP type:\ + \ ARPA, ARP Timeout 04:00:00\r\n Last input never, output never, output hang\ + \ never\r\n Last clearing of \"show interface\" counters never\r\n Input\ + \ queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0\r\n Queueing\ + \ strategy: fifo\r\n Output queue: 0/40 (size/max)\r\n 5 minute input rate\ + \ 0 bits/sec, 0 packets/sec\r\n 5 minute output rate 0 bits/sec, 0 packets/sec\r\ + \n 0 packets input, 0 bytes, 0 no buffer\r\n Received 0 broadcasts\ + \ (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles \r\n 0 input errors,\ + \ 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0 watchdog, 0 multicast, 0\ + \ pause input\r\n 0 input packets with dribble condition detected\r\n\ + \ 0 packets output, 0 bytes, 0 underruns\r\n Output 0 broadcasts (0\ + \ multicasts)\r\n 0 output errors, 0 collisions, 0 interface resets\r\n\ + \ 0 unknown protocol drops\r\n 0 babbles, 0 late collision, 0 deferred\r\ + \n 0 lost carrier, 0 no carrier, 0 pause output\r\n 0 output buffer\ + \ failures, 0 output buffers swapped out\r\nTwentyFiveGigE1/1/2 is down, line\ + \ protocol is down (notconnect) \r\n Hardware is not present\r\n Hardware\ + \ is Twenty Five Gigabit Ethernet, address is 6c5e.3b84.6ca8 (bia 6c5e.3b84.6ca8)\r\ + \n MTU 1500 bytes, BW 25000000 Kbit/sec, DLY 10 usec, \r\n reliability\ + \ 255/255, txload 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not\ + \ set\r\n Keepalive not set\r\n ARP type: ARPA, ARP Timeout 04:00:00\r\n\ + \ Last input never, output never, output hang never\r\n Last clearing of\ + \ \"show interface\" counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 0 bits/sec, 0 packets/sec\r\n 5 minute\ + \ output rate 0 bits/sec, 0 packets/sec\r\n 0 packets input, 0 bytes,\ + \ 0 no buffer\r\n Received 0 broadcasts (0 multicasts)\r\n 0 runts,\ + \ 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame, 0 overrun,\ + \ 0 ignored\r\n 0 watchdog, 0 multicast, 0 pause input\r\n 0 input\ + \ packets with dribble condition detected\r\n 0 packets output, 0 bytes,\ + \ 0 underruns\r\n Output 0 broadcasts (0 multicasts)\r\n 0 output\ + \ errors, 0 collisions, 0 interface resets\r\n 0 unknown protocol drops\r\ + \n 0 babbles, 0 late collision, 0 deferred\r\n 0 lost carrier, 0 no\ + \ carrier, 0 pause output\r\n 0 output buffer failures, 0 output buffers\ + \ swapped out\r\nAppGigabitEthernet1/0/1 is up, line protocol is up (connected)\ + \ \r\n Hardware is App-hosting Gigabit Ethernet, address is 6c5e.3b84.6ca9\ + \ (bia 6c5e.3b84.6ca9)\r\n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,\ + \ \r\n reliability 255/255, txload 1/255, rxload 1/255\r\n Encapsulation\ + \ ARPA, loopback not set\r\n Keepalive set (10 sec)\r\n Full-duplex, 1000Mb/s,\ + \ media type is App-hosting port\r\n input flow-control is on, output flow-control\ + \ is unsupported \r\n ARP type: ARPA, ARP Timeout 04:00:00\r\n Last input\ + \ never, output 00:00:00, output hang never\r\n Last clearing of \"show interface\"\ + \ counters never\r\n Input queue: 0/2000/0/0 (size/max/drops/flushes); Total\ + \ output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40 (size/max)\r\ + \n 5 minute input rate 0 bits/sec, 0 packets/sec\r\n 5 minute output rate\ + \ 1000 bits/sec, 1 packets/sec\r\n 0 packets input, 0 bytes, 0 no buffer\r\ + \n Received 0 broadcasts (0 multicasts)\r\n 0 runts, 0 giants, 0 throttles\ + \ \r\n 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\r\n 0\ + \ watchdog, 0 multicast, 0 pause input\r\n 0 input packets with dribble\ + \ condition detected\r\n 208280 packets output, 28226779 bytes, 0 underruns\r\ + \n Output 46262 broadcasts (136270 multicasts)\r\n 0 output errors,\ + \ 0 collisions, 4 interface resets\r\n 0 unknown protocol drops\r\n \ + \ 0 babbles, 0 late collision, 0 deferred\r\n 0 lost carrier, 0 no carrier,\ + \ 0 pause output\r\n 0 output buffer failures, 0 output buffers swapped\ + \ out" + response_type: circular + show version: '' + term length 0: '' + term width 0: '' + prompt: 9300-24UX-1# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cdp/configure/unconfigure_cdp/test_api_unconfigure_cdp.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cdp/configure/unconfigure_cdp/test_api_unconfigure_cdp.py new file mode 100644 index 000000000..45df8a517 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cdp/configure/unconfigure_cdp/test_api_unconfigure_cdp.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.cdp.configure import unconfigure_cdp + + +class TestUnconfigureCdp(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + 9300-24UX-1: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: cat9k + type: c9300 + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['9300-24UX-1'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_unconfigure_cdp(self): + result = unconfigure_cdp(self.device, None, 300) + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cts/configure/disable_cts_enforcement_vlan_list/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cts/configure/disable_cts_enforcement_vlan_list/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cts/configure/disable_cts_enforcement_vlan_list/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cts/configure/disable_cts_enforcement_vlan_list/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..52a4efd06 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cts/configure/disable_cts_enforcement_vlan_list/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,36 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no cts role-based enforcement vlan-list 1-2047: "no cts role-based enforcement\ + \ vlan-list 1-2047\r\n" + no logging console: '' + prompt: A1(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: A1(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: A1# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cts/configure/disable_cts_enforcement_vlan_list/test_api_disable_cts_enforcement_vlan_list.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cts/configure/disable_cts_enforcement_vlan_list/test_api_disable_cts_enforcement_vlan_list.py new file mode 100644 index 000000000..dbcecd683 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cts/configure/disable_cts_enforcement_vlan_list/test_api_disable_cts_enforcement_vlan_list.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.cts.configure import disable_cts_enforcement_vlan_list + + +class TestDisableCtsEnforcementVlanList(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + A1: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: cat9k + type: single_rp + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['A1'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_disable_cts_enforcement_vlan_list(self): + result = disable_cts_enforcement_vlan_list(self.device, '1-2047') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcp/configure/configure_ip_dhcp_snooping_information_option_allow_untrusted_global/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcp/configure/configure_ip_dhcp_snooping_information_option_allow_untrusted_global/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcp/configure/configure_ip_dhcp_snooping_information_option_allow_untrusted_global/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcp/configure/configure_ip_dhcp_snooping_information_option_allow_untrusted_global/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..4feb3eaec --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcp/configure/configure_ip_dhcp_snooping_information_option_allow_untrusted_global/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,36 @@ +configure: + commands: + end: + new_state: execute + ip dhcp snooping information option allow-untrusted: "ip dhcp snooping information\ + \ option allow-untrusted\r\n" + line console 0: + new_state: configure_line + no logging console: '' + prompt: SW2(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: SW2(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: SW2# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcp/configure/configure_ip_dhcp_snooping_information_option_allow_untrusted_global/test_api_configure_ip_dhcp_snooping_information_option_allow_untrusted_global.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcp/configure/configure_ip_dhcp_snooping_information_option_allow_untrusted_global/test_api_configure_ip_dhcp_snooping_information_option_allow_untrusted_global.py new file mode 100644 index 000000000..c0ff6c537 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcp/configure/configure_ip_dhcp_snooping_information_option_allow_untrusted_global/test_api_configure_ip_dhcp_snooping_information_option_allow_untrusted_global.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.dhcp.configure import configure_ip_dhcp_snooping_information_option_allow_untrusted_global + + +class TestConfigureIpDhcpSnoopingInformationOptionAllowUntrustedGlobal(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + SW2: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: c9500 + type: c9500 + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['SW2'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_configure_ip_dhcp_snooping_information_option_allow_untrusted_global(self): + result = configure_ip_dhcp_snooping_information_option_allow_untrusted_global(self.device) + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcp/configure/unconfigure_ip_dhcp_snooping_information_option_allow_untrusted_global/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcp/configure/unconfigure_ip_dhcp_snooping_information_option_allow_untrusted_global/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcp/configure/unconfigure_ip_dhcp_snooping_information_option_allow_untrusted_global/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcp/configure/unconfigure_ip_dhcp_snooping_information_option_allow_untrusted_global/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..1bc27b218 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcp/configure/unconfigure_ip_dhcp_snooping_information_option_allow_untrusted_global/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,36 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no ip dhcp snooping information option allow-untrusted: "no ip dhcp snooping information\ + \ option allow-untrusted\r\n" + no logging console: '' + prompt: SW2(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: SW2(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: SW2# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcp/configure/unconfigure_ip_dhcp_snooping_information_option_allow_untrusted_global/test_api_unconfigure_ip_dhcp_snooping_information_option_allow_untrusted_global.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcp/configure/unconfigure_ip_dhcp_snooping_information_option_allow_untrusted_global/test_api_unconfigure_ip_dhcp_snooping_information_option_allow_untrusted_global.py new file mode 100644 index 000000000..022733209 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcp/configure/unconfigure_ip_dhcp_snooping_information_option_allow_untrusted_global/test_api_unconfigure_ip_dhcp_snooping_information_option_allow_untrusted_global.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.dhcp.configure import unconfigure_ip_dhcp_snooping_information_option_allow_untrusted_global + + +class TestUnconfigureIpDhcpSnoopingInformationOptionAllowUntrustedGlobal(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + SW2: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: c9500 + type: c9500 + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['SW2'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_unconfigure_ip_dhcp_snooping_information_option_allow_untrusted_global(self): + result = unconfigure_ip_dhcp_snooping_information_option_allow_untrusted_global(self.device) + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_destination_ipv6address/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_destination_ipv6address/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_destination_ipv6address/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_destination_ipv6address/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..18661d285 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_destination_ipv6address/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,36 @@ +configure: + commands: + end: + new_state: execute + interface Vlan1500: "interface Vlan1500\r\n" + ipv6 dhcp relay destination 2000::1: "ipv6 dhcp relay destination 2000::1\r\n" + line console 0: + new_state: configure_line + no logging console: '' + prompt: SG-HA(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: SG-HA(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: SG-HA# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_destination_ipv6address/test_api_configure_ipv6_dhcp_relay_destination_ipv6address.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_destination_ipv6address/test_api_configure_ipv6_dhcp_relay_destination_ipv6address.py new file mode 100644 index 000000000..ee0078563 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_destination_ipv6address/test_api_configure_ipv6_dhcp_relay_destination_ipv6address.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.dhcpv6.configure import configure_ipv6_dhcp_relay_destination_ipv6address + + +class TestConfigureIpv6DhcpRelayDestinationIpv6address(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + SG-HA: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: c9600 + type: c9600 + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['SG-HA'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_configure_ipv6_dhcp_relay_destination_ipv6address(self): + result = configure_ipv6_dhcp_relay_destination_ipv6address(self.device, 'Vlan1500', '2000::1') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_option_vpn/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_option_vpn/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_option_vpn/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_option_vpn/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..7657cc06e --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_option_vpn/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,36 @@ +configure: + commands: + end: + new_state: execute + interface Vlan1500: "interface Vlan1500\r\n" + ipv6 dhcp relay option vpn: "ipv6 dhcp relay option vpn\r\n" + line console 0: + new_state: configure_line + no logging console: '' + prompt: SG-HA(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: SG-HA(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: SG-HA# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_option_vpn/test_api_configure_ipv6_dhcp_relay_option_vpn.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_option_vpn/test_api_configure_ipv6_dhcp_relay_option_vpn.py new file mode 100644 index 000000000..b5918d60b --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_option_vpn/test_api_configure_ipv6_dhcp_relay_option_vpn.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.dhcpv6.configure import configure_ipv6_dhcp_relay_option_vpn + + +class TestConfigureIpv6DhcpRelayOptionVpn(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + SG-HA: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: c9600 + type: c9600 + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['SG-HA'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_configure_ipv6_dhcp_relay_option_vpn(self): + result = configure_ipv6_dhcp_relay_option_vpn(self.device, 'Vlan1500') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_source_interface_intf_id/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_source_interface_intf_id/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_source_interface_intf_id/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_source_interface_intf_id/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..c9754789d --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_source_interface_intf_id/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,37 @@ +configure: + commands: + end: + new_state: execute + interface Vlan1500: "interface Vlan1500\r\n" + ipv6 dhcp relay source-interface Loopback1: "ipv6 dhcp relay source-interface\ + \ Loopback1\r\n" + line console 0: + new_state: configure_line + no logging console: '' + prompt: SG-HA(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: SG-HA(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: SG-HA# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_source_interface_intf_id/test_api_configure_ipv6_dhcp_relay_source_interface_intf_id.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_source_interface_intf_id/test_api_configure_ipv6_dhcp_relay_source_interface_intf_id.py new file mode 100644 index 000000000..b6d290045 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_source_interface_intf_id/test_api_configure_ipv6_dhcp_relay_source_interface_intf_id.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.dhcpv6.configure import configure_ipv6_dhcp_relay_source_interface_intf_id + + +class TestConfigureIpv6DhcpRelaySourceInterfaceIntfId(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + SG-HA: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: c9600 + type: c9600 + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['SG-HA'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_configure_ipv6_dhcp_relay_source_interface_intf_id(self): + result = configure_ipv6_dhcp_relay_source_interface_intf_id(self.device, 'Vlan1500', 'Loopback1') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_trust/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_trust/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_trust/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_trust/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..a2fa0638f --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_trust/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,36 @@ +configure: + commands: + end: + new_state: execute + interface Vlan1500: "interface Vlan1500\r\n" + ipv6 dhcp relay trust: "ipv6 dhcp relay trust\r\n" + line console 0: + new_state: configure_line + no logging console: '' + prompt: SG-HA(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: SG-HA(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: SG-HA# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_trust/test_api_configure_ipv6_dhcp_relay_trust.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_trust/test_api_configure_ipv6_dhcp_relay_trust.py new file mode 100644 index 000000000..bc8b61279 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/configure_ipv6_dhcp_relay_trust/test_api_configure_ipv6_dhcp_relay_trust.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.dhcpv6.configure import configure_ipv6_dhcp_relay_trust + + +class TestConfigureIpv6DhcpRelayTrust(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + SG-HA: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: c9600 + type: c9600 + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['SG-HA'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_configure_ipv6_dhcp_relay_trust(self): + result = configure_ipv6_dhcp_relay_trust(self.device, 'Vlan1500') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_destination_ipv6address/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_destination_ipv6address/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_destination_ipv6address/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_destination_ipv6address/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..7f301acea --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_destination_ipv6address/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,37 @@ +configure: + commands: + end: + new_state: execute + interface Vlan1500: "interface Vlan1500\r\n" + line console 0: + new_state: configure_line + no ipv6 dhcp relay destination 2000::1: "no ipv6 dhcp relay destination 2000::1\r\ + \n" + no logging console: '' + prompt: SG-HA(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: SG-HA(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: SG-HA# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_destination_ipv6address/test_api_unconfigure_ipv6_dhcp_relay_destination_ipv6address.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_destination_ipv6address/test_api_unconfigure_ipv6_dhcp_relay_destination_ipv6address.py new file mode 100644 index 000000000..ea346f891 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_destination_ipv6address/test_api_unconfigure_ipv6_dhcp_relay_destination_ipv6address.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.dhcpv6.configure import unconfigure_ipv6_dhcp_relay_destination_ipv6address + + +class TestUnconfigureIpv6DhcpRelayDestinationIpv6address(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + SG-HA: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: c9600 + type: c9600 + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['SG-HA'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_unconfigure_ipv6_dhcp_relay_destination_ipv6address(self): + result = unconfigure_ipv6_dhcp_relay_destination_ipv6address(self.device, 'Vlan1500', '2000::1') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_option_vpn/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_option_vpn/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_option_vpn/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_option_vpn/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..aa0b824d3 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_option_vpn/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,36 @@ +configure: + commands: + end: + new_state: execute + interface Vlan1500: "interface Vlan1500\r\n" + line console 0: + new_state: configure_line + no ipv6 dhcp relay option vpn: "no ipv6 dhcp relay option vpn\r\n" + no logging console: '' + prompt: SG-HA(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: SG-HA(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: SG-HA# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_option_vpn/test_api_unconfigure_ipv6_dhcp_relay_option_vpn.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_option_vpn/test_api_unconfigure_ipv6_dhcp_relay_option_vpn.py new file mode 100644 index 000000000..429652378 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_option_vpn/test_api_unconfigure_ipv6_dhcp_relay_option_vpn.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.dhcpv6.configure import unconfigure_ipv6_dhcp_relay_option_vpn + + +class TestUnconfigureIpv6DhcpRelayOptionVpn(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + SG-HA: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: c9600 + type: c9600 + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['SG-HA'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_unconfigure_ipv6_dhcp_relay_option_vpn(self): + result = unconfigure_ipv6_dhcp_relay_option_vpn(self.device, 'Vlan1500') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_source_interface_intf_id/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_source_interface_intf_id/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_source_interface_intf_id/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_source_interface_intf_id/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..3cc6d1d69 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_source_interface_intf_id/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,37 @@ +configure: + commands: + end: + new_state: execute + interface Vlan1500: "interface Vlan1500\r\n" + line console 0: + new_state: configure_line + no ipv6 dhcp relay source-interface Loopback1: "no ipv6 dhcp relay source-interface\ + \ Loopback1\r\n" + no logging console: '' + prompt: SG-HA(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: SG-HA(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: SG-HA# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_source_interface_intf_id/test_api_unconfigure_ipv6_dhcp_relay_source_interface_intf_id.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_source_interface_intf_id/test_api_unconfigure_ipv6_dhcp_relay_source_interface_intf_id.py new file mode 100644 index 000000000..09c3f0e2a --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_source_interface_intf_id/test_api_unconfigure_ipv6_dhcp_relay_source_interface_intf_id.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.dhcpv6.configure import unconfigure_ipv6_dhcp_relay_source_interface_intf_id + + +class TestUnconfigureIpv6DhcpRelaySourceInterfaceIntfId(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + SG-HA: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: c9600 + type: c9600 + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['SG-HA'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_unconfigure_ipv6_dhcp_relay_source_interface_intf_id(self): + result = unconfigure_ipv6_dhcp_relay_source_interface_intf_id(self.device, 'Vlan1500', 'Loopback1') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_trust/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_trust/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_trust/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_trust/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..68df04d14 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_trust/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,36 @@ +configure: + commands: + end: + new_state: execute + interface Vlan1500: "interface Vlan1500\r\n" + line console 0: + new_state: configure_line + no ipv6 dhcp relay trust: "no ipv6 dhcp relay trust\r\n" + no logging console: '' + prompt: SG-HA(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: SG-HA(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: SG-HA# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_trust/test_api_unconfigure_ipv6_dhcp_relay_trust.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_trust/test_api_unconfigure_ipv6_dhcp_relay_trust.py new file mode 100644 index 000000000..efb215576 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/dhcpv6/configure/unconfigure_ipv6_dhcp_relay_trust/test_api_unconfigure_ipv6_dhcp_relay_trust.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.dhcpv6.configure import unconfigure_ipv6_dhcp_relay_trust + + +class TestUnconfigureIpv6DhcpRelayTrust(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + SG-HA: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: c9600 + type: c9600 + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['SG-HA'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_unconfigure_ipv6_dhcp_relay_trust(self): + result = unconfigure_ipv6_dhcp_relay_trust(self.device, 'Vlan1500') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/gdoi/configure/configure_gdoi_group/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/gdoi/configure/configure_gdoi_group/mock_data/iosxe/mock_data.yaml index bd85fdf66..2382ac601 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/gdoi/configure/configure_gdoi_group/mock_data/iosxe/mock_data.yaml +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/gdoi/configure/configure_gdoi_group/mock_data/iosxe/mock_data.yaml @@ -1,36 +1,39 @@ configure: commands: - address ipv4 192.168.2.1: "address ipv4 192.168.2.1\r\n" - crypto gdoi group bw6000: "crypto gdoi group bw6000\r\n" + address ipv4 15.15.15.1: "no replay\r\n" + client protocol gikev2 IKEV2-PROF1: "% Key server is already configured as local\r\ + \n" + crypto gdoi group SUITEBv4: "crypto gdoi group SUITEBv4\r\n" end: new_state: execute - identity number 6000: "identity number 6000\r\n" + gikev2 IKEV2-PROF1: "rekey authentication mypubkey rsa REKEYRSA\r\n" + identifier: "no tag\r\n" + identity number 9000: "identity number 9000\r\n" line console 0: new_state: configure_line - local priority 245: "local priority 245\r\n" - match address ipv4 bw600-crypto-policy: "match address ipv4 bw600-crypto-policy\r\ - \n" + match address ipv4 SUITEBv4acl: "sa ipsec 10\r\n" no logging console: '' - no replay: "no replay\r\n" - peer address ipv4 123.141.2.3: "peer address ipv4 123.141.2.3\r\n" - profile bw600: "profile bw600\r\n" - redundancy: "redundancy\r\n" - rekey algorithm aes 256: "rekey algorithm aes 256\r\n" - rekey authentication mypubkey rsa REKEYRSA: "rekey authentication mypubkey rsa\ - \ REKEYRSA\r\n" - rekey lifetime seconds 14000: "rekey lifetime seconds 14000\r\n" - rekey retransmit 10 number 3: "rekey retransmit 10 number 3\r\n" - rekey transport unicast: "rekey transport unicast\r\n" - sa ipsec 10: "sa ipsec 10\r\n" - server local: "server local\r\n" - tag cts sgt: "tag cts sgt\r\n" - prompt: INT1(config)# + no replay: "profile SUITEBgcm128\r\n" + no tag: "match address ipv4 SUITEBv4acl\r\n" + pfs: "rekey retransmit 10 number 3\r\n" + profile SUITEBgcm128: "gikev2 IKEV2-PROF1\r\n" + rekey address ipv4 121: "rekey algorithm aes 256\r\n" + rekey algorithm aes 256: "Group SUITEBv4 is already configured as a Key Server.\ + \ Cannot Configure 'client protocol ...'\r\n" + rekey authentication mypubkey rsa REKEYRSA: "rekey address ipv4 121\r\n" + rekey lifetime seconds 14000: "server local\r\n" + rekey retransmit 10 number 3: "rekey lifetime seconds 14000\r\n" + sa ipsec 10: "pfs\r\n" + server address ipv4 15.15.15.1: "server address ipv4 15.15.15.1\r\n" + server local: "client protocol gikev2 IKEV2-PROF1\r\n" + value 1: "address ipv4 15.15.15.1\r\n" + prompt: KS1(config)# configure_line: commands: end: new_state: execute exec-timeout 0: '' - prompt: INT1(config-line)# + prompt: KS1(config-line)# connect: commands: ? '' @@ -50,4 +53,4 @@ execute: show version: '' term length 0: '' term width 0: '' - prompt: INT1# + prompt: KS1# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/gdoi/configure/configure_gdoi_group/test_api_configure_gdoi_group.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/gdoi/configure/configure_gdoi_group/test_api_configure_gdoi_group.py index 6ae8b5f88..3a3f28d47 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/gdoi/configure/configure_gdoi_group/test_api_configure_gdoi_group.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/gdoi/configure/configure_gdoi_group/test_api_configure_gdoi_group.py @@ -10,7 +10,7 @@ class TestConfigureGdoiGroup(unittest.TestCase): def setUpClass(self): testbed = f""" devices: - INT1: + KS1: connections: defaults: class: unicon.Unicon @@ -18,11 +18,11 @@ def setUpClass(self): command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect protocol: unknown os: iosxe - platform: iosxe + platform: C8300-1N1S-4T2X type: iosxe """ self.testbed = loader.load(testbed) - self.device = self.testbed.devices['INT1'] + self.device = self.testbed.devices['KS1'] self.device.connect( learn_hostname=True, init_config_commands=[], @@ -30,6 +30,6 @@ def setUpClass(self): ) def test_configure_gdoi_group(self): - result = configure_gdoi_group(self.device, 'bw6000', False, '6000', None, 'True', 'aes 256', '14000', '10', '3', 'REKEYRSA', 'False', '10', 'bw600', 'bw600-crypto-policy', None, False, '20', 'False', '192.168.2.1', 'True', '245', '123.141.2.3', False, None, None) + result = configure_gdoi_group(self.device, 'SUITEBv4', False, 9000, '15.15.15.1', True, 'aes 256', '14000', '10', '3', 'REKEYRSA', False, '10', 'SUITEBgcm128', 'SUITEBv4acl', None, False, '20', False, '15.15.15.1', False, '245', '16.16.16.1', True, None, 1, 'IKEV2-PROF1', 121, 'IKEV2-PROF1', True) expected_output = None self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/ike/configure/clear_crypto_call_admission_stats/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/ike/configure/clear_crypto_call_admission_stats/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..9fcc43a87 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/ike/configure/clear_crypto_call_admission_stats/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,38 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no logging console: '' + prompt: Initiator(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: Initiator(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + clear crypto call admission statistics: + response: + - Cleared Crypto Call Admission Control statistics. + response_type: circular + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: Initiator# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/ike/configure/clear_crypto_call_admission_stats/test_api_clear_crypto_call_admission_stats.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/ike/configure/clear_crypto_call_admission_stats/test_api_clear_crypto_call_admission_stats.py new file mode 100644 index 000000000..f8e27c625 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/ike/configure/clear_crypto_call_admission_stats/test_api_clear_crypto_call_admission_stats.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.ike.configure import clear_crypto_call_admission_stats + + +class TestClearCryptoCallAdmissionStats(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + Initiator: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: C8000V + type: iosxe + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['Initiator'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_clear_crypto_call_admission_stats(self): + result = clear_crypto_call_admission_stats(self.device) + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/ike/configure/disable_crypto_engine_compliance/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/ike/configure/disable_crypto_engine_compliance/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..f3321a6c0 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/ike/configure/disable_crypto_engine_compliance/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,36 @@ +configure: + commands: + crypto engine compliance shield disable: "crypto engine compliance shield disable\r\ + \nDisable compliance shield mode will take effect after reboot!\r\n" + end: + new_state: execute + line console 0: + new_state: configure_line + no logging console: '' + prompt: Initiator(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: Initiator(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: Initiator# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/ike/configure/disable_crypto_engine_compliance/test_api_disable_crypto_engine_compliance.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/ike/configure/disable_crypto_engine_compliance/test_api_disable_crypto_engine_compliance.py new file mode 100644 index 000000000..5e5e1beb4 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/ike/configure/disable_crypto_engine_compliance/test_api_disable_crypto_engine_compliance.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.ike.configure import disable_crypto_engine_compliance + + +class TestDisableCryptoEngineCompliance(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + Initiator: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: C8000V + type: iosxe + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['Initiator'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_disable_crypto_engine_compliance(self): + result = disable_crypto_engine_compliance(self.device) + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_ip_nbar/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_ip_nbar/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_ip_nbar/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_ip_nbar/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..c76f9afdf --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_ip_nbar/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,36 @@ +configure: + commands: + end: + new_state: execute + interface Vlan35: "interface Vlan35\r\n" + ip nbar protocol-discovery: "ip nbar protocol-discovery\r\n" + line console 0: + new_state: configure_line + no logging console: '' + prompt: C1113-8P_pkumarmu(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: C1113-8P_pkumarmu(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: C1113-8P_pkumarmu# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_ip_nbar/test_api_configure_interface_ip_nbar.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_ip_nbar/test_api_configure_interface_ip_nbar.py new file mode 100644 index 000000000..6fe8d0261 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_ip_nbar/test_api_configure_interface_ip_nbar.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.interface.configure import configure_interface_ip_nbar + + +class TestConfigureInterfaceIpNbar(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + C1113-8P_pkumarmu: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: router + type: iosxe + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['C1113-8P_pkumarmu'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_configure_interface_ip_nbar(self): + result = configure_interface_ip_nbar(self.device, 'Vlan35') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_range_no_switchport/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_range_no_switchport/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_range_no_switchport/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_range_no_switchport/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..0746e5d8c --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_range_no_switchport/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,36 @@ +configure: + commands: + end: + new_state: execute + interface range Gi1/0/38 - 41: "interface range Gi1/0/38 - 41\r\n" + line console 0: + new_state: configure_line + no logging console: '' + no switchport: "no switchport\r\n" + prompt: 9404-Access(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: 9404-Access(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: 9404-Access# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_range_no_switchport/test_api_configure_interface_range_no_switchport.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_range_no_switchport/test_api_configure_interface_range_no_switchport.py new file mode 100644 index 000000000..6eb30e0f2 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_range_no_switchport/test_api_configure_interface_range_no_switchport.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.interface.configure import configure_interface_range_no_switchport + + +class TestConfigureInterfaceRangeNoSwitchport(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + 9404-Access: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: cat9k + type: c9400 + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['9404-Access'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_configure_interface_range_no_switchport(self): + result = configure_interface_range_no_switchport(self.device, 'Gi1/0/38', '41') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_vlan/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_vlan/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_vlan/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_vlan/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..b71394dfb --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_vlan/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,36 @@ +configure: + commands: + end: + new_state: execute + interface vlan 10: "interface vlan 10\r\n" + line console 0: + new_state: configure_line + no logging console: '' + no shutdown: "no shutdown\r\n" + prompt: 9404-Access(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: 9404-Access(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: 9404-Access# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_vlan/test_api_configure_interface_vlan.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_vlan/test_api_configure_interface_vlan.py new file mode 100644 index 000000000..9eebd3710 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_interface_vlan/test_api_configure_interface_vlan.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.interface.configure import configure_interface_vlan + + +class TestConfigureInterfaceVlan(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + 9404-Access: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: cat9k + type: c9400 + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['9404-Access'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_configure_interface_vlan(self): + result = configure_interface_vlan(self.device, '10') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_service_instance/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_service_instance/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_service_instance/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_service_instance/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..dfa97566c --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_service_instance/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,39 @@ +configure: + commands: + bridge-domain 20: "bridge-domain 20\r\n" + encapsulation dot1q 30: "encapsulation dot1q 30\r\n" + end: + new_state: execute + interface GigabitEthernet0/0/0: "interface GigabitEthernet0/0/0\r\n" + line console 0: + new_state: configure_line + no logging console: '' + rewrite ingress tag pop 1 symmetric: "rewrite ingress tag pop 1 symmetric\r\n" + service instance 30 ethernet: "service instance 30 ethernet\r\n" + prompt: C1113-8P_pkumarmu(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: C1113-8P_pkumarmu(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: C1113-8P_pkumarmu# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_service_instance/test_api_configure_service_instance.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_service_instance/test_api_configure_service_instance.py new file mode 100644 index 000000000..e1015b14b --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/configure_service_instance/test_api_configure_service_instance.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.interface.configure import configure_service_instance + + +class TestConfigureServiceInstance(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + C1113-8P_pkumarmu: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: router + type: iosxe + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['C1113-8P_pkumarmu'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_configure_service_instance(self): + result = configure_service_instance(self.device, 'GigabitEthernet0/0/0', '30', '30', 'ingress tag pop 1 symmetric', '20') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/unconfigure_interface_ip_nbar/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/unconfigure_interface_ip_nbar/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/unconfigure_interface_ip_nbar/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/unconfigure_interface_ip_nbar/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..8a2c4b2f7 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/unconfigure_interface_ip_nbar/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,36 @@ +configure: + commands: + end: + new_state: execute + interface Vlan35: "interface Vlan35\r\n" + line console 0: + new_state: configure_line + no ip nbar protocol-discovery: "no ip nbar protocol-discovery\r\n" + no logging console: '' + prompt: C1113-8P_pkumarmu(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: C1113-8P_pkumarmu(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: C1113-8P_pkumarmu# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/unconfigure_interface_ip_nbar/test_api_unconfigure_interface_ip_nbar.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/unconfigure_interface_ip_nbar/test_api_unconfigure_interface_ip_nbar.py new file mode 100644 index 000000000..58ea8169c --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/unconfigure_interface_ip_nbar/test_api_unconfigure_interface_ip_nbar.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.interface.configure import unconfigure_interface_ip_nbar + + +class TestUnconfigureInterfaceIpNbar(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + C1113-8P_pkumarmu: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: router + type: iosxe + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['C1113-8P_pkumarmu'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_unconfigure_interface_ip_nbar(self): + result = unconfigure_interface_ip_nbar(self.device, 'Vlan35') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/unconfigure_service_instance/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/unconfigure_service_instance/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/unconfigure_service_instance/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/unconfigure_service_instance/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..2fde497db --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/unconfigure_service_instance/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,36 @@ +configure: + commands: + end: + new_state: execute + interface GigabitEthernet0/0/0: "interface GigabitEthernet0/0/0\r\n" + line console 0: + new_state: configure_line + no logging console: '' + no service instance 30 ethernet: "no service instance 30 ethernet\r\n" + prompt: C1113-8P_pkumarmu(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: C1113-8P_pkumarmu(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: C1113-8P_pkumarmu# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/unconfigure_service_instance/test_api_unconfigure_service_instance.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/unconfigure_service_instance/test_api_unconfigure_service_instance.py new file mode 100644 index 000000000..dcec60793 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/configure/unconfigure_service_instance/test_api_unconfigure_service_instance.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.interface.configure import unconfigure_service_instance + + +class TestUnconfigureServiceInstance(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + C1113-8P_pkumarmu: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: router + type: iosxe + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['C1113-8P_pkumarmu'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_unconfigure_service_instance(self): + result = unconfigure_service_instance(self.device, 'GigabitEthernet0/0/0', '30') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/get/get_interface_capabilities_multiple_media_types/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/get/get_interface_capabilities_multiple_media_types/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/get/get_interface_capabilities_multiple_media_types/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/get/get_interface_capabilities_multiple_media_types/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..b1d99132b --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/get/get_interface_capabilities_multiple_media_types/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,48 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no logging console: '' + prompt: IE-3105-18T2C-uut1(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: IE-3105-18T2C-uut1(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show interfaces GigabitEthernet1/1 capabilities: + response: + - "GigabitEthernet1/1\r\n Model: IE-3105-18T2C\r\n Type: \ + \ 1000BaseSX\r\n Speed: 1000\r\n Duplex:\ + \ full\r\n Trunk encap. type: 802.1Q,ISL\r\n Trunk mode:\ + \ on,off,desirable,nonegotiate\r\n Channel: yes\r\ + \n Broadcast suppression: percentage(0-100)\r\n Flowcontrol: rx-(off,on,desired),tx-(none)\r\ + \n Fast Start: yes\r\n QoS scheduling: rx-(not configurable\ + \ on per port basis),\r\n tx-(1p8q2t)\r\n CoS rewrite:\ + \ yes\r\n ToS rewrite: yes\r\n UDLD: \ + \ yes\r\n Inline power: no\r\n SPAN: source/destination\r\ + \n PortSecure: yes\r\n Dot1x: yes\r\n Multiple\ + \ Media Types: rj45, sfp, auto-select" + response_type: circular + show version: '' + term length 0: '' + term width 0: '' + prompt: IE-3105-18T2C-uut1# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/get/get_interface_capabilities_multiple_media_types/test_api_get_interface_capabilities_multiple_media_types.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/get/get_interface_capabilities_multiple_media_types/test_api_get_interface_capabilities_multiple_media_types.py new file mode 100644 index 000000000..3d6f1518c --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/get/get_interface_capabilities_multiple_media_types/test_api_get_interface_capabilities_multiple_media_types.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.interface.get import get_interface_capabilities_multiple_media_types + + +class TestGetInterfaceCapabilitiesMultipleMediaTypes(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + IE-3105-18T2C-uut1: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: s5k + type: switch + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['IE-3105-18T2C-uut1'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_get_interface_capabilities_multiple_media_types(self): + result = get_interface_capabilities_multiple_media_types(self.device, 'GigabitEthernet1/1') + expected_output = 'rj45, sfp, auto-select' + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/get/get_interface_interfaces_under_vrf/test_api_get_interface_interfaces_under_vrf.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/get/get_interface_interfaces_under_vrf/test_api_get_interface_interfaces_under_vrf.py index d9a18de33..05d155f3c 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/get/get_interface_interfaces_under_vrf/test_api_get_interface_interfaces_under_vrf.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/get/get_interface_interfaces_under_vrf/test_api_get_interface_interfaces_under_vrf.py @@ -30,18 +30,20 @@ def setUpClass(self): def test_get_interface_interfaces_under_vrf(self): result = get_interface_interfaces_under_vrf(self.device, 'VRF1') - expected_output = ['Tunnel1', - 'Loopback300', - 'GigabitEthernet2.390', - 'GigabitEthernet2.410', - 'GigabitEthernet2.415', - 'GigabitEthernet2.420', - 'GigabitEthernet3.390', - 'GigabitEthernet3.410', - 'GigabitEthernet3.415', - 'GigabitEthernet3.420', - 'Tunnel3', - 'Tunnel4', - 'Tunnel6', - 'Tunnel8'] + expected_output = [ + 'GigabitEthernet2.390', + 'GigabitEthernet2.410', + 'GigabitEthernet2.415', + 'GigabitEthernet2.420', + 'GigabitEthernet3.390', + 'GigabitEthernet3.410', + 'GigabitEthernet3.415', + 'GigabitEthernet3.420', + 'Loopback300', + 'Tunnel1', + 'Tunnel3', + 'Tunnel4', + 'Tunnel6', + 'Tunnel8' + ] self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/get/get_interface_media_types/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/get/get_interface_media_types/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/get/get_interface_media_types/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/get/get_interface_media_types/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..117674547 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/get/get_interface_media_types/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,58 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no logging console: '' + prompt: IE-3100-4T2S-uut1(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: IE-3100-4T2S-uut1(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show interfaces GigabitEthernet1/2: + response: + - "GigabitEthernet1/2 is up, line protocol is up (connected) \r\n Hardware\ + \ is Gigabit Ethernet, address is e8d3.22ec.8d22 (bia e8d3.22ec.8d22)\r\n\ + \ MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, \r\n reliability\ + \ 255/255, txload 1/255, rxload 1/255\r\n Encapsulation ARPA, loopback not\ + \ set\r\n Keepalive set (10 sec)\r\n Full-duplex, 1000Mb/s, link type is\ + \ auto, media type is 10/100/1000BaseTX SFP\r\n input flow-control is off,\ + \ output flow-control is unsupported \r\n ARP type: ARPA, ARP Timeout 04:00:00\r\ + \n Last input 00:00:00, output 00:00:01, output hang never\r\n Last clearing\ + \ of \"show interface\" counters never\r\n Input queue: 0/375/0/0 (size/max/drops/flushes);\ + \ Total output drops: 0\r\n Queueing strategy: fifo\r\n Output queue: 0/40\ + \ (size/max)\r\n 5 minute input rate 0 bits/sec, 0 packets/sec\r\n 5 minute\ + \ output rate 0 bits/sec, 0 packets/sec\r\n 147399 packets input, 11805323\ + \ bytes, 0 no buffer\r\n Received 147399 broadcasts (147399 multicasts)\r\ + \n 0 runts, 0 giants, 0 throttles \r\n 0 input errors, 0 CRC, 0 frame,\ + \ 0 overrun, 0 ignored\r\n 0 watchdog, 147399 multicast, 0 pause input\r\ + \n 0 input packets with dribble condition detected\r\n 30353 packets\ + \ output, 6797471 bytes, 0 underruns\r\n Output 30353 broadcasts (0 multicasts)\r\ + \n 0 output errors, 0 collisions, 2 interface resets\r\n 0 unknown\ + \ protocol drops\r\n 0 babbles, 0 late collision, 0 deferred\r\n 0\ + \ lost carrier, 0 no carrier, 0 pause output\r\n 0 output buffer failures,\ + \ 0 output buffers swapped out" + response_type: circular + show version: '' + term length 0: '' + term width 0: '' + prompt: IE-3100-4T2S-uut1# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/get/get_interface_media_types/test_api_get_interface_media_types.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/get/get_interface_media_types/test_api_get_interface_media_types.py new file mode 100644 index 000000000..5a9c3170a --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/interface/get/get_interface_media_types/test_api_get_interface_media_types.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.interface.get import get_interface_media_types + + +class TestGetInterfaceMediaTypes(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + IE-3100-4T2S-uut1: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: s5k + type: switch + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['IE-3100-4T2S-uut1'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_get_interface_media_types(self): + result = get_interface_media_types(self.device, 'GigabitEthernet1/2') + expected_output = '10/100/1000BaseTX SFP' + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/management/configure/configure_management_gnmi/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/management/configure/configure_management_gnmi/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/management/configure/configure_management_gnmi/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/management/configure/configure_management_gnmi/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..fcfc9084e --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/management/configure/configure_management_gnmi/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,36 @@ +configure: + commands: + end: + new_state: execute + gnxi: "gnxi\r\n" + gnxi server: "gnxi server\r\n" + line console 0: + new_state: configure_line + no logging console: '' + prompt: ott-c9300-67(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: ott-c9300-67(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: ott-c9300-67# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/management/configure/configure_management_gnmi/test_api_configure_management_gnmi.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/management/configure/configure_management_gnmi/test_api_configure_management_gnmi.py new file mode 100644 index 000000000..c662cd335 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/management/configure/configure_management_gnmi/test_api_configure_management_gnmi.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.management.configure import configure_management_gnmi + + +class TestConfigureManagementGnmi(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + ott-c9300-67: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: cat9k + type: cat9k + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['ott-c9300-67'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_configure_management_gnmi(self): + result = configure_management_gnmi(self.device, 'True', 'True', None) + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/management/configure/configure_management_protocols/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/management/configure/configure_management_protocols/mock_data/iosxe/mock_data.yaml index 3eebc58c2..d6ddeae80 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/management/configure/configure_management_protocols/mock_data/iosxe/mock_data.yaml +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/management/configure/configure_management_protocols/mock_data/iosxe/mock_data.yaml @@ -4,22 +4,27 @@ configure: \n" aaa authorization exec default local: "aaa authorization exec default local\r\n" aaa new-model: "aaa new-model\r\n" + crypto key generate rsa: "crypto key generate rsa\r\n" end: new_state: execute + gnxi: "gnxi\r\n" + gnxi server: "gnxi server\r\n" + ip domain name cisco.com: "ip domain name cisco.com\r\n" line console 0: new_state: configure_line - line vty 0 14: "line vty 0 14\r\n" + line vty 0 31: "line vty 0 31\r\n" login authentication default: "login authentication default\r\n" + netconf-yang: "netconf-yang\r\n" no logging console: '' - transport input ssh telnet: "transport input ssh telnet\r\n" - username admin password admin: "username admin password admin\r\n" - prompt: vmtb-isr4451(config)# + transport input telnet ssh: "transport input telnet ssh\r\n" + username admin password lab: "username admin password lab\r\n" + prompt: ott-c9300-67(config)# configure_line: commands: end: new_state: execute exec-timeout 0: '' - prompt: vmtb-isr4451(config-line)# + prompt: ott-c9300-67(config-line)# connect: commands: ? '' @@ -38,10 +43,14 @@ execute: new_state: configure show running-config | section line vty: response: - - "line vty 0 4\r\n exec-timeout 0 0\r\n transport input ssh\r\nline vty 5 14\r\ - \n transport input ssh" + - "line vty 0 4\r\n exec-timeout 0 0\r\n password lab\r\n length 0\r\n transport\ + \ input telnet ssh\r\nline vty 5 31\r\n transport input telnet ssh" + - "line vty 0 4\r\n exec-timeout 0 0\r\n password lab\r\n length 0\r\n transport\ + \ input telnet ssh\r\nline vty 5 31\r\n transport input telnet ssh" + - "line vty 0 4\r\n exec-timeout 0 0\r\n password lab\r\n length 0\r\n transport\ + \ input telnet ssh\r\nline vty 5 31\r\n transport input telnet ssh" response_type: circular show version: '' term length 0: '' term width 0: '' - prompt: vmtb-isr4451# + prompt: ott-c9300-67# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/management/configure/configure_management_protocols/test_api_configure_management_protocols.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/management/configure/configure_management_protocols/test_api_configure_management_protocols.py index 66b720c5a..007656e7e 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/management/configure/configure_management_protocols/test_api_configure_management_protocols.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/management/configure/configure_management_protocols/test_api_configure_management_protocols.py @@ -10,7 +10,7 @@ class TestConfigureManagementProtocols(unittest.TestCase): def setUpClass(self): testbed = f""" devices: - vmtb-isr4451: + ott-c9300-67: connections: defaults: class: unicon.Unicon @@ -18,11 +18,11 @@ def setUpClass(self): command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect protocol: unknown os: iosxe - platform: iosxe - type: iosxe + platform: cat9k + type: cat9k """ self.testbed = loader.load(testbed) - self.device = self.testbed.devices['vmtb-isr4451'] + self.device = self.testbed.devices['ott-c9300-67'] self.device.connect( learn_hostname=True, init_config_commands=[], @@ -30,6 +30,11 @@ def setUpClass(self): ) def test_configure_management_protocols(self): - result = configure_management_protocols(self.device) + result = configure_management_protocols(self.device, ['ssh', 'telnet', 'netconf', 'gnmi']) + expected_output = None + self.assertEqual(result, expected_output) + + def test_configure_management_protocols_1(self): + result = configure_management_protocols(self.device, ['ssh', 'telnet', 'netconf', {'gnmi': {'enable': True, 'server': True}}]) expected_output = None self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/mcast/configure/configure_ip_multicast_routing_distributed/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/mcast/configure/configure_ip_multicast_routing_distributed/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/mcast/configure/configure_ip_multicast_routing_distributed/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/mcast/configure/configure_ip_multicast_routing_distributed/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..e52c932b4 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/mcast/configure/configure_ip_multicast_routing_distributed/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,35 @@ +configure: + commands: + end: + new_state: execute + ip multicast-routing distributed: "ip multicast-routing distributed\r\n" + line console 0: + new_state: configure_line + no logging console: '' + prompt: KS1(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: KS1(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: KS1# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/mcast/configure/configure_ip_multicast_routing_distributed/test_api_configure_ip_multicast_routing_distributed.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/mcast/configure/configure_ip_multicast_routing_distributed/test_api_configure_ip_multicast_routing_distributed.py new file mode 100644 index 000000000..fa8cd2a76 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/mcast/configure/configure_ip_multicast_routing_distributed/test_api_configure_ip_multicast_routing_distributed.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.mcast.configure import configure_ip_multicast_routing_distributed + + +class TestConfigureIpMulticastRoutingDistributed(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + KS1: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: C8300-1N1S-4T2X + type: iosxe + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['KS1'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_configure_ip_multicast_routing_distributed(self): + result = configure_ip_multicast_routing_distributed(self.device) + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/mcast/configure/unconfigure_ip_multicast_routing_distributed/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/mcast/configure/unconfigure_ip_multicast_routing_distributed/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/mcast/configure/unconfigure_ip_multicast_routing_distributed/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/mcast/configure/unconfigure_ip_multicast_routing_distributed/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..429e96037 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/mcast/configure/unconfigure_ip_multicast_routing_distributed/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,35 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no ip multicast-routing distributed: "no ip multicast-routing distributed\r\n" + no logging console: '' + prompt: KS1(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: KS1(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: KS1# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/mcast/configure/unconfigure_ip_multicast_routing_distributed/test_api_unconfigure_ip_multicast_routing_distributed.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/mcast/configure/unconfigure_ip_multicast_routing_distributed/test_api_unconfigure_ip_multicast_routing_distributed.py new file mode 100644 index 000000000..fd510301c --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/mcast/configure/unconfigure_ip_multicast_routing_distributed/test_api_unconfigure_ip_multicast_routing_distributed.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.mcast.configure import unconfigure_ip_multicast_routing_distributed + + +class TestUnconfigureIpMulticastRoutingDistributed(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + KS1: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: C8300-1N1S-4T2X + type: iosxe + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['KS1'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_unconfigure_ip_multicast_routing_distributed(self): + result = unconfigure_ip_multicast_routing_distributed(self.device) + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/config_ip_multicast_routing_vrf_distributed/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/config_ip_multicast_routing_vrf_distributed/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/config_ip_multicast_routing_vrf_distributed/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/config_ip_multicast_routing_vrf_distributed/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..6014c22c1 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/config_ip_multicast_routing_vrf_distributed/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,36 @@ +configure: + commands: + end: + new_state: execute + ip multicast-routing vrf 20 distributed: "ip multicast-routing vrf 20 distributed\r\ + \n" + line console 0: + new_state: configure_line + no logging console: '' + prompt: C1113-8P_pkumarmu(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: C1113-8P_pkumarmu(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: C1113-8P_pkumarmu# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/config_ip_multicast_routing_vrf_distributed/test_api_config_ip_multicast_routing_vrf_distributed.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/config_ip_multicast_routing_vrf_distributed/test_api_config_ip_multicast_routing_vrf_distributed.py new file mode 100644 index 000000000..09150b18a --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/config_ip_multicast_routing_vrf_distributed/test_api_config_ip_multicast_routing_vrf_distributed.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.multicast.configure import config_ip_multicast_routing_vrf_distributed + + +class TestConfigIpMulticastRoutingVrfDistributed(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + C1113-8P_pkumarmu: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: router + type: iosxe + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['C1113-8P_pkumarmu'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_config_ip_multicast_routing_vrf_distributed(self): + result = config_ip_multicast_routing_vrf_distributed(self.device, '20') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/config_ip_pim_vrf/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/config_ip_pim_vrf/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/config_ip_pim_vrf/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/config_ip_pim_vrf/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..1388bcf09 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/config_ip_pim_vrf/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,35 @@ +configure: + commands: + end: + new_state: execute + ip pim vrf 2 autorp listener: "ip pim vrf 2 autorp listener\r\n" + line console 0: + new_state: configure_line + no logging console: '' + prompt: C1113-8P_pkumarmu(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: C1113-8P_pkumarmu(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: C1113-8P_pkumarmu# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/config_ip_pim_vrf/test_api_config_ip_pim_vrf.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/config_ip_pim_vrf/test_api_config_ip_pim_vrf.py new file mode 100644 index 000000000..d609ad981 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/config_ip_pim_vrf/test_api_config_ip_pim_vrf.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.multicast.configure import config_ip_pim_vrf + + +class TestConfigIpPimVrf(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + C1113-8P_pkumarmu: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: router + type: iosxe + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['C1113-8P_pkumarmu'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_config_ip_pim_vrf(self): + result = config_ip_pim_vrf(self.device, '2', 'autorp listener') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/unconfig_ip_multicast_routing_vrf_distributed/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/unconfig_ip_multicast_routing_vrf_distributed/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/unconfig_ip_multicast_routing_vrf_distributed/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/unconfig_ip_multicast_routing_vrf_distributed/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..c5ce30efd --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/unconfig_ip_multicast_routing_vrf_distributed/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,36 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no ip multicast-routing vrf 20 distributed: "no ip multicast-routing vrf 20 distributed\r\ + \n" + no logging console: '' + prompt: C1113-8P_pkumarmu(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: C1113-8P_pkumarmu(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: C1113-8P_pkumarmu# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/unconfig_ip_multicast_routing_vrf_distributed/test_api_unconfig_ip_multicast_routing_vrf_distributed.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/unconfig_ip_multicast_routing_vrf_distributed/test_api_unconfig_ip_multicast_routing_vrf_distributed.py new file mode 100644 index 000000000..cef643019 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/unconfig_ip_multicast_routing_vrf_distributed/test_api_unconfig_ip_multicast_routing_vrf_distributed.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.multicast.configure import unconfig_ip_multicast_routing_vrf_distributed + + +class TestUnconfigIpMulticastRoutingVrfDistributed(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + C1113-8P_pkumarmu: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: router + type: iosxe + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['C1113-8P_pkumarmu'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_unconfig_ip_multicast_routing_vrf_distributed(self): + result = unconfig_ip_multicast_routing_vrf_distributed(self.device, '20') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/unconfig_ip_pim_vrf/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/unconfig_ip_pim_vrf/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/unconfig_ip_pim_vrf/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/unconfig_ip_pim_vrf/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..2a66529fb --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/unconfig_ip_pim_vrf/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,35 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no ip pim vrf 2 autorp listener: "no ip pim vrf 2 autorp listener\r\n" + no logging console: '' + prompt: C1113-8P_pkumarmu(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: C1113-8P_pkumarmu(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: C1113-8P_pkumarmu# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/unconfig_ip_pim_vrf/test_api_unconfig_ip_pim_vrf.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/unconfig_ip_pim_vrf/test_api_unconfig_ip_pim_vrf.py new file mode 100644 index 000000000..212411dd6 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/multicast/configure/unconfig_ip_pim_vrf/test_api_unconfig_ip_pim_vrf.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.multicast.configure import unconfig_ip_pim_vrf + + +class TestUnconfigIpPimVrf(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + C1113-8P_pkumarmu: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: router + type: iosxe + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['C1113-8P_pkumarmu'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_unconfig_ip_pim_vrf(self): + result = unconfig_ip_pim_vrf(self.device, '2', 'autorp listener') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/nat/configure/configure_static_nat_route_map_rule/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/nat/configure/configure_static_nat_route_map_rule/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/nat/configure/configure_static_nat_route_map_rule/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/nat/configure/configure_static_nat_route_map_rule/mock_data/iosxe/mock_data.yaml index 2ae005338..22e462b53 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/nat/configure/configure_static_nat_route_map_rule/mock_data/iosxe/mock_data.yaml +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/nat/configure/configure_static_nat_route_map_rule/mock_data/iosxe/mock_data.yaml @@ -2,21 +2,23 @@ configure: commands: end: new_state: execute - ip nat inside source static 35.0.0.2 135.0.0.2 route-map static_rm: "ip nat inside\ - \ source static 35.0.0.2 135.0.0.2 route-map st\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ + ip nat inside source static 35.0.0.1 135.0.0.1 route-map rm_1 no-alias: "ip nat\ + \ inside source static 35.0.0.1 135.0.0.1 route-map rm\b\b\b\b\b\b\b\b\b\b\b\ \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ - \b\b\b\b\b\b$de source static 35.0.0.2 135.0.0.2 route-map sta \b\b\b\ - \b\b\b\b\b\btic_rm\r\n" + \b\b\b\b\b\b\b\b\b\b$de source static 35.0.0.1 135.0.0.1 route-map rm_ \ + \ \b\b\b\b\b\b\b\b\b1 no-alia\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ + \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\bstatic\ + \ 35.0.0.1 135.0.0.1 route-map rm_1 no-alias \b\b\b\b\b\b\b\b\b\r\n" line console 0: new_state: configure_line no logging console: '' - prompt: Stargazer(config)# + prompt: C9500-SVL(config)# configure_line: commands: end: new_state: execute exec-timeout 0: '' - prompt: Stargazer(config-line)# + prompt: C9500-SVL(config-line)# connect: commands: ? '' @@ -36,4 +38,4 @@ execute: show version: '' term length 0: '' term width 0: '' - prompt: Stargazer# + prompt: C9500-SVL# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/nat/configure/configure_static_nat_route_map_rule/test_api_configure_static_nat_route_map_rule.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/nat/configure/configure_static_nat_route_map_rule/test_api_configure_static_nat_route_map_rule.py index daf5f21e7..7bbb06b96 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/nat/configure/configure_static_nat_route_map_rule/test_api_configure_static_nat_route_map_rule.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/nat/configure/configure_static_nat_route_map_rule/test_api_configure_static_nat_route_map_rule.py @@ -1,3 +1,4 @@ +import os import unittest from pyats.topology import loader from genie.libs.sdk.apis.iosxe.nat.configure import configure_static_nat_route_map_rule @@ -7,21 +8,21 @@ class TestConfigureStaticNatRouteMapRule(unittest.TestCase): @classmethod def setUpClass(self): - testbed = """ + testbed = f""" devices: - Stargazer: + C9500-SVL: connections: defaults: class: unicon.Unicon a: - command: mock_device_cli --os iosxe --mock_data_dir mock_data --state connect + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect protocol: unknown os: iosxe - platform: cat9k - type: c9600 + platform: c9500 + type: c9500 """ self.testbed = loader.load(testbed) - self.device = self.testbed.devices['Stargazer'] + self.device = self.testbed.devices['C9500-SVL'] self.device.connect( learn_hostname=True, init_config_commands=[], @@ -29,6 +30,6 @@ def setUpClass(self): ) def test_configure_static_nat_route_map_rule(self): - result = configure_static_nat_route_map_rule(self.device, '35.0.0.2', '135.0.0.2', 'static_rm') + result = configure_static_nat_route_map_rule(self.device, '35.0.0.1', '135.0.0.1', 'rm_1', True) expected_output = None self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/nat/configure/unconfigure_static_nat_route_map_rule/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/nat/configure/unconfigure_static_nat_route_map_rule/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/nat/configure/unconfigure_static_nat_route_map_rule/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/nat/configure/unconfigure_static_nat_route_map_rule/mock_data/iosxe/mock_data.yaml index f0a57c781..42b6e32f8 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/nat/configure/unconfigure_static_nat_route_map_rule/mock_data/iosxe/mock_data.yaml +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/nat/configure/unconfigure_static_nat_route_map_rule/mock_data/iosxe/mock_data.yaml @@ -4,19 +4,22 @@ configure: new_state: execute line console 0: new_state: configure_line - no ip nat inside source static 35.0.0.2 135.0.0.2 route-map static_rm: "no ip\ - \ nat inside source static 35.0.0.2 135.0.0.2 route-map\b\b\b\b\b\b\b\b\b\b\b\ + no ip nat inside source static 35.0.0.1 135.0.0.1 route-map rm_1 no-alias: "no\ + \ ip nat inside source static 35.0.0.1 135.0.0.1 route-map\b\b\b\b\b\b\b\b\b\ \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ - \b\b\b\b\b\b\b\b\b\b$nside source static 35.0.0.2 135.0.0.2 route-map \ - \ \b\b\b\b\b\b\b\b\bstatic_rm\r\n" + \b\b\b\b\b\b\b\b\b\b\b\b$nside source static 35.0.0.1 135.0.0.1 route-map \ + \ \b\b\b\b\b\b\b\b\brm_1 no-a\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ + \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ + ce static 35.0.0.1 135.0.0.1 route-map rm_1 no-al \b\b\b\b\b\b\b\b\b\ + ias\r\n" no logging console: '' - prompt: Stargazer(config)# + prompt: C9500-SVL(config)# configure_line: commands: end: new_state: execute exec-timeout 0: '' - prompt: Stargazer(config-line)# + prompt: C9500-SVL(config-line)# connect: commands: ? '' @@ -36,4 +39,4 @@ execute: show version: '' term length 0: '' term width 0: '' - prompt: Stargazer# + prompt: C9500-SVL# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/nat/configure/unconfigure_static_nat_route_map_rule/test_api_unconfigure_static_nat_route_map_rule.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/nat/configure/unconfigure_static_nat_route_map_rule/test_api_unconfigure_static_nat_route_map_rule.py index 38a8325f7..5b9f14fa4 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/nat/configure/unconfigure_static_nat_route_map_rule/test_api_unconfigure_static_nat_route_map_rule.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/nat/configure/unconfigure_static_nat_route_map_rule/test_api_unconfigure_static_nat_route_map_rule.py @@ -1,3 +1,4 @@ +import os import unittest from pyats.topology import loader from genie.libs.sdk.apis.iosxe.nat.configure import unconfigure_static_nat_route_map_rule @@ -7,21 +8,21 @@ class TestUnconfigureStaticNatRouteMapRule(unittest.TestCase): @classmethod def setUpClass(self): - testbed = """ + testbed = f""" devices: - Stargazer: + C9500-SVL: connections: defaults: class: unicon.Unicon a: - command: mock_device_cli --os iosxe --mock_data_dir mock_data --state connect + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect protocol: unknown os: iosxe - platform: cat9k - type: c9600 + platform: c9500 + type: c9500 """ self.testbed = loader.load(testbed) - self.device = self.testbed.devices['Stargazer'] + self.device = self.testbed.devices['C9500-SVL'] self.device.connect( learn_hostname=True, init_config_commands=[], @@ -29,6 +30,6 @@ def setUpClass(self): ) def test_unconfigure_static_nat_route_map_rule(self): - result = unconfigure_static_nat_route_map_rule(self.device, '35.0.0.2', '135.0.0.2', 'static_rm') + result = unconfigure_static_nat_route_map_rule(self.device, '35.0.0.1', '135.0.0.1', 'rm_1', True) expected_output = None self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/configure/configure_bridge_domain/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/configure/configure_bridge_domain/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/configure/configure_bridge_domain/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/configure/configure_bridge_domain/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..8c909fc50 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/configure/configure_bridge_domain/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,35 @@ +configure: + commands: + bridge-domain 50: "bridge-domain 50\r\n" + end: + new_state: execute + line console 0: + new_state: configure_line + no logging console: '' + prompt: c8kv-1(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: c8kv-1(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: c8kv-1# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/configure/configure_bridge_domain/test_api_configure_bridge_domain.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/configure/configure_bridge_domain/test_api_configure_bridge_domain.py new file mode 100644 index 000000000..62406170e --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/configure/configure_bridge_domain/test_api_configure_bridge_domain.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.platform.configure import configure_bridge_domain + + +class TestConfigureBridgeDomain(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + c8kv-1: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: cat8k + type: iosxe + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['c8kv-1'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_configure_bridge_domain(self): + result = configure_bridge_domain(self.device, '50') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/configure/unconfigure_bridge_domain/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/configure/unconfigure_bridge_domain/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/configure/unconfigure_bridge_domain/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/configure/unconfigure_bridge_domain/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..2faac0160 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/configure/unconfigure_bridge_domain/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,35 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no bridge-domain 50: "no bridge-domain 50\r\n" + no logging console: '' + prompt: c8kv-1(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: c8kv-1(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: c8kv-1# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/configure/unconfigure_bridge_domain/test_api_unconfigure_bridge_domain.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/configure/unconfigure_bridge_domain/test_api_unconfigure_bridge_domain.py new file mode 100644 index 000000000..4acea73e6 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/configure/unconfigure_bridge_domain/test_api_unconfigure_bridge_domain.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.platform.configure import unconfigure_bridge_domain + + +class TestUnconfigureBridgeDomain(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + c8kv-1: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: cat8k + type: iosxe + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['c8kv-1'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_unconfigure_bridge_domain(self): + result = unconfigure_bridge_domain(self.device, '50') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/clear_ip_mfib_counters/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/clear_ip_mfib_counters/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/clear_ip_mfib_counters/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/clear_ip_mfib_counters/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..79d2ebcd5 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/clear_ip_mfib_counters/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,38 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no logging console: '' + prompt: 9404-Access(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: 9404-Access(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + clear ip mfib counters: + response: + - Clearing Default counters + response_type: circular + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: 9404-Access# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/clear_ip_mfib_counters/test_api_clear_ip_mfib_counters.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/clear_ip_mfib_counters/test_api_clear_ip_mfib_counters.py new file mode 100644 index 000000000..0c593ed96 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/clear_ip_mfib_counters/test_api_clear_ip_mfib_counters.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.platform.execute import clear_ip_mfib_counters + + +class TestClearIpMfibCounters(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + 9404-Access: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: cat9k + type: c9400 + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['9404-Access'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_clear_ip_mfib_counters(self): + result = clear_ip_mfib_counters(self.device) + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_archive_tar/archive_1/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_archive_tar/archive_1/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..fb3e98533 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_archive_tar/archive_1/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,475 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no logging console: '' + prompt: GD_F12(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: GD_F12(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + archive tar /xtract usb0:test/usb_files_9.tar usb0:extract_test/: + response: + - "extracting dmesg (66264 bytes)\r\nextracting timestamp (10 bytes)\r\nextracting\ + \ shutdown_cc0_20230913134955.log (705 bytes)\r\nextracting shutdown_fp0_20230913134955.log\ + \ (633 bytes)\r\nextracting utf_R0-0.5887_6674.20230914055716.bin.gz (808254\ + \ bytes)\r\nextracting utf_R0-0.5887_6675.20230914055725.bin.gz (806594 bytes)\r\ + \nextracting utf_R0-0.5887_6676.20230914055734.bin.gz (808838 bytes)\r\nextracting\ + \ utf_R0-0.5887_6677.20230914055743.bin.gz (807858 bytes)\r\nextracting utf_R0-0.5887_6678.20230914055752.bin.gz\ + \ (807057 bytes)\r\nextracting utf_R0-0.5887_6679.20230914055801.bin.gz (809544\ + \ bytes)\r\nextracting utf_R0-0.5887_6680.20230914055809.bin.gz (807218 bytes)\r\ + \nextracting utf_R0-0.5887_6681.20230914055818.bin.gz (807444 bytes)\r\nextracting\ + \ utf_R0-0.5887_6682.20230914055827.bin.gz (808464 bytes)\r\nextracting utf_R0-0.5887_6683.20230914055836.bin.gz\ + \ (808658 bytes)\r\nextracting utf_R0-0.5887_6684.20230914055845.bin.gz (807272\ + \ bytes)\r\nextracting utf_R0-0.5887_6673.20230914055707.bin.gz (808002 bytes)\r\ + \nextracting utf_R0-0.5887_6685.20230914055854.bin.gz (807831 bytes)\r\nextracting\ + \ utf_R0-0.5887_6686.20230914055903.bin.gz (813608 bytes)\r\nextracting utf_R0-0.5887_6687.20230914055912.bin.gz\ + \ (811137 bytes)\r\nextracting shutdown_cc0_20230914055927.log (705 bytes)\r\ + \nextracting utf_R0-0.5900_0.20230914062758.bin.gz (1328995 bytes)\r\nextracting\ + \ utf_R0-0.5900_1.20230914070052.bin.gz (825329 bytes)\r\nextracting utf_R0-0.5900_2.20230914070058.bin.gz\ + \ (811558 bytes)\r\nextracting utf_R0-0.5900_3.20230914070104.bin.gz (809314\ + \ bytes)\r\nextracting utf_R0-0.5900_4.20230914070110.bin.gz (796014 bytes)\r\ + \nextracting utf_R0-0.5900_5.20230914070116.bin.gz (805042 bytes)\r\nextracting\ + \ utf_R0-0.5900_6.20230914070122.bin.gz (803377 bytes)\r\nextracting utf_R0-0.5900_7.20230914070128.bin.gz\ + \ (797514 bytes)\r\nextracting utf_R0-0.5900_8.20230914070134.bin.gz (801024\ + \ bytes)\r\nextracting utf_R0-0.5900_9.20230914070140.bin.gz (799539 bytes)\r\ + \nextracting shutdown_cc0_20230914070149.log (705 bytes)\r\nextracting utf_R0-0.5887_6672.20230914055658.bin.gz\ + \ (809280 bytes)\r\nextracting system_shell_R0-0.25305_0.20230913205802.bin\ + \ (755 bytes)\r\nextracting memmon_log_20230913_203413_IST_1694617453.tar.gz\ + \ (18388 bytes)\r\nextracting system_shell_R0-0.6208_0.20230913215854.bin\ + \ (5505 bytes)\r\nextracting btman_pman_0-0.20392_1.20230913140409.bin.gz\ + \ (1320 bytes)\r\nextracting pvp_0-0.18819_0.20230913140407.bin.gz (5490 bytes)\r\ + \nextracting emd_0-0.19421_0.20230913140408.bin.gz (47061 bytes)\r\nextracting\ + \ ezman_0-0.19639_0.20230913140408.bin.gz (4441 bytes)\r\nextracting cmcc_0-0.20291_0.20230913140409.bin.gz\ + \ (6194 bytes)\r\nextracting cmcc_pman_0-0.20284_1.20230914055927.bin.gz (993\ + \ bytes)\r\nextracting IOSCC_0-0.21260_0.20230913140412.bin.gz (7344 bytes)\r\ + \nextracting IOSCC_0-1.21579_0.20230913140412.bin.gz (6372 bytes)\r\nextracting\ + \ IOSCC_0-2.21957_0.20230913140412.bin.gz (7140 bytes)\r\nextracting hman_0-0.20183_2.20230914014418.bin.gz\ + \ (45974 bytes)\r\nextracting mcpcc_lc_ms_pman_0-2.21950_4.20230913165052.bin.gz\ + \ (1413 bytes)\r\nextracting btman_0-0.20398_4.20230914025408.bin.gz (67666\ + \ bytes)\r\nextracting shutdown_fp0_20230914055928.log (633 bytes)\r\nextracting\ + \ pvp_F0-0.16962_0.20230913140402.bin.gz (5602 bytes)\r\nextracting shutdown_rp0_20230913134956.log\ + \ (1461 bytes)\r\nextracting ezman_pman_0-0.19632_1.20230914055927.bin.gz\ + \ (988 bytes)\r\nextracting emd_pman_0-0.19413_1.20230914055927.bin.gz (968\ + \ bytes)\r\nextracting hman_pman_0-0.20176_1.20230914055927.bin.gz (965 bytes)\r\ + \nextracting mcpcc_lc_ms_pman_0-1.21572_4.20230914055927.bin.gz (838 bytes)\r\ + \nextracting mcpcc_lc_ms_pman_0-0.21244_6.20230914055927.bin.gz (519 bytes)\r\ + \nextracting shutdown_fp0_20230914070149.log (633 bytes)\r\nextracting cpp_driver_pman_F0-0.17636_1.20230913140403.bin.gz\ + \ (1173 bytes)\r\nextracting service_mgr_F0-0.17129_0.20230913140402.bin.gz\ + \ (5731 bytes)\r\nextracting cpp_cdm_F0-0.17435_0.20230913140403.bin.gz (3190\ + \ bytes)\r\nextracting cpp_ha_top_level_server_pman_F0-0.17532_1.20230913140403.bin.gz\ + \ (1185 bytes)\r\nextracting cpp_ha_F0-0.17539_0.20230913140403.bin.gz (12085\ + \ bytes)\r\nextracting cpp_cp_svr_pman_F0-0.17843_1.20230914055927.bin.gz\ + \ (1451 bytes)\r\nextracting cpp_driver_F0-0.17644_0.20230913140403.bin.gz\ + \ (4000 bytes)\r\nextracting cpp_sp_F0-0.17746_0.20230913140403.bin.gz (4451\ + \ bytes)\r\nextracting emd_F0-0.17953_0.20230913140403.bin.gz (47659 bytes)\r\ + \nextracting cpp_stats_F0-0.17333_0.20230913140404.bin.gz (3955 bytes)\r\n\ + extracting cman_fp_F0-0.18385_0.20230913140404.bin.gz (3996 bytes)\r\nextracting\ + \ btman_pman_F0-0.18481_1.20230913140404.bin.gz (1319 bytes)\r\nextracting\ + \ cpp_cp_F0-0.17849_0.20230913140405.bin.gz (18978 bytes)\r\nextracting fman_fp_F0-0.18091_0.20230913140406.bin.gz\ + \ (12477 bytes)\r\nextracting hman_F0-0.18284_2.20230914014413.bin.gz (46015\ + \ bytes)\r\nextracting btman_F0-0.18488_4.20230914025458.bin.gz (67406 bytes)\r\ + \nextracting pvp_0-0.18967_0.20230914062806.bin.gz (5457 bytes)\r\nextracting\ + \ fman_fp_image_pman_F0-0.18071_1.20230914055927.bin.gz (1397 bytes)\r\nextracting\ + \ cpp_sp_svr_pman_F0-0.17739_1.20230914055927.bin.gz (1333 bytes)\r\nextracting\ + \ emd_pman_F0-0.17946_1.20230914055927.bin.gz (964 bytes)\r\nextracting cman_fp_pman_F0-0.18378_1.20230914055927.bin.gz\ + \ (995 bytes)\r\nextracting cpp_cdm_svr_pman_F0-0.17429_1.20230914055927.bin.gz\ + \ (1072 bytes)\r\nextracting shutdown_cc0_20230913140009.log (705 bytes)\r\ + \nextracting cpp_stats_svr_pman_F0-0.17326_1.20230914055927.bin.gz (1071 bytes)\r\ + \nextracting service_mgr_pman_F0-0.17120_1.20230914055927.bin.gz (1021 bytes)\r\ + \nextracting hman_pman_F0-0.18274_1.20230914055928.bin.gz (960 bytes)\r\n\ + extracting shutdown_rp0_20230914055929.log (1461 bytes)\r\nextracting repm_pman_R0-0.4730_0.20230913140333.bin.gz\ + \ (2564 bytes)\r\nextracting psvp_R0-0.3137_0.20230913140329.bin.gz (1882\ + \ bytes)\r\nextracting cli_agent_pman_R0-0.4958_0.20230913140333.bin.gz (3112\ + \ bytes)\r\nextracting autodns_pman_R0-0.4258_0.20230913140332.bin.gz (2590\ + \ bytes)\r\nextracting kernel_ftrace_log_R0-0.11650_0.20230913140352.bin.gz\ + \ (1750 bytes)\r\nextracting plogd_pman_R0-0.5506_0.20230913140334.bin.gz\ + \ (2569 bytes)\r\nextracting smand_pman_R0-0.5766_1.20230913140335.bin.gz\ + \ (1120 bytes)\r\nextracting btman_pman_R0-0.5880_1.20230913140335.bin.gz\ + \ (1205 bytes)\r\nextracting oom_R0-0.6485_0.20230913140337.bin.gz (635 bytes)\r\ + \nextracting iptbl_R0-0.7268_0.20230913140341.bin.gz (630 bytes)\r\nextracting\ + \ binos_R0-0.7482_0.20230913140341.bin.gz (835 bytes)\r\nextracting selinux_smu_R0-0.11591_0.20230913140352.bin.gz\ + \ (745 bytes)\r\nextracting emd_0-0.19570_0.20230914062807.bin.gz (5385 bytes)\r\ + \nextracting inst_rollback_timer_R0-0.11775_0.20230913140352.bin.gz (650 bytes)\r\ + \nextracting cmand_R0-0.3562_0.20230913140352.bin.gz (17628 bytes)\r\nextracting\ + \ cck_qat_R0-0.3680_0.20230913140353.bin.gz (3173 bytes)\r\nextracting sec_key_agent_R0-0.4021_0.20230913140354.bin.gz\ + \ (4369 bytes)\r\nextracting ofa_R0-0.4145_0.20230913140354.bin.gz (2213 bytes)\r\ + \nextracting pistisd_R0-0.13440_0.20230913140354.bin.gz (13849 bytes)\r\n\ + extracting autodns_R0-0.4266_0.20230913140354.bin.gz (1087 bytes)\r\nextracting\ + \ tamd_proc_R0-0.4379_0.20230913140355.bin.gz (2431 bytes)\r\nextracting tams_proc_R0-0.4494_0.20230913140355.bin.gz\ + \ (2842 bytes)\r\nextracting tam_svcs_esg_cfg_R0-0.4607_0.20230913140355.bin.gz\ + \ (2075 bytes)\r\nextracting lman_R0-0.14229_0.20230913140355.bin.gz (3679\ + \ bytes)\r\nextracting repm_R0-0.4737_0.20230913140356.bin.gz (4991 bytes)\r\ + \nextracting dbm_R0-0.4851_0.20230913140356.bin.gz (14140 bytes)\r\nextracting\ + \ cli_agent_R0-0.4964_0.20230913140356.bin.gz (6241 bytes)\r\nextracting smd_R0-0.5079_0.20230913140356.bin.gz\ + \ (19358 bytes)\r\nextracting emd_R0-0.5242_0.20230913140356.bin.gz (12230\ + \ bytes)\r\nextracting fman_rp_R0-0.5375_0.20230913140357.bin.gz (7865 bytes)\r\ + \nextracting psd_R0-0.5632_0.20230913140357.bin.gz (3909 bytes)\r\nextracting\ + \ periodic_sh_pman_R0-0.15611_0.20230913140358.bin.gz (3701 bytes)\r\nextracting\ + \ pvp_R0-0.3202_1.20230913140358.bin.gz (11508 bytes)\r\nextracting sort_files_by_inode_sh_pman_R0-0.15756_0.20230913140358.bin.gz\ + \ (5883 bytes)\r\nextracting smand_R0-0.5773_1.20230913140409.bin.gz (30825\ + \ bytes)\r\nextracting shutdown_journal_rp0_20230913134959.log (18563 bytes)\r\ + \nextracting reflector_R0-0.6983_3.20230913140410.bin.gz (615 bytes)\r\nextracting\ + \ ezman_0-0.19789_0.20230914062807.bin.gz (4434 bytes)\r\nextracting hman_0-0.20342_0.20230914062808.bin.gz\ + \ (10468 bytes)\r\nextracting paed_pman_R0-0.25470_0.20230913140453.bin.gz\ + \ (5571 bytes)\r\nextracting IOSRP_R0-0.3451_5.20230913152041.bin.gz (16689\ + \ bytes)\r\nextracting droputil_R0-0.6842_114.20230913165053.bin.gz (781 bytes)\r\ + \nextracting hman_pman_R0-0.6015_1.20230913220116.bin.gz (1087 bytes)\r\n\ + extracting hman_R0-0.6021_2.20230914013408.bin.gz (49332 bytes)\r\nextracting\ + \ paed_R0-0.27267_3.20230914031512.bin.gz (27907 bytes)\r\nextracting plogd_R0-0.5512_5.20230914040510.bin.gz\ + \ (1851 bytes)\r\nextracting service_mgr_R0-0.3798_132.20230914055256.bin.gz\ + \ (46328 bytes)\r\nextracting btman_R0-0.5887_55.20230914055659.bin.gz (11405\ + \ bytes)\r\nextracting utf_R0-0.5887_6688.20230914055921.bin.gz (559536 bytes)\r\ + \nextracting install_mgr_R0-0.12656_133649.20230914055926.bin.gz (31347 bytes)\r\ + \nextracting nginx_pman_R0-0.26376_5.20230914055927.bin.gz (474 bytes)\r\n\ + extracting lman_pman_R0-0.14221_1.20230914055927.bin.gz (993 bytes)\r\nextracting\ + \ auto_upgrade_client_sh_pman_R0-0.15319_3.20230914055927.bin.gz (564 bytes)\r\ + \nextracting install_mgr_pman_R0-0.12649_1.20230914055927.bin.gz (1017 bytes)\r\ + \nextracting psd_pman_R0-0.5625_1.20230914055927.bin.gz (978 bytes)\r\nextracting\ + \ emd_pman_R0-0.5236_1.20230914055927.bin.gz (934 bytes)\r\nextracting fman_rp_pman_R0-0.5365_1.20230914055927.bin.gz\ + \ (961 bytes)\r\nextracting sessmgrd_pman_R0-0.5072_1.20230914055927.bin.gz\ + \ (949 bytes)\r\nextracting ofa_pman_R0-0.4139_1.20230914055927.bin.gz (929\ + \ bytes)\r\nextracting keyman_pman_R0-0.4015_1.20230914055927.bin.gz (944\ + \ bytes)\r\nextracting service_mgr_pman_R0-0.3791_1.20230914055927.bin.gz\ + \ (970 bytes)\r\nextracting dbm_pman_R0-0.4844_1.20230914055927.bin.gz (926\ + \ bytes)\r\nextracting cck_qat_pman_R0-0.3673_1.20230914055927.bin.gz (951\ + \ bytes)\r\nextracting pistisd_pman_R0-0.13432_1.20230914055928.bin.gz (1024\ + \ bytes)\r\nextracting tam_svcs_esg_cfg_pman_R0-0.4601_1.20230914055929.bin.gz\ + \ (991 bytes)\r\nextracting tamd_proc_pman_R0-0.4372_1.20230914055929.bin.gz\ + \ (997 bytes)\r\nextracting tams_proc_pman_R0-0.4487_1.20230914055929.bin.gz\ + \ (942 bytes)\r\nextracting shutdown_journal_rp0_20230914055932.log (18000\ + \ bytes)\r\nextracting shutdown_cc0_20230914060728.log (705 bytes)\r\nextracting\ + \ cyaninit_R0-0.6053_0.20230914060312.bin.gz (1885 bytes)\r\nextracting shutdown_fp0_20230914060729.log\ + \ (633 bytes)\r\nextracting pvp_F0-0.17513_0.20230914060339.bin.gz (5573 bytes)\r\ + \nextracting pvp_0-0.19246_0.20230914060344.bin.gz (5452 bytes)\r\nextracting\ + \ emd_0-0.19845_0.20230914060344.bin.gz (3797 bytes)\r\nextracting ezman_0-0.20062_0.20230914060345.bin.gz\ + \ (4447 bytes)\r\nextracting hman_0-0.20604_0.20230914060346.bin.gz (3249\ + \ bytes)\r\nextracting cmcc_0-0.20712_0.20230914060346.bin.gz (6194 bytes)\r\ + \nextracting btman_pman_0-0.20813_1.20230914060346.bin.gz (1262 bytes)\r\n\ + extracting shutdown_fp0_20230913140010.log (633 bytes)\r\nextracting btman_0-0.20819_0.20230914060346.bin.gz\ + \ (8292 bytes)\r\nextracting IOSCC_0-1.22004_0.20230914060348.bin.gz (6304\ + \ bytes)\r\nextracting IOSCC_0-0.21671_0.20230914060348.bin.gz (7040 bytes)\r\ + \nextracting IOSCC_0-2.22337_0.20230914060349.bin.gz (7230 bytes)\r\nextracting\ + \ mcpcc_lc_ms_pman_0-2.22330_4.20230914060402.bin.gz (1572 bytes)\r\nextracting\ + \ ezman_pman_0-0.20055_1.20230914060728.bin.gz (997 bytes)\r\nextracting emd_pman_0-0.19836_1.20230914060728.bin.gz\ + \ (969 bytes)\r\nextracting hman_pman_0-0.20597_1.20230914060728.bin.gz (971\ + \ bytes)\r\nextracting cmcc_pman_0-0.20705_1.20230914060728.bin.gz (991 bytes)\r\ + \nextracting mcpcc_lc_ms_pman_0-1.21997_4.20230914060728.bin.gz (841 bytes)\r\ + \nextracting mcpcc_lc_ms_pman_0-0.21660_6.20230914060728.bin.gz (392 bytes)\r\ + \nextracting cmcc_0-0.20450_0.20230914062808.bin.gz (6312 bytes)\r\nextracting\ + \ cpp_driver_pman_F0-0.18183_1.20230914060340.bin.gz (1162 bytes)\r\nextracting\ + \ service_mgr_F0-0.17676_0.20230914060339.bin.gz (5745 bytes)\r\nextracting\ + \ cpp_cdm_F0-0.17983_0.20230914060340.bin.gz (3174 bytes)\r\nextracting cpp_ha_top_level_server_pman_F0-0.18079_1.20230914060340.bin.gz\ + \ (1191 bytes)\r\nextracting cpp_ha_F0-0.18086_0.20230914060340.bin.gz (4951\ + \ bytes)\r\nextracting cpp_sp_svr_pman_F0-0.18286_1.20230914060728.bin.gz\ + \ (1331 bytes)\r\nextracting cpp_driver_F0-0.18192_0.20230914060340.bin.gz\ + \ (3912 bytes)\r\nextracting cpp_sp_F0-0.18293_0.20230914060340.bin.gz (4356\ + \ bytes)\r\nextracting emd_F0-0.18499_0.20230914060340.bin.gz (4303 bytes)\r\ + \nextracting hman_F0-0.18705_0.20230914060341.bin.gz (3244 bytes)\r\nextracting\ + \ cman_fp_F0-0.18809_0.20230914060341.bin.gz (3999 bytes)\r\nextracting cpp_stats_F0-0.17879_0.20230914060341.bin.gz\ + \ (3973 bytes)\r\nextracting btman_pman_F0-0.18905_1.20230914060341.bin.gz\ + \ (1260 bytes)\r\nextracting btman_F0-0.18912_0.20230914060341.bin.gz (8060\ + \ bytes)\r\nextracting shutdown_rp0_20230913140011.log (1461 bytes)\r\nextracting\ + \ cpp_cp_F0-0.18396_0.20230914060342.bin.gz (18947 bytes)\r\nextracting fman_fp_F0-0.18605_0.20230914060343.bin.gz\ + \ (11699 bytes)\r\nextracting memmon_log_20230914_080612_UTC_1694678772.tar.gz\ + \ (31076 bytes)\r\nextracting fman_fp_image_pman_F0-0.18595_1.20230914060728.bin.gz\ + \ (1395 bytes)\r\nextracting cpp_cp_svr_pman_F0-0.18389_1.20230914060728.bin.gz\ + \ (1449 bytes)\r\nextracting cpp_cdm_svr_pman_F0-0.17976_1.20230914060728.bin.gz\ + \ (1075 bytes)\r\nextracting cpp_stats_svr_pman_F0-0.17873_1.20230914060728.bin.gz\ + \ (1062 bytes)\r\nextracting service_mgr_pman_F0-0.17667_1.20230914060728.bin.gz\ + \ (1022 bytes)\r\nextracting emd_pman_F0-0.18492_1.20230914060728.bin.gz (962\ + \ bytes)\r\nextracting cman_fp_pman_F0-0.18802_1.20230914060728.bin.gz (989\ + \ bytes)\r\nextracting hman_pman_F0-0.18698_1.20230914060729.bin.gz (966 bytes)\r\ + \nextracting shutdown_rp0_20230914060730.log (1461 bytes)\r\nextracting repm_pman_R0-0.4687_0.20230914060309.bin.gz\ + \ (2562 bytes)\r\nextracting psvp_R0-0.3094_0.20230914060306.bin.gz (1894\ + \ bytes)\r\nextracting cli_agent_pman_R0-0.4915_0.20230914060310.bin.gz (3114\ + \ bytes)\r\nextracting autodns_pman_R0-0.4215_0.20230914060309.bin.gz (2579\ + \ bytes)\r\nextracting kernel_ftrace_log_R0-0.11709_0.20230914060328.bin.gz\ + \ (1747 bytes)\r\nextracting plogd_pman_R0-0.5460_0.20230914060311.bin.gz\ + \ (2567 bytes)\r\nextracting smand_pman_R0-0.5720_1.20230914060311.bin.gz\ + \ (1110 bytes)\r\nextracting btman_pman_R0-0.5840_1.20230914060312.bin.gz\ + \ (1141 bytes)\r\nextracting oom_R0-0.6430_0.20230914060314.bin.gz (632 bytes)\r\ + \nextracting iptbl_R0-0.7206_0.20230914060318.bin.gz (631 bytes)\r\nextracting\ + \ binos_R0-0.7416_0.20230914060318.bin.gz (835 bytes)\r\nextracting selinux_smu_R0-0.11683_0.20230914060328.bin.gz\ + \ (747 bytes)\r\nextracting inst_rollback_timer_R0-0.11851_0.20230914060329.bin.gz\ + \ (651 bytes)\r\nextracting IOSRP_R0-0.3408_0.20230914060329.bin.gz (105630\ + \ bytes)\r\nextracting cmand_R0-0.3520_0.20230914060329.bin.gz (15570 bytes)\r\ + \nextracting psd_R0-0.5586_0.20230914060330.bin.gz (7050 bytes)\r\nextracting\ + \ vman_R0-0.12577_0.20230914060330.bin.gz (5405 bytes)\r\nextracting smd_R0-0.5045_0.20230914060330.bin.gz\ + \ (19397 bytes)\r\nextracting service_mgr_R0-0.3754_0.20230914060331.bin.gz\ + \ (25715 bytes)\r\nextracting repm_R0-0.4694_0.20230914060331.bin.gz (4983\ + \ bytes)\r\nextracting pistisd_R0-0.13914_0.20230914060331.bin.gz (13759 bytes)\r\ + \nextracting plogd_R0-0.5466_3.20230914060331.bin.gz (6638 bytes)\r\nextracting\ + \ ofa_R0-0.4103_0.20230914060332.bin.gz (2217 bytes)\r\nextracting lman_R0-0.14270_0.20230914060332.bin.gz\ + \ (3612 bytes)\r\nextracting sec_key_agent_R0-0.3979_0.20230914060332.bin.gz\ + \ (4128 bytes)\r\nextracting install_mgr_R0-0.14697_0.20230914060333.bin.gz\ + \ (28907 bytes)\r\nextracting hman_R0-0.6012_0.20230914060333.bin.gz (4977\ + \ bytes)\r\nextracting fman_rp_R0-0.5331_0.20230914060333.bin.gz (7661 bytes)\r\ + \nextracting emd_R0-0.5206_0.20230914060333.bin.gz (12131 bytes)\r\nextracting\ + \ shutdown_cc0_20230914062350.log (705 bytes)\r\nextracting dbm_R0-0.4808_0.20230914060333.bin.gz\ + \ (13709 bytes)\r\nextracting cli_agent_R0-0.4921_0.20230914060334.bin.gz\ + \ (6420 bytes)\r\nextracting cck_qat_R0-0.3637_0.20230914060334.bin.gz (3064\ + \ bytes)\r\nextracting btman_R0-0.5849_0.20230914060334.bin.gz (12583 bytes)\r\ + \nextracting utf_R0-0.5849_0.20230914060334.bin.gz (619129 bytes)\r\nextracting\ + \ tams_proc_R0-0.4451_0.20230914060334.bin.gz (2846 bytes)\r\nextracting tamd_proc_R0-0.4336_0.20230914060335.bin.gz\ + \ (2424 bytes)\r\nextracting periodic_sh_pman_R0-0.16295_0.20230914060335.bin.gz\ + \ (3727 bytes)\r\nextracting sort_files_by_inode_sh_pman_R0-0.16000_0.20230914060335.bin.gz\ + \ (3600 bytes)\r\nextracting tam_svcs_esg_cfg_R0-0.4564_0.20230914060335.bin.gz\ + \ (2090 bytes)\r\nextracting autodns_R0-0.4222_0.20230914060336.bin.gz (1063\ + \ bytes)\r\nextracting pvp_R0-0.3159_1.20230914060336.bin.gz (5077 bytes)\r\ + \nextracting smand_R0-0.5726_1.20230914060342.bin.gz (21806 bytes)\r\nextracting\ + \ reflector_R0-0.6937_3.20230914060347.bin.gz (615 bytes)\r\nextracting btman_pman_0-0.20551_1.20230914062808.bin.gz\ + \ (1324 bytes)\r\nextracting btman_0-0.20557_0.20230914062808.bin.gz (20155\ + \ bytes)\r\nextracting hman_pman_R0-0.6003_1.20230914060648.bin.gz (1079 bytes)\r\ + \nextracting droputil_R0-0.6796_11.20230914060713.bin.gz (642 bytes)\r\nextracting\ + \ linux_iosd_image_pman_R0-0.3369_2.20230914060723.bin.gz (1438 bytes)\r\n\ + extracting cmand_pman_R0-0.3513_1.20230914060727.bin.gz (957 bytes)\r\nextracting\ + \ install_mgr_pman_R0-0.14691_1.20230914060728.bin.gz (1013 bytes)\r\nextracting\ + \ auto_upgrade_client_sh_pman_R0-0.16934_3.20230914060728.bin.gz (567 bytes)\r\ + \nextracting nginx_pman_R0-0.23114_5.20230914060728.bin.gz (508 bytes)\r\n\ + extracting lman_pman_R0-0.14263_1.20230914060728.bin.gz (991 bytes)\r\nextracting\ + \ psd_pman_R0-0.5579_1.20230914060728.bin.gz (989 bytes)\r\nextracting ofa_pman_R0-0.4096_1.20230914060728.bin.gz\ + \ (931 bytes)\r\nextracting emd_pman_R0-0.5199_1.20230914060728.bin.gz (932\ + \ bytes)\r\nextracting keyman_pman_R0-0.3972_1.20230914060728.bin.gz (942\ + \ bytes)\r\nextracting service_mgr_pman_R0-0.3748_1.20230914060728.bin.gz\ + \ (981 bytes)\r\nextracting fman_rp_pman_R0-0.5319_1.20230914060728.bin.gz\ + \ (961 bytes)\r\nextracting sessmgrd_pman_R0-0.5032_1.20230914060728.bin.gz\ + \ (954 bytes)\r\nextracting dbm_pman_R0-0.4801_1.20230914060728.bin.gz (930\ + \ bytes)\r\nextracting vman_pman_R0-0.12570_1.20230914060728.bin.gz (1075\ + \ bytes)\r\nextracting cck_qat_pman_R0-0.3630_1.20230914060729.bin.gz (943\ + \ bytes)\r\nextracting pistisd_pman_R0-0.13907_1.20230914060730.bin.gz (1022\ + \ bytes)\r\nextracting tam_svcs_esg_cfg_pman_R0-0.4558_1.20230914060730.bin.gz\ + \ (993 bytes)\r\nextracting tamd_proc_pman_R0-0.4329_1.20230914060730.bin.gz\ + \ (1007 bytes)\r\nextracting tams_proc_pman_R0-0.4444_1.20230914060730.bin.gz\ + \ (943 bytes)\r\nextracting shutdown_journal_rp0_20230914060732.log (211918\ + \ bytes)\r\nextracting pvp_0-0.18855_0.20230914061143.bin.gz (5467 bytes)\r\ + \nextracting cyaninit_R0-0.6098_0.20230914061112.bin.gz (1885 bytes)\r\nextracting\ + \ btman_pman_0-0.20439_1.20230914061146.bin.gz (1320 bytes)\r\nextracting\ + \ emd_0-0.19461_0.20230914061144.bin.gz (4287 bytes)\r\nextracting ezman_0-0.19677_0.20230914061145.bin.gz\ + \ (4432 bytes)\r\nextracting hman_0-0.20230_0.20230914061145.bin.gz (7165\ + \ bytes)\r\nextracting cmcc_0-0.20338_0.20230914061145.bin.gz (6206 bytes)\r\ + \nextracting shutdown_fp0_20230914062351.log (633 bytes)\r\nextracting shutdown_journal_rp0_20230913140013.log\ + \ (210690 bytes)\r\nextracting btman_0-0.20445_0.20230914061146.bin.gz (12065\ + \ bytes)\r\nextracting IOSCC_0-0.21293_0.20230914061148.bin.gz (7302 bytes)\r\ + \nextracting IOSCC_0-1.21617_0.20230914061148.bin.gz (6338 bytes)\r\nextracting\ + \ IOSCC_0-2.21994_0.20230914061148.bin.gz (7134 bytes)\r\nextracting create_utm_luid_file_db_0-0.25976_0.20230914061646.bin.gz\ + \ (1740 bytes)\r\nextracting mcpcc_lc_ms_pman_0-2.21987_4.20230914062232.bin.gz\ + \ (1420 bytes)\r\nextracting emd_pman_0-0.19451_1.20230914062350.bin.gz (971\ + \ bytes)\r\nextracting hman_pman_0-0.20223_1.20230914062350.bin.gz (968 bytes)\r\ + \nextracting ezman_pman_0-0.19670_1.20230914062350.bin.gz (988 bytes)\r\n\ + extracting cmcc_pman_0-0.20331_1.20230914062350.bin.gz (990 bytes)\r\nextracting\ + \ mcpcc_lc_ms_pman_0-0.21282_6.20230914062350.bin.gz (551 bytes)\r\nextracting\ + \ mcpcc_lc_ms_pman_0-1.21610_4.20230914062350.bin.gz (839 bytes)\r\nextracting\ + \ cpp_cdm_F0-0.17599_0.20230914061139.bin.gz (3169 bytes)\r\nextracting pvp_F0-0.17123_0.20230914061138.bin.gz\ + \ (5598 bytes)\r\nextracting cpp_driver_pman_F0-0.17797_1.20230914061139.bin.gz\ + \ (1163 bytes)\r\nextracting service_mgr_F0-0.17290_0.20230914061139.bin.gz\ + \ (5725 bytes)\r\nextracting cpp_ha_F0-0.17700_0.20230914061139.bin.gz (5080\ + \ bytes)\r\nextracting cpp_ha_top_level_server_pman_F0-0.17693_1.20230914061139.bin.gz\ + \ (1190 bytes)\r\nextracting cpp_cp_svr_pman_F0-0.18003_1.20230914062350.bin.gz\ + \ (1447 bytes)\r\nextracting cpp_driver_F0-0.17804_0.20230914061140.bin.gz\ + \ (3904 bytes)\r\nextracting cpp_sp_F0-0.17907_0.20230914061140.bin.gz (4361\ + \ bytes)\r\nextracting emd_F0-0.18115_0.20230914061140.bin.gz (4808 bytes)\r\ + \nextracting hman_F0-0.18320_0.20230914061140.bin.gz (7283 bytes)\r\nextracting\ + \ cman_fp_F0-0.18424_0.20230914061141.bin.gz (3990 bytes)\r\nextracting cpp_stats_F0-0.17494_0.20230914061141.bin.gz\ + \ (3957 bytes)\r\nextracting btman_pman_F0-0.18519_1.20230914061141.bin.gz\ + \ (1319 bytes)\r\nextracting btman_F0-0.18526_0.20230914061141.bin.gz (11742\ + \ bytes)\r\nextracting cpp_cp_F0-0.18010_0.20230914061142.bin.gz (18997 bytes)\r\ + \nextracting fman_fp_F0-0.18224_0.20230914061142.bin.gz (11692 bytes)\r\n\ + extracting shutdown_rp0_20230914062352.log (1461 bytes)\r\nextracting create_utm_luid_file_db_F0-0.25846_0.20230914061641.bin.gz\ + \ (1744 bytes)\r\nextracting fman_fp_image_pman_F0-0.18210_1.20230914062350.bin.gz\ + \ (1393 bytes)\r\nextracting cpp_sp_svr_pman_F0-0.17900_1.20230914062350.bin.gz\ + \ (1330 bytes)\r\nextracting cpp_cdm_svr_pman_F0-0.17590_1.20230914062350.bin.gz\ + \ (1068 bytes)\r\nextracting cpp_stats_svr_pman_F0-0.17487_1.20230914062350.bin.gz\ + \ (1057 bytes)\r\nextracting cman_fp_pman_F0-0.18416_1.20230914062350.bin.gz\ + \ (996 bytes)\r\nextracting service_mgr_pman_F0-0.17281_1.20230914062350.bin.gz\ + \ (1022 bytes)\r\nextracting emd_pman_F0-0.18107_1.20230914062350.bin.gz (963\ + \ bytes)\r\nextracting hman_pman_F0-0.18313_1.20230914062351.bin.gz (965 bytes)\r\ + \nextracting btman_rotate_immediate_R0-0.31039_0.20230914062351.bin.gz (4673\ + \ bytes)\r\nextracting repm_pman_R0-0.4731_0.20230914061109.bin.gz (2554 bytes)\r\ + \nextracting psvp_R0-0.3138_0.20230914061106.bin.gz (1891 bytes)\r\nextracting\ + \ cli_agent_pman_R0-0.4959_0.20230914061110.bin.gz (3111 bytes)\r\nextracting\ + \ autodns_pman_R0-0.4259_0.20230914061108.bin.gz (2579 bytes)\r\nextracting\ + \ kernel_ftrace_log_R0-0.11767_0.20230914061128.bin.gz (1749 bytes)\r\nextracting\ + \ plogd_pman_R0-0.5505_0.20230914061110.bin.gz (2568 bytes)\r\nextracting\ + \ smand_pman_R0-0.5765_1.20230914061111.bin.gz (1119 bytes)\r\nextracting\ + \ btman_pman_R0-0.5879_1.20230914061111.bin.gz (1207 bytes)\r\nextracting\ + \ oom_R0-0.6466_0.20230914061114.bin.gz (634 bytes)\r\nextracting iptbl_R0-0.7246_0.20230914061117.bin.gz\ + \ (630 bytes)\r\nextracting binos_R0-0.7464_0.20230914061118.bin.gz (836 bytes)\r\ + \nextracting selinux_smu_R0-0.11722_0.20230914061128.bin.gz (743 bytes)\r\n\ + extracting create_utm_luid_file_db_R0-0.25446_0.20230914061635.bin.gz (1749\ + \ bytes)\r\nextracting inst_rollback_timer_R0-0.11895_0.20230914061128.bin.gz\ + \ (648 bytes)\r\nextracting cmand_R0-0.3563_0.20230914061129.bin.gz (15839\ + \ bytes)\r\nextracting cck_qat_R0-0.3680_0.20230914061129.bin.gz (3175 bytes)\r\ + \nextracting install_mgr_R0-0.12781_0.20230914061130.bin.gz (30355 bytes)\r\ + \nextracting sec_key_agent_R0-0.4023_0.20230914061130.bin.gz (4127 bytes)\r\ + \nextracting IOSRP_R0-0.3455_1.20230914061130.bin.gz (29247 bytes)\r\nextracting\ + \ ofa_R0-0.4147_0.20230914061130.bin.gz (2216 bytes)\r\nextracting pistisd_R0-0.13565_0.20230914061131.bin.gz\ + \ (13856 bytes)\r\nextracting autodns_R0-0.4266_0.20230914061131.bin.gz (1064\ + \ bytes)\r\nextracting tamd_proc_R0-0.4380_0.20230914061131.bin.gz (2432 bytes)\r\ + \nextracting tams_proc_R0-0.4495_0.20230914061131.bin.gz (2838 bytes)\r\n\ + extracting tam_svcs_esg_cfg_R0-0.4608_0.20230914061131.bin.gz (2073 bytes)\r\ + \nextracting lman_R0-0.14354_0.20230914061132.bin.gz (3614 bytes)\r\nextracting\ + \ repm_R0-0.4738_0.20230914061132.bin.gz (4999 bytes)\r\nextracting dbm_R0-0.4852_0.20230914061132.bin.gz\ + \ (15084 bytes)\r\nextracting cli_agent_R0-0.4966_0.20230914061133.bin.gz\ + \ (6250 bytes)\r\nextracting smd_R0-0.5080_0.20230914061133.bin.gz (19501\ + \ bytes)\r\nextracting emd_R0-0.5244_0.20230914061133.bin.gz (12276 bytes)\r\ + \nextracting fman_rp_R0-0.5373_0.20230914061133.bin.gz (7769 bytes)\r\nextracting\ + \ plogd_R0-0.5511_3.20230914061134.bin.gz (5987 bytes)\r\nextracting psd_R0-0.5630_0.20230914061134.bin.gz\ + \ (3865 bytes)\r\nextracting periodic_sh_pman_R0-0.15726_0.20230914061134.bin.gz\ + \ (3727 bytes)\r\nextracting btman_R0-0.5884_0.20230914061135.bin.gz (17024\ + \ bytes)\r\nextracting sort_files_by_inode_sh_pman_R0-0.15881_0.20230914061134.bin.gz\ + \ (3591 bytes)\r\nextracting utf_R0-0.5884_0.20230914061135.bin.gz (739964\ + \ bytes)\r\nextracting hman_R0-0.6035_0.20230914061135.bin.gz (9082 bytes)\r\ + \nextracting pvp_R0-0.3203_1.20230914061135.bin.gz (4862 bytes)\r\nextracting\ + \ smand_R0-0.5771_1.20230914061145.bin.gz (22086 bytes)\r\nextracting reflector_R0-0.6982_3.20230914061146.bin.gz\ + \ (615 bytes)\r\nextracting IOSCC_0-1.21729_0.20230914062811.bin.gz (6354\ + \ bytes)\r\nextracting IOSCC_0-0.21406_0.20230914062811.bin.gz (7325 bytes)\r\ + \nextracting hman_pman_R0-0.6029_1.20230914061847.bin.gz (1082 bytes)\r\n\ + extracting paed_R0-0.25973_0.20230914061645.bin.gz (15666 bytes)\r\nextracting\ + \ install_mgr_pman_R0-0.12774_1.20230914062350.bin.gz (1020 bytes)\r\nextracting\ + \ service_mgr_R0-0.3799_1.20230914062109.bin.gz (16322 bytes)\r\nextracting\ + \ droputil_R0-0.6841_22.20230914062345.bin.gz (385 bytes)\r\nextracting linux_iosd_image_pman_R0-0.3413_2.20230914062345.bin.gz\ + \ (1438 bytes)\r\nextracting cmand_pman_R0-0.3557_1.20230914062349.bin.gz\ + \ (960 bytes)\r\nextracting nginx_pman_R0-0.23147_5.20230914062350.bin.gz\ + \ (440 bytes)\r\nextracting auto_upgrade_client_sh_pman_R0-0.15444_3.20230914062350.bin.gz\ + \ (566 bytes)\r\nextracting lman_pman_R0-0.14347_1.20230914062350.bin.gz (980\ + \ bytes)\r\nextracting keyman_pman_R0-0.4016_1.20230914062350.bin.gz (946\ + \ bytes)\r\nextracting psd_pman_R0-0.5624_1.20230914062350.bin.gz (977 bytes)\r\ + \nextracting emd_pman_R0-0.5237_1.20230914062350.bin.gz (933 bytes)\r\nextracting\ + \ ofa_pman_R0-0.4140_1.20230914062350.bin.gz (936 bytes)\r\nextracting tam_svcs_esg_cfg_pman_R0-0.4602_1.20230914062352.bin.gz\ + \ (991 bytes)\r\nextracting service_mgr_pman_R0-0.3792_1.20230914062350.bin.gz\ + \ (967 bytes)\r\nextracting fman_rp_pman_R0-0.5364_1.20230914062350.bin.gz\ + \ (959 bytes)\r\nextracting sessmgrd_pman_R0-0.5073_1.20230914062350.bin.gz\ + \ (954 bytes)\r\nextracting dbm_pman_R0-0.4845_1.20230914062350.bin.gz (930\ + \ bytes)\r\nextracting cck_qat_pman_R0-0.3674_1.20230914062351.bin.gz (946\ + \ bytes)\r\nextracting pistisd_pman_R0-0.13558_1.20230914062351.bin.gz (1020\ + \ bytes)\r\nextracting shutdown_journal_rp0_20230914062354.log (18825 bytes)\r\ + \nextracting tamd_proc_pman_R0-0.4373_1.20230914062352.bin.gz (1008 bytes)\r\ + \nextracting tams_proc_pman_R0-0.4488_1.20230914062352.bin.gz (946 bytes)\r\ + \nextracting IOSCC_0-2.22107_0.20230914062811.bin.gz (7120 bytes)\r\nextracting\ + \ btman_rotate_immediate_R0-0.31141_0.20230914062352.bin.gz (8050 bytes)\r\ + \nextracting cyaninit_R0-0.6091_0.20230914062734.bin.gz (1889 bytes)\r\nextracting\ + \ mcpcc_lc_ms_pman_0-2.22100_4.20230914070019.bin.gz (1382 bytes)\r\nextracting\ + \ create_utm_luid_file_db_0-0.26684_0.20230914063308.bin.gz (1744 bytes)\r\ + \nextracting ezman_pman_0-0.19782_1.20230914070149.bin.gz (1000 bytes)\r\n\ + extracting emd_pman_0-0.19563_1.20230914070149.bin.gz (973 bytes)\r\nextracting\ + \ hman_pman_0-0.20335_1.20230914070149.bin.gz (965 bytes)\r\nextracting cmcc_pman_0-0.20443_1.20230914070149.bin.gz\ + \ (994 bytes)\r\nextracting mcpcc_lc_ms_pman_0-1.21722_4.20230914070149.bin.gz\ + \ (842 bytes)\r\nextracting mcpcc_lc_ms_pman_0-0.21394_6.20230914070149.bin.gz\ + \ (553 bytes)\r\nextracting cpp_ha_top_level_server_pman_F0-0.17805_1.20230914062802.bin.gz\ + \ (1189 bytes)\r\nextracting btman_rotate_immediate_R0-0.20024_0.20230914070149.bin.gz\ + \ (3819 bytes)\r\nextracting pvp_F0-0.17235_0.20230914062801.bin.gz (5590\ + \ bytes)\r\nextracting service_mgr_F0-0.17402_0.20230914062801.bin.gz (5735\ + \ bytes)\r\nextracting cpp_driver_F0-0.17918_0.20230914062802.bin.gz (3918\ + \ bytes)\r\nextracting cpp_cdm_F0-0.17708_0.20230914062802.bin.gz (3168 bytes)\r\ + \nextracting cpp_ha_F0-0.17812_0.20230914062802.bin.gz (5216 bytes)\r\nextracting\ + \ fman_fp_image_pman_F0-0.18322_1.20230914070149.bin.gz (1392 bytes)\r\nextracting\ + \ cpp_driver_pman_F0-0.17909_1.20230914062802.bin.gz (1169 bytes)\r\nextracting\ + \ cpp_sp_F0-0.18018_0.20230914062802.bin.gz (4367 bytes)\r\nextracting emd_F0-0.18225_0.20230914062803.bin.gz\ + \ (5913 bytes)\r\nextracting hman_F0-0.18432_0.20230914062803.bin.gz (10525\ + \ bytes)\r\nextracting cman_fp_F0-0.18535_0.20230914062803.bin.gz (3988 bytes)\r\ + \nextracting cpp_stats_F0-0.17606_0.20230914062803.bin.gz (3966 bytes)\r\n\ + extracting btman_pman_F0-0.18631_1.20230914062804.bin.gz (1320 bytes)\r\n\ + extracting btman_F0-0.18638_0.20230914062804.bin.gz (19814 bytes)\r\nextracting\ + \ cpp_cp_F0-0.18122_0.20230914062804.bin.gz (18907 bytes)\r\nextracting fman_fp_F0-0.18334_0.20230914062805.bin.gz\ + \ (11708 bytes)\r\nextracting shutdown_rp0_20230914070150.log (1461 bytes)\r\ + \nextracting create_utm_luid_file_db_F0-0.26554_0.20230914063304.bin.gz (1746\ + \ bytes)\r\nextracting cpp_sp_svr_pman_F0-0.18012_1.20230914070149.bin.gz\ + \ (1331 bytes)\r\nextracting emd_pman_F0-0.18218_1.20230914070149.bin.gz (968\ + \ bytes)\r\nextracting cpp_cp_svr_pman_F0-0.18115_1.20230914070149.bin.gz\ + \ (1451 bytes)\r\nextracting cpp_cdm_svr_pman_F0-0.17702_1.20230914070149.bin.gz\ + \ (1068 bytes)\r\nextracting cpp_stats_svr_pman_F0-0.17599_1.20230914070149.bin.gz\ + \ (1075 bytes)\r\nextracting cman_fp_pman_F0-0.18528_1.20230914070149.bin.gz\ + \ (992 bytes)\r\nextracting service_mgr_pman_F0-0.17393_1.20230914070149.bin.gz\ + \ (1025 bytes)\r\nextracting hman_pman_F0-0.18425_1.20230914070149.bin.gz\ + \ (968 bytes)\r\nextracting btman_rotate_immediate_R0-0.20143_0.20230914070150.bin.gz\ + \ (4678 bytes)\r\nextracting repm_pman_R0-0.4726_0.20230914062732.bin.gz (2572\ + \ bytes)\r\nextracting psvp_R0-0.3133_0.20230914062728.bin.gz (1890 bytes)\r\ + \nextracting cli_agent_pman_R0-0.4954_0.20230914062732.bin.gz (3116 bytes)\r\ + \nextracting autodns_pman_R0-0.4254_0.20230914062731.bin.gz (2588 bytes)\r\ + \nextracting kernel_ftrace_log_R0-0.11760_0.20230914062751.bin.gz (1749 bytes)\r\ + \nextracting plogd_pman_R0-0.5498_0.20230914062733.bin.gz (2563 bytes)\r\n\ + extracting smand_pman_R0-0.5758_1.20230914062734.bin.gz (1120 bytes)\r\nextracting\ + \ btman_pman_R0-0.5881_1.20230914062734.bin.gz (1209 bytes)\r\nextracting\ + \ oom_R0-0.6464_0.20230914062736.bin.gz (634 bytes)\r\nextracting iptbl_R0-0.7244_0.20230914062740.bin.gz\ + \ (628 bytes)\r\nextracting binos_R0-0.7473_0.20230914062740.bin.gz (836 bytes)\r\ + \nextracting selinux_smu_R0-0.11718_0.20230914062751.bin.gz (745 bytes)\r\n\ + extracting create_utm_luid_file_db_R0-0.26153_0.20230914063258.bin.gz (1751\ + \ bytes)\r\nextracting inst_rollback_timer_R0-0.11892_0.20230914062751.bin.gz\ + \ (649 bytes)\r\nextracting cmand_R0-0.3558_0.20230914062752.bin.gz (17187\ + \ bytes)\r\nextracting cck_qat_R0-0.3676_0.20230914062752.bin.gz (3178 bytes)\r\ + \nextracting sec_key_agent_R0-0.4018_0.20230914062753.bin.gz (4323 bytes)\r\ + \nextracting IOSRP_R0-0.3442_1.20230914062753.bin.gz (35313 bytes)\r\nextracting\ + \ ofa_R0-0.4142_0.20230914062753.bin.gz (2215 bytes)\r\nextracting pistisd_R0-0.13558_0.20230914062753.bin.gz\ + \ (13863 bytes)\r\nextracting autodns_R0-0.4261_0.20230914062754.bin.gz (1081\ + \ bytes)\r\nextracting tamd_proc_R0-0.4375_0.20230914062754.bin.gz (2427 bytes)\r\ + \nextracting tams_proc_R0-0.4490_0.20230914062754.bin.gz (2817 bytes)\r\n\ + extracting tam_svcs_esg_cfg_R0-0.4603_0.20230914062754.bin.gz (2074 bytes)\r\ + \nextracting lman_R0-0.14347_0.20230914062755.bin.gz (3664 bytes)\r\nextracting\ + \ repm_R0-0.4733_0.20230914062755.bin.gz (4991 bytes)\r\nextracting dbm_R0-0.4846_0.20230914062755.bin.gz\ + \ (15057 bytes)\r\nextracting cli_agent_R0-0.4962_0.20230914062755.bin.gz\ + \ (6256 bytes)\r\nextracting smd_R0-0.5109_0.20230914062756.bin.gz (19790\ + \ bytes)\r\nextracting emd_R0-0.5244_0.20230914062756.bin.gz (12271 bytes)\r\ + \nextracting fman_rp_R0-0.5369_0.20230914062756.bin.gz (7767 bytes)\r\nextracting\ + \ plogd_R0-0.5504_3.20230914062756.bin.gz (6653 bytes)\r\nextracting psd_R0-0.5625_0.20230914062756.bin.gz\ + \ (3865 bytes)\r\nextracting periodic_sh_pman_R0-0.15726_0.20230914062757.bin.gz\ + \ (3732 bytes)\r\nextracting btman_R0-0.5900_0.20230914062758.bin.gz (30865\ + \ bytes)\r\nextracting sort_files_by_inode_sh_pman_R0-0.15874_0.20230914062757.bin.gz\ + \ (3591 bytes)\r\nextracting hman_R0-0.6064_0.20230914062758.bin.gz (12489\ + \ bytes)\r\nextracting pvp_R0-0.3198_1.20230914062758.bin.gz (9191 bytes)\r\ + \nextracting smand_R0-0.5764_1.20230914062808.bin.gz (22140 bytes)\r\nextracting\ + \ reflector_R0-0.6975_3.20230914062809.bin.gz (619 bytes)\r\nextracting IOSRP_R0-1.15254_0.20230914070049.bin.gz\ + \ (56456 bytes)\r\nextracting paed_R0-0.26681_0.20230914063308.bin.gz (15670\ + \ bytes)\r\nextracting install_mgr_R0-0.12774_200.20230914070148.bin.gz (31421\ + \ bytes)\r\nextracting service_mgr_R0-0.3793_3.20230914065643.bin.gz (29565\ + \ bytes)\r\nextracting psd_R0-1.16970_0.20230914070050.bin.gz (2974 bytes)\r\ + \nextracting fman_rp_R0-1.16831_0.20230914070050.bin.gz (6843 bytes)\r\nextracting\ + \ droputil_R0-0.6834_47.20230914070138.bin.gz (495 bytes)\r\nextracting utf_R0-0.5900_10.20230914070146.bin.gz\ + \ (329775 bytes)\r\nextracting cmand_pman_R0-0.3552_1.20230914070148.bin.gz\ + \ (959 bytes)\r\nextracting linux_iosd_image_pman_R0-0.3408_3.20230914070148.bin.gz\ + \ (1087 bytes)\r\nextracting shutdown_journal_rp0_20230914070153.log (20467\ + \ bytes)\r\nextracting auto_upgrade_client_sh_pman_R0-0.15437_3.20230914070148.bin.gz\ + \ (568 bytes)\r\nextracting nginx_pman_R0-0.23378_5.20230914070148.bin.gz\ + \ (440 bytes)\r\nextracting install_mgr_pman_R0-0.12767_1.20230914070148.bin.gz\ + \ (1025 bytes)\r\nextracting psd_pman_R0-0.5617_1.20230914070148.bin.gz (988\ + \ bytes)\r\nextracting lman_pman_R0-0.14340_1.20230914070148.bin.gz (978 bytes)\r\ + \nextracting emd_pman_R0-0.5237_1.20230914070148.bin.gz (936 bytes)\r\nextracting\ + \ keyman_pman_R0-0.4011_1.20230914070149.bin.gz (947 bytes)\r\nextracting\ + \ ofa_pman_R0-0.4135_1.20230914070149.bin.gz (931 bytes)\r\nextracting fman_rp_pman_R0-0.5357_1.20230914070149.bin.gz\ + \ (960 bytes)\r\nextracting service_mgr_pman_R0-0.3787_1.20230914070149.bin.gz\ + \ (971 bytes)\r\nextracting sessmgrd_pman_R0-0.5102_1.20230914070149.bin.gz\ + \ (949 bytes)\r\nextracting dbm_pman_R0-0.4840_1.20230914070149.bin.gz (929\ + \ bytes)\r\nextracting cck_qat_pman_R0-0.3669_1.20230914070149.bin.gz (946\ + \ bytes)\r\nextracting pistisd_pman_R0-0.13551_1.20230914070150.bin.gz (1026\ + \ bytes)\r\nextracting tam_svcs_esg_cfg_pman_R0-0.4597_1.20230914070150.bin.gz\ + \ (1001 bytes)\r\nextracting tamd_proc_pman_R0-0.4368_1.20230914070150.bin.gz\ + \ (993 bytes)\r\nextracting tams_proc_pman_R0-0.4483_1.20230914070150.bin.gz\ + \ (940 bytes)\r\nextracting hman_pman_R0-0.6058_1.20230914070150.bin.gz (974\ + \ bytes)\r\nextracting btman_rotate_immediate_R0-0.20245_0.20230914070151.bin.gz\ + \ (9098 bytes)\r\nextracting cyaninit_R0-0.6101_0.20230914070532.bin.gz (1888\ + \ bytes)" + response_type: circular + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: GD_F12# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_archive_tar/archive_1/test_api_execute_archive_tar.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_archive_tar/archive_1/test_api_execute_archive_tar.py new file mode 100644 index 000000000..be901b76f --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_archive_tar/archive_1/test_api_execute_archive_tar.py @@ -0,0 +1,615 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.platform.execute import execute_archive_tar + + +class TestExecuteArchiveTar(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + GD_F12: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: iosxe + type: iosxe + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['GD_F12'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_execute_archive_tar(self): + result = execute_archive_tar(self.device, 'usb_files_9.tar', 'xtract', 'usb0:', 'test', 'usb0:', 'extract_test', 120) + expected_output = ('extracting dmesg (66264 bytes)\r\n' + 'extracting timestamp (10 bytes)\r\n' + 'extracting shutdown_cc0_20230913134955.log (705 bytes)\r\n' + 'extracting shutdown_fp0_20230913134955.log (633 bytes)\r\n' + 'extracting utf_R0-0.5887_6674.20230914055716.bin.gz (808254 bytes)\r\n' + 'extracting utf_R0-0.5887_6675.20230914055725.bin.gz (806594 bytes)\r\n' + 'extracting utf_R0-0.5887_6676.20230914055734.bin.gz (808838 bytes)\r\n' + 'extracting utf_R0-0.5887_6677.20230914055743.bin.gz (807858 bytes)\r\n' + 'extracting utf_R0-0.5887_6678.20230914055752.bin.gz (807057 bytes)\r\n' + 'extracting utf_R0-0.5887_6679.20230914055801.bin.gz (809544 bytes)\r\n' + 'extracting utf_R0-0.5887_6680.20230914055809.bin.gz (807218 bytes)\r\n' + 'extracting utf_R0-0.5887_6681.20230914055818.bin.gz (807444 bytes)\r\n' + 'extracting utf_R0-0.5887_6682.20230914055827.bin.gz (808464 bytes)\r\n' + 'extracting utf_R0-0.5887_6683.20230914055836.bin.gz (808658 bytes)\r\n' + 'extracting utf_R0-0.5887_6684.20230914055845.bin.gz (807272 bytes)\r\n' + 'extracting utf_R0-0.5887_6673.20230914055707.bin.gz (808002 bytes)\r\n' + 'extracting utf_R0-0.5887_6685.20230914055854.bin.gz (807831 bytes)\r\n' + 'extracting utf_R0-0.5887_6686.20230914055903.bin.gz (813608 bytes)\r\n' + 'extracting utf_R0-0.5887_6687.20230914055912.bin.gz (811137 bytes)\r\n' + 'extracting shutdown_cc0_20230914055927.log (705 bytes)\r\n' + 'extracting utf_R0-0.5900_0.20230914062758.bin.gz (1328995 bytes)\r\n' + 'extracting utf_R0-0.5900_1.20230914070052.bin.gz (825329 bytes)\r\n' + 'extracting utf_R0-0.5900_2.20230914070058.bin.gz (811558 bytes)\r\n' + 'extracting utf_R0-0.5900_3.20230914070104.bin.gz (809314 bytes)\r\n' + 'extracting utf_R0-0.5900_4.20230914070110.bin.gz (796014 bytes)\r\n' + 'extracting utf_R0-0.5900_5.20230914070116.bin.gz (805042 bytes)\r\n' + 'extracting utf_R0-0.5900_6.20230914070122.bin.gz (803377 bytes)\r\n' + 'extracting utf_R0-0.5900_7.20230914070128.bin.gz (797514 bytes)\r\n' + 'extracting utf_R0-0.5900_8.20230914070134.bin.gz (801024 bytes)\r\n' + 'extracting utf_R0-0.5900_9.20230914070140.bin.gz (799539 bytes)\r\n' + 'extracting shutdown_cc0_20230914070149.log (705 bytes)\r\n' + 'extracting utf_R0-0.5887_6672.20230914055658.bin.gz (809280 bytes)\r\n' + 'extracting system_shell_R0-0.25305_0.20230913205802.bin (755 bytes)\r\n' + 'extracting memmon_log_20230913_203413_IST_1694617453.tar.gz (18388 bytes)\r\n' + 'extracting system_shell_R0-0.6208_0.20230913215854.bin (5505 bytes)\r\n' + 'extracting btman_pman_0-0.20392_1.20230913140409.bin.gz (1320 bytes)\r\n' + 'extracting pvp_0-0.18819_0.20230913140407.bin.gz (5490 bytes)\r\n' + 'extracting emd_0-0.19421_0.20230913140408.bin.gz (47061 bytes)\r\n' + 'extracting ezman_0-0.19639_0.20230913140408.bin.gz (4441 bytes)\r\n' + 'extracting cmcc_0-0.20291_0.20230913140409.bin.gz (6194 bytes)\r\n' + 'extracting cmcc_pman_0-0.20284_1.20230914055927.bin.gz (993 bytes)\r\n' + 'extracting IOSCC_0-0.21260_0.20230913140412.bin.gz (7344 bytes)\r\n' + 'extracting IOSCC_0-1.21579_0.20230913140412.bin.gz (6372 bytes)\r\n' + 'extracting IOSCC_0-2.21957_0.20230913140412.bin.gz (7140 bytes)\r\n' + 'extracting hman_0-0.20183_2.20230914014418.bin.gz (45974 bytes)\r\n' + 'extracting mcpcc_lc_ms_pman_0-2.21950_4.20230913165052.bin.gz (1413 ' + 'bytes)\r\n' + 'extracting btman_0-0.20398_4.20230914025408.bin.gz (67666 bytes)\r\n' + 'extracting shutdown_fp0_20230914055928.log (633 bytes)\r\n' + 'extracting pvp_F0-0.16962_0.20230913140402.bin.gz (5602 bytes)\r\n' + 'extracting shutdown_rp0_20230913134956.log (1461 bytes)\r\n' + 'extracting ezman_pman_0-0.19632_1.20230914055927.bin.gz (988 bytes)\r\n' + 'extracting emd_pman_0-0.19413_1.20230914055927.bin.gz (968 bytes)\r\n' + 'extracting hman_pman_0-0.20176_1.20230914055927.bin.gz (965 bytes)\r\n' + 'extracting mcpcc_lc_ms_pman_0-1.21572_4.20230914055927.bin.gz (838 bytes)\r\n' + 'extracting mcpcc_lc_ms_pman_0-0.21244_6.20230914055927.bin.gz (519 bytes)\r\n' + 'extracting shutdown_fp0_20230914070149.log (633 bytes)\r\n' + 'extracting cpp_driver_pman_F0-0.17636_1.20230913140403.bin.gz (1173 ' + 'bytes)\r\n' + 'extracting service_mgr_F0-0.17129_0.20230913140402.bin.gz (5731 bytes)\r\n' + 'extracting cpp_cdm_F0-0.17435_0.20230913140403.bin.gz (3190 bytes)\r\n' + 'extracting cpp_ha_top_level_server_pman_F0-0.17532_1.20230913140403.bin.gz ' + '(1185 bytes)\r\n' + 'extracting cpp_ha_F0-0.17539_0.20230913140403.bin.gz (12085 bytes)\r\n' + 'extracting cpp_cp_svr_pman_F0-0.17843_1.20230914055927.bin.gz (1451 ' + 'bytes)\r\n' + 'extracting cpp_driver_F0-0.17644_0.20230913140403.bin.gz (4000 bytes)\r\n' + 'extracting cpp_sp_F0-0.17746_0.20230913140403.bin.gz (4451 bytes)\r\n' + 'extracting emd_F0-0.17953_0.20230913140403.bin.gz (47659 bytes)\r\n' + 'extracting cpp_stats_F0-0.17333_0.20230913140404.bin.gz (3955 bytes)\r\n' + 'extracting cman_fp_F0-0.18385_0.20230913140404.bin.gz (3996 bytes)\r\n' + 'extracting btman_pman_F0-0.18481_1.20230913140404.bin.gz (1319 bytes)\r\n' + 'extracting cpp_cp_F0-0.17849_0.20230913140405.bin.gz (18978 bytes)\r\n' + 'extracting fman_fp_F0-0.18091_0.20230913140406.bin.gz (12477 bytes)\r\n' + 'extracting hman_F0-0.18284_2.20230914014413.bin.gz (46015 bytes)\r\n' + 'extracting btman_F0-0.18488_4.20230914025458.bin.gz (67406 bytes)\r\n' + 'extracting pvp_0-0.18967_0.20230914062806.bin.gz (5457 bytes)\r\n' + 'extracting fman_fp_image_pman_F0-0.18071_1.20230914055927.bin.gz (1397 ' + 'bytes)\r\n' + 'extracting cpp_sp_svr_pman_F0-0.17739_1.20230914055927.bin.gz (1333 ' + 'bytes)\r\n' + 'extracting emd_pman_F0-0.17946_1.20230914055927.bin.gz (964 bytes)\r\n' + 'extracting cman_fp_pman_F0-0.18378_1.20230914055927.bin.gz (995 bytes)\r\n' + 'extracting cpp_cdm_svr_pman_F0-0.17429_1.20230914055927.bin.gz (1072 ' + 'bytes)\r\n' + 'extracting shutdown_cc0_20230913140009.log (705 bytes)\r\n' + 'extracting cpp_stats_svr_pman_F0-0.17326_1.20230914055927.bin.gz (1071 ' + 'bytes)\r\n' + 'extracting service_mgr_pman_F0-0.17120_1.20230914055927.bin.gz (1021 ' + 'bytes)\r\n' + 'extracting hman_pman_F0-0.18274_1.20230914055928.bin.gz (960 bytes)\r\n' + 'extracting shutdown_rp0_20230914055929.log (1461 bytes)\r\n' + 'extracting repm_pman_R0-0.4730_0.20230913140333.bin.gz (2564 bytes)\r\n' + 'extracting psvp_R0-0.3137_0.20230913140329.bin.gz (1882 bytes)\r\n' + 'extracting cli_agent_pman_R0-0.4958_0.20230913140333.bin.gz (3112 bytes)\r\n' + 'extracting autodns_pman_R0-0.4258_0.20230913140332.bin.gz (2590 bytes)\r\n' + 'extracting kernel_ftrace_log_R0-0.11650_0.20230913140352.bin.gz (1750 ' + 'bytes)\r\n' + 'extracting plogd_pman_R0-0.5506_0.20230913140334.bin.gz (2569 bytes)\r\n' + 'extracting smand_pman_R0-0.5766_1.20230913140335.bin.gz (1120 bytes)\r\n' + 'extracting btman_pman_R0-0.5880_1.20230913140335.bin.gz (1205 bytes)\r\n' + 'extracting oom_R0-0.6485_0.20230913140337.bin.gz (635 bytes)\r\n' + 'extracting iptbl_R0-0.7268_0.20230913140341.bin.gz (630 bytes)\r\n' + 'extracting binos_R0-0.7482_0.20230913140341.bin.gz (835 bytes)\r\n' + 'extracting selinux_smu_R0-0.11591_0.20230913140352.bin.gz (745 bytes)\r\n' + 'extracting emd_0-0.19570_0.20230914062807.bin.gz (5385 bytes)\r\n' + 'extracting inst_rollback_timer_R0-0.11775_0.20230913140352.bin.gz (650 ' + 'bytes)\r\n' + 'extracting cmand_R0-0.3562_0.20230913140352.bin.gz (17628 bytes)\r\n' + 'extracting cck_qat_R0-0.3680_0.20230913140353.bin.gz (3173 bytes)\r\n' + 'extracting sec_key_agent_R0-0.4021_0.20230913140354.bin.gz (4369 bytes)\r\n' + 'extracting ofa_R0-0.4145_0.20230913140354.bin.gz (2213 bytes)\r\n' + 'extracting pistisd_R0-0.13440_0.20230913140354.bin.gz (13849 bytes)\r\n' + 'extracting autodns_R0-0.4266_0.20230913140354.bin.gz (1087 bytes)\r\n' + 'extracting tamd_proc_R0-0.4379_0.20230913140355.bin.gz (2431 bytes)\r\n' + 'extracting tams_proc_R0-0.4494_0.20230913140355.bin.gz (2842 bytes)\r\n' + 'extracting tam_svcs_esg_cfg_R0-0.4607_0.20230913140355.bin.gz (2075 ' + 'bytes)\r\n' + 'extracting lman_R0-0.14229_0.20230913140355.bin.gz (3679 bytes)\r\n' + 'extracting repm_R0-0.4737_0.20230913140356.bin.gz (4991 bytes)\r\n' + 'extracting dbm_R0-0.4851_0.20230913140356.bin.gz (14140 bytes)\r\n' + 'extracting cli_agent_R0-0.4964_0.20230913140356.bin.gz (6241 bytes)\r\n' + 'extracting smd_R0-0.5079_0.20230913140356.bin.gz (19358 bytes)\r\n' + 'extracting emd_R0-0.5242_0.20230913140356.bin.gz (12230 bytes)\r\n' + 'extracting fman_rp_R0-0.5375_0.20230913140357.bin.gz (7865 bytes)\r\n' + 'extracting psd_R0-0.5632_0.20230913140357.bin.gz (3909 bytes)\r\n' + 'extracting periodic_sh_pman_R0-0.15611_0.20230913140358.bin.gz (3701 ' + 'bytes)\r\n' + 'extracting pvp_R0-0.3202_1.20230913140358.bin.gz (11508 bytes)\r\n' + 'extracting sort_files_by_inode_sh_pman_R0-0.15756_0.20230913140358.bin.gz ' + '(5883 bytes)\r\n' + 'extracting smand_R0-0.5773_1.20230913140409.bin.gz (30825 bytes)\r\n' + 'extracting shutdown_journal_rp0_20230913134959.log (18563 bytes)\r\n' + 'extracting reflector_R0-0.6983_3.20230913140410.bin.gz (615 bytes)\r\n' + 'extracting ezman_0-0.19789_0.20230914062807.bin.gz (4434 bytes)\r\n' + 'extracting hman_0-0.20342_0.20230914062808.bin.gz (10468 bytes)\r\n' + 'extracting paed_pman_R0-0.25470_0.20230913140453.bin.gz (5571 bytes)\r\n' + 'extracting IOSRP_R0-0.3451_5.20230913152041.bin.gz (16689 bytes)\r\n' + 'extracting droputil_R0-0.6842_114.20230913165053.bin.gz (781 bytes)\r\n' + 'extracting hman_pman_R0-0.6015_1.20230913220116.bin.gz (1087 bytes)\r\n' + 'extracting hman_R0-0.6021_2.20230914013408.bin.gz (49332 bytes)\r\n' + 'extracting paed_R0-0.27267_3.20230914031512.bin.gz (27907 bytes)\r\n' + 'extracting plogd_R0-0.5512_5.20230914040510.bin.gz (1851 bytes)\r\n' + 'extracting service_mgr_R0-0.3798_132.20230914055256.bin.gz (46328 bytes)\r\n' + 'extracting btman_R0-0.5887_55.20230914055659.bin.gz (11405 bytes)\r\n' + 'extracting utf_R0-0.5887_6688.20230914055921.bin.gz (559536 bytes)\r\n' + 'extracting install_mgr_R0-0.12656_133649.20230914055926.bin.gz (31347 ' + 'bytes)\r\n' + 'extracting nginx_pman_R0-0.26376_5.20230914055927.bin.gz (474 bytes)\r\n' + 'extracting lman_pman_R0-0.14221_1.20230914055927.bin.gz (993 bytes)\r\n' + 'extracting auto_upgrade_client_sh_pman_R0-0.15319_3.20230914055927.bin.gz ' + '(564 bytes)\r\n' + 'extracting install_mgr_pman_R0-0.12649_1.20230914055927.bin.gz (1017 ' + 'bytes)\r\n' + 'extracting psd_pman_R0-0.5625_1.20230914055927.bin.gz (978 bytes)\r\n' + 'extracting emd_pman_R0-0.5236_1.20230914055927.bin.gz (934 bytes)\r\n' + 'extracting fman_rp_pman_R0-0.5365_1.20230914055927.bin.gz (961 bytes)\r\n' + 'extracting sessmgrd_pman_R0-0.5072_1.20230914055927.bin.gz (949 bytes)\r\n' + 'extracting ofa_pman_R0-0.4139_1.20230914055927.bin.gz (929 bytes)\r\n' + 'extracting keyman_pman_R0-0.4015_1.20230914055927.bin.gz (944 bytes)\r\n' + 'extracting service_mgr_pman_R0-0.3791_1.20230914055927.bin.gz (970 bytes)\r\n' + 'extracting dbm_pman_R0-0.4844_1.20230914055927.bin.gz (926 bytes)\r\n' + 'extracting cck_qat_pman_R0-0.3673_1.20230914055927.bin.gz (951 bytes)\r\n' + 'extracting pistisd_pman_R0-0.13432_1.20230914055928.bin.gz (1024 bytes)\r\n' + 'extracting tam_svcs_esg_cfg_pman_R0-0.4601_1.20230914055929.bin.gz (991 ' + 'bytes)\r\n' + 'extracting tamd_proc_pman_R0-0.4372_1.20230914055929.bin.gz (997 bytes)\r\n' + 'extracting tams_proc_pman_R0-0.4487_1.20230914055929.bin.gz (942 bytes)\r\n' + 'extracting shutdown_journal_rp0_20230914055932.log (18000 bytes)\r\n' + 'extracting shutdown_cc0_20230914060728.log (705 bytes)\r\n' + 'extracting cyaninit_R0-0.6053_0.20230914060312.bin.gz (1885 bytes)\r\n' + 'extracting shutdown_fp0_20230914060729.log (633 bytes)\r\n' + 'extracting pvp_F0-0.17513_0.20230914060339.bin.gz (5573 bytes)\r\n' + 'extracting pvp_0-0.19246_0.20230914060344.bin.gz (5452 bytes)\r\n' + 'extracting emd_0-0.19845_0.20230914060344.bin.gz (3797 bytes)\r\n' + 'extracting ezman_0-0.20062_0.20230914060345.bin.gz (4447 bytes)\r\n' + 'extracting hman_0-0.20604_0.20230914060346.bin.gz (3249 bytes)\r\n' + 'extracting cmcc_0-0.20712_0.20230914060346.bin.gz (6194 bytes)\r\n' + 'extracting btman_pman_0-0.20813_1.20230914060346.bin.gz (1262 bytes)\r\n' + 'extracting shutdown_fp0_20230913140010.log (633 bytes)\r\n' + 'extracting btman_0-0.20819_0.20230914060346.bin.gz (8292 bytes)\r\n' + 'extracting IOSCC_0-1.22004_0.20230914060348.bin.gz (6304 bytes)\r\n' + 'extracting IOSCC_0-0.21671_0.20230914060348.bin.gz (7040 bytes)\r\n' + 'extracting IOSCC_0-2.22337_0.20230914060349.bin.gz (7230 bytes)\r\n' + 'extracting mcpcc_lc_ms_pman_0-2.22330_4.20230914060402.bin.gz (1572 ' + 'bytes)\r\n' + 'extracting ezman_pman_0-0.20055_1.20230914060728.bin.gz (997 bytes)\r\n' + 'extracting emd_pman_0-0.19836_1.20230914060728.bin.gz (969 bytes)\r\n' + 'extracting hman_pman_0-0.20597_1.20230914060728.bin.gz (971 bytes)\r\n' + 'extracting cmcc_pman_0-0.20705_1.20230914060728.bin.gz (991 bytes)\r\n' + 'extracting mcpcc_lc_ms_pman_0-1.21997_4.20230914060728.bin.gz (841 bytes)\r\n' + 'extracting mcpcc_lc_ms_pman_0-0.21660_6.20230914060728.bin.gz (392 bytes)\r\n' + 'extracting cmcc_0-0.20450_0.20230914062808.bin.gz (6312 bytes)\r\n' + 'extracting cpp_driver_pman_F0-0.18183_1.20230914060340.bin.gz (1162 ' + 'bytes)\r\n' + 'extracting service_mgr_F0-0.17676_0.20230914060339.bin.gz (5745 bytes)\r\n' + 'extracting cpp_cdm_F0-0.17983_0.20230914060340.bin.gz (3174 bytes)\r\n' + 'extracting cpp_ha_top_level_server_pman_F0-0.18079_1.20230914060340.bin.gz ' + '(1191 bytes)\r\n' + 'extracting cpp_ha_F0-0.18086_0.20230914060340.bin.gz (4951 bytes)\r\n' + 'extracting cpp_sp_svr_pman_F0-0.18286_1.20230914060728.bin.gz (1331 ' + 'bytes)\r\n' + 'extracting cpp_driver_F0-0.18192_0.20230914060340.bin.gz (3912 bytes)\r\n' + 'extracting cpp_sp_F0-0.18293_0.20230914060340.bin.gz (4356 bytes)\r\n' + 'extracting emd_F0-0.18499_0.20230914060340.bin.gz (4303 bytes)\r\n' + 'extracting hman_F0-0.18705_0.20230914060341.bin.gz (3244 bytes)\r\n' + 'extracting cman_fp_F0-0.18809_0.20230914060341.bin.gz (3999 bytes)\r\n' + 'extracting cpp_stats_F0-0.17879_0.20230914060341.bin.gz (3973 bytes)\r\n' + 'extracting btman_pman_F0-0.18905_1.20230914060341.bin.gz (1260 bytes)\r\n' + 'extracting btman_F0-0.18912_0.20230914060341.bin.gz (8060 bytes)\r\n' + 'extracting shutdown_rp0_20230913140011.log (1461 bytes)\r\n' + 'extracting cpp_cp_F0-0.18396_0.20230914060342.bin.gz (18947 bytes)\r\n' + 'extracting fman_fp_F0-0.18605_0.20230914060343.bin.gz (11699 bytes)\r\n' + 'extracting memmon_log_20230914_080612_UTC_1694678772.tar.gz (31076 bytes)\r\n' + 'extracting fman_fp_image_pman_F0-0.18595_1.20230914060728.bin.gz (1395 ' + 'bytes)\r\n' + 'extracting cpp_cp_svr_pman_F0-0.18389_1.20230914060728.bin.gz (1449 ' + 'bytes)\r\n' + 'extracting cpp_cdm_svr_pman_F0-0.17976_1.20230914060728.bin.gz (1075 ' + 'bytes)\r\n' + 'extracting cpp_stats_svr_pman_F0-0.17873_1.20230914060728.bin.gz (1062 ' + 'bytes)\r\n' + 'extracting service_mgr_pman_F0-0.17667_1.20230914060728.bin.gz (1022 ' + 'bytes)\r\n' + 'extracting emd_pman_F0-0.18492_1.20230914060728.bin.gz (962 bytes)\r\n' + 'extracting cman_fp_pman_F0-0.18802_1.20230914060728.bin.gz (989 bytes)\r\n' + 'extracting hman_pman_F0-0.18698_1.20230914060729.bin.gz (966 bytes)\r\n' + 'extracting shutdown_rp0_20230914060730.log (1461 bytes)\r\n' + 'extracting repm_pman_R0-0.4687_0.20230914060309.bin.gz (2562 bytes)\r\n' + 'extracting psvp_R0-0.3094_0.20230914060306.bin.gz (1894 bytes)\r\n' + 'extracting cli_agent_pman_R0-0.4915_0.20230914060310.bin.gz (3114 bytes)\r\n' + 'extracting autodns_pman_R0-0.4215_0.20230914060309.bin.gz (2579 bytes)\r\n' + 'extracting kernel_ftrace_log_R0-0.11709_0.20230914060328.bin.gz (1747 ' + 'bytes)\r\n' + 'extracting plogd_pman_R0-0.5460_0.20230914060311.bin.gz (2567 bytes)\r\n' + 'extracting smand_pman_R0-0.5720_1.20230914060311.bin.gz (1110 bytes)\r\n' + 'extracting btman_pman_R0-0.5840_1.20230914060312.bin.gz (1141 bytes)\r\n' + 'extracting oom_R0-0.6430_0.20230914060314.bin.gz (632 bytes)\r\n' + 'extracting iptbl_R0-0.7206_0.20230914060318.bin.gz (631 bytes)\r\n' + 'extracting binos_R0-0.7416_0.20230914060318.bin.gz (835 bytes)\r\n' + 'extracting selinux_smu_R0-0.11683_0.20230914060328.bin.gz (747 bytes)\r\n' + 'extracting inst_rollback_timer_R0-0.11851_0.20230914060329.bin.gz (651 ' + 'bytes)\r\n' + 'extracting IOSRP_R0-0.3408_0.20230914060329.bin.gz (105630 bytes)\r\n' + 'extracting cmand_R0-0.3520_0.20230914060329.bin.gz (15570 bytes)\r\n' + 'extracting psd_R0-0.5586_0.20230914060330.bin.gz (7050 bytes)\r\n' + 'extracting vman_R0-0.12577_0.20230914060330.bin.gz (5405 bytes)\r\n' + 'extracting smd_R0-0.5045_0.20230914060330.bin.gz (19397 bytes)\r\n' + 'extracting service_mgr_R0-0.3754_0.20230914060331.bin.gz (25715 bytes)\r\n' + 'extracting repm_R0-0.4694_0.20230914060331.bin.gz (4983 bytes)\r\n' + 'extracting pistisd_R0-0.13914_0.20230914060331.bin.gz (13759 bytes)\r\n' + 'extracting plogd_R0-0.5466_3.20230914060331.bin.gz (6638 bytes)\r\n' + 'extracting ofa_R0-0.4103_0.20230914060332.bin.gz (2217 bytes)\r\n' + 'extracting lman_R0-0.14270_0.20230914060332.bin.gz (3612 bytes)\r\n' + 'extracting sec_key_agent_R0-0.3979_0.20230914060332.bin.gz (4128 bytes)\r\n' + 'extracting install_mgr_R0-0.14697_0.20230914060333.bin.gz (28907 bytes)\r\n' + 'extracting hman_R0-0.6012_0.20230914060333.bin.gz (4977 bytes)\r\n' + 'extracting fman_rp_R0-0.5331_0.20230914060333.bin.gz (7661 bytes)\r\n' + 'extracting emd_R0-0.5206_0.20230914060333.bin.gz (12131 bytes)\r\n' + 'extracting shutdown_cc0_20230914062350.log (705 bytes)\r\n' + 'extracting dbm_R0-0.4808_0.20230914060333.bin.gz (13709 bytes)\r\n' + 'extracting cli_agent_R0-0.4921_0.20230914060334.bin.gz (6420 bytes)\r\n' + 'extracting cck_qat_R0-0.3637_0.20230914060334.bin.gz (3064 bytes)\r\n' + 'extracting btman_R0-0.5849_0.20230914060334.bin.gz (12583 bytes)\r\n' + 'extracting utf_R0-0.5849_0.20230914060334.bin.gz (619129 bytes)\r\n' + 'extracting tams_proc_R0-0.4451_0.20230914060334.bin.gz (2846 bytes)\r\n' + 'extracting tamd_proc_R0-0.4336_0.20230914060335.bin.gz (2424 bytes)\r\n' + 'extracting periodic_sh_pman_R0-0.16295_0.20230914060335.bin.gz (3727 ' + 'bytes)\r\n' + 'extracting sort_files_by_inode_sh_pman_R0-0.16000_0.20230914060335.bin.gz ' + '(3600 bytes)\r\n' + 'extracting tam_svcs_esg_cfg_R0-0.4564_0.20230914060335.bin.gz (2090 ' + 'bytes)\r\n' + 'extracting autodns_R0-0.4222_0.20230914060336.bin.gz (1063 bytes)\r\n' + 'extracting pvp_R0-0.3159_1.20230914060336.bin.gz (5077 bytes)\r\n' + 'extracting smand_R0-0.5726_1.20230914060342.bin.gz (21806 bytes)\r\n' + 'extracting reflector_R0-0.6937_3.20230914060347.bin.gz (615 bytes)\r\n' + 'extracting btman_pman_0-0.20551_1.20230914062808.bin.gz (1324 bytes)\r\n' + 'extracting btman_0-0.20557_0.20230914062808.bin.gz (20155 bytes)\r\n' + 'extracting hman_pman_R0-0.6003_1.20230914060648.bin.gz (1079 bytes)\r\n' + 'extracting droputil_R0-0.6796_11.20230914060713.bin.gz (642 bytes)\r\n' + 'extracting linux_iosd_image_pman_R0-0.3369_2.20230914060723.bin.gz (1438 ' + 'bytes)\r\n' + 'extracting cmand_pman_R0-0.3513_1.20230914060727.bin.gz (957 bytes)\r\n' + 'extracting install_mgr_pman_R0-0.14691_1.20230914060728.bin.gz (1013 ' + 'bytes)\r\n' + 'extracting auto_upgrade_client_sh_pman_R0-0.16934_3.20230914060728.bin.gz ' + '(567 bytes)\r\n' + 'extracting nginx_pman_R0-0.23114_5.20230914060728.bin.gz (508 bytes)\r\n' + 'extracting lman_pman_R0-0.14263_1.20230914060728.bin.gz (991 bytes)\r\n' + 'extracting psd_pman_R0-0.5579_1.20230914060728.bin.gz (989 bytes)\r\n' + 'extracting ofa_pman_R0-0.4096_1.20230914060728.bin.gz (931 bytes)\r\n' + 'extracting emd_pman_R0-0.5199_1.20230914060728.bin.gz (932 bytes)\r\n' + 'extracting keyman_pman_R0-0.3972_1.20230914060728.bin.gz (942 bytes)\r\n' + 'extracting service_mgr_pman_R0-0.3748_1.20230914060728.bin.gz (981 bytes)\r\n' + 'extracting fman_rp_pman_R0-0.5319_1.20230914060728.bin.gz (961 bytes)\r\n' + 'extracting sessmgrd_pman_R0-0.5032_1.20230914060728.bin.gz (954 bytes)\r\n' + 'extracting dbm_pman_R0-0.4801_1.20230914060728.bin.gz (930 bytes)\r\n' + 'extracting vman_pman_R0-0.12570_1.20230914060728.bin.gz (1075 bytes)\r\n' + 'extracting cck_qat_pman_R0-0.3630_1.20230914060729.bin.gz (943 bytes)\r\n' + 'extracting pistisd_pman_R0-0.13907_1.20230914060730.bin.gz (1022 bytes)\r\n' + 'extracting tam_svcs_esg_cfg_pman_R0-0.4558_1.20230914060730.bin.gz (993 ' + 'bytes)\r\n' + 'extracting tamd_proc_pman_R0-0.4329_1.20230914060730.bin.gz (1007 bytes)\r\n' + 'extracting tams_proc_pman_R0-0.4444_1.20230914060730.bin.gz (943 bytes)\r\n' + 'extracting shutdown_journal_rp0_20230914060732.log (211918 bytes)\r\n' + 'extracting pvp_0-0.18855_0.20230914061143.bin.gz (5467 bytes)\r\n' + 'extracting cyaninit_R0-0.6098_0.20230914061112.bin.gz (1885 bytes)\r\n' + 'extracting btman_pman_0-0.20439_1.20230914061146.bin.gz (1320 bytes)\r\n' + 'extracting emd_0-0.19461_0.20230914061144.bin.gz (4287 bytes)\r\n' + 'extracting ezman_0-0.19677_0.20230914061145.bin.gz (4432 bytes)\r\n' + 'extracting hman_0-0.20230_0.20230914061145.bin.gz (7165 bytes)\r\n' + 'extracting cmcc_0-0.20338_0.20230914061145.bin.gz (6206 bytes)\r\n' + 'extracting shutdown_fp0_20230914062351.log (633 bytes)\r\n' + 'extracting shutdown_journal_rp0_20230913140013.log (210690 bytes)\r\n' + 'extracting btman_0-0.20445_0.20230914061146.bin.gz (12065 bytes)\r\n' + 'extracting IOSCC_0-0.21293_0.20230914061148.bin.gz (7302 bytes)\r\n' + 'extracting IOSCC_0-1.21617_0.20230914061148.bin.gz (6338 bytes)\r\n' + 'extracting IOSCC_0-2.21994_0.20230914061148.bin.gz (7134 bytes)\r\n' + 'extracting create_utm_luid_file_db_0-0.25976_0.20230914061646.bin.gz (1740 ' + 'bytes)\r\n' + 'extracting mcpcc_lc_ms_pman_0-2.21987_4.20230914062232.bin.gz (1420 ' + 'bytes)\r\n' + 'extracting emd_pman_0-0.19451_1.20230914062350.bin.gz (971 bytes)\r\n' + 'extracting hman_pman_0-0.20223_1.20230914062350.bin.gz (968 bytes)\r\n' + 'extracting ezman_pman_0-0.19670_1.20230914062350.bin.gz (988 bytes)\r\n' + 'extracting cmcc_pman_0-0.20331_1.20230914062350.bin.gz (990 bytes)\r\n' + 'extracting mcpcc_lc_ms_pman_0-0.21282_6.20230914062350.bin.gz (551 bytes)\r\n' + 'extracting mcpcc_lc_ms_pman_0-1.21610_4.20230914062350.bin.gz (839 bytes)\r\n' + 'extracting cpp_cdm_F0-0.17599_0.20230914061139.bin.gz (3169 bytes)\r\n' + 'extracting pvp_F0-0.17123_0.20230914061138.bin.gz (5598 bytes)\r\n' + 'extracting cpp_driver_pman_F0-0.17797_1.20230914061139.bin.gz (1163 ' + 'bytes)\r\n' + 'extracting service_mgr_F0-0.17290_0.20230914061139.bin.gz (5725 bytes)\r\n' + 'extracting cpp_ha_F0-0.17700_0.20230914061139.bin.gz (5080 bytes)\r\n' + 'extracting cpp_ha_top_level_server_pman_F0-0.17693_1.20230914061139.bin.gz ' + '(1190 bytes)\r\n' + 'extracting cpp_cp_svr_pman_F0-0.18003_1.20230914062350.bin.gz (1447 ' + 'bytes)\r\n' + 'extracting cpp_driver_F0-0.17804_0.20230914061140.bin.gz (3904 bytes)\r\n' + 'extracting cpp_sp_F0-0.17907_0.20230914061140.bin.gz (4361 bytes)\r\n' + 'extracting emd_F0-0.18115_0.20230914061140.bin.gz (4808 bytes)\r\n' + 'extracting hman_F0-0.18320_0.20230914061140.bin.gz (7283 bytes)\r\n' + 'extracting cman_fp_F0-0.18424_0.20230914061141.bin.gz (3990 bytes)\r\n' + 'extracting cpp_stats_F0-0.17494_0.20230914061141.bin.gz (3957 bytes)\r\n' + 'extracting btman_pman_F0-0.18519_1.20230914061141.bin.gz (1319 bytes)\r\n' + 'extracting btman_F0-0.18526_0.20230914061141.bin.gz (11742 bytes)\r\n' + 'extracting cpp_cp_F0-0.18010_0.20230914061142.bin.gz (18997 bytes)\r\n' + 'extracting fman_fp_F0-0.18224_0.20230914061142.bin.gz (11692 bytes)\r\n' + 'extracting shutdown_rp0_20230914062352.log (1461 bytes)\r\n' + 'extracting create_utm_luid_file_db_F0-0.25846_0.20230914061641.bin.gz (1744 ' + 'bytes)\r\n' + 'extracting fman_fp_image_pman_F0-0.18210_1.20230914062350.bin.gz (1393 ' + 'bytes)\r\n' + 'extracting cpp_sp_svr_pman_F0-0.17900_1.20230914062350.bin.gz (1330 ' + 'bytes)\r\n' + 'extracting cpp_cdm_svr_pman_F0-0.17590_1.20230914062350.bin.gz (1068 ' + 'bytes)\r\n' + 'extracting cpp_stats_svr_pman_F0-0.17487_1.20230914062350.bin.gz (1057 ' + 'bytes)\r\n' + 'extracting cman_fp_pman_F0-0.18416_1.20230914062350.bin.gz (996 bytes)\r\n' + 'extracting service_mgr_pman_F0-0.17281_1.20230914062350.bin.gz (1022 ' + 'bytes)\r\n' + 'extracting emd_pman_F0-0.18107_1.20230914062350.bin.gz (963 bytes)\r\n' + 'extracting hman_pman_F0-0.18313_1.20230914062351.bin.gz (965 bytes)\r\n' + 'extracting btman_rotate_immediate_R0-0.31039_0.20230914062351.bin.gz (4673 ' + 'bytes)\r\n' + 'extracting repm_pman_R0-0.4731_0.20230914061109.bin.gz (2554 bytes)\r\n' + 'extracting psvp_R0-0.3138_0.20230914061106.bin.gz (1891 bytes)\r\n' + 'extracting cli_agent_pman_R0-0.4959_0.20230914061110.bin.gz (3111 bytes)\r\n' + 'extracting autodns_pman_R0-0.4259_0.20230914061108.bin.gz (2579 bytes)\r\n' + 'extracting kernel_ftrace_log_R0-0.11767_0.20230914061128.bin.gz (1749 ' + 'bytes)\r\n' + 'extracting plogd_pman_R0-0.5505_0.20230914061110.bin.gz (2568 bytes)\r\n' + 'extracting smand_pman_R0-0.5765_1.20230914061111.bin.gz (1119 bytes)\r\n' + 'extracting btman_pman_R0-0.5879_1.20230914061111.bin.gz (1207 bytes)\r\n' + 'extracting oom_R0-0.6466_0.20230914061114.bin.gz (634 bytes)\r\n' + 'extracting iptbl_R0-0.7246_0.20230914061117.bin.gz (630 bytes)\r\n' + 'extracting binos_R0-0.7464_0.20230914061118.bin.gz (836 bytes)\r\n' + 'extracting selinux_smu_R0-0.11722_0.20230914061128.bin.gz (743 bytes)\r\n' + 'extracting create_utm_luid_file_db_R0-0.25446_0.20230914061635.bin.gz (1749 ' + 'bytes)\r\n' + 'extracting inst_rollback_timer_R0-0.11895_0.20230914061128.bin.gz (648 ' + 'bytes)\r\n' + 'extracting cmand_R0-0.3563_0.20230914061129.bin.gz (15839 bytes)\r\n' + 'extracting cck_qat_R0-0.3680_0.20230914061129.bin.gz (3175 bytes)\r\n' + 'extracting install_mgr_R0-0.12781_0.20230914061130.bin.gz (30355 bytes)\r\n' + 'extracting sec_key_agent_R0-0.4023_0.20230914061130.bin.gz (4127 bytes)\r\n' + 'extracting IOSRP_R0-0.3455_1.20230914061130.bin.gz (29247 bytes)\r\n' + 'extracting ofa_R0-0.4147_0.20230914061130.bin.gz (2216 bytes)\r\n' + 'extracting pistisd_R0-0.13565_0.20230914061131.bin.gz (13856 bytes)\r\n' + 'extracting autodns_R0-0.4266_0.20230914061131.bin.gz (1064 bytes)\r\n' + 'extracting tamd_proc_R0-0.4380_0.20230914061131.bin.gz (2432 bytes)\r\n' + 'extracting tams_proc_R0-0.4495_0.20230914061131.bin.gz (2838 bytes)\r\n' + 'extracting tam_svcs_esg_cfg_R0-0.4608_0.20230914061131.bin.gz (2073 ' + 'bytes)\r\n' + 'extracting lman_R0-0.14354_0.20230914061132.bin.gz (3614 bytes)\r\n' + 'extracting repm_R0-0.4738_0.20230914061132.bin.gz (4999 bytes)\r\n' + 'extracting dbm_R0-0.4852_0.20230914061132.bin.gz (15084 bytes)\r\n' + 'extracting cli_agent_R0-0.4966_0.20230914061133.bin.gz (6250 bytes)\r\n' + 'extracting smd_R0-0.5080_0.20230914061133.bin.gz (19501 bytes)\r\n' + 'extracting emd_R0-0.5244_0.20230914061133.bin.gz (12276 bytes)\r\n' + 'extracting fman_rp_R0-0.5373_0.20230914061133.bin.gz (7769 bytes)\r\n' + 'extracting plogd_R0-0.5511_3.20230914061134.bin.gz (5987 bytes)\r\n' + 'extracting psd_R0-0.5630_0.20230914061134.bin.gz (3865 bytes)\r\n' + 'extracting periodic_sh_pman_R0-0.15726_0.20230914061134.bin.gz (3727 ' + 'bytes)\r\n' + 'extracting btman_R0-0.5884_0.20230914061135.bin.gz (17024 bytes)\r\n' + 'extracting sort_files_by_inode_sh_pman_R0-0.15881_0.20230914061134.bin.gz ' + '(3591 bytes)\r\n' + 'extracting utf_R0-0.5884_0.20230914061135.bin.gz (739964 bytes)\r\n' + 'extracting hman_R0-0.6035_0.20230914061135.bin.gz (9082 bytes)\r\n' + 'extracting pvp_R0-0.3203_1.20230914061135.bin.gz (4862 bytes)\r\n' + 'extracting smand_R0-0.5771_1.20230914061145.bin.gz (22086 bytes)\r\n' + 'extracting reflector_R0-0.6982_3.20230914061146.bin.gz (615 bytes)\r\n' + 'extracting IOSCC_0-1.21729_0.20230914062811.bin.gz (6354 bytes)\r\n' + 'extracting IOSCC_0-0.21406_0.20230914062811.bin.gz (7325 bytes)\r\n' + 'extracting hman_pman_R0-0.6029_1.20230914061847.bin.gz (1082 bytes)\r\n' + 'extracting paed_R0-0.25973_0.20230914061645.bin.gz (15666 bytes)\r\n' + 'extracting install_mgr_pman_R0-0.12774_1.20230914062350.bin.gz (1020 ' + 'bytes)\r\n' + 'extracting service_mgr_R0-0.3799_1.20230914062109.bin.gz (16322 bytes)\r\n' + 'extracting droputil_R0-0.6841_22.20230914062345.bin.gz (385 bytes)\r\n' + 'extracting linux_iosd_image_pman_R0-0.3413_2.20230914062345.bin.gz (1438 ' + 'bytes)\r\n' + 'extracting cmand_pman_R0-0.3557_1.20230914062349.bin.gz (960 bytes)\r\n' + 'extracting nginx_pman_R0-0.23147_5.20230914062350.bin.gz (440 bytes)\r\n' + 'extracting auto_upgrade_client_sh_pman_R0-0.15444_3.20230914062350.bin.gz ' + '(566 bytes)\r\n' + 'extracting lman_pman_R0-0.14347_1.20230914062350.bin.gz (980 bytes)\r\n' + 'extracting keyman_pman_R0-0.4016_1.20230914062350.bin.gz (946 bytes)\r\n' + 'extracting psd_pman_R0-0.5624_1.20230914062350.bin.gz (977 bytes)\r\n' + 'extracting emd_pman_R0-0.5237_1.20230914062350.bin.gz (933 bytes)\r\n' + 'extracting ofa_pman_R0-0.4140_1.20230914062350.bin.gz (936 bytes)\r\n' + 'extracting tam_svcs_esg_cfg_pman_R0-0.4602_1.20230914062352.bin.gz (991 ' + 'bytes)\r\n' + 'extracting service_mgr_pman_R0-0.3792_1.20230914062350.bin.gz (967 bytes)\r\n' + 'extracting fman_rp_pman_R0-0.5364_1.20230914062350.bin.gz (959 bytes)\r\n' + 'extracting sessmgrd_pman_R0-0.5073_1.20230914062350.bin.gz (954 bytes)\r\n' + 'extracting dbm_pman_R0-0.4845_1.20230914062350.bin.gz (930 bytes)\r\n' + 'extracting cck_qat_pman_R0-0.3674_1.20230914062351.bin.gz (946 bytes)\r\n' + 'extracting pistisd_pman_R0-0.13558_1.20230914062351.bin.gz (1020 bytes)\r\n' + 'extracting shutdown_journal_rp0_20230914062354.log (18825 bytes)\r\n' + 'extracting tamd_proc_pman_R0-0.4373_1.20230914062352.bin.gz (1008 bytes)\r\n' + 'extracting tams_proc_pman_R0-0.4488_1.20230914062352.bin.gz (946 bytes)\r\n' + 'extracting IOSCC_0-2.22107_0.20230914062811.bin.gz (7120 bytes)\r\n' + 'extracting btman_rotate_immediate_R0-0.31141_0.20230914062352.bin.gz (8050 ' + 'bytes)\r\n' + 'extracting cyaninit_R0-0.6091_0.20230914062734.bin.gz (1889 bytes)\r\n' + 'extracting mcpcc_lc_ms_pman_0-2.22100_4.20230914070019.bin.gz (1382 ' + 'bytes)\r\n' + 'extracting create_utm_luid_file_db_0-0.26684_0.20230914063308.bin.gz (1744 ' + 'bytes)\r\n' + 'extracting ezman_pman_0-0.19782_1.20230914070149.bin.gz (1000 bytes)\r\n' + 'extracting emd_pman_0-0.19563_1.20230914070149.bin.gz (973 bytes)\r\n' + 'extracting hman_pman_0-0.20335_1.20230914070149.bin.gz (965 bytes)\r\n' + 'extracting cmcc_pman_0-0.20443_1.20230914070149.bin.gz (994 bytes)\r\n' + 'extracting mcpcc_lc_ms_pman_0-1.21722_4.20230914070149.bin.gz (842 bytes)\r\n' + 'extracting mcpcc_lc_ms_pman_0-0.21394_6.20230914070149.bin.gz (553 bytes)\r\n' + 'extracting cpp_ha_top_level_server_pman_F0-0.17805_1.20230914062802.bin.gz ' + '(1189 bytes)\r\n' + 'extracting btman_rotate_immediate_R0-0.20024_0.20230914070149.bin.gz (3819 ' + 'bytes)\r\n' + 'extracting pvp_F0-0.17235_0.20230914062801.bin.gz (5590 bytes)\r\n' + 'extracting service_mgr_F0-0.17402_0.20230914062801.bin.gz (5735 bytes)\r\n' + 'extracting cpp_driver_F0-0.17918_0.20230914062802.bin.gz (3918 bytes)\r\n' + 'extracting cpp_cdm_F0-0.17708_0.20230914062802.bin.gz (3168 bytes)\r\n' + 'extracting cpp_ha_F0-0.17812_0.20230914062802.bin.gz (5216 bytes)\r\n' + 'extracting fman_fp_image_pman_F0-0.18322_1.20230914070149.bin.gz (1392 ' + 'bytes)\r\n' + 'extracting cpp_driver_pman_F0-0.17909_1.20230914062802.bin.gz (1169 ' + 'bytes)\r\n' + 'extracting cpp_sp_F0-0.18018_0.20230914062802.bin.gz (4367 bytes)\r\n' + 'extracting emd_F0-0.18225_0.20230914062803.bin.gz (5913 bytes)\r\n' + 'extracting hman_F0-0.18432_0.20230914062803.bin.gz (10525 bytes)\r\n' + 'extracting cman_fp_F0-0.18535_0.20230914062803.bin.gz (3988 bytes)\r\n' + 'extracting cpp_stats_F0-0.17606_0.20230914062803.bin.gz (3966 bytes)\r\n' + 'extracting btman_pman_F0-0.18631_1.20230914062804.bin.gz (1320 bytes)\r\n' + 'extracting btman_F0-0.18638_0.20230914062804.bin.gz (19814 bytes)\r\n' + 'extracting cpp_cp_F0-0.18122_0.20230914062804.bin.gz (18907 bytes)\r\n' + 'extracting fman_fp_F0-0.18334_0.20230914062805.bin.gz (11708 bytes)\r\n' + 'extracting shutdown_rp0_20230914070150.log (1461 bytes)\r\n' + 'extracting create_utm_luid_file_db_F0-0.26554_0.20230914063304.bin.gz (1746 ' + 'bytes)\r\n' + 'extracting cpp_sp_svr_pman_F0-0.18012_1.20230914070149.bin.gz (1331 ' + 'bytes)\r\n' + 'extracting emd_pman_F0-0.18218_1.20230914070149.bin.gz (968 bytes)\r\n' + 'extracting cpp_cp_svr_pman_F0-0.18115_1.20230914070149.bin.gz (1451 ' + 'bytes)\r\n' + 'extracting cpp_cdm_svr_pman_F0-0.17702_1.20230914070149.bin.gz (1068 ' + 'bytes)\r\n' + 'extracting cpp_stats_svr_pman_F0-0.17599_1.20230914070149.bin.gz (1075 ' + 'bytes)\r\n' + 'extracting cman_fp_pman_F0-0.18528_1.20230914070149.bin.gz (992 bytes)\r\n' + 'extracting service_mgr_pman_F0-0.17393_1.20230914070149.bin.gz (1025 ' + 'bytes)\r\n' + 'extracting hman_pman_F0-0.18425_1.20230914070149.bin.gz (968 bytes)\r\n' + 'extracting btman_rotate_immediate_R0-0.20143_0.20230914070150.bin.gz (4678 ' + 'bytes)\r\n' + 'extracting repm_pman_R0-0.4726_0.20230914062732.bin.gz (2572 bytes)\r\n' + 'extracting psvp_R0-0.3133_0.20230914062728.bin.gz (1890 bytes)\r\n' + 'extracting cli_agent_pman_R0-0.4954_0.20230914062732.bin.gz (3116 bytes)\r\n' + 'extracting autodns_pman_R0-0.4254_0.20230914062731.bin.gz (2588 bytes)\r\n' + 'extracting kernel_ftrace_log_R0-0.11760_0.20230914062751.bin.gz (1749 ' + 'bytes)\r\n' + 'extracting plogd_pman_R0-0.5498_0.20230914062733.bin.gz (2563 bytes)\r\n' + 'extracting smand_pman_R0-0.5758_1.20230914062734.bin.gz (1120 bytes)\r\n' + 'extracting btman_pman_R0-0.5881_1.20230914062734.bin.gz (1209 bytes)\r\n' + 'extracting oom_R0-0.6464_0.20230914062736.bin.gz (634 bytes)\r\n' + 'extracting iptbl_R0-0.7244_0.20230914062740.bin.gz (628 bytes)\r\n' + 'extracting binos_R0-0.7473_0.20230914062740.bin.gz (836 bytes)\r\n' + 'extracting selinux_smu_R0-0.11718_0.20230914062751.bin.gz (745 bytes)\r\n' + 'extracting create_utm_luid_file_db_R0-0.26153_0.20230914063258.bin.gz (1751 ' + 'bytes)\r\n' + 'extracting inst_rollback_timer_R0-0.11892_0.20230914062751.bin.gz (649 ' + 'bytes)\r\n' + 'extracting cmand_R0-0.3558_0.20230914062752.bin.gz (17187 bytes)\r\n' + 'extracting cck_qat_R0-0.3676_0.20230914062752.bin.gz (3178 bytes)\r\n' + 'extracting sec_key_agent_R0-0.4018_0.20230914062753.bin.gz (4323 bytes)\r\n' + 'extracting IOSRP_R0-0.3442_1.20230914062753.bin.gz (35313 bytes)\r\n' + 'extracting ofa_R0-0.4142_0.20230914062753.bin.gz (2215 bytes)\r\n' + 'extracting pistisd_R0-0.13558_0.20230914062753.bin.gz (13863 bytes)\r\n' + 'extracting autodns_R0-0.4261_0.20230914062754.bin.gz (1081 bytes)\r\n' + 'extracting tamd_proc_R0-0.4375_0.20230914062754.bin.gz (2427 bytes)\r\n' + 'extracting tams_proc_R0-0.4490_0.20230914062754.bin.gz (2817 bytes)\r\n' + 'extracting tam_svcs_esg_cfg_R0-0.4603_0.20230914062754.bin.gz (2074 ' + 'bytes)\r\n' + 'extracting lman_R0-0.14347_0.20230914062755.bin.gz (3664 bytes)\r\n' + 'extracting repm_R0-0.4733_0.20230914062755.bin.gz (4991 bytes)\r\n' + 'extracting dbm_R0-0.4846_0.20230914062755.bin.gz (15057 bytes)\r\n' + 'extracting cli_agent_R0-0.4962_0.20230914062755.bin.gz (6256 bytes)\r\n' + 'extracting smd_R0-0.5109_0.20230914062756.bin.gz (19790 bytes)\r\n' + 'extracting emd_R0-0.5244_0.20230914062756.bin.gz (12271 bytes)\r\n' + 'extracting fman_rp_R0-0.5369_0.20230914062756.bin.gz (7767 bytes)\r\n' + 'extracting plogd_R0-0.5504_3.20230914062756.bin.gz (6653 bytes)\r\n' + 'extracting psd_R0-0.5625_0.20230914062756.bin.gz (3865 bytes)\r\n' + 'extracting periodic_sh_pman_R0-0.15726_0.20230914062757.bin.gz (3732 ' + 'bytes)\r\n' + 'extracting btman_R0-0.5900_0.20230914062758.bin.gz (30865 bytes)\r\n' + 'extracting sort_files_by_inode_sh_pman_R0-0.15874_0.20230914062757.bin.gz ' + '(3591 bytes)\r\n' + 'extracting hman_R0-0.6064_0.20230914062758.bin.gz (12489 bytes)\r\n' + 'extracting pvp_R0-0.3198_1.20230914062758.bin.gz (9191 bytes)\r\n' + 'extracting smand_R0-0.5764_1.20230914062808.bin.gz (22140 bytes)\r\n' + 'extracting reflector_R0-0.6975_3.20230914062809.bin.gz (619 bytes)\r\n' + 'extracting IOSRP_R0-1.15254_0.20230914070049.bin.gz (56456 bytes)\r\n' + 'extracting paed_R0-0.26681_0.20230914063308.bin.gz (15670 bytes)\r\n' + 'extracting install_mgr_R0-0.12774_200.20230914070148.bin.gz (31421 bytes)\r\n' + 'extracting service_mgr_R0-0.3793_3.20230914065643.bin.gz (29565 bytes)\r\n' + 'extracting psd_R0-1.16970_0.20230914070050.bin.gz (2974 bytes)\r\n' + 'extracting fman_rp_R0-1.16831_0.20230914070050.bin.gz (6843 bytes)\r\n' + 'extracting droputil_R0-0.6834_47.20230914070138.bin.gz (495 bytes)\r\n' + 'extracting utf_R0-0.5900_10.20230914070146.bin.gz (329775 bytes)\r\n' + 'extracting cmand_pman_R0-0.3552_1.20230914070148.bin.gz (959 bytes)\r\n' + 'extracting linux_iosd_image_pman_R0-0.3408_3.20230914070148.bin.gz (1087 ' + 'bytes)\r\n' + 'extracting shutdown_journal_rp0_20230914070153.log (20467 bytes)\r\n' + 'extracting auto_upgrade_client_sh_pman_R0-0.15437_3.20230914070148.bin.gz ' + '(568 bytes)\r\n' + 'extracting nginx_pman_R0-0.23378_5.20230914070148.bin.gz (440 bytes)\r\n' + 'extracting install_mgr_pman_R0-0.12767_1.20230914070148.bin.gz (1025 ' + 'bytes)\r\n' + 'extracting psd_pman_R0-0.5617_1.20230914070148.bin.gz (988 bytes)\r\n' + 'extracting lman_pman_R0-0.14340_1.20230914070148.bin.gz (978 bytes)\r\n' + 'extracting emd_pman_R0-0.5237_1.20230914070148.bin.gz (936 bytes)\r\n' + 'extracting keyman_pman_R0-0.4011_1.20230914070149.bin.gz (947 bytes)\r\n' + 'extracting ofa_pman_R0-0.4135_1.20230914070149.bin.gz (931 bytes)\r\n' + 'extracting fman_rp_pman_R0-0.5357_1.20230914070149.bin.gz (960 bytes)\r\n' + 'extracting service_mgr_pman_R0-0.3787_1.20230914070149.bin.gz (971 bytes)\r\n' + 'extracting sessmgrd_pman_R0-0.5102_1.20230914070149.bin.gz (949 bytes)\r\n' + 'extracting dbm_pman_R0-0.4840_1.20230914070149.bin.gz (929 bytes)\r\n' + 'extracting cck_qat_pman_R0-0.3669_1.20230914070149.bin.gz (946 bytes)\r\n' + 'extracting pistisd_pman_R0-0.13551_1.20230914070150.bin.gz (1026 bytes)\r\n' + 'extracting tam_svcs_esg_cfg_pman_R0-0.4597_1.20230914070150.bin.gz (1001 ' + 'bytes)\r\n' + 'extracting tamd_proc_pman_R0-0.4368_1.20230914070150.bin.gz (993 bytes)\r\n' + 'extracting tams_proc_pman_R0-0.4483_1.20230914070150.bin.gz (940 bytes)\r\n' + 'extracting hman_pman_R0-0.6058_1.20230914070150.bin.gz (974 bytes)\r\n' + 'extracting btman_rotate_immediate_R0-0.20245_0.20230914070151.bin.gz (9098 ' + 'bytes)\r\n' + 'extracting cyaninit_R0-0.6101_0.20230914070532.bin.gz (1888 bytes)') + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_archive_tar/archive_2/mock_data/iosxe/mock_data_option_create.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_archive_tar/archive_2/mock_data/iosxe/mock_data_option_create.yaml new file mode 100644 index 000000000..e47ea39e7 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_archive_tar/archive_2/mock_data/iosxe/mock_data_option_create.yaml @@ -0,0 +1,466 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no logging console: '' + prompt: GD_F12(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: GD_F12(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + archive tar /create usb0:test/usb_files_9.tar bootflash:tracelogs/: + response: + - "archiving dmesg (66264 bytes)\r\narchiving timestamp (10 bytes)\r\narchiving\ + \ shutdown_cc0_20230913134955.log (705 bytes)\r\narchiving shutdown_fp0_20230913134955.log\ + \ (633 bytes)\r\narchiving utf_R0-0.5887_6674.20230914055716.bin.gz (808254\ + \ bytes)\r\narchiving utf_R0-0.5887_6675.20230914055725.bin.gz (806594 bytes)\r\ + \narchiving utf_R0-0.5887_6676.20230914055734.bin.gz (808838 bytes)\r\narchiving\ + \ utf_R0-0.5887_6677.20230914055743.bin.gz (807858 bytes)\r\narchiving utf_R0-0.5887_6678.20230914055752.bin.gz\ + \ (807057 bytes)\r\narchiving utf_R0-0.5887_6679.20230914055801.bin.gz (809544\ + \ bytes)\r\narchiving utf_R0-0.5887_6680.20230914055809.bin.gz (807218 bytes)\r\ + \narchiving utf_R0-0.5887_6681.20230914055818.bin.gz (807444 bytes)\r\narchiving\ + \ utf_R0-0.5887_6682.20230914055827.bin.gz (808464 bytes)\r\narchiving utf_R0-0.5887_6683.20230914055836.bin.gz\ + \ (808658 bytes)\r\narchiving utf_R0-0.5887_6684.20230914055845.bin.gz (807272\ + \ bytes)\r\narchiving utf_R0-0.5887_6673.20230914055707.bin.gz (808002 bytes)\r\ + \narchiving utf_R0-0.5887_6685.20230914055854.bin.gz (807831 bytes)\r\narchiving\ + \ utf_R0-0.5887_6686.20230914055903.bin.gz (813608 bytes)\r\narchiving utf_R0-0.5887_6687.20230914055912.bin.gz\ + \ (811137 bytes)\r\narchiving shutdown_cc0_20230914055927.log (705 bytes)\r\ + \narchiving utf_R0-0.5900_0.20230914062758.bin.gz (1328995 bytes)\r\narchiving\ + \ utf_R0-0.5900_1.20230914070052.bin.gz (825329 bytes)\r\narchiving utf_R0-0.5900_2.20230914070058.bin.gz\ + \ (811558 bytes)\r\narchiving utf_R0-0.5900_3.20230914070104.bin.gz (809314\ + \ bytes)\r\narchiving utf_R0-0.5900_4.20230914070110.bin.gz (796014 bytes)\r\ + \narchiving utf_R0-0.5900_5.20230914070116.bin.gz (805042 bytes)\r\narchiving\ + \ utf_R0-0.5900_6.20230914070122.bin.gz (803377 bytes)\r\narchiving utf_R0-0.5900_7.20230914070128.bin.gz\ + \ (797514 bytes)\r\narchiving utf_R0-0.5900_8.20230914070134.bin.gz (801024\ + \ bytes)\r\narchiving utf_R0-0.5900_9.20230914070140.bin.gz (799539 bytes)\r\ + \narchiving shutdown_cc0_20230914070149.log (705 bytes)\r\narchiving utf_R0-0.5887_6672.20230914055658.bin.gz\ + \ (809280 bytes)\r\narchiving system_shell_R0-0.25305_0.20230913205802.bin\ + \ (755 bytes)\r\narchiving memmon_log_20230913_203413_IST_1694617453.tar.gz\ + \ (18388 bytes)\r\narchiving system_shell_R0-0.6208_0.20230913215854.bin (5505\ + \ bytes)\r\narchiving btman_pman_0-0.20392_1.20230913140409.bin.gz (1320 bytes)\r\ + \narchiving pvp_0-0.18819_0.20230913140407.bin.gz (5490 bytes)\r\narchiving\ + \ emd_0-0.19421_0.20230913140408.bin.gz (47061 bytes)\r\narchiving ezman_0-0.19639_0.20230913140408.bin.gz\ + \ (4441 bytes)\r\narchiving cmcc_0-0.20291_0.20230913140409.bin.gz (6194 bytes)\r\ + \narchiving cmcc_pman_0-0.20284_1.20230914055927.bin.gz (993 bytes)\r\narchiving\ + \ IOSCC_0-0.21260_0.20230913140412.bin.gz (7344 bytes)\r\narchiving IOSCC_0-1.21579_0.20230913140412.bin.gz\ + \ (6372 bytes)\r\narchiving IOSCC_0-2.21957_0.20230913140412.bin.gz (7140\ + \ bytes)\r\narchiving hman_0-0.20183_2.20230914014418.bin.gz (45974 bytes)\r\ + \narchiving mcpcc_lc_ms_pman_0-2.21950_4.20230913165052.bin.gz (1413 bytes)\r\ + \narchiving btman_0-0.20398_4.20230914025408.bin.gz (67666 bytes)\r\narchiving\ + \ shutdown_fp0_20230914055928.log (633 bytes)\r\narchiving pvp_F0-0.16962_0.20230913140402.bin.gz\ + \ (5602 bytes)\r\narchiving shutdown_rp0_20230913134956.log (1461 bytes)\r\ + \narchiving ezman_pman_0-0.19632_1.20230914055927.bin.gz (988 bytes)\r\narchiving\ + \ emd_pman_0-0.19413_1.20230914055927.bin.gz (968 bytes)\r\narchiving hman_pman_0-0.20176_1.20230914055927.bin.gz\ + \ (965 bytes)\r\narchiving mcpcc_lc_ms_pman_0-1.21572_4.20230914055927.bin.gz\ + \ (838 bytes)\r\narchiving mcpcc_lc_ms_pman_0-0.21244_6.20230914055927.bin.gz\ + \ (519 bytes)\r\narchiving shutdown_fp0_20230914070149.log (633 bytes)\r\n\ + archiving cpp_driver_pman_F0-0.17636_1.20230913140403.bin.gz (1173 bytes)\r\ + \narchiving service_mgr_F0-0.17129_0.20230913140402.bin.gz (5731 bytes)\r\n\ + archiving cpp_cdm_F0-0.17435_0.20230913140403.bin.gz (3190 bytes)\r\narchiving\ + \ cpp_ha_top_level_server_pman_F0-0.17532_1.20230913140403.bin.gz (1185 bytes)\r\ + \narchiving cpp_ha_F0-0.17539_0.20230913140403.bin.gz (12085 bytes)\r\narchiving\ + \ cpp_cp_svr_pman_F0-0.17843_1.20230914055927.bin.gz (1451 bytes)\r\narchiving\ + \ cpp_driver_F0-0.17644_0.20230913140403.bin.gz (4000 bytes)\r\narchiving\ + \ cpp_sp_F0-0.17746_0.20230913140403.bin.gz (4451 bytes)\r\narchiving emd_F0-0.17953_0.20230913140403.bin.gz\ + \ (47659 bytes)\r\narchiving cpp_stats_F0-0.17333_0.20230913140404.bin.gz\ + \ (3955 bytes)\r\narchiving cman_fp_F0-0.18385_0.20230913140404.bin.gz (3996\ + \ bytes)\r\narchiving btman_pman_F0-0.18481_1.20230913140404.bin.gz (1319\ + \ bytes)\r\narchiving cpp_cp_F0-0.17849_0.20230913140405.bin.gz (18978 bytes)\r\ + \narchiving fman_fp_F0-0.18091_0.20230913140406.bin.gz (12477 bytes)\r\narchiving\ + \ hman_F0-0.18284_2.20230914014413.bin.gz (46015 bytes)\r\narchiving btman_F0-0.18488_4.20230914025458.bin.gz\ + \ (67406 bytes)\r\narchiving pvp_0-0.18967_0.20230914062806.bin.gz (5457 bytes)\r\ + \narchiving fman_fp_image_pman_F0-0.18071_1.20230914055927.bin.gz (1397 bytes)\r\ + \narchiving cpp_sp_svr_pman_F0-0.17739_1.20230914055927.bin.gz (1333 bytes)\r\ + \narchiving emd_pman_F0-0.17946_1.20230914055927.bin.gz (964 bytes)\r\narchiving\ + \ cman_fp_pman_F0-0.18378_1.20230914055927.bin.gz (995 bytes)\r\narchiving\ + \ cpp_cdm_svr_pman_F0-0.17429_1.20230914055927.bin.gz (1072 bytes)\r\narchiving\ + \ shutdown_cc0_20230913140009.log (705 bytes)\r\narchiving cpp_stats_svr_pman_F0-0.17326_1.20230914055927.bin.gz\ + \ (1071 bytes)\r\narchiving service_mgr_pman_F0-0.17120_1.20230914055927.bin.gz\ + \ (1021 bytes)\r\narchiving hman_pman_F0-0.18274_1.20230914055928.bin.gz (960\ + \ bytes)\r\narchiving shutdown_rp0_20230914055929.log (1461 bytes)\r\narchiving\ + \ repm_pman_R0-0.4730_0.20230913140333.bin.gz (2564 bytes)\r\narchiving psvp_R0-0.3137_0.20230913140329.bin.gz\ + \ (1882 bytes)\r\narchiving cli_agent_pman_R0-0.4958_0.20230913140333.bin.gz\ + \ (3112 bytes)\r\narchiving autodns_pman_R0-0.4258_0.20230913140332.bin.gz\ + \ (2590 bytes)\r\narchiving kernel_ftrace_log_R0-0.11650_0.20230913140352.bin.gz\ + \ (1750 bytes)\r\narchiving plogd_pman_R0-0.5506_0.20230913140334.bin.gz (2569\ + \ bytes)\r\narchiving smand_pman_R0-0.5766_1.20230913140335.bin.gz (1120 bytes)\r\ + \narchiving btman_pman_R0-0.5880_1.20230913140335.bin.gz (1205 bytes)\r\n\ + archiving oom_R0-0.6485_0.20230913140337.bin.gz (635 bytes)\r\narchiving iptbl_R0-0.7268_0.20230913140341.bin.gz\ + \ (630 bytes)\r\narchiving binos_R0-0.7482_0.20230913140341.bin.gz (835 bytes)\r\ + \narchiving selinux_smu_R0-0.11591_0.20230913140352.bin.gz (745 bytes)\r\n\ + archiving emd_0-0.19570_0.20230914062807.bin.gz (5385 bytes)\r\narchiving\ + \ inst_rollback_timer_R0-0.11775_0.20230913140352.bin.gz (650 bytes)\r\narchiving\ + \ cmand_R0-0.3562_0.20230913140352.bin.gz (17628 bytes)\r\narchiving cck_qat_R0-0.3680_0.20230913140353.bin.gz\ + \ (3173 bytes)\r\narchiving sec_key_agent_R0-0.4021_0.20230913140354.bin.gz\ + \ (4369 bytes)\r\narchiving ofa_R0-0.4145_0.20230913140354.bin.gz (2213 bytes)\r\ + \narchiving pistisd_R0-0.13440_0.20230913140354.bin.gz (13849 bytes)\r\narchiving\ + \ autodns_R0-0.4266_0.20230913140354.bin.gz (1087 bytes)\r\narchiving tamd_proc_R0-0.4379_0.20230913140355.bin.gz\ + \ (2431 bytes)\r\narchiving tams_proc_R0-0.4494_0.20230913140355.bin.gz (2842\ + \ bytes)\r\narchiving tam_svcs_esg_cfg_R0-0.4607_0.20230913140355.bin.gz (2075\ + \ bytes)\r\narchiving lman_R0-0.14229_0.20230913140355.bin.gz (3679 bytes)\r\ + \narchiving repm_R0-0.4737_0.20230913140356.bin.gz (4991 bytes)\r\narchiving\ + \ dbm_R0-0.4851_0.20230913140356.bin.gz (14140 bytes)\r\narchiving cli_agent_R0-0.4964_0.20230913140356.bin.gz\ + \ (6241 bytes)\r\narchiving smd_R0-0.5079_0.20230913140356.bin.gz (19358 bytes)\r\ + \narchiving emd_R0-0.5242_0.20230913140356.bin.gz (12230 bytes)\r\narchiving\ + \ fman_rp_R0-0.5375_0.20230913140357.bin.gz (7865 bytes)\r\narchiving psd_R0-0.5632_0.20230913140357.bin.gz\ + \ (3909 bytes)\r\narchiving periodic_sh_pman_R0-0.15611_0.20230913140358.bin.gz\ + \ (3701 bytes)\r\narchiving pvp_R0-0.3202_1.20230913140358.bin.gz (11508 bytes)\r\ + \narchiving sort_files_by_inode_sh_pman_R0-0.15756_0.20230913140358.bin.gz\ + \ (5883 bytes)\r\narchiving smand_R0-0.5773_1.20230913140409.bin.gz (30825\ + \ bytes)\r\narchiving shutdown_journal_rp0_20230913134959.log (18563 bytes)\r\ + \narchiving reflector_R0-0.6983_3.20230913140410.bin.gz (615 bytes)\r\narchiving\ + \ ezman_0-0.19789_0.20230914062807.bin.gz (4434 bytes)\r\narchiving hman_0-0.20342_0.20230914062808.bin.gz\ + \ (10468 bytes)\r\narchiving paed_pman_R0-0.25470_0.20230913140453.bin.gz\ + \ (5571 bytes)\r\narchiving IOSRP_R0-0.3451_5.20230913152041.bin.gz (16689\ + \ bytes)\r\narchiving droputil_R0-0.6842_114.20230913165053.bin.gz (781 bytes)\r\ + \narchiving hman_pman_R0-0.6015_1.20230913220116.bin.gz (1087 bytes)\r\narchiving\ + \ hman_R0-0.6021_2.20230914013408.bin.gz (49332 bytes)\r\narchiving paed_R0-0.27267_3.20230914031512.bin.gz\ + \ (27907 bytes)\r\narchiving plogd_R0-0.5512_5.20230914040510.bin.gz (1851\ + \ bytes)\r\narchiving service_mgr_R0-0.3798_132.20230914055256.bin.gz (46328\ + \ bytes)\r\narchiving btman_R0-0.5887_55.20230914055659.bin.gz (11405 bytes)\r\ + \narchiving utf_R0-0.5887_6688.20230914055921.bin.gz (559536 bytes)\r\narchiving\ + \ install_mgr_R0-0.12656_133649.20230914055926.bin.gz (31347 bytes)\r\narchiving\ + \ nginx_pman_R0-0.26376_5.20230914055927.bin.gz (474 bytes)\r\narchiving lman_pman_R0-0.14221_1.20230914055927.bin.gz\ + \ (993 bytes)\r\narchiving auto_upgrade_client_sh_pman_R0-0.15319_3.20230914055927.bin.gz\ + \ (564 bytes)\r\narchiving install_mgr_pman_R0-0.12649_1.20230914055927.bin.gz\ + \ (1017 bytes)\r\narchiving psd_pman_R0-0.5625_1.20230914055927.bin.gz (978\ + \ bytes)\r\narchiving emd_pman_R0-0.5236_1.20230914055927.bin.gz (934 bytes)\r\ + \narchiving fman_rp_pman_R0-0.5365_1.20230914055927.bin.gz (961 bytes)\r\n\ + archiving sessmgrd_pman_R0-0.5072_1.20230914055927.bin.gz (949 bytes)\r\n\ + archiving ofa_pman_R0-0.4139_1.20230914055927.bin.gz (929 bytes)\r\narchiving\ + \ keyman_pman_R0-0.4015_1.20230914055927.bin.gz (944 bytes)\r\narchiving service_mgr_pman_R0-0.3791_1.20230914055927.bin.gz\ + \ (970 bytes)\r\narchiving dbm_pman_R0-0.4844_1.20230914055927.bin.gz (926\ + \ bytes)\r\narchiving cck_qat_pman_R0-0.3673_1.20230914055927.bin.gz (951\ + \ bytes)\r\narchiving pistisd_pman_R0-0.13432_1.20230914055928.bin.gz (1024\ + \ bytes)\r\narchiving tam_svcs_esg_cfg_pman_R0-0.4601_1.20230914055929.bin.gz\ + \ (991 bytes)\r\narchiving tamd_proc_pman_R0-0.4372_1.20230914055929.bin.gz\ + \ (997 bytes)\r\narchiving tams_proc_pman_R0-0.4487_1.20230914055929.bin.gz\ + \ (942 bytes)\r\narchiving shutdown_journal_rp0_20230914055932.log (18000\ + \ bytes)\r\narchiving shutdown_cc0_20230914060728.log (705 bytes)\r\narchiving\ + \ cyaninit_R0-0.6053_0.20230914060312.bin.gz (1885 bytes)\r\narchiving shutdown_fp0_20230914060729.log\ + \ (633 bytes)\r\narchiving pvp_F0-0.17513_0.20230914060339.bin.gz (5573 bytes)\r\ + \narchiving pvp_0-0.19246_0.20230914060344.bin.gz (5452 bytes)\r\narchiving\ + \ emd_0-0.19845_0.20230914060344.bin.gz (3797 bytes)\r\narchiving ezman_0-0.20062_0.20230914060345.bin.gz\ + \ (4447 bytes)\r\narchiving hman_0-0.20604_0.20230914060346.bin.gz (3249 bytes)\r\ + \narchiving cmcc_0-0.20712_0.20230914060346.bin.gz (6194 bytes)\r\narchiving\ + \ btman_pman_0-0.20813_1.20230914060346.bin.gz (1262 bytes)\r\narchiving shutdown_fp0_20230913140010.log\ + \ (633 bytes)\r\narchiving btman_0-0.20819_0.20230914060346.bin.gz (8292 bytes)\r\ + \narchiving IOSCC_0-1.22004_0.20230914060348.bin.gz (6304 bytes)\r\narchiving\ + \ IOSCC_0-0.21671_0.20230914060348.bin.gz (7040 bytes)\r\narchiving IOSCC_0-2.22337_0.20230914060349.bin.gz\ + \ (7230 bytes)\r\narchiving mcpcc_lc_ms_pman_0-2.22330_4.20230914060402.bin.gz\ + \ (1572 bytes)\r\narchiving ezman_pman_0-0.20055_1.20230914060728.bin.gz (997\ + \ bytes)\r\narchiving emd_pman_0-0.19836_1.20230914060728.bin.gz (969 bytes)\r\ + \narchiving hman_pman_0-0.20597_1.20230914060728.bin.gz (971 bytes)\r\narchiving\ + \ cmcc_pman_0-0.20705_1.20230914060728.bin.gz (991 bytes)\r\narchiving mcpcc_lc_ms_pman_0-1.21997_4.20230914060728.bin.gz\ + \ (841 bytes)\r\narchiving mcpcc_lc_ms_pman_0-0.21660_6.20230914060728.bin.gz\ + \ (392 bytes)\r\narchiving cmcc_0-0.20450_0.20230914062808.bin.gz (6312 bytes)\r\ + \narchiving cpp_driver_pman_F0-0.18183_1.20230914060340.bin.gz (1162 bytes)\r\ + \narchiving service_mgr_F0-0.17676_0.20230914060339.bin.gz (5745 bytes)\r\n\ + archiving cpp_cdm_F0-0.17983_0.20230914060340.bin.gz (3174 bytes)\r\narchiving\ + \ cpp_ha_top_level_server_pman_F0-0.18079_1.20230914060340.bin.gz (1191 bytes)\r\ + \narchiving cpp_ha_F0-0.18086_0.20230914060340.bin.gz (4951 bytes)\r\narchiving\ + \ cpp_sp_svr_pman_F0-0.18286_1.20230914060728.bin.gz (1331 bytes)\r\narchiving\ + \ cpp_driver_F0-0.18192_0.20230914060340.bin.gz (3912 bytes)\r\narchiving\ + \ cpp_sp_F0-0.18293_0.20230914060340.bin.gz (4356 bytes)\r\narchiving emd_F0-0.18499_0.20230914060340.bin.gz\ + \ (4303 bytes)\r\narchiving hman_F0-0.18705_0.20230914060341.bin.gz (3244\ + \ bytes)\r\narchiving cman_fp_F0-0.18809_0.20230914060341.bin.gz (3999 bytes)\r\ + \narchiving cpp_stats_F0-0.17879_0.20230914060341.bin.gz (3973 bytes)\r\n\ + archiving btman_pman_F0-0.18905_1.20230914060341.bin.gz (1260 bytes)\r\narchiving\ + \ btman_F0-0.18912_0.20230914060341.bin.gz (8060 bytes)\r\narchiving shutdown_rp0_20230913140011.log\ + \ (1461 bytes)\r\narchiving cpp_cp_F0-0.18396_0.20230914060342.bin.gz (18947\ + \ bytes)\r\narchiving fman_fp_F0-0.18605_0.20230914060343.bin.gz (11699 bytes)\r\ + \narchiving memmon_log_20230914_080612_UTC_1694678772.tar.gz (31076 bytes)\r\ + \narchiving fman_fp_image_pman_F0-0.18595_1.20230914060728.bin.gz (1395 bytes)\r\ + \narchiving cpp_cp_svr_pman_F0-0.18389_1.20230914060728.bin.gz (1449 bytes)\r\ + \narchiving cpp_cdm_svr_pman_F0-0.17976_1.20230914060728.bin.gz (1075 bytes)\r\ + \narchiving cpp_stats_svr_pman_F0-0.17873_1.20230914060728.bin.gz (1062 bytes)\r\ + \narchiving service_mgr_pman_F0-0.17667_1.20230914060728.bin.gz (1022 bytes)\r\ + \narchiving emd_pman_F0-0.18492_1.20230914060728.bin.gz (962 bytes)\r\narchiving\ + \ cman_fp_pman_F0-0.18802_1.20230914060728.bin.gz (989 bytes)\r\narchiving\ + \ hman_pman_F0-0.18698_1.20230914060729.bin.gz (966 bytes)\r\narchiving shutdown_rp0_20230914060730.log\ + \ (1461 bytes)\r\narchiving repm_pman_R0-0.4687_0.20230914060309.bin.gz (2562\ + \ bytes)\r\narchiving psvp_R0-0.3094_0.20230914060306.bin.gz (1894 bytes)\r\ + \narchiving cli_agent_pman_R0-0.4915_0.20230914060310.bin.gz (3114 bytes)\r\ + \narchiving autodns_pman_R0-0.4215_0.20230914060309.bin.gz (2579 bytes)\r\n\ + archiving kernel_ftrace_log_R0-0.11709_0.20230914060328.bin.gz (1747 bytes)\r\ + \narchiving plogd_pman_R0-0.5460_0.20230914060311.bin.gz (2567 bytes)\r\n\ + archiving smand_pman_R0-0.5720_1.20230914060311.bin.gz (1110 bytes)\r\narchiving\ + \ btman_pman_R0-0.5840_1.20230914060312.bin.gz (1141 bytes)\r\narchiving oom_R0-0.6430_0.20230914060314.bin.gz\ + \ (632 bytes)\r\narchiving iptbl_R0-0.7206_0.20230914060318.bin.gz (631 bytes)\r\ + \narchiving binos_R0-0.7416_0.20230914060318.bin.gz (835 bytes)\r\narchiving\ + \ selinux_smu_R0-0.11683_0.20230914060328.bin.gz (747 bytes)\r\narchiving\ + \ inst_rollback_timer_R0-0.11851_0.20230914060329.bin.gz (651 bytes)\r\narchiving\ + \ IOSRP_R0-0.3408_0.20230914060329.bin.gz (105630 bytes)\r\narchiving cmand_R0-0.3520_0.20230914060329.bin.gz\ + \ (15570 bytes)\r\narchiving psd_R0-0.5586_0.20230914060330.bin.gz (7050 bytes)\r\ + \narchiving vman_R0-0.12577_0.20230914060330.bin.gz (5405 bytes)\r\narchiving\ + \ smd_R0-0.5045_0.20230914060330.bin.gz (19397 bytes)\r\narchiving service_mgr_R0-0.3754_0.20230914060331.bin.gz\ + \ (25715 bytes)\r\narchiving repm_R0-0.4694_0.20230914060331.bin.gz (4983\ + \ bytes)\r\narchiving pistisd_R0-0.13914_0.20230914060331.bin.gz (13759 bytes)\r\ + \narchiving plogd_R0-0.5466_3.20230914060331.bin.gz (6638 bytes)\r\narchiving\ + \ ofa_R0-0.4103_0.20230914060332.bin.gz (2217 bytes)\r\narchiving lman_R0-0.14270_0.20230914060332.bin.gz\ + \ (3612 bytes)\r\narchiving sec_key_agent_R0-0.3979_0.20230914060332.bin.gz\ + \ (4128 bytes)\r\narchiving install_mgr_R0-0.14697_0.20230914060333.bin.gz\ + \ (28907 bytes)\r\narchiving hman_R0-0.6012_0.20230914060333.bin.gz (4977\ + \ bytes)\r\narchiving fman_rp_R0-0.5331_0.20230914060333.bin.gz (7661 bytes)\r\ + \narchiving emd_R0-0.5206_0.20230914060333.bin.gz (12131 bytes)\r\narchiving\ + \ shutdown_cc0_20230914062350.log (705 bytes)\r\narchiving dbm_R0-0.4808_0.20230914060333.bin.gz\ + \ (13709 bytes)\r\narchiving cli_agent_R0-0.4921_0.20230914060334.bin.gz (6420\ + \ bytes)\r\narchiving cck_qat_R0-0.3637_0.20230914060334.bin.gz (3064 bytes)\r\ + \narchiving btman_R0-0.5849_0.20230914060334.bin.gz (12583 bytes)\r\narchiving\ + \ utf_R0-0.5849_0.20230914060334.bin.gz (619129 bytes)\r\narchiving tams_proc_R0-0.4451_0.20230914060334.bin.gz\ + \ (2846 bytes)\r\narchiving tamd_proc_R0-0.4336_0.20230914060335.bin.gz (2424\ + \ bytes)\r\narchiving periodic_sh_pman_R0-0.16295_0.20230914060335.bin.gz\ + \ (3727 bytes)\r\narchiving sort_files_by_inode_sh_pman_R0-0.16000_0.20230914060335.bin.gz\ + \ (3600 bytes)\r\narchiving tam_svcs_esg_cfg_R0-0.4564_0.20230914060335.bin.gz\ + \ (2090 bytes)\r\narchiving autodns_R0-0.4222_0.20230914060336.bin.gz (1063\ + \ bytes)\r\narchiving pvp_R0-0.3159_1.20230914060336.bin.gz (5077 bytes)\r\ + \narchiving smand_R0-0.5726_1.20230914060342.bin.gz (21806 bytes)\r\narchiving\ + \ reflector_R0-0.6937_3.20230914060347.bin.gz (615 bytes)\r\narchiving btman_pman_0-0.20551_1.20230914062808.bin.gz\ + \ (1324 bytes)\r\narchiving btman_0-0.20557_0.20230914062808.bin.gz (20155\ + \ bytes)\r\narchiving hman_pman_R0-0.6003_1.20230914060648.bin.gz (1079 bytes)\r\ + \narchiving droputil_R0-0.6796_11.20230914060713.bin.gz (642 bytes)\r\narchiving\ + \ linux_iosd_image_pman_R0-0.3369_2.20230914060723.bin.gz (1438 bytes)\r\n\ + archiving cmand_pman_R0-0.3513_1.20230914060727.bin.gz (957 bytes)\r\narchiving\ + \ install_mgr_pman_R0-0.14691_1.20230914060728.bin.gz (1013 bytes)\r\narchiving\ + \ auto_upgrade_client_sh_pman_R0-0.16934_3.20230914060728.bin.gz (567 bytes)\r\ + \narchiving nginx_pman_R0-0.23114_5.20230914060728.bin.gz (508 bytes)\r\n\ + archiving lman_pman_R0-0.14263_1.20230914060728.bin.gz (991 bytes)\r\narchiving\ + \ psd_pman_R0-0.5579_1.20230914060728.bin.gz (989 bytes)\r\narchiving ofa_pman_R0-0.4096_1.20230914060728.bin.gz\ + \ (931 bytes)\r\narchiving emd_pman_R0-0.5199_1.20230914060728.bin.gz (932\ + \ bytes)\r\narchiving keyman_pman_R0-0.3972_1.20230914060728.bin.gz (942 bytes)\r\ + \narchiving service_mgr_pman_R0-0.3748_1.20230914060728.bin.gz (981 bytes)\r\ + \narchiving fman_rp_pman_R0-0.5319_1.20230914060728.bin.gz (961 bytes)\r\n\ + archiving sessmgrd_pman_R0-0.5032_1.20230914060728.bin.gz (954 bytes)\r\n\ + archiving dbm_pman_R0-0.4801_1.20230914060728.bin.gz (930 bytes)\r\narchiving\ + \ vman_pman_R0-0.12570_1.20230914060728.bin.gz (1075 bytes)\r\narchiving cck_qat_pman_R0-0.3630_1.20230914060729.bin.gz\ + \ (943 bytes)\r\narchiving pistisd_pman_R0-0.13907_1.20230914060730.bin.gz\ + \ (1022 bytes)\r\narchiving tam_svcs_esg_cfg_pman_R0-0.4558_1.20230914060730.bin.gz\ + \ (993 bytes)\r\narchiving tamd_proc_pman_R0-0.4329_1.20230914060730.bin.gz\ + \ (1007 bytes)\r\narchiving tams_proc_pman_R0-0.4444_1.20230914060730.bin.gz\ + \ (943 bytes)\r\narchiving shutdown_journal_rp0_20230914060732.log (211918\ + \ bytes)\r\narchiving pvp_0-0.18855_0.20230914061143.bin.gz (5467 bytes)\r\ + \narchiving cyaninit_R0-0.6098_0.20230914061112.bin.gz (1885 bytes)\r\narchiving\ + \ btman_pman_0-0.20439_1.20230914061146.bin.gz (1320 bytes)\r\narchiving emd_0-0.19461_0.20230914061144.bin.gz\ + \ (4287 bytes)\r\narchiving ezman_0-0.19677_0.20230914061145.bin.gz (4432\ + \ bytes)\r\narchiving hman_0-0.20230_0.20230914061145.bin.gz (7165 bytes)\r\ + \narchiving cmcc_0-0.20338_0.20230914061145.bin.gz (6206 bytes)\r\narchiving\ + \ shutdown_fp0_20230914062351.log (633 bytes)\r\narchiving shutdown_journal_rp0_20230913140013.log\ + \ (210690 bytes)\r\narchiving btman_0-0.20445_0.20230914061146.bin.gz (12065\ + \ bytes)\r\narchiving IOSCC_0-0.21293_0.20230914061148.bin.gz (7302 bytes)\r\ + \narchiving IOSCC_0-1.21617_0.20230914061148.bin.gz (6338 bytes)\r\narchiving\ + \ IOSCC_0-2.21994_0.20230914061148.bin.gz (7134 bytes)\r\narchiving create_utm_luid_file_db_0-0.25976_0.20230914061646.bin.gz\ + \ (1740 bytes)\r\narchiving mcpcc_lc_ms_pman_0-2.21987_4.20230914062232.bin.gz\ + \ (1420 bytes)\r\narchiving emd_pman_0-0.19451_1.20230914062350.bin.gz (971\ + \ bytes)\r\narchiving hman_pman_0-0.20223_1.20230914062350.bin.gz (968 bytes)\r\ + \narchiving ezman_pman_0-0.19670_1.20230914062350.bin.gz (988 bytes)\r\narchiving\ + \ cmcc_pman_0-0.20331_1.20230914062350.bin.gz (990 bytes)\r\narchiving mcpcc_lc_ms_pman_0-0.21282_6.20230914062350.bin.gz\ + \ (551 bytes)\r\narchiving mcpcc_lc_ms_pman_0-1.21610_4.20230914062350.bin.gz\ + \ (839 bytes)\r\narchiving cpp_cdm_F0-0.17599_0.20230914061139.bin.gz (3169\ + \ bytes)\r\narchiving pvp_F0-0.17123_0.20230914061138.bin.gz (5598 bytes)\r\ + \narchiving cpp_driver_pman_F0-0.17797_1.20230914061139.bin.gz (1163 bytes)\r\ + \narchiving service_mgr_F0-0.17290_0.20230914061139.bin.gz (5725 bytes)\r\n\ + archiving cpp_ha_F0-0.17700_0.20230914061139.bin.gz (5080 bytes)\r\narchiving\ + \ cpp_ha_top_level_server_pman_F0-0.17693_1.20230914061139.bin.gz (1190 bytes)\r\ + \narchiving cpp_cp_svr_pman_F0-0.18003_1.20230914062350.bin.gz (1447 bytes)\r\ + \narchiving cpp_driver_F0-0.17804_0.20230914061140.bin.gz (3904 bytes)\r\n\ + archiving cpp_sp_F0-0.17907_0.20230914061140.bin.gz (4361 bytes)\r\narchiving\ + \ emd_F0-0.18115_0.20230914061140.bin.gz (4808 bytes)\r\narchiving hman_F0-0.18320_0.20230914061140.bin.gz\ + \ (7283 bytes)\r\narchiving cman_fp_F0-0.18424_0.20230914061141.bin.gz (3990\ + \ bytes)\r\narchiving cpp_stats_F0-0.17494_0.20230914061141.bin.gz (3957 bytes)\r\ + \narchiving btman_pman_F0-0.18519_1.20230914061141.bin.gz (1319 bytes)\r\n\ + archiving btman_F0-0.18526_0.20230914061141.bin.gz (11742 bytes)\r\narchiving\ + \ cpp_cp_F0-0.18010_0.20230914061142.bin.gz (18997 bytes)\r\narchiving fman_fp_F0-0.18224_0.20230914061142.bin.gz\ + \ (11692 bytes)\r\narchiving shutdown_rp0_20230914062352.log (1461 bytes)\r\ + \narchiving create_utm_luid_file_db_F0-0.25846_0.20230914061641.bin.gz (1744\ + \ bytes)\r\narchiving fman_fp_image_pman_F0-0.18210_1.20230914062350.bin.gz\ + \ (1393 bytes)\r\narchiving cpp_sp_svr_pman_F0-0.17900_1.20230914062350.bin.gz\ + \ (1330 bytes)\r\narchiving cpp_cdm_svr_pman_F0-0.17590_1.20230914062350.bin.gz\ + \ (1068 bytes)\r\narchiving cpp_stats_svr_pman_F0-0.17487_1.20230914062350.bin.gz\ + \ (1057 bytes)\r\narchiving cman_fp_pman_F0-0.18416_1.20230914062350.bin.gz\ + \ (996 bytes)\r\narchiving service_mgr_pman_F0-0.17281_1.20230914062350.bin.gz\ + \ (1022 bytes)\r\narchiving emd_pman_F0-0.18107_1.20230914062350.bin.gz (963\ + \ bytes)\r\narchiving hman_pman_F0-0.18313_1.20230914062351.bin.gz (965 bytes)\r\ + \narchiving btman_rotate_immediate_R0-0.31039_0.20230914062351.bin.gz (4673\ + \ bytes)\r\narchiving repm_pman_R0-0.4731_0.20230914061109.bin.gz (2554 bytes)\r\ + \narchiving psvp_R0-0.3138_0.20230914061106.bin.gz (1891 bytes)\r\narchiving\ + \ cli_agent_pman_R0-0.4959_0.20230914061110.bin.gz (3111 bytes)\r\narchiving\ + \ autodns_pman_R0-0.4259_0.20230914061108.bin.gz (2579 bytes)\r\narchiving\ + \ kernel_ftrace_log_R0-0.11767_0.20230914061128.bin.gz (1749 bytes)\r\narchiving\ + \ plogd_pman_R0-0.5505_0.20230914061110.bin.gz (2568 bytes)\r\narchiving smand_pman_R0-0.5765_1.20230914061111.bin.gz\ + \ (1119 bytes)\r\narchiving btman_pman_R0-0.5879_1.20230914061111.bin.gz (1207\ + \ bytes)\r\narchiving oom_R0-0.6466_0.20230914061114.bin.gz (634 bytes)\r\n\ + archiving iptbl_R0-0.7246_0.20230914061117.bin.gz (630 bytes)\r\narchiving\ + \ binos_R0-0.7464_0.20230914061118.bin.gz (836 bytes)\r\narchiving selinux_smu_R0-0.11722_0.20230914061128.bin.gz\ + \ (743 bytes)\r\narchiving create_utm_luid_file_db_R0-0.25446_0.20230914061635.bin.gz\ + \ (1749 bytes)\r\narchiving inst_rollback_timer_R0-0.11895_0.20230914061128.bin.gz\ + \ (648 bytes)\r\narchiving cmand_R0-0.3563_0.20230914061129.bin.gz (15839\ + \ bytes)\r\narchiving cck_qat_R0-0.3680_0.20230914061129.bin.gz (3175 bytes)\r\ + \narchiving install_mgr_R0-0.12781_0.20230914061130.bin.gz (30355 bytes)\r\ + \narchiving sec_key_agent_R0-0.4023_0.20230914061130.bin.gz (4127 bytes)\r\ + \narchiving IOSRP_R0-0.3455_1.20230914061130.bin.gz (29247 bytes)\r\narchiving\ + \ ofa_R0-0.4147_0.20230914061130.bin.gz (2216 bytes)\r\narchiving pistisd_R0-0.13565_0.20230914061131.bin.gz\ + \ (13856 bytes)\r\narchiving autodns_R0-0.4266_0.20230914061131.bin.gz (1064\ + \ bytes)\r\narchiving tamd_proc_R0-0.4380_0.20230914061131.bin.gz (2432 bytes)\r\ + \narchiving tams_proc_R0-0.4495_0.20230914061131.bin.gz (2838 bytes)\r\narchiving\ + \ tam_svcs_esg_cfg_R0-0.4608_0.20230914061131.bin.gz (2073 bytes)\r\narchiving\ + \ lman_R0-0.14354_0.20230914061132.bin.gz (3614 bytes)\r\narchiving repm_R0-0.4738_0.20230914061132.bin.gz\ + \ (4999 bytes)\r\narchiving dbm_R0-0.4852_0.20230914061132.bin.gz (15084 bytes)\r\ + \narchiving cli_agent_R0-0.4966_0.20230914061133.bin.gz (6250 bytes)\r\narchiving\ + \ smd_R0-0.5080_0.20230914061133.bin.gz (19501 bytes)\r\narchiving emd_R0-0.5244_0.20230914061133.bin.gz\ + \ (12276 bytes)\r\narchiving fman_rp_R0-0.5373_0.20230914061133.bin.gz (7769\ + \ bytes)\r\narchiving plogd_R0-0.5511_3.20230914061134.bin.gz (5987 bytes)\r\ + \narchiving psd_R0-0.5630_0.20230914061134.bin.gz (3865 bytes)\r\narchiving\ + \ periodic_sh_pman_R0-0.15726_0.20230914061134.bin.gz (3727 bytes)\r\narchiving\ + \ btman_R0-0.5884_0.20230914061135.bin.gz (17024 bytes)\r\narchiving sort_files_by_inode_sh_pman_R0-0.15881_0.20230914061134.bin.gz\ + \ (3591 bytes)\r\narchiving utf_R0-0.5884_0.20230914061135.bin.gz (739964\ + \ bytes)\r\narchiving hman_R0-0.6035_0.20230914061135.bin.gz (9082 bytes)\r\ + \narchiving pvp_R0-0.3203_1.20230914061135.bin.gz (4862 bytes)\r\narchiving\ + \ smand_R0-0.5771_1.20230914061145.bin.gz (22086 bytes)\r\narchiving reflector_R0-0.6982_3.20230914061146.bin.gz\ + \ (615 bytes)\r\narchiving IOSCC_0-1.21729_0.20230914062811.bin.gz (6354 bytes)\r\ + \narchiving IOSCC_0-0.21406_0.20230914062811.bin.gz (7325 bytes)\r\narchiving\ + \ hman_pman_R0-0.6029_1.20230914061847.bin.gz (1082 bytes)\r\narchiving paed_R0-0.25973_0.20230914061645.bin.gz\ + \ (15666 bytes)\r\narchiving install_mgr_pman_R0-0.12774_1.20230914062350.bin.gz\ + \ (1020 bytes)\r\narchiving service_mgr_R0-0.3799_1.20230914062109.bin.gz\ + \ (16322 bytes)\r\narchiving droputil_R0-0.6841_22.20230914062345.bin.gz (385\ + \ bytes)\r\narchiving linux_iosd_image_pman_R0-0.3413_2.20230914062345.bin.gz\ + \ (1438 bytes)\r\narchiving cmand_pman_R0-0.3557_1.20230914062349.bin.gz (960\ + \ bytes)\r\narchiving nginx_pman_R0-0.23147_5.20230914062350.bin.gz (440 bytes)\r\ + \narchiving auto_upgrade_client_sh_pman_R0-0.15444_3.20230914062350.bin.gz\ + \ (566 bytes)\r\narchiving lman_pman_R0-0.14347_1.20230914062350.bin.gz (980\ + \ bytes)\r\narchiving keyman_pman_R0-0.4016_1.20230914062350.bin.gz (946 bytes)\r\ + \narchiving psd_pman_R0-0.5624_1.20230914062350.bin.gz (977 bytes)\r\narchiving\ + \ emd_pman_R0-0.5237_1.20230914062350.bin.gz (933 bytes)\r\narchiving ofa_pman_R0-0.4140_1.20230914062350.bin.gz\ + \ (936 bytes)\r\narchiving tam_svcs_esg_cfg_pman_R0-0.4602_1.20230914062352.bin.gz\ + \ (991 bytes)\r\narchiving service_mgr_pman_R0-0.3792_1.20230914062350.bin.gz\ + \ (967 bytes)\r\narchiving fman_rp_pman_R0-0.5364_1.20230914062350.bin.gz\ + \ (959 bytes)\r\narchiving sessmgrd_pman_R0-0.5073_1.20230914062350.bin.gz\ + \ (954 bytes)\r\narchiving dbm_pman_R0-0.4845_1.20230914062350.bin.gz (930\ + \ bytes)\r\narchiving cck_qat_pman_R0-0.3674_1.20230914062351.bin.gz (946\ + \ bytes)\r\narchiving pistisd_pman_R0-0.13558_1.20230914062351.bin.gz (1020\ + \ bytes)\r\narchiving shutdown_journal_rp0_20230914062354.log (18825 bytes)\r\ + \narchiving tamd_proc_pman_R0-0.4373_1.20230914062352.bin.gz (1008 bytes)\r\ + \narchiving tams_proc_pman_R0-0.4488_1.20230914062352.bin.gz (946 bytes)\r\ + \narchiving IOSCC_0-2.22107_0.20230914062811.bin.gz (7120 bytes)\r\narchiving\ + \ btman_rotate_immediate_R0-0.31141_0.20230914062352.bin.gz (8050 bytes)\r\ + \narchiving cyaninit_R0-0.6091_0.20230914062734.bin.gz (1889 bytes)\r\narchiving\ + \ mcpcc_lc_ms_pman_0-2.22100_4.20230914070019.bin.gz (1382 bytes)\r\narchiving\ + \ create_utm_luid_file_db_0-0.26684_0.20230914063308.bin.gz (1744 bytes)\r\ + \narchiving ezman_pman_0-0.19782_1.20230914070149.bin.gz (1000 bytes)\r\n\ + archiving emd_pman_0-0.19563_1.20230914070149.bin.gz (973 bytes)\r\narchiving\ + \ hman_pman_0-0.20335_1.20230914070149.bin.gz (965 bytes)\r\narchiving cmcc_pman_0-0.20443_1.20230914070149.bin.gz\ + \ (994 bytes)\r\narchiving mcpcc_lc_ms_pman_0-1.21722_4.20230914070149.bin.gz\ + \ (842 bytes)\r\narchiving mcpcc_lc_ms_pman_0-0.21394_6.20230914070149.bin.gz\ + \ (553 bytes)\r\narchiving cpp_ha_top_level_server_pman_F0-0.17805_1.20230914062802.bin.gz\ + \ (1189 bytes)\r\narchiving btman_rotate_immediate_R0-0.20024_0.20230914070149.bin.gz\ + \ (3819 bytes)\r\narchiving pvp_F0-0.17235_0.20230914062801.bin.gz (5590 bytes)\r\ + \narchiving service_mgr_F0-0.17402_0.20230914062801.bin.gz (5735 bytes)\r\n\ + archiving cpp_driver_F0-0.17918_0.20230914062802.bin.gz (3918 bytes)\r\narchiving\ + \ cpp_cdm_F0-0.17708_0.20230914062802.bin.gz (3168 bytes)\r\narchiving cpp_ha_F0-0.17812_0.20230914062802.bin.gz\ + \ (5216 bytes)\r\narchiving fman_fp_image_pman_F0-0.18322_1.20230914070149.bin.gz\ + \ (1392 bytes)\r\narchiving cpp_driver_pman_F0-0.17909_1.20230914062802.bin.gz\ + \ (1169 bytes)\r\narchiving cpp_sp_F0-0.18018_0.20230914062802.bin.gz (4367\ + \ bytes)\r\narchiving emd_F0-0.18225_0.20230914062803.bin.gz (5913 bytes)\r\ + \narchiving hman_F0-0.18432_0.20230914062803.bin.gz (10525 bytes)\r\narchiving\ + \ cman_fp_F0-0.18535_0.20230914062803.bin.gz (3988 bytes)\r\narchiving cpp_stats_F0-0.17606_0.20230914062803.bin.gz\ + \ (3966 bytes)\r\narchiving btman_pman_F0-0.18631_1.20230914062804.bin.gz\ + \ (1320 bytes)\r\narchiving btman_F0-0.18638_0.20230914062804.bin.gz (19814\ + \ bytes)\r\narchiving cpp_cp_F0-0.18122_0.20230914062804.bin.gz (18907 bytes)\r\ + \narchiving fman_fp_F0-0.18334_0.20230914062805.bin.gz (11708 bytes)\r\narchiving\ + \ shutdown_rp0_20230914070150.log (1461 bytes)\r\narchiving create_utm_luid_file_db_F0-0.26554_0.20230914063304.bin.gz\ + \ (1746 bytes)\r\narchiving cpp_sp_svr_pman_F0-0.18012_1.20230914070149.bin.gz\ + \ (1331 bytes)\r\narchiving emd_pman_F0-0.18218_1.20230914070149.bin.gz (968\ + \ bytes)\r\narchiving cpp_cp_svr_pman_F0-0.18115_1.20230914070149.bin.gz (1451\ + \ bytes)\r\narchiving cpp_cdm_svr_pman_F0-0.17702_1.20230914070149.bin.gz\ + \ (1068 bytes)\r\narchiving cpp_stats_svr_pman_F0-0.17599_1.20230914070149.bin.gz\ + \ (1075 bytes)\r\narchiving cman_fp_pman_F0-0.18528_1.20230914070149.bin.gz\ + \ (992 bytes)\r\narchiving service_mgr_pman_F0-0.17393_1.20230914070149.bin.gz\ + \ (1025 bytes)\r\narchiving hman_pman_F0-0.18425_1.20230914070149.bin.gz (968\ + \ bytes)\r\narchiving btman_rotate_immediate_R0-0.20143_0.20230914070150.bin.gz\ + \ (4678 bytes)\r\narchiving repm_pman_R0-0.4726_0.20230914062732.bin.gz (2572\ + \ bytes)\r\narchiving psvp_R0-0.3133_0.20230914062728.bin.gz (1890 bytes)\r\ + \narchiving cli_agent_pman_R0-0.4954_0.20230914062732.bin.gz (3116 bytes)\r\ + \narchiving autodns_pman_R0-0.4254_0.20230914062731.bin.gz (2588 bytes)\r\n\ + archiving kernel_ftrace_log_R0-0.11760_0.20230914062751.bin.gz (1749 bytes)\r\ + \narchiving plogd_pman_R0-0.5498_0.20230914062733.bin.gz (2563 bytes)\r\n\ + archiving smand_pman_R0-0.5758_1.20230914062734.bin.gz (1120 bytes)\r\narchiving\ + \ btman_pman_R0-0.5881_1.20230914062734.bin.gz (1209 bytes)\r\narchiving oom_R0-0.6464_0.20230914062736.bin.gz\ + \ (634 bytes)\r\narchiving iptbl_R0-0.7244_0.20230914062740.bin.gz (628 bytes)\r\ + \narchiving binos_R0-0.7473_0.20230914062740.bin.gz (836 bytes)\r\narchiving\ + \ selinux_smu_R0-0.11718_0.20230914062751.bin.gz (745 bytes)\r\narchiving\ + \ create_utm_luid_file_db_R0-0.26153_0.20230914063258.bin.gz (1751 bytes)\r\ + \narchiving inst_rollback_timer_R0-0.11892_0.20230914062751.bin.gz (649 bytes)\r\ + \narchiving cmand_R0-0.3558_0.20230914062752.bin.gz (17187 bytes)\r\narchiving\ + \ cck_qat_R0-0.3676_0.20230914062752.bin.gz (3178 bytes)\r\narchiving sec_key_agent_R0-0.4018_0.20230914062753.bin.gz\ + \ (4323 bytes)\r\narchiving IOSRP_R0-0.3442_1.20230914062753.bin.gz (35313\ + \ bytes)\r\narchiving ofa_R0-0.4142_0.20230914062753.bin.gz (2215 bytes)\r\ + \narchiving pistisd_R0-0.13558_0.20230914062753.bin.gz (13863 bytes)\r\narchiving\ + \ autodns_R0-0.4261_0.20230914062754.bin.gz (1081 bytes)\r\narchiving tamd_proc_R0-0.4375_0.20230914062754.bin.gz\ + \ (2427 bytes)\r\narchiving tams_proc_R0-0.4490_0.20230914062754.bin.gz (2817\ + \ bytes)\r\narchiving tam_svcs_esg_cfg_R0-0.4603_0.20230914062754.bin.gz (2074\ + \ bytes)\r\narchiving lman_R0-0.14347_0.20230914062755.bin.gz (3664 bytes)\r\ + \narchiving repm_R0-0.4733_0.20230914062755.bin.gz (4991 bytes)\r\narchiving\ + \ dbm_R0-0.4846_0.20230914062755.bin.gz (15057 bytes)\r\narchiving cli_agent_R0-0.4962_0.20230914062755.bin.gz\ + \ (6256 bytes)\r\narchiving smd_R0-0.5109_0.20230914062756.bin.gz (19790 bytes)\r\ + \narchiving emd_R0-0.5244_0.20230914062756.bin.gz (12271 bytes)\r\narchiving\ + \ fman_rp_R0-0.5369_0.20230914062756.bin.gz (7767 bytes)\r\narchiving plogd_R0-0.5504_3.20230914062756.bin.gz\ + \ (6653 bytes)\r\narchiving psd_R0-0.5625_0.20230914062756.bin.gz (3865 bytes)\r\ + \narchiving periodic_sh_pman_R0-0.15726_0.20230914062757.bin.gz (3732 bytes)\r\ + \narchiving btman_R0-0.5900_0.20230914062758.bin.gz (30865 bytes)\r\narchiving\ + \ sort_files_by_inode_sh_pman_R0-0.15874_0.20230914062757.bin.gz (3591 bytes)\r\ + \narchiving hman_R0-0.6064_0.20230914062758.bin.gz (12489 bytes)\r\narchiving\ + \ pvp_R0-0.3198_1.20230914062758.bin.gz (9191 bytes)\r\narchiving smand_R0-0.5764_1.20230914062808.bin.gz\ + \ (22140 bytes)\r\narchiving reflector_R0-0.6975_3.20230914062809.bin.gz (619\ + \ bytes)\r\narchiving IOSRP_R0-1.15254_0.20230914070049.bin.gz (56456 bytes)\r\ + \narchiving paed_R0-0.26681_0.20230914063308.bin.gz (15670 bytes)\r\narchiving\ + \ install_mgr_R0-0.12774_200.20230914070148.bin.gz (31421 bytes)\r\narchiving\ + \ service_mgr_R0-0.3793_3.20230914065643.bin.gz (29565 bytes)\r\narchiving\ + \ psd_R0-1.16970_0.20230914070050.bin.gz (2974 bytes)\r\narchiving fman_rp_R0-1.16831_0.20230914070050.bin.gz\ + \ (6843 bytes)\r\narchiving droputil_R0-0.6834_47.20230914070138.bin.gz (495\ + \ bytes)\r\narchiving utf_R0-0.5900_10.20230914070146.bin.gz (329775 bytes)\r\ + \narchiving cmand_pman_R0-0.3552_1.20230914070148.bin.gz (959 bytes)\r\narchiving\ + \ linux_iosd_image_pman_R0-0.3408_3.20230914070148.bin.gz (1087 bytes)\r\n\ + archiving shutdown_journal_rp0_20230914070153.log (20467 bytes)\r\narchiving\ + \ auto_upgrade_client_sh_pman_R0-0.15437_3.20230914070148.bin.gz (568 bytes)\r\ + \narchiving nginx_pman_R0-0.23378_5.20230914070148.bin.gz (440 bytes)\r\n\ + archiving install_mgr_pman_R0-0.12767_1.20230914070148.bin.gz (1025 bytes)\r\ + \narchiving psd_pman_R0-0.5617_1.20230914070148.bin.gz (988 bytes)\r\narchiving\ + \ lman_pman_R0-0.14340_1.20230914070148.bin.gz (978 bytes)\r\narchiving emd_pman_R0-0.5237_1.20230914070148.bin.gz\ + \ (936 bytes)\r\narchiving keyman_pman_R0-0.4011_1.20230914070149.bin.gz (947\ + \ bytes)\r\narchiving ofa_pman_R0-0.4135_1.20230914070149.bin.gz (931 bytes)\r\ + \narchiving fman_rp_pman_R0-0.5357_1.20230914070149.bin.gz (960 bytes)\r\n\ + archiving service_mgr_pman_R0-0.3787_1.20230914070149.bin.gz (971 bytes)\r\ + \narchiving sessmgrd_pman_R0-0.5102_1.20230914070149.bin.gz (949 bytes)\r\n\ + archiving dbm_pman_R0-0.4840_1.20230914070149.bin.gz (929 bytes)\r\narchiving\ + \ cck_qat_pman_R0-0.3669_1.20230914070149.bin.gz (946 bytes)\r\narchiving\ + \ pistisd_pman_R0-0.13551_1.20230914070150.bin.gz (1026 bytes)\r\narchiving\ + \ tam_svcs_esg_cfg_pman_R0-0.4597_1.20230914070150.bin.gz (1001 bytes)\r\n\ + archiving tamd_proc_pman_R0-0.4368_1.20230914070150.bin.gz (993 bytes)\r\n\ + archiving tams_proc_pman_R0-0.4483_1.20230914070150.bin.gz (940 bytes)\r\n\ + archiving hman_pman_R0-0.6058_1.20230914070150.bin.gz (974 bytes)\r\narchiving\ + \ btman_rotate_immediate_R0-0.20245_0.20230914070151.bin.gz (9098 bytes)\r\ + \narchiving cyaninit_R0-0.6101_0.20230914070532.bin.gz (1888 bytes)" + response_type: circular + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: GD_F12# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_archive_tar/archive_2/test_api_execute_archive_tar_option_create.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_archive_tar/archive_2/test_api_execute_archive_tar_option_create.py new file mode 100644 index 000000000..83e76ead7 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_archive_tar/archive_2/test_api_execute_archive_tar_option_create.py @@ -0,0 +1,595 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.platform.execute import execute_archive_tar + + +class TestExecuteArchiveTar(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + GD_F12: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: iosxe + type: iosxe + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['GD_F12'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_execute_archive_tar(self): + result = execute_archive_tar(self.device, 'usb_files_9.tar', 'create', 'bootflash:', 'tracelogs', 'usb0:', 'test', 120) + expected_output = ('archiving dmesg (66264 bytes)\r\n' + 'archiving timestamp (10 bytes)\r\n' + 'archiving shutdown_cc0_20230913134955.log (705 bytes)\r\n' + 'archiving shutdown_fp0_20230913134955.log (633 bytes)\r\n' + 'archiving utf_R0-0.5887_6674.20230914055716.bin.gz (808254 bytes)\r\n' + 'archiving utf_R0-0.5887_6675.20230914055725.bin.gz (806594 bytes)\r\n' + 'archiving utf_R0-0.5887_6676.20230914055734.bin.gz (808838 bytes)\r\n' + 'archiving utf_R0-0.5887_6677.20230914055743.bin.gz (807858 bytes)\r\n' + 'archiving utf_R0-0.5887_6678.20230914055752.bin.gz (807057 bytes)\r\n' + 'archiving utf_R0-0.5887_6679.20230914055801.bin.gz (809544 bytes)\r\n' + 'archiving utf_R0-0.5887_6680.20230914055809.bin.gz (807218 bytes)\r\n' + 'archiving utf_R0-0.5887_6681.20230914055818.bin.gz (807444 bytes)\r\n' + 'archiving utf_R0-0.5887_6682.20230914055827.bin.gz (808464 bytes)\r\n' + 'archiving utf_R0-0.5887_6683.20230914055836.bin.gz (808658 bytes)\r\n' + 'archiving utf_R0-0.5887_6684.20230914055845.bin.gz (807272 bytes)\r\n' + 'archiving utf_R0-0.5887_6673.20230914055707.bin.gz (808002 bytes)\r\n' + 'archiving utf_R0-0.5887_6685.20230914055854.bin.gz (807831 bytes)\r\n' + 'archiving utf_R0-0.5887_6686.20230914055903.bin.gz (813608 bytes)\r\n' + 'archiving utf_R0-0.5887_6687.20230914055912.bin.gz (811137 bytes)\r\n' + 'archiving shutdown_cc0_20230914055927.log (705 bytes)\r\n' + 'archiving utf_R0-0.5900_0.20230914062758.bin.gz (1328995 bytes)\r\n' + 'archiving utf_R0-0.5900_1.20230914070052.bin.gz (825329 bytes)\r\n' + 'archiving utf_R0-0.5900_2.20230914070058.bin.gz (811558 bytes)\r\n' + 'archiving utf_R0-0.5900_3.20230914070104.bin.gz (809314 bytes)\r\n' + 'archiving utf_R0-0.5900_4.20230914070110.bin.gz (796014 bytes)\r\n' + 'archiving utf_R0-0.5900_5.20230914070116.bin.gz (805042 bytes)\r\n' + 'archiving utf_R0-0.5900_6.20230914070122.bin.gz (803377 bytes)\r\n' + 'archiving utf_R0-0.5900_7.20230914070128.bin.gz (797514 bytes)\r\n' + 'archiving utf_R0-0.5900_8.20230914070134.bin.gz (801024 bytes)\r\n' + 'archiving utf_R0-0.5900_9.20230914070140.bin.gz (799539 bytes)\r\n' + 'archiving shutdown_cc0_20230914070149.log (705 bytes)\r\n' + 'archiving utf_R0-0.5887_6672.20230914055658.bin.gz (809280 bytes)\r\n' + 'archiving system_shell_R0-0.25305_0.20230913205802.bin (755 bytes)\r\n' + 'archiving memmon_log_20230913_203413_IST_1694617453.tar.gz (18388 bytes)\r\n' + 'archiving system_shell_R0-0.6208_0.20230913215854.bin (5505 bytes)\r\n' + 'archiving btman_pman_0-0.20392_1.20230913140409.bin.gz (1320 bytes)\r\n' + 'archiving pvp_0-0.18819_0.20230913140407.bin.gz (5490 bytes)\r\n' + 'archiving emd_0-0.19421_0.20230913140408.bin.gz (47061 bytes)\r\n' + 'archiving ezman_0-0.19639_0.20230913140408.bin.gz (4441 bytes)\r\n' + 'archiving cmcc_0-0.20291_0.20230913140409.bin.gz (6194 bytes)\r\n' + 'archiving cmcc_pman_0-0.20284_1.20230914055927.bin.gz (993 bytes)\r\n' + 'archiving IOSCC_0-0.21260_0.20230913140412.bin.gz (7344 bytes)\r\n' + 'archiving IOSCC_0-1.21579_0.20230913140412.bin.gz (6372 bytes)\r\n' + 'archiving IOSCC_0-2.21957_0.20230913140412.bin.gz (7140 bytes)\r\n' + 'archiving hman_0-0.20183_2.20230914014418.bin.gz (45974 bytes)\r\n' + 'archiving mcpcc_lc_ms_pman_0-2.21950_4.20230913165052.bin.gz (1413 bytes)\r\n' + 'archiving btman_0-0.20398_4.20230914025408.bin.gz (67666 bytes)\r\n' + 'archiving shutdown_fp0_20230914055928.log (633 bytes)\r\n' + 'archiving pvp_F0-0.16962_0.20230913140402.bin.gz (5602 bytes)\r\n' + 'archiving shutdown_rp0_20230913134956.log (1461 bytes)\r\n' + 'archiving ezman_pman_0-0.19632_1.20230914055927.bin.gz (988 bytes)\r\n' + 'archiving emd_pman_0-0.19413_1.20230914055927.bin.gz (968 bytes)\r\n' + 'archiving hman_pman_0-0.20176_1.20230914055927.bin.gz (965 bytes)\r\n' + 'archiving mcpcc_lc_ms_pman_0-1.21572_4.20230914055927.bin.gz (838 bytes)\r\n' + 'archiving mcpcc_lc_ms_pman_0-0.21244_6.20230914055927.bin.gz (519 bytes)\r\n' + 'archiving shutdown_fp0_20230914070149.log (633 bytes)\r\n' + 'archiving cpp_driver_pman_F0-0.17636_1.20230913140403.bin.gz (1173 bytes)\r\n' + 'archiving service_mgr_F0-0.17129_0.20230913140402.bin.gz (5731 bytes)\r\n' + 'archiving cpp_cdm_F0-0.17435_0.20230913140403.bin.gz (3190 bytes)\r\n' + 'archiving cpp_ha_top_level_server_pman_F0-0.17532_1.20230913140403.bin.gz ' + '(1185 bytes)\r\n' + 'archiving cpp_ha_F0-0.17539_0.20230913140403.bin.gz (12085 bytes)\r\n' + 'archiving cpp_cp_svr_pman_F0-0.17843_1.20230914055927.bin.gz (1451 bytes)\r\n' + 'archiving cpp_driver_F0-0.17644_0.20230913140403.bin.gz (4000 bytes)\r\n' + 'archiving cpp_sp_F0-0.17746_0.20230913140403.bin.gz (4451 bytes)\r\n' + 'archiving emd_F0-0.17953_0.20230913140403.bin.gz (47659 bytes)\r\n' + 'archiving cpp_stats_F0-0.17333_0.20230913140404.bin.gz (3955 bytes)\r\n' + 'archiving cman_fp_F0-0.18385_0.20230913140404.bin.gz (3996 bytes)\r\n' + 'archiving btman_pman_F0-0.18481_1.20230913140404.bin.gz (1319 bytes)\r\n' + 'archiving cpp_cp_F0-0.17849_0.20230913140405.bin.gz (18978 bytes)\r\n' + 'archiving fman_fp_F0-0.18091_0.20230913140406.bin.gz (12477 bytes)\r\n' + 'archiving hman_F0-0.18284_2.20230914014413.bin.gz (46015 bytes)\r\n' + 'archiving btman_F0-0.18488_4.20230914025458.bin.gz (67406 bytes)\r\n' + 'archiving pvp_0-0.18967_0.20230914062806.bin.gz (5457 bytes)\r\n' + 'archiving fman_fp_image_pman_F0-0.18071_1.20230914055927.bin.gz (1397 ' + 'bytes)\r\n' + 'archiving cpp_sp_svr_pman_F0-0.17739_1.20230914055927.bin.gz (1333 bytes)\r\n' + 'archiving emd_pman_F0-0.17946_1.20230914055927.bin.gz (964 bytes)\r\n' + 'archiving cman_fp_pman_F0-0.18378_1.20230914055927.bin.gz (995 bytes)\r\n' + 'archiving cpp_cdm_svr_pman_F0-0.17429_1.20230914055927.bin.gz (1072 ' + 'bytes)\r\n' + 'archiving shutdown_cc0_20230913140009.log (705 bytes)\r\n' + 'archiving cpp_stats_svr_pman_F0-0.17326_1.20230914055927.bin.gz (1071 ' + 'bytes)\r\n' + 'archiving service_mgr_pman_F0-0.17120_1.20230914055927.bin.gz (1021 ' + 'bytes)\r\n' + 'archiving hman_pman_F0-0.18274_1.20230914055928.bin.gz (960 bytes)\r\n' + 'archiving shutdown_rp0_20230914055929.log (1461 bytes)\r\n' + 'archiving repm_pman_R0-0.4730_0.20230913140333.bin.gz (2564 bytes)\r\n' + 'archiving psvp_R0-0.3137_0.20230913140329.bin.gz (1882 bytes)\r\n' + 'archiving cli_agent_pman_R0-0.4958_0.20230913140333.bin.gz (3112 bytes)\r\n' + 'archiving autodns_pman_R0-0.4258_0.20230913140332.bin.gz (2590 bytes)\r\n' + 'archiving kernel_ftrace_log_R0-0.11650_0.20230913140352.bin.gz (1750 ' + 'bytes)\r\n' + 'archiving plogd_pman_R0-0.5506_0.20230913140334.bin.gz (2569 bytes)\r\n' + 'archiving smand_pman_R0-0.5766_1.20230913140335.bin.gz (1120 bytes)\r\n' + 'archiving btman_pman_R0-0.5880_1.20230913140335.bin.gz (1205 bytes)\r\n' + 'archiving oom_R0-0.6485_0.20230913140337.bin.gz (635 bytes)\r\n' + 'archiving iptbl_R0-0.7268_0.20230913140341.bin.gz (630 bytes)\r\n' + 'archiving binos_R0-0.7482_0.20230913140341.bin.gz (835 bytes)\r\n' + 'archiving selinux_smu_R0-0.11591_0.20230913140352.bin.gz (745 bytes)\r\n' + 'archiving emd_0-0.19570_0.20230914062807.bin.gz (5385 bytes)\r\n' + 'archiving inst_rollback_timer_R0-0.11775_0.20230913140352.bin.gz (650 ' + 'bytes)\r\n' + 'archiving cmand_R0-0.3562_0.20230913140352.bin.gz (17628 bytes)\r\n' + 'archiving cck_qat_R0-0.3680_0.20230913140353.bin.gz (3173 bytes)\r\n' + 'archiving sec_key_agent_R0-0.4021_0.20230913140354.bin.gz (4369 bytes)\r\n' + 'archiving ofa_R0-0.4145_0.20230913140354.bin.gz (2213 bytes)\r\n' + 'archiving pistisd_R0-0.13440_0.20230913140354.bin.gz (13849 bytes)\r\n' + 'archiving autodns_R0-0.4266_0.20230913140354.bin.gz (1087 bytes)\r\n' + 'archiving tamd_proc_R0-0.4379_0.20230913140355.bin.gz (2431 bytes)\r\n' + 'archiving tams_proc_R0-0.4494_0.20230913140355.bin.gz (2842 bytes)\r\n' + 'archiving tam_svcs_esg_cfg_R0-0.4607_0.20230913140355.bin.gz (2075 bytes)\r\n' + 'archiving lman_R0-0.14229_0.20230913140355.bin.gz (3679 bytes)\r\n' + 'archiving repm_R0-0.4737_0.20230913140356.bin.gz (4991 bytes)\r\n' + 'archiving dbm_R0-0.4851_0.20230913140356.bin.gz (14140 bytes)\r\n' + 'archiving cli_agent_R0-0.4964_0.20230913140356.bin.gz (6241 bytes)\r\n' + 'archiving smd_R0-0.5079_0.20230913140356.bin.gz (19358 bytes)\r\n' + 'archiving emd_R0-0.5242_0.20230913140356.bin.gz (12230 bytes)\r\n' + 'archiving fman_rp_R0-0.5375_0.20230913140357.bin.gz (7865 bytes)\r\n' + 'archiving psd_R0-0.5632_0.20230913140357.bin.gz (3909 bytes)\r\n' + 'archiving periodic_sh_pman_R0-0.15611_0.20230913140358.bin.gz (3701 ' + 'bytes)\r\n' + 'archiving pvp_R0-0.3202_1.20230913140358.bin.gz (11508 bytes)\r\n' + 'archiving sort_files_by_inode_sh_pman_R0-0.15756_0.20230913140358.bin.gz ' + '(5883 bytes)\r\n' + 'archiving smand_R0-0.5773_1.20230913140409.bin.gz (30825 bytes)\r\n' + 'archiving shutdown_journal_rp0_20230913134959.log (18563 bytes)\r\n' + 'archiving reflector_R0-0.6983_3.20230913140410.bin.gz (615 bytes)\r\n' + 'archiving ezman_0-0.19789_0.20230914062807.bin.gz (4434 bytes)\r\n' + 'archiving hman_0-0.20342_0.20230914062808.bin.gz (10468 bytes)\r\n' + 'archiving paed_pman_R0-0.25470_0.20230913140453.bin.gz (5571 bytes)\r\n' + 'archiving IOSRP_R0-0.3451_5.20230913152041.bin.gz (16689 bytes)\r\n' + 'archiving droputil_R0-0.6842_114.20230913165053.bin.gz (781 bytes)\r\n' + 'archiving hman_pman_R0-0.6015_1.20230913220116.bin.gz (1087 bytes)\r\n' + 'archiving hman_R0-0.6021_2.20230914013408.bin.gz (49332 bytes)\r\n' + 'archiving paed_R0-0.27267_3.20230914031512.bin.gz (27907 bytes)\r\n' + 'archiving plogd_R0-0.5512_5.20230914040510.bin.gz (1851 bytes)\r\n' + 'archiving service_mgr_R0-0.3798_132.20230914055256.bin.gz (46328 bytes)\r\n' + 'archiving btman_R0-0.5887_55.20230914055659.bin.gz (11405 bytes)\r\n' + 'archiving utf_R0-0.5887_6688.20230914055921.bin.gz (559536 bytes)\r\n' + 'archiving install_mgr_R0-0.12656_133649.20230914055926.bin.gz (31347 ' + 'bytes)\r\n' + 'archiving nginx_pman_R0-0.26376_5.20230914055927.bin.gz (474 bytes)\r\n' + 'archiving lman_pman_R0-0.14221_1.20230914055927.bin.gz (993 bytes)\r\n' + 'archiving auto_upgrade_client_sh_pman_R0-0.15319_3.20230914055927.bin.gz ' + '(564 bytes)\r\n' + 'archiving install_mgr_pman_R0-0.12649_1.20230914055927.bin.gz (1017 ' + 'bytes)\r\n' + 'archiving psd_pman_R0-0.5625_1.20230914055927.bin.gz (978 bytes)\r\n' + 'archiving emd_pman_R0-0.5236_1.20230914055927.bin.gz (934 bytes)\r\n' + 'archiving fman_rp_pman_R0-0.5365_1.20230914055927.bin.gz (961 bytes)\r\n' + 'archiving sessmgrd_pman_R0-0.5072_1.20230914055927.bin.gz (949 bytes)\r\n' + 'archiving ofa_pman_R0-0.4139_1.20230914055927.bin.gz (929 bytes)\r\n' + 'archiving keyman_pman_R0-0.4015_1.20230914055927.bin.gz (944 bytes)\r\n' + 'archiving service_mgr_pman_R0-0.3791_1.20230914055927.bin.gz (970 bytes)\r\n' + 'archiving dbm_pman_R0-0.4844_1.20230914055927.bin.gz (926 bytes)\r\n' + 'archiving cck_qat_pman_R0-0.3673_1.20230914055927.bin.gz (951 bytes)\r\n' + 'archiving pistisd_pman_R0-0.13432_1.20230914055928.bin.gz (1024 bytes)\r\n' + 'archiving tam_svcs_esg_cfg_pman_R0-0.4601_1.20230914055929.bin.gz (991 ' + 'bytes)\r\n' + 'archiving tamd_proc_pman_R0-0.4372_1.20230914055929.bin.gz (997 bytes)\r\n' + 'archiving tams_proc_pman_R0-0.4487_1.20230914055929.bin.gz (942 bytes)\r\n' + 'archiving shutdown_journal_rp0_20230914055932.log (18000 bytes)\r\n' + 'archiving shutdown_cc0_20230914060728.log (705 bytes)\r\n' + 'archiving cyaninit_R0-0.6053_0.20230914060312.bin.gz (1885 bytes)\r\n' + 'archiving shutdown_fp0_20230914060729.log (633 bytes)\r\n' + 'archiving pvp_F0-0.17513_0.20230914060339.bin.gz (5573 bytes)\r\n' + 'archiving pvp_0-0.19246_0.20230914060344.bin.gz (5452 bytes)\r\n' + 'archiving emd_0-0.19845_0.20230914060344.bin.gz (3797 bytes)\r\n' + 'archiving ezman_0-0.20062_0.20230914060345.bin.gz (4447 bytes)\r\n' + 'archiving hman_0-0.20604_0.20230914060346.bin.gz (3249 bytes)\r\n' + 'archiving cmcc_0-0.20712_0.20230914060346.bin.gz (6194 bytes)\r\n' + 'archiving btman_pman_0-0.20813_1.20230914060346.bin.gz (1262 bytes)\r\n' + 'archiving shutdown_fp0_20230913140010.log (633 bytes)\r\n' + 'archiving btman_0-0.20819_0.20230914060346.bin.gz (8292 bytes)\r\n' + 'archiving IOSCC_0-1.22004_0.20230914060348.bin.gz (6304 bytes)\r\n' + 'archiving IOSCC_0-0.21671_0.20230914060348.bin.gz (7040 bytes)\r\n' + 'archiving IOSCC_0-2.22337_0.20230914060349.bin.gz (7230 bytes)\r\n' + 'archiving mcpcc_lc_ms_pman_0-2.22330_4.20230914060402.bin.gz (1572 bytes)\r\n' + 'archiving ezman_pman_0-0.20055_1.20230914060728.bin.gz (997 bytes)\r\n' + 'archiving emd_pman_0-0.19836_1.20230914060728.bin.gz (969 bytes)\r\n' + 'archiving hman_pman_0-0.20597_1.20230914060728.bin.gz (971 bytes)\r\n' + 'archiving cmcc_pman_0-0.20705_1.20230914060728.bin.gz (991 bytes)\r\n' + 'archiving mcpcc_lc_ms_pman_0-1.21997_4.20230914060728.bin.gz (841 bytes)\r\n' + 'archiving mcpcc_lc_ms_pman_0-0.21660_6.20230914060728.bin.gz (392 bytes)\r\n' + 'archiving cmcc_0-0.20450_0.20230914062808.bin.gz (6312 bytes)\r\n' + 'archiving cpp_driver_pman_F0-0.18183_1.20230914060340.bin.gz (1162 bytes)\r\n' + 'archiving service_mgr_F0-0.17676_0.20230914060339.bin.gz (5745 bytes)\r\n' + 'archiving cpp_cdm_F0-0.17983_0.20230914060340.bin.gz (3174 bytes)\r\n' + 'archiving cpp_ha_top_level_server_pman_F0-0.18079_1.20230914060340.bin.gz ' + '(1191 bytes)\r\n' + 'archiving cpp_ha_F0-0.18086_0.20230914060340.bin.gz (4951 bytes)\r\n' + 'archiving cpp_sp_svr_pman_F0-0.18286_1.20230914060728.bin.gz (1331 bytes)\r\n' + 'archiving cpp_driver_F0-0.18192_0.20230914060340.bin.gz (3912 bytes)\r\n' + 'archiving cpp_sp_F0-0.18293_0.20230914060340.bin.gz (4356 bytes)\r\n' + 'archiving emd_F0-0.18499_0.20230914060340.bin.gz (4303 bytes)\r\n' + 'archiving hman_F0-0.18705_0.20230914060341.bin.gz (3244 bytes)\r\n' + 'archiving cman_fp_F0-0.18809_0.20230914060341.bin.gz (3999 bytes)\r\n' + 'archiving cpp_stats_F0-0.17879_0.20230914060341.bin.gz (3973 bytes)\r\n' + 'archiving btman_pman_F0-0.18905_1.20230914060341.bin.gz (1260 bytes)\r\n' + 'archiving btman_F0-0.18912_0.20230914060341.bin.gz (8060 bytes)\r\n' + 'archiving shutdown_rp0_20230913140011.log (1461 bytes)\r\n' + 'archiving cpp_cp_F0-0.18396_0.20230914060342.bin.gz (18947 bytes)\r\n' + 'archiving fman_fp_F0-0.18605_0.20230914060343.bin.gz (11699 bytes)\r\n' + 'archiving memmon_log_20230914_080612_UTC_1694678772.tar.gz (31076 bytes)\r\n' + 'archiving fman_fp_image_pman_F0-0.18595_1.20230914060728.bin.gz (1395 ' + 'bytes)\r\n' + 'archiving cpp_cp_svr_pman_F0-0.18389_1.20230914060728.bin.gz (1449 bytes)\r\n' + 'archiving cpp_cdm_svr_pman_F0-0.17976_1.20230914060728.bin.gz (1075 ' + 'bytes)\r\n' + 'archiving cpp_stats_svr_pman_F0-0.17873_1.20230914060728.bin.gz (1062 ' + 'bytes)\r\n' + 'archiving service_mgr_pman_F0-0.17667_1.20230914060728.bin.gz (1022 ' + 'bytes)\r\n' + 'archiving emd_pman_F0-0.18492_1.20230914060728.bin.gz (962 bytes)\r\n' + 'archiving cman_fp_pman_F0-0.18802_1.20230914060728.bin.gz (989 bytes)\r\n' + 'archiving hman_pman_F0-0.18698_1.20230914060729.bin.gz (966 bytes)\r\n' + 'archiving shutdown_rp0_20230914060730.log (1461 bytes)\r\n' + 'archiving repm_pman_R0-0.4687_0.20230914060309.bin.gz (2562 bytes)\r\n' + 'archiving psvp_R0-0.3094_0.20230914060306.bin.gz (1894 bytes)\r\n' + 'archiving cli_agent_pman_R0-0.4915_0.20230914060310.bin.gz (3114 bytes)\r\n' + 'archiving autodns_pman_R0-0.4215_0.20230914060309.bin.gz (2579 bytes)\r\n' + 'archiving kernel_ftrace_log_R0-0.11709_0.20230914060328.bin.gz (1747 ' + 'bytes)\r\n' + 'archiving plogd_pman_R0-0.5460_0.20230914060311.bin.gz (2567 bytes)\r\n' + 'archiving smand_pman_R0-0.5720_1.20230914060311.bin.gz (1110 bytes)\r\n' + 'archiving btman_pman_R0-0.5840_1.20230914060312.bin.gz (1141 bytes)\r\n' + 'archiving oom_R0-0.6430_0.20230914060314.bin.gz (632 bytes)\r\n' + 'archiving iptbl_R0-0.7206_0.20230914060318.bin.gz (631 bytes)\r\n' + 'archiving binos_R0-0.7416_0.20230914060318.bin.gz (835 bytes)\r\n' + 'archiving selinux_smu_R0-0.11683_0.20230914060328.bin.gz (747 bytes)\r\n' + 'archiving inst_rollback_timer_R0-0.11851_0.20230914060329.bin.gz (651 ' + 'bytes)\r\n' + 'archiving IOSRP_R0-0.3408_0.20230914060329.bin.gz (105630 bytes)\r\n' + 'archiving cmand_R0-0.3520_0.20230914060329.bin.gz (15570 bytes)\r\n' + 'archiving psd_R0-0.5586_0.20230914060330.bin.gz (7050 bytes)\r\n' + 'archiving vman_R0-0.12577_0.20230914060330.bin.gz (5405 bytes)\r\n' + 'archiving smd_R0-0.5045_0.20230914060330.bin.gz (19397 bytes)\r\n' + 'archiving service_mgr_R0-0.3754_0.20230914060331.bin.gz (25715 bytes)\r\n' + 'archiving repm_R0-0.4694_0.20230914060331.bin.gz (4983 bytes)\r\n' + 'archiving pistisd_R0-0.13914_0.20230914060331.bin.gz (13759 bytes)\r\n' + 'archiving plogd_R0-0.5466_3.20230914060331.bin.gz (6638 bytes)\r\n' + 'archiving ofa_R0-0.4103_0.20230914060332.bin.gz (2217 bytes)\r\n' + 'archiving lman_R0-0.14270_0.20230914060332.bin.gz (3612 bytes)\r\n' + 'archiving sec_key_agent_R0-0.3979_0.20230914060332.bin.gz (4128 bytes)\r\n' + 'archiving install_mgr_R0-0.14697_0.20230914060333.bin.gz (28907 bytes)\r\n' + 'archiving hman_R0-0.6012_0.20230914060333.bin.gz (4977 bytes)\r\n' + 'archiving fman_rp_R0-0.5331_0.20230914060333.bin.gz (7661 bytes)\r\n' + 'archiving emd_R0-0.5206_0.20230914060333.bin.gz (12131 bytes)\r\n' + 'archiving shutdown_cc0_20230914062350.log (705 bytes)\r\n' + 'archiving dbm_R0-0.4808_0.20230914060333.bin.gz (13709 bytes)\r\n' + 'archiving cli_agent_R0-0.4921_0.20230914060334.bin.gz (6420 bytes)\r\n' + 'archiving cck_qat_R0-0.3637_0.20230914060334.bin.gz (3064 bytes)\r\n' + 'archiving btman_R0-0.5849_0.20230914060334.bin.gz (12583 bytes)\r\n' + 'archiving utf_R0-0.5849_0.20230914060334.bin.gz (619129 bytes)\r\n' + 'archiving tams_proc_R0-0.4451_0.20230914060334.bin.gz (2846 bytes)\r\n' + 'archiving tamd_proc_R0-0.4336_0.20230914060335.bin.gz (2424 bytes)\r\n' + 'archiving periodic_sh_pman_R0-0.16295_0.20230914060335.bin.gz (3727 ' + 'bytes)\r\n' + 'archiving sort_files_by_inode_sh_pman_R0-0.16000_0.20230914060335.bin.gz ' + '(3600 bytes)\r\n' + 'archiving tam_svcs_esg_cfg_R0-0.4564_0.20230914060335.bin.gz (2090 bytes)\r\n' + 'archiving autodns_R0-0.4222_0.20230914060336.bin.gz (1063 bytes)\r\n' + 'archiving pvp_R0-0.3159_1.20230914060336.bin.gz (5077 bytes)\r\n' + 'archiving smand_R0-0.5726_1.20230914060342.bin.gz (21806 bytes)\r\n' + 'archiving reflector_R0-0.6937_3.20230914060347.bin.gz (615 bytes)\r\n' + 'archiving btman_pman_0-0.20551_1.20230914062808.bin.gz (1324 bytes)\r\n' + 'archiving btman_0-0.20557_0.20230914062808.bin.gz (20155 bytes)\r\n' + 'archiving hman_pman_R0-0.6003_1.20230914060648.bin.gz (1079 bytes)\r\n' + 'archiving droputil_R0-0.6796_11.20230914060713.bin.gz (642 bytes)\r\n' + 'archiving linux_iosd_image_pman_R0-0.3369_2.20230914060723.bin.gz (1438 ' + 'bytes)\r\n' + 'archiving cmand_pman_R0-0.3513_1.20230914060727.bin.gz (957 bytes)\r\n' + 'archiving install_mgr_pman_R0-0.14691_1.20230914060728.bin.gz (1013 ' + 'bytes)\r\n' + 'archiving auto_upgrade_client_sh_pman_R0-0.16934_3.20230914060728.bin.gz ' + '(567 bytes)\r\n' + 'archiving nginx_pman_R0-0.23114_5.20230914060728.bin.gz (508 bytes)\r\n' + 'archiving lman_pman_R0-0.14263_1.20230914060728.bin.gz (991 bytes)\r\n' + 'archiving psd_pman_R0-0.5579_1.20230914060728.bin.gz (989 bytes)\r\n' + 'archiving ofa_pman_R0-0.4096_1.20230914060728.bin.gz (931 bytes)\r\n' + 'archiving emd_pman_R0-0.5199_1.20230914060728.bin.gz (932 bytes)\r\n' + 'archiving keyman_pman_R0-0.3972_1.20230914060728.bin.gz (942 bytes)\r\n' + 'archiving service_mgr_pman_R0-0.3748_1.20230914060728.bin.gz (981 bytes)\r\n' + 'archiving fman_rp_pman_R0-0.5319_1.20230914060728.bin.gz (961 bytes)\r\n' + 'archiving sessmgrd_pman_R0-0.5032_1.20230914060728.bin.gz (954 bytes)\r\n' + 'archiving dbm_pman_R0-0.4801_1.20230914060728.bin.gz (930 bytes)\r\n' + 'archiving vman_pman_R0-0.12570_1.20230914060728.bin.gz (1075 bytes)\r\n' + 'archiving cck_qat_pman_R0-0.3630_1.20230914060729.bin.gz (943 bytes)\r\n' + 'archiving pistisd_pman_R0-0.13907_1.20230914060730.bin.gz (1022 bytes)\r\n' + 'archiving tam_svcs_esg_cfg_pman_R0-0.4558_1.20230914060730.bin.gz (993 ' + 'bytes)\r\n' + 'archiving tamd_proc_pman_R0-0.4329_1.20230914060730.bin.gz (1007 bytes)\r\n' + 'archiving tams_proc_pman_R0-0.4444_1.20230914060730.bin.gz (943 bytes)\r\n' + 'archiving shutdown_journal_rp0_20230914060732.log (211918 bytes)\r\n' + 'archiving pvp_0-0.18855_0.20230914061143.bin.gz (5467 bytes)\r\n' + 'archiving cyaninit_R0-0.6098_0.20230914061112.bin.gz (1885 bytes)\r\n' + 'archiving btman_pman_0-0.20439_1.20230914061146.bin.gz (1320 bytes)\r\n' + 'archiving emd_0-0.19461_0.20230914061144.bin.gz (4287 bytes)\r\n' + 'archiving ezman_0-0.19677_0.20230914061145.bin.gz (4432 bytes)\r\n' + 'archiving hman_0-0.20230_0.20230914061145.bin.gz (7165 bytes)\r\n' + 'archiving cmcc_0-0.20338_0.20230914061145.bin.gz (6206 bytes)\r\n' + 'archiving shutdown_fp0_20230914062351.log (633 bytes)\r\n' + 'archiving shutdown_journal_rp0_20230913140013.log (210690 bytes)\r\n' + 'archiving btman_0-0.20445_0.20230914061146.bin.gz (12065 bytes)\r\n' + 'archiving IOSCC_0-0.21293_0.20230914061148.bin.gz (7302 bytes)\r\n' + 'archiving IOSCC_0-1.21617_0.20230914061148.bin.gz (6338 bytes)\r\n' + 'archiving IOSCC_0-2.21994_0.20230914061148.bin.gz (7134 bytes)\r\n' + 'archiving create_utm_luid_file_db_0-0.25976_0.20230914061646.bin.gz (1740 ' + 'bytes)\r\n' + 'archiving mcpcc_lc_ms_pman_0-2.21987_4.20230914062232.bin.gz (1420 bytes)\r\n' + 'archiving emd_pman_0-0.19451_1.20230914062350.bin.gz (971 bytes)\r\n' + 'archiving hman_pman_0-0.20223_1.20230914062350.bin.gz (968 bytes)\r\n' + 'archiving ezman_pman_0-0.19670_1.20230914062350.bin.gz (988 bytes)\r\n' + 'archiving cmcc_pman_0-0.20331_1.20230914062350.bin.gz (990 bytes)\r\n' + 'archiving mcpcc_lc_ms_pman_0-0.21282_6.20230914062350.bin.gz (551 bytes)\r\n' + 'archiving mcpcc_lc_ms_pman_0-1.21610_4.20230914062350.bin.gz (839 bytes)\r\n' + 'archiving cpp_cdm_F0-0.17599_0.20230914061139.bin.gz (3169 bytes)\r\n' + 'archiving pvp_F0-0.17123_0.20230914061138.bin.gz (5598 bytes)\r\n' + 'archiving cpp_driver_pman_F0-0.17797_1.20230914061139.bin.gz (1163 bytes)\r\n' + 'archiving service_mgr_F0-0.17290_0.20230914061139.bin.gz (5725 bytes)\r\n' + 'archiving cpp_ha_F0-0.17700_0.20230914061139.bin.gz (5080 bytes)\r\n' + 'archiving cpp_ha_top_level_server_pman_F0-0.17693_1.20230914061139.bin.gz ' + '(1190 bytes)\r\n' + 'archiving cpp_cp_svr_pman_F0-0.18003_1.20230914062350.bin.gz (1447 bytes)\r\n' + 'archiving cpp_driver_F0-0.17804_0.20230914061140.bin.gz (3904 bytes)\r\n' + 'archiving cpp_sp_F0-0.17907_0.20230914061140.bin.gz (4361 bytes)\r\n' + 'archiving emd_F0-0.18115_0.20230914061140.bin.gz (4808 bytes)\r\n' + 'archiving hman_F0-0.18320_0.20230914061140.bin.gz (7283 bytes)\r\n' + 'archiving cman_fp_F0-0.18424_0.20230914061141.bin.gz (3990 bytes)\r\n' + 'archiving cpp_stats_F0-0.17494_0.20230914061141.bin.gz (3957 bytes)\r\n' + 'archiving btman_pman_F0-0.18519_1.20230914061141.bin.gz (1319 bytes)\r\n' + 'archiving btman_F0-0.18526_0.20230914061141.bin.gz (11742 bytes)\r\n' + 'archiving cpp_cp_F0-0.18010_0.20230914061142.bin.gz (18997 bytes)\r\n' + 'archiving fman_fp_F0-0.18224_0.20230914061142.bin.gz (11692 bytes)\r\n' + 'archiving shutdown_rp0_20230914062352.log (1461 bytes)\r\n' + 'archiving create_utm_luid_file_db_F0-0.25846_0.20230914061641.bin.gz (1744 ' + 'bytes)\r\n' + 'archiving fman_fp_image_pman_F0-0.18210_1.20230914062350.bin.gz (1393 ' + 'bytes)\r\n' + 'archiving cpp_sp_svr_pman_F0-0.17900_1.20230914062350.bin.gz (1330 bytes)\r\n' + 'archiving cpp_cdm_svr_pman_F0-0.17590_1.20230914062350.bin.gz (1068 ' + 'bytes)\r\n' + 'archiving cpp_stats_svr_pman_F0-0.17487_1.20230914062350.bin.gz (1057 ' + 'bytes)\r\n' + 'archiving cman_fp_pman_F0-0.18416_1.20230914062350.bin.gz (996 bytes)\r\n' + 'archiving service_mgr_pman_F0-0.17281_1.20230914062350.bin.gz (1022 ' + 'bytes)\r\n' + 'archiving emd_pman_F0-0.18107_1.20230914062350.bin.gz (963 bytes)\r\n' + 'archiving hman_pman_F0-0.18313_1.20230914062351.bin.gz (965 bytes)\r\n' + 'archiving btman_rotate_immediate_R0-0.31039_0.20230914062351.bin.gz (4673 ' + 'bytes)\r\n' + 'archiving repm_pman_R0-0.4731_0.20230914061109.bin.gz (2554 bytes)\r\n' + 'archiving psvp_R0-0.3138_0.20230914061106.bin.gz (1891 bytes)\r\n' + 'archiving cli_agent_pman_R0-0.4959_0.20230914061110.bin.gz (3111 bytes)\r\n' + 'archiving autodns_pman_R0-0.4259_0.20230914061108.bin.gz (2579 bytes)\r\n' + 'archiving kernel_ftrace_log_R0-0.11767_0.20230914061128.bin.gz (1749 ' + 'bytes)\r\n' + 'archiving plogd_pman_R0-0.5505_0.20230914061110.bin.gz (2568 bytes)\r\n' + 'archiving smand_pman_R0-0.5765_1.20230914061111.bin.gz (1119 bytes)\r\n' + 'archiving btman_pman_R0-0.5879_1.20230914061111.bin.gz (1207 bytes)\r\n' + 'archiving oom_R0-0.6466_0.20230914061114.bin.gz (634 bytes)\r\n' + 'archiving iptbl_R0-0.7246_0.20230914061117.bin.gz (630 bytes)\r\n' + 'archiving binos_R0-0.7464_0.20230914061118.bin.gz (836 bytes)\r\n' + 'archiving selinux_smu_R0-0.11722_0.20230914061128.bin.gz (743 bytes)\r\n' + 'archiving create_utm_luid_file_db_R0-0.25446_0.20230914061635.bin.gz (1749 ' + 'bytes)\r\n' + 'archiving inst_rollback_timer_R0-0.11895_0.20230914061128.bin.gz (648 ' + 'bytes)\r\n' + 'archiving cmand_R0-0.3563_0.20230914061129.bin.gz (15839 bytes)\r\n' + 'archiving cck_qat_R0-0.3680_0.20230914061129.bin.gz (3175 bytes)\r\n' + 'archiving install_mgr_R0-0.12781_0.20230914061130.bin.gz (30355 bytes)\r\n' + 'archiving sec_key_agent_R0-0.4023_0.20230914061130.bin.gz (4127 bytes)\r\n' + 'archiving IOSRP_R0-0.3455_1.20230914061130.bin.gz (29247 bytes)\r\n' + 'archiving ofa_R0-0.4147_0.20230914061130.bin.gz (2216 bytes)\r\n' + 'archiving pistisd_R0-0.13565_0.20230914061131.bin.gz (13856 bytes)\r\n' + 'archiving autodns_R0-0.4266_0.20230914061131.bin.gz (1064 bytes)\r\n' + 'archiving tamd_proc_R0-0.4380_0.20230914061131.bin.gz (2432 bytes)\r\n' + 'archiving tams_proc_R0-0.4495_0.20230914061131.bin.gz (2838 bytes)\r\n' + 'archiving tam_svcs_esg_cfg_R0-0.4608_0.20230914061131.bin.gz (2073 bytes)\r\n' + 'archiving lman_R0-0.14354_0.20230914061132.bin.gz (3614 bytes)\r\n' + 'archiving repm_R0-0.4738_0.20230914061132.bin.gz (4999 bytes)\r\n' + 'archiving dbm_R0-0.4852_0.20230914061132.bin.gz (15084 bytes)\r\n' + 'archiving cli_agent_R0-0.4966_0.20230914061133.bin.gz (6250 bytes)\r\n' + 'archiving smd_R0-0.5080_0.20230914061133.bin.gz (19501 bytes)\r\n' + 'archiving emd_R0-0.5244_0.20230914061133.bin.gz (12276 bytes)\r\n' + 'archiving fman_rp_R0-0.5373_0.20230914061133.bin.gz (7769 bytes)\r\n' + 'archiving plogd_R0-0.5511_3.20230914061134.bin.gz (5987 bytes)\r\n' + 'archiving psd_R0-0.5630_0.20230914061134.bin.gz (3865 bytes)\r\n' + 'archiving periodic_sh_pman_R0-0.15726_0.20230914061134.bin.gz (3727 ' + 'bytes)\r\n' + 'archiving btman_R0-0.5884_0.20230914061135.bin.gz (17024 bytes)\r\n' + 'archiving sort_files_by_inode_sh_pman_R0-0.15881_0.20230914061134.bin.gz ' + '(3591 bytes)\r\n' + 'archiving utf_R0-0.5884_0.20230914061135.bin.gz (739964 bytes)\r\n' + 'archiving hman_R0-0.6035_0.20230914061135.bin.gz (9082 bytes)\r\n' + 'archiving pvp_R0-0.3203_1.20230914061135.bin.gz (4862 bytes)\r\n' + 'archiving smand_R0-0.5771_1.20230914061145.bin.gz (22086 bytes)\r\n' + 'archiving reflector_R0-0.6982_3.20230914061146.bin.gz (615 bytes)\r\n' + 'archiving IOSCC_0-1.21729_0.20230914062811.bin.gz (6354 bytes)\r\n' + 'archiving IOSCC_0-0.21406_0.20230914062811.bin.gz (7325 bytes)\r\n' + 'archiving hman_pman_R0-0.6029_1.20230914061847.bin.gz (1082 bytes)\r\n' + 'archiving paed_R0-0.25973_0.20230914061645.bin.gz (15666 bytes)\r\n' + 'archiving install_mgr_pman_R0-0.12774_1.20230914062350.bin.gz (1020 ' + 'bytes)\r\n' + 'archiving service_mgr_R0-0.3799_1.20230914062109.bin.gz (16322 bytes)\r\n' + 'archiving droputil_R0-0.6841_22.20230914062345.bin.gz (385 bytes)\r\n' + 'archiving linux_iosd_image_pman_R0-0.3413_2.20230914062345.bin.gz (1438 ' + 'bytes)\r\n' + 'archiving cmand_pman_R0-0.3557_1.20230914062349.bin.gz (960 bytes)\r\n' + 'archiving nginx_pman_R0-0.23147_5.20230914062350.bin.gz (440 bytes)\r\n' + 'archiving auto_upgrade_client_sh_pman_R0-0.15444_3.20230914062350.bin.gz ' + '(566 bytes)\r\n' + 'archiving lman_pman_R0-0.14347_1.20230914062350.bin.gz (980 bytes)\r\n' + 'archiving keyman_pman_R0-0.4016_1.20230914062350.bin.gz (946 bytes)\r\n' + 'archiving psd_pman_R0-0.5624_1.20230914062350.bin.gz (977 bytes)\r\n' + 'archiving emd_pman_R0-0.5237_1.20230914062350.bin.gz (933 bytes)\r\n' + 'archiving ofa_pman_R0-0.4140_1.20230914062350.bin.gz (936 bytes)\r\n' + 'archiving tam_svcs_esg_cfg_pman_R0-0.4602_1.20230914062352.bin.gz (991 ' + 'bytes)\r\n' + 'archiving service_mgr_pman_R0-0.3792_1.20230914062350.bin.gz (967 bytes)\r\n' + 'archiving fman_rp_pman_R0-0.5364_1.20230914062350.bin.gz (959 bytes)\r\n' + 'archiving sessmgrd_pman_R0-0.5073_1.20230914062350.bin.gz (954 bytes)\r\n' + 'archiving dbm_pman_R0-0.4845_1.20230914062350.bin.gz (930 bytes)\r\n' + 'archiving cck_qat_pman_R0-0.3674_1.20230914062351.bin.gz (946 bytes)\r\n' + 'archiving pistisd_pman_R0-0.13558_1.20230914062351.bin.gz (1020 bytes)\r\n' + 'archiving shutdown_journal_rp0_20230914062354.log (18825 bytes)\r\n' + 'archiving tamd_proc_pman_R0-0.4373_1.20230914062352.bin.gz (1008 bytes)\r\n' + 'archiving tams_proc_pman_R0-0.4488_1.20230914062352.bin.gz (946 bytes)\r\n' + 'archiving IOSCC_0-2.22107_0.20230914062811.bin.gz (7120 bytes)\r\n' + 'archiving btman_rotate_immediate_R0-0.31141_0.20230914062352.bin.gz (8050 ' + 'bytes)\r\n' + 'archiving cyaninit_R0-0.6091_0.20230914062734.bin.gz (1889 bytes)\r\n' + 'archiving mcpcc_lc_ms_pman_0-2.22100_4.20230914070019.bin.gz (1382 bytes)\r\n' + 'archiving create_utm_luid_file_db_0-0.26684_0.20230914063308.bin.gz (1744 ' + 'bytes)\r\n' + 'archiving ezman_pman_0-0.19782_1.20230914070149.bin.gz (1000 bytes)\r\n' + 'archiving emd_pman_0-0.19563_1.20230914070149.bin.gz (973 bytes)\r\n' + 'archiving hman_pman_0-0.20335_1.20230914070149.bin.gz (965 bytes)\r\n' + 'archiving cmcc_pman_0-0.20443_1.20230914070149.bin.gz (994 bytes)\r\n' + 'archiving mcpcc_lc_ms_pman_0-1.21722_4.20230914070149.bin.gz (842 bytes)\r\n' + 'archiving mcpcc_lc_ms_pman_0-0.21394_6.20230914070149.bin.gz (553 bytes)\r\n' + 'archiving cpp_ha_top_level_server_pman_F0-0.17805_1.20230914062802.bin.gz ' + '(1189 bytes)\r\n' + 'archiving btman_rotate_immediate_R0-0.20024_0.20230914070149.bin.gz (3819 ' + 'bytes)\r\n' + 'archiving pvp_F0-0.17235_0.20230914062801.bin.gz (5590 bytes)\r\n' + 'archiving service_mgr_F0-0.17402_0.20230914062801.bin.gz (5735 bytes)\r\n' + 'archiving cpp_driver_F0-0.17918_0.20230914062802.bin.gz (3918 bytes)\r\n' + 'archiving cpp_cdm_F0-0.17708_0.20230914062802.bin.gz (3168 bytes)\r\n' + 'archiving cpp_ha_F0-0.17812_0.20230914062802.bin.gz (5216 bytes)\r\n' + 'archiving fman_fp_image_pman_F0-0.18322_1.20230914070149.bin.gz (1392 ' + 'bytes)\r\n' + 'archiving cpp_driver_pman_F0-0.17909_1.20230914062802.bin.gz (1169 bytes)\r\n' + 'archiving cpp_sp_F0-0.18018_0.20230914062802.bin.gz (4367 bytes)\r\n' + 'archiving emd_F0-0.18225_0.20230914062803.bin.gz (5913 bytes)\r\n' + 'archiving hman_F0-0.18432_0.20230914062803.bin.gz (10525 bytes)\r\n' + 'archiving cman_fp_F0-0.18535_0.20230914062803.bin.gz (3988 bytes)\r\n' + 'archiving cpp_stats_F0-0.17606_0.20230914062803.bin.gz (3966 bytes)\r\n' + 'archiving btman_pman_F0-0.18631_1.20230914062804.bin.gz (1320 bytes)\r\n' + 'archiving btman_F0-0.18638_0.20230914062804.bin.gz (19814 bytes)\r\n' + 'archiving cpp_cp_F0-0.18122_0.20230914062804.bin.gz (18907 bytes)\r\n' + 'archiving fman_fp_F0-0.18334_0.20230914062805.bin.gz (11708 bytes)\r\n' + 'archiving shutdown_rp0_20230914070150.log (1461 bytes)\r\n' + 'archiving create_utm_luid_file_db_F0-0.26554_0.20230914063304.bin.gz (1746 ' + 'bytes)\r\n' + 'archiving cpp_sp_svr_pman_F0-0.18012_1.20230914070149.bin.gz (1331 bytes)\r\n' + 'archiving emd_pman_F0-0.18218_1.20230914070149.bin.gz (968 bytes)\r\n' + 'archiving cpp_cp_svr_pman_F0-0.18115_1.20230914070149.bin.gz (1451 bytes)\r\n' + 'archiving cpp_cdm_svr_pman_F0-0.17702_1.20230914070149.bin.gz (1068 ' + 'bytes)\r\n' + 'archiving cpp_stats_svr_pman_F0-0.17599_1.20230914070149.bin.gz (1075 ' + 'bytes)\r\n' + 'archiving cman_fp_pman_F0-0.18528_1.20230914070149.bin.gz (992 bytes)\r\n' + 'archiving service_mgr_pman_F0-0.17393_1.20230914070149.bin.gz (1025 ' + 'bytes)\r\n' + 'archiving hman_pman_F0-0.18425_1.20230914070149.bin.gz (968 bytes)\r\n' + 'archiving btman_rotate_immediate_R0-0.20143_0.20230914070150.bin.gz (4678 ' + 'bytes)\r\n' + 'archiving repm_pman_R0-0.4726_0.20230914062732.bin.gz (2572 bytes)\r\n' + 'archiving psvp_R0-0.3133_0.20230914062728.bin.gz (1890 bytes)\r\n' + 'archiving cli_agent_pman_R0-0.4954_0.20230914062732.bin.gz (3116 bytes)\r\n' + 'archiving autodns_pman_R0-0.4254_0.20230914062731.bin.gz (2588 bytes)\r\n' + 'archiving kernel_ftrace_log_R0-0.11760_0.20230914062751.bin.gz (1749 ' + 'bytes)\r\n' + 'archiving plogd_pman_R0-0.5498_0.20230914062733.bin.gz (2563 bytes)\r\n' + 'archiving smand_pman_R0-0.5758_1.20230914062734.bin.gz (1120 bytes)\r\n' + 'archiving btman_pman_R0-0.5881_1.20230914062734.bin.gz (1209 bytes)\r\n' + 'archiving oom_R0-0.6464_0.20230914062736.bin.gz (634 bytes)\r\n' + 'archiving iptbl_R0-0.7244_0.20230914062740.bin.gz (628 bytes)\r\n' + 'archiving binos_R0-0.7473_0.20230914062740.bin.gz (836 bytes)\r\n' + 'archiving selinux_smu_R0-0.11718_0.20230914062751.bin.gz (745 bytes)\r\n' + 'archiving create_utm_luid_file_db_R0-0.26153_0.20230914063258.bin.gz (1751 ' + 'bytes)\r\n' + 'archiving inst_rollback_timer_R0-0.11892_0.20230914062751.bin.gz (649 ' + 'bytes)\r\n' + 'archiving cmand_R0-0.3558_0.20230914062752.bin.gz (17187 bytes)\r\n' + 'archiving cck_qat_R0-0.3676_0.20230914062752.bin.gz (3178 bytes)\r\n' + 'archiving sec_key_agent_R0-0.4018_0.20230914062753.bin.gz (4323 bytes)\r\n' + 'archiving IOSRP_R0-0.3442_1.20230914062753.bin.gz (35313 bytes)\r\n' + 'archiving ofa_R0-0.4142_0.20230914062753.bin.gz (2215 bytes)\r\n' + 'archiving pistisd_R0-0.13558_0.20230914062753.bin.gz (13863 bytes)\r\n' + 'archiving autodns_R0-0.4261_0.20230914062754.bin.gz (1081 bytes)\r\n' + 'archiving tamd_proc_R0-0.4375_0.20230914062754.bin.gz (2427 bytes)\r\n' + 'archiving tams_proc_R0-0.4490_0.20230914062754.bin.gz (2817 bytes)\r\n' + 'archiving tam_svcs_esg_cfg_R0-0.4603_0.20230914062754.bin.gz (2074 bytes)\r\n' + 'archiving lman_R0-0.14347_0.20230914062755.bin.gz (3664 bytes)\r\n' + 'archiving repm_R0-0.4733_0.20230914062755.bin.gz (4991 bytes)\r\n' + 'archiving dbm_R0-0.4846_0.20230914062755.bin.gz (15057 bytes)\r\n' + 'archiving cli_agent_R0-0.4962_0.20230914062755.bin.gz (6256 bytes)\r\n' + 'archiving smd_R0-0.5109_0.20230914062756.bin.gz (19790 bytes)\r\n' + 'archiving emd_R0-0.5244_0.20230914062756.bin.gz (12271 bytes)\r\n' + 'archiving fman_rp_R0-0.5369_0.20230914062756.bin.gz (7767 bytes)\r\n' + 'archiving plogd_R0-0.5504_3.20230914062756.bin.gz (6653 bytes)\r\n' + 'archiving psd_R0-0.5625_0.20230914062756.bin.gz (3865 bytes)\r\n' + 'archiving periodic_sh_pman_R0-0.15726_0.20230914062757.bin.gz (3732 ' + 'bytes)\r\n' + 'archiving btman_R0-0.5900_0.20230914062758.bin.gz (30865 bytes)\r\n' + 'archiving sort_files_by_inode_sh_pman_R0-0.15874_0.20230914062757.bin.gz ' + '(3591 bytes)\r\n' + 'archiving hman_R0-0.6064_0.20230914062758.bin.gz (12489 bytes)\r\n' + 'archiving pvp_R0-0.3198_1.20230914062758.bin.gz (9191 bytes)\r\n' + 'archiving smand_R0-0.5764_1.20230914062808.bin.gz (22140 bytes)\r\n' + 'archiving reflector_R0-0.6975_3.20230914062809.bin.gz (619 bytes)\r\n' + 'archiving IOSRP_R0-1.15254_0.20230914070049.bin.gz (56456 bytes)\r\n' + 'archiving paed_R0-0.26681_0.20230914063308.bin.gz (15670 bytes)\r\n' + 'archiving install_mgr_R0-0.12774_200.20230914070148.bin.gz (31421 bytes)\r\n' + 'archiving service_mgr_R0-0.3793_3.20230914065643.bin.gz (29565 bytes)\r\n' + 'archiving psd_R0-1.16970_0.20230914070050.bin.gz (2974 bytes)\r\n' + 'archiving fman_rp_R0-1.16831_0.20230914070050.bin.gz (6843 bytes)\r\n' + 'archiving droputil_R0-0.6834_47.20230914070138.bin.gz (495 bytes)\r\n' + 'archiving utf_R0-0.5900_10.20230914070146.bin.gz (329775 bytes)\r\n' + 'archiving cmand_pman_R0-0.3552_1.20230914070148.bin.gz (959 bytes)\r\n' + 'archiving linux_iosd_image_pman_R0-0.3408_3.20230914070148.bin.gz (1087 ' + 'bytes)\r\n' + 'archiving shutdown_journal_rp0_20230914070153.log (20467 bytes)\r\n' + 'archiving auto_upgrade_client_sh_pman_R0-0.15437_3.20230914070148.bin.gz ' + '(568 bytes)\r\n' + 'archiving nginx_pman_R0-0.23378_5.20230914070148.bin.gz (440 bytes)\r\n' + 'archiving install_mgr_pman_R0-0.12767_1.20230914070148.bin.gz (1025 ' + 'bytes)\r\n' + 'archiving psd_pman_R0-0.5617_1.20230914070148.bin.gz (988 bytes)\r\n' + 'archiving lman_pman_R0-0.14340_1.20230914070148.bin.gz (978 bytes)\r\n' + 'archiving emd_pman_R0-0.5237_1.20230914070148.bin.gz (936 bytes)\r\n' + 'archiving keyman_pman_R0-0.4011_1.20230914070149.bin.gz (947 bytes)\r\n' + 'archiving ofa_pman_R0-0.4135_1.20230914070149.bin.gz (931 bytes)\r\n' + 'archiving fman_rp_pman_R0-0.5357_1.20230914070149.bin.gz (960 bytes)\r\n' + 'archiving service_mgr_pman_R0-0.3787_1.20230914070149.bin.gz (971 bytes)\r\n' + 'archiving sessmgrd_pman_R0-0.5102_1.20230914070149.bin.gz (949 bytes)\r\n' + 'archiving dbm_pman_R0-0.4840_1.20230914070149.bin.gz (929 bytes)\r\n' + 'archiving cck_qat_pman_R0-0.3669_1.20230914070149.bin.gz (946 bytes)\r\n' + 'archiving pistisd_pman_R0-0.13551_1.20230914070150.bin.gz (1026 bytes)\r\n' + 'archiving tam_svcs_esg_cfg_pman_R0-0.4597_1.20230914070150.bin.gz (1001 ' + 'bytes)\r\n' + 'archiving tamd_proc_pman_R0-0.4368_1.20230914070150.bin.gz (993 bytes)\r\n' + 'archiving tams_proc_pman_R0-0.4483_1.20230914070150.bin.gz (940 bytes)\r\n' + 'archiving hman_pman_R0-0.6058_1.20230914070150.bin.gz (974 bytes)\r\n' + 'archiving btman_rotate_immediate_R0-0.20245_0.20230914070151.bin.gz (9098 ' + 'bytes)\r\n' + 'archiving cyaninit_R0-0.6101_0.20230914070532.bin.gz (1888 bytes)') + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_archive_tar/archive_3/mock_data/iosxe/mock_data_option_table.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_archive_tar/archive_3/mock_data/iosxe/mock_data_option_table.yaml new file mode 100644 index 000000000..331a3ca57 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_archive_tar/archive_3/mock_data/iosxe/mock_data_option_table.yaml @@ -0,0 +1,370 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no logging console: '' + prompt: GD_F12(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: GD_F12(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + archive tar /table usb0:test/usb_files_9.tar: + response: + - "dmesg (66264 bytes)\r\ntimestamp (10 bytes)\r\nshutdown_cc0_20230913134955.log\ + \ (705 bytes)\r\nshutdown_fp0_20230913134955.log (633 bytes)\r\nutf_R0-0.5887_6674.20230914055716.bin.gz\ + \ (808254 bytes)\r\nutf_R0-0.5887_6675.20230914055725.bin.gz (806594 bytes)\r\ + \nutf_R0-0.5887_6676.20230914055734.bin.gz (808838 bytes)\r\nutf_R0-0.5887_6677.20230914055743.bin.gz\ + \ (807858 bytes)\r\nutf_R0-0.5887_6678.20230914055752.bin.gz (807057 bytes)\r\ + \nutf_R0-0.5887_6679.20230914055801.bin.gz (809544 bytes)\r\nutf_R0-0.5887_6680.20230914055809.bin.gz\ + \ (807218 bytes)\r\nutf_R0-0.5887_6681.20230914055818.bin.gz (807444 bytes)\r\ + \nutf_R0-0.5887_6682.20230914055827.bin.gz (808464 bytes)\r\nutf_R0-0.5887_6683.20230914055836.bin.gz\ + \ (808658 bytes)\r\nutf_R0-0.5887_6684.20230914055845.bin.gz (807272 bytes)\r\ + \nutf_R0-0.5887_6673.20230914055707.bin.gz (808002 bytes)\r\nutf_R0-0.5887_6685.20230914055854.bin.gz\ + \ (807831 bytes)\r\nutf_R0-0.5887_6686.20230914055903.bin.gz (813608 bytes)\r\ + \nutf_R0-0.5887_6687.20230914055912.bin.gz (811137 bytes)\r\nshutdown_cc0_20230914055927.log\ + \ (705 bytes)\r\nutf_R0-0.5900_0.20230914062758.bin.gz (1328995 bytes)\r\n\ + utf_R0-0.5900_1.20230914070052.bin.gz (825329 bytes)\r\nutf_R0-0.5900_2.20230914070058.bin.gz\ + \ (811558 bytes)\r\nutf_R0-0.5900_3.20230914070104.bin.gz (809314 bytes)\r\ + \nutf_R0-0.5900_4.20230914070110.bin.gz (796014 bytes)\r\nutf_R0-0.5900_5.20230914070116.bin.gz\ + \ (805042 bytes)\r\nutf_R0-0.5900_6.20230914070122.bin.gz (803377 bytes)\r\ + \nutf_R0-0.5900_7.20230914070128.bin.gz (797514 bytes)\r\nutf_R0-0.5900_8.20230914070134.bin.gz\ + \ (801024 bytes)\r\nutf_R0-0.5900_9.20230914070140.bin.gz (799539 bytes)\r\ + \nshutdown_cc0_20230914070149.log (705 bytes)\r\nutf_R0-0.5887_6672.20230914055658.bin.gz\ + \ (809280 bytes)\r\nsystem_shell_R0-0.25305_0.20230913205802.bin (755 bytes)\r\ + \nmemmon_log_20230913_203413_IST_1694617453.tar.gz (18388 bytes)\r\nsystem_shell_R0-0.6208_0.20230913215854.bin\ + \ (5505 bytes)\r\nbtman_pman_0-0.20392_1.20230913140409.bin.gz (1320 bytes)\r\ + \npvp_0-0.18819_0.20230913140407.bin.gz (5490 bytes)\r\nemd_0-0.19421_0.20230913140408.bin.gz\ + \ (47061 bytes)\r\nezman_0-0.19639_0.20230913140408.bin.gz (4441 bytes)\r\n\ + cmcc_0-0.20291_0.20230913140409.bin.gz (6194 bytes)\r\ncmcc_pman_0-0.20284_1.20230914055927.bin.gz\ + \ (993 bytes)\r\nIOSCC_0-0.21260_0.20230913140412.bin.gz (7344 bytes)\r\n\ + IOSCC_0-1.21579_0.20230913140412.bin.gz (6372 bytes)\r\nIOSCC_0-2.21957_0.20230913140412.bin.gz\ + \ (7140 bytes)\r\nhman_0-0.20183_2.20230914014418.bin.gz (45974 bytes)\r\n\ + mcpcc_lc_ms_pman_0-2.21950_4.20230913165052.bin.gz (1413 bytes)\r\nbtman_0-0.20398_4.20230914025408.bin.gz\ + \ (67666 bytes)\r\nshutdown_fp0_20230914055928.log (633 bytes)\r\npvp_F0-0.16962_0.20230913140402.bin.gz\ + \ (5602 bytes)\r\nshutdown_rp0_20230913134956.log (1461 bytes)\r\nezman_pman_0-0.19632_1.20230914055927.bin.gz\ + \ (988 bytes)\r\nemd_pman_0-0.19413_1.20230914055927.bin.gz (968 bytes)\r\n\ + hman_pman_0-0.20176_1.20230914055927.bin.gz (965 bytes)\r\nmcpcc_lc_ms_pman_0-1.21572_4.20230914055927.bin.gz\ + \ (838 bytes)\r\nmcpcc_lc_ms_pman_0-0.21244_6.20230914055927.bin.gz (519 bytes)\r\ + \nshutdown_fp0_20230914070149.log (633 bytes)\r\ncpp_driver_pman_F0-0.17636_1.20230913140403.bin.gz\ + \ (1173 bytes)\r\nservice_mgr_F0-0.17129_0.20230913140402.bin.gz (5731 bytes)\r\ + \ncpp_cdm_F0-0.17435_0.20230913140403.bin.gz (3190 bytes)\r\ncpp_ha_top_level_server_pman_F0-0.17532_1.20230913140403.bin.gz\ + \ (1185 bytes)\r\ncpp_ha_F0-0.17539_0.20230913140403.bin.gz (12085 bytes)\r\ + \ncpp_cp_svr_pman_F0-0.17843_1.20230914055927.bin.gz (1451 bytes)\r\ncpp_driver_F0-0.17644_0.20230913140403.bin.gz\ + \ (4000 bytes)\r\ncpp_sp_F0-0.17746_0.20230913140403.bin.gz (4451 bytes)\r\ + \nemd_F0-0.17953_0.20230913140403.bin.gz (47659 bytes)\r\ncpp_stats_F0-0.17333_0.20230913140404.bin.gz\ + \ (3955 bytes)\r\ncman_fp_F0-0.18385_0.20230913140404.bin.gz (3996 bytes)\r\ + \nbtman_pman_F0-0.18481_1.20230913140404.bin.gz (1319 bytes)\r\ncpp_cp_F0-0.17849_0.20230913140405.bin.gz\ + \ (18978 bytes)\r\nfman_fp_F0-0.18091_0.20230913140406.bin.gz (12477 bytes)\r\ + \nhman_F0-0.18284_2.20230914014413.bin.gz (46015 bytes)\r\nbtman_F0-0.18488_4.20230914025458.bin.gz\ + \ (67406 bytes)\r\npvp_0-0.18967_0.20230914062806.bin.gz (5457 bytes)\r\n\ + fman_fp_image_pman_F0-0.18071_1.20230914055927.bin.gz (1397 bytes)\r\ncpp_sp_svr_pman_F0-0.17739_1.20230914055927.bin.gz\ + \ (1333 bytes)\r\nemd_pman_F0-0.17946_1.20230914055927.bin.gz (964 bytes)\r\ + \ncman_fp_pman_F0-0.18378_1.20230914055927.bin.gz (995 bytes)\r\ncpp_cdm_svr_pman_F0-0.17429_1.20230914055927.bin.gz\ + \ (1072 bytes)\r\nshutdown_cc0_20230913140009.log (705 bytes)\r\ncpp_stats_svr_pman_F0-0.17326_1.20230914055927.bin.gz\ + \ (1071 bytes)\r\nservice_mgr_pman_F0-0.17120_1.20230914055927.bin.gz (1021\ + \ bytes)\r\nhman_pman_F0-0.18274_1.20230914055928.bin.gz (960 bytes)\r\nshutdown_rp0_20230914055929.log\ + \ (1461 bytes)\r\nrepm_pman_R0-0.4730_0.20230913140333.bin.gz (2564 bytes)\r\ + \npsvp_R0-0.3137_0.20230913140329.bin.gz (1882 bytes)\r\ncli_agent_pman_R0-0.4958_0.20230913140333.bin.gz\ + \ (3112 bytes)\r\nautodns_pman_R0-0.4258_0.20230913140332.bin.gz (2590 bytes)\r\ + \nkernel_ftrace_log_R0-0.11650_0.20230913140352.bin.gz (1750 bytes)\r\nplogd_pman_R0-0.5506_0.20230913140334.bin.gz\ + \ (2569 bytes)\r\nsmand_pman_R0-0.5766_1.20230913140335.bin.gz (1120 bytes)\r\ + \nbtman_pman_R0-0.5880_1.20230913140335.bin.gz (1205 bytes)\r\noom_R0-0.6485_0.20230913140337.bin.gz\ + \ (635 bytes)\r\niptbl_R0-0.7268_0.20230913140341.bin.gz (630 bytes)\r\nbinos_R0-0.7482_0.20230913140341.bin.gz\ + \ (835 bytes)\r\nselinux_smu_R0-0.11591_0.20230913140352.bin.gz (745 bytes)\r\ + \nemd_0-0.19570_0.20230914062807.bin.gz (5385 bytes)\r\ninst_rollback_timer_R0-0.11775_0.20230913140352.bin.gz\ + \ (650 bytes)\r\ncmand_R0-0.3562_0.20230913140352.bin.gz (17628 bytes)\r\n\ + cck_qat_R0-0.3680_0.20230913140353.bin.gz (3173 bytes)\r\nsec_key_agent_R0-0.4021_0.20230913140354.bin.gz\ + \ (4369 bytes)\r\nofa_R0-0.4145_0.20230913140354.bin.gz (2213 bytes)\r\npistisd_R0-0.13440_0.20230913140354.bin.gz\ + \ (13849 bytes)\r\nautodns_R0-0.4266_0.20230913140354.bin.gz (1087 bytes)\r\ + \ntamd_proc_R0-0.4379_0.20230913140355.bin.gz (2431 bytes)\r\ntams_proc_R0-0.4494_0.20230913140355.bin.gz\ + \ (2842 bytes)\r\ntam_svcs_esg_cfg_R0-0.4607_0.20230913140355.bin.gz (2075\ + \ bytes)\r\nlman_R0-0.14229_0.20230913140355.bin.gz (3679 bytes)\r\nrepm_R0-0.4737_0.20230913140356.bin.gz\ + \ (4991 bytes)\r\ndbm_R0-0.4851_0.20230913140356.bin.gz (14140 bytes)\r\n\ + cli_agent_R0-0.4964_0.20230913140356.bin.gz (6241 bytes)\r\nsmd_R0-0.5079_0.20230913140356.bin.gz\ + \ (19358 bytes)\r\nemd_R0-0.5242_0.20230913140356.bin.gz (12230 bytes)\r\n\ + fman_rp_R0-0.5375_0.20230913140357.bin.gz (7865 bytes)\r\npsd_R0-0.5632_0.20230913140357.bin.gz\ + \ (3909 bytes)\r\nperiodic_sh_pman_R0-0.15611_0.20230913140358.bin.gz (3701\ + \ bytes)\r\npvp_R0-0.3202_1.20230913140358.bin.gz (11508 bytes)\r\nsort_files_by_inode_sh_pman_R0-0.15756_0.20230913140358.bin.gz\ + \ (5883 bytes)\r\nsmand_R0-0.5773_1.20230913140409.bin.gz (30825 bytes)\r\n\ + shutdown_journal_rp0_20230913134959.log (18563 bytes)\r\nreflector_R0-0.6983_3.20230913140410.bin.gz\ + \ (615 bytes)\r\nezman_0-0.19789_0.20230914062807.bin.gz (4434 bytes)\r\n\ + hman_0-0.20342_0.20230914062808.bin.gz (10468 bytes)\r\npaed_pman_R0-0.25470_0.20230913140453.bin.gz\ + \ (5571 bytes)\r\nIOSRP_R0-0.3451_5.20230913152041.bin.gz (16689 bytes)\r\n\ + droputil_R0-0.6842_114.20230913165053.bin.gz (781 bytes)\r\nhman_pman_R0-0.6015_1.20230913220116.bin.gz\ + \ (1087 bytes)\r\nhman_R0-0.6021_2.20230914013408.bin.gz (49332 bytes)\r\n\ + paed_R0-0.27267_3.20230914031512.bin.gz (27907 bytes)\r\nplogd_R0-0.5512_5.20230914040510.bin.gz\ + \ (1851 bytes)\r\nservice_mgr_R0-0.3798_132.20230914055256.bin.gz (46328 bytes)\r\ + \nbtman_R0-0.5887_55.20230914055659.bin.gz (11405 bytes)\r\nutf_R0-0.5887_6688.20230914055921.bin.gz\ + \ (559536 bytes)\r\ninstall_mgr_R0-0.12656_133649.20230914055926.bin.gz (31347\ + \ bytes)\r\nnginx_pman_R0-0.26376_5.20230914055927.bin.gz (474 bytes)\r\n\ + lman_pman_R0-0.14221_1.20230914055927.bin.gz (993 bytes)\r\nauto_upgrade_client_sh_pman_R0-0.15319_3.20230914055927.bin.gz\ + \ (564 bytes)\r\ninstall_mgr_pman_R0-0.12649_1.20230914055927.bin.gz (1017\ + \ bytes)\r\npsd_pman_R0-0.5625_1.20230914055927.bin.gz (978 bytes)\r\nemd_pman_R0-0.5236_1.20230914055927.bin.gz\ + \ (934 bytes)\r\nfman_rp_pman_R0-0.5365_1.20230914055927.bin.gz (961 bytes)\r\ + \nsessmgrd_pman_R0-0.5072_1.20230914055927.bin.gz (949 bytes)\r\nofa_pman_R0-0.4139_1.20230914055927.bin.gz\ + \ (929 bytes)\r\nkeyman_pman_R0-0.4015_1.20230914055927.bin.gz (944 bytes)\r\ + \nservice_mgr_pman_R0-0.3791_1.20230914055927.bin.gz (970 bytes)\r\ndbm_pman_R0-0.4844_1.20230914055927.bin.gz\ + \ (926 bytes)\r\ncck_qat_pman_R0-0.3673_1.20230914055927.bin.gz (951 bytes)\r\ + \npistisd_pman_R0-0.13432_1.20230914055928.bin.gz (1024 bytes)\r\ntam_svcs_esg_cfg_pman_R0-0.4601_1.20230914055929.bin.gz\ + \ (991 bytes)\r\ntamd_proc_pman_R0-0.4372_1.20230914055929.bin.gz (997 bytes)\r\ + \ntams_proc_pman_R0-0.4487_1.20230914055929.bin.gz (942 bytes)\r\nshutdown_journal_rp0_20230914055932.log\ + \ (18000 bytes)\r\nshutdown_cc0_20230914060728.log (705 bytes)\r\ncyaninit_R0-0.6053_0.20230914060312.bin.gz\ + \ (1885 bytes)\r\nshutdown_fp0_20230914060729.log (633 bytes)\r\npvp_F0-0.17513_0.20230914060339.bin.gz\ + \ (5573 bytes)\r\npvp_0-0.19246_0.20230914060344.bin.gz (5452 bytes)\r\nemd_0-0.19845_0.20230914060344.bin.gz\ + \ (3797 bytes)\r\nezman_0-0.20062_0.20230914060345.bin.gz (4447 bytes)\r\n\ + hman_0-0.20604_0.20230914060346.bin.gz (3249 bytes)\r\ncmcc_0-0.20712_0.20230914060346.bin.gz\ + \ (6194 bytes)\r\nbtman_pman_0-0.20813_1.20230914060346.bin.gz (1262 bytes)\r\ + \nshutdown_fp0_20230913140010.log (633 bytes)\r\nbtman_0-0.20819_0.20230914060346.bin.gz\ + \ (8292 bytes)\r\nIOSCC_0-1.22004_0.20230914060348.bin.gz (6304 bytes)\r\n\ + IOSCC_0-0.21671_0.20230914060348.bin.gz (7040 bytes)\r\nIOSCC_0-2.22337_0.20230914060349.bin.gz\ + \ (7230 bytes)\r\nmcpcc_lc_ms_pman_0-2.22330_4.20230914060402.bin.gz (1572\ + \ bytes)\r\nezman_pman_0-0.20055_1.20230914060728.bin.gz (997 bytes)\r\nemd_pman_0-0.19836_1.20230914060728.bin.gz\ + \ (969 bytes)\r\nhman_pman_0-0.20597_1.20230914060728.bin.gz (971 bytes)\r\ + \ncmcc_pman_0-0.20705_1.20230914060728.bin.gz (991 bytes)\r\nmcpcc_lc_ms_pman_0-1.21997_4.20230914060728.bin.gz\ + \ (841 bytes)\r\nmcpcc_lc_ms_pman_0-0.21660_6.20230914060728.bin.gz (392 bytes)\r\ + \ncmcc_0-0.20450_0.20230914062808.bin.gz (6312 bytes)\r\ncpp_driver_pman_F0-0.18183_1.20230914060340.bin.gz\ + \ (1162 bytes)\r\nservice_mgr_F0-0.17676_0.20230914060339.bin.gz (5745 bytes)\r\ + \ncpp_cdm_F0-0.17983_0.20230914060340.bin.gz (3174 bytes)\r\ncpp_ha_top_level_server_pman_F0-0.18079_1.20230914060340.bin.gz\ + \ (1191 bytes)\r\ncpp_ha_F0-0.18086_0.20230914060340.bin.gz (4951 bytes)\r\ + \ncpp_sp_svr_pman_F0-0.18286_1.20230914060728.bin.gz (1331 bytes)\r\ncpp_driver_F0-0.18192_0.20230914060340.bin.gz\ + \ (3912 bytes)\r\ncpp_sp_F0-0.18293_0.20230914060340.bin.gz (4356 bytes)\r\ + \nemd_F0-0.18499_0.20230914060340.bin.gz (4303 bytes)\r\nhman_F0-0.18705_0.20230914060341.bin.gz\ + \ (3244 bytes)\r\ncman_fp_F0-0.18809_0.20230914060341.bin.gz (3999 bytes)\r\ + \ncpp_stats_F0-0.17879_0.20230914060341.bin.gz (3973 bytes)\r\nbtman_pman_F0-0.18905_1.20230914060341.bin.gz\ + \ (1260 bytes)\r\nbtman_F0-0.18912_0.20230914060341.bin.gz (8060 bytes)\r\n\ + shutdown_rp0_20230913140011.log (1461 bytes)\r\ncpp_cp_F0-0.18396_0.20230914060342.bin.gz\ + \ (18947 bytes)\r\nfman_fp_F0-0.18605_0.20230914060343.bin.gz (11699 bytes)\r\ + \nmemmon_log_20230914_080612_UTC_1694678772.tar.gz (31076 bytes)\r\nfman_fp_image_pman_F0-0.18595_1.20230914060728.bin.gz\ + \ (1395 bytes)\r\ncpp_cp_svr_pman_F0-0.18389_1.20230914060728.bin.gz (1449\ + \ bytes)\r\ncpp_cdm_svr_pman_F0-0.17976_1.20230914060728.bin.gz (1075 bytes)\r\ + \ncpp_stats_svr_pman_F0-0.17873_1.20230914060728.bin.gz (1062 bytes)\r\nservice_mgr_pman_F0-0.17667_1.20230914060728.bin.gz\ + \ (1022 bytes)\r\nemd_pman_F0-0.18492_1.20230914060728.bin.gz (962 bytes)\r\ + \ncman_fp_pman_F0-0.18802_1.20230914060728.bin.gz (989 bytes)\r\nhman_pman_F0-0.18698_1.20230914060729.bin.gz\ + \ (966 bytes)\r\nshutdown_rp0_20230914060730.log (1461 bytes)\r\nrepm_pman_R0-0.4687_0.20230914060309.bin.gz\ + \ (2562 bytes)\r\npsvp_R0-0.3094_0.20230914060306.bin.gz (1894 bytes)\r\n\ + cli_agent_pman_R0-0.4915_0.20230914060310.bin.gz (3114 bytes)\r\nautodns_pman_R0-0.4215_0.20230914060309.bin.gz\ + \ (2579 bytes)\r\nkernel_ftrace_log_R0-0.11709_0.20230914060328.bin.gz (1747\ + \ bytes)\r\nplogd_pman_R0-0.5460_0.20230914060311.bin.gz (2567 bytes)\r\n\ + smand_pman_R0-0.5720_1.20230914060311.bin.gz (1110 bytes)\r\nbtman_pman_R0-0.5840_1.20230914060312.bin.gz\ + \ (1141 bytes)\r\noom_R0-0.6430_0.20230914060314.bin.gz (632 bytes)\r\niptbl_R0-0.7206_0.20230914060318.bin.gz\ + \ (631 bytes)\r\nbinos_R0-0.7416_0.20230914060318.bin.gz (835 bytes)\r\nselinux_smu_R0-0.11683_0.20230914060328.bin.gz\ + \ (747 bytes)\r\ninst_rollback_timer_R0-0.11851_0.20230914060329.bin.gz (651\ + \ bytes)\r\nIOSRP_R0-0.3408_0.20230914060329.bin.gz (105630 bytes)\r\ncmand_R0-0.3520_0.20230914060329.bin.gz\ + \ (15570 bytes)\r\npsd_R0-0.5586_0.20230914060330.bin.gz (7050 bytes)\r\n\ + vman_R0-0.12577_0.20230914060330.bin.gz (5405 bytes)\r\nsmd_R0-0.5045_0.20230914060330.bin.gz\ + \ (19397 bytes)\r\nservice_mgr_R0-0.3754_0.20230914060331.bin.gz (25715 bytes)\r\ + \nrepm_R0-0.4694_0.20230914060331.bin.gz (4983 bytes)\r\npistisd_R0-0.13914_0.20230914060331.bin.gz\ + \ (13759 bytes)\r\nplogd_R0-0.5466_3.20230914060331.bin.gz (6638 bytes)\r\n\ + ofa_R0-0.4103_0.20230914060332.bin.gz (2217 bytes)\r\nlman_R0-0.14270_0.20230914060332.bin.gz\ + \ (3612 bytes)\r\nsec_key_agent_R0-0.3979_0.20230914060332.bin.gz (4128 bytes)\r\ + \ninstall_mgr_R0-0.14697_0.20230914060333.bin.gz (28907 bytes)\r\nhman_R0-0.6012_0.20230914060333.bin.gz\ + \ (4977 bytes)\r\nfman_rp_R0-0.5331_0.20230914060333.bin.gz (7661 bytes)\r\ + \nemd_R0-0.5206_0.20230914060333.bin.gz (12131 bytes)\r\nshutdown_cc0_20230914062350.log\ + \ (705 bytes)\r\ndbm_R0-0.4808_0.20230914060333.bin.gz (13709 bytes)\r\ncli_agent_R0-0.4921_0.20230914060334.bin.gz\ + \ (6420 bytes)\r\ncck_qat_R0-0.3637_0.20230914060334.bin.gz (3064 bytes)\r\ + \nbtman_R0-0.5849_0.20230914060334.bin.gz (12583 bytes)\r\nutf_R0-0.5849_0.20230914060334.bin.gz\ + \ (619129 bytes)\r\ntams_proc_R0-0.4451_0.20230914060334.bin.gz (2846 bytes)\r\ + \ntamd_proc_R0-0.4336_0.20230914060335.bin.gz (2424 bytes)\r\nperiodic_sh_pman_R0-0.16295_0.20230914060335.bin.gz\ + \ (3727 bytes)\r\nsort_files_by_inode_sh_pman_R0-0.16000_0.20230914060335.bin.gz\ + \ (3600 bytes)\r\ntam_svcs_esg_cfg_R0-0.4564_0.20230914060335.bin.gz (2090\ + \ bytes)\r\nautodns_R0-0.4222_0.20230914060336.bin.gz (1063 bytes)\r\npvp_R0-0.3159_1.20230914060336.bin.gz\ + \ (5077 bytes)\r\nsmand_R0-0.5726_1.20230914060342.bin.gz (21806 bytes)\r\n\ + reflector_R0-0.6937_3.20230914060347.bin.gz (615 bytes)\r\nbtman_pman_0-0.20551_1.20230914062808.bin.gz\ + \ (1324 bytes)\r\nbtman_0-0.20557_0.20230914062808.bin.gz (20155 bytes)\r\n\ + hman_pman_R0-0.6003_1.20230914060648.bin.gz (1079 bytes)\r\ndroputil_R0-0.6796_11.20230914060713.bin.gz\ + \ (642 bytes)\r\nlinux_iosd_image_pman_R0-0.3369_2.20230914060723.bin.gz (1438\ + \ bytes)\r\ncmand_pman_R0-0.3513_1.20230914060727.bin.gz (957 bytes)\r\ninstall_mgr_pman_R0-0.14691_1.20230914060728.bin.gz\ + \ (1013 bytes)\r\nauto_upgrade_client_sh_pman_R0-0.16934_3.20230914060728.bin.gz\ + \ (567 bytes)\r\nnginx_pman_R0-0.23114_5.20230914060728.bin.gz (508 bytes)\r\ + \nlman_pman_R0-0.14263_1.20230914060728.bin.gz (991 bytes)\r\npsd_pman_R0-0.5579_1.20230914060728.bin.gz\ + \ (989 bytes)\r\nofa_pman_R0-0.4096_1.20230914060728.bin.gz (931 bytes)\r\n\ + emd_pman_R0-0.5199_1.20230914060728.bin.gz (932 bytes)\r\nkeyman_pman_R0-0.3972_1.20230914060728.bin.gz\ + \ (942 bytes)\r\nservice_mgr_pman_R0-0.3748_1.20230914060728.bin.gz (981 bytes)\r\ + \nfman_rp_pman_R0-0.5319_1.20230914060728.bin.gz (961 bytes)\r\nsessmgrd_pman_R0-0.5032_1.20230914060728.bin.gz\ + \ (954 bytes)\r\ndbm_pman_R0-0.4801_1.20230914060728.bin.gz (930 bytes)\r\n\ + vman_pman_R0-0.12570_1.20230914060728.bin.gz (1075 bytes)\r\ncck_qat_pman_R0-0.3630_1.20230914060729.bin.gz\ + \ (943 bytes)\r\npistisd_pman_R0-0.13907_1.20230914060730.bin.gz (1022 bytes)\r\ + \ntam_svcs_esg_cfg_pman_R0-0.4558_1.20230914060730.bin.gz (993 bytes)\r\n\ + tamd_proc_pman_R0-0.4329_1.20230914060730.bin.gz (1007 bytes)\r\ntams_proc_pman_R0-0.4444_1.20230914060730.bin.gz\ + \ (943 bytes)\r\nshutdown_journal_rp0_20230914060732.log (211918 bytes)\r\n\ + pvp_0-0.18855_0.20230914061143.bin.gz (5467 bytes)\r\ncyaninit_R0-0.6098_0.20230914061112.bin.gz\ + \ (1885 bytes)\r\nbtman_pman_0-0.20439_1.20230914061146.bin.gz (1320 bytes)\r\ + \nemd_0-0.19461_0.20230914061144.bin.gz (4287 bytes)\r\nezman_0-0.19677_0.20230914061145.bin.gz\ + \ (4432 bytes)\r\nhman_0-0.20230_0.20230914061145.bin.gz (7165 bytes)\r\n\ + cmcc_0-0.20338_0.20230914061145.bin.gz (6206 bytes)\r\nshutdown_fp0_20230914062351.log\ + \ (633 bytes)\r\nshutdown_journal_rp0_20230913140013.log (210690 bytes)\r\n\ + btman_0-0.20445_0.20230914061146.bin.gz (12065 bytes)\r\nIOSCC_0-0.21293_0.20230914061148.bin.gz\ + \ (7302 bytes)\r\nIOSCC_0-1.21617_0.20230914061148.bin.gz (6338 bytes)\r\n\ + IOSCC_0-2.21994_0.20230914061148.bin.gz (7134 bytes)\r\ncreate_utm_luid_file_db_0-0.25976_0.20230914061646.bin.gz\ + \ (1740 bytes)\r\nmcpcc_lc_ms_pman_0-2.21987_4.20230914062232.bin.gz (1420\ + \ bytes)\r\nemd_pman_0-0.19451_1.20230914062350.bin.gz (971 bytes)\r\nhman_pman_0-0.20223_1.20230914062350.bin.gz\ + \ (968 bytes)\r\nezman_pman_0-0.19670_1.20230914062350.bin.gz (988 bytes)\r\ + \ncmcc_pman_0-0.20331_1.20230914062350.bin.gz (990 bytes)\r\nmcpcc_lc_ms_pman_0-0.21282_6.20230914062350.bin.gz\ + \ (551 bytes)\r\nmcpcc_lc_ms_pman_0-1.21610_4.20230914062350.bin.gz (839 bytes)\r\ + \ncpp_cdm_F0-0.17599_0.20230914061139.bin.gz (3169 bytes)\r\npvp_F0-0.17123_0.20230914061138.bin.gz\ + \ (5598 bytes)\r\ncpp_driver_pman_F0-0.17797_1.20230914061139.bin.gz (1163\ + \ bytes)\r\nservice_mgr_F0-0.17290_0.20230914061139.bin.gz (5725 bytes)\r\n\ + cpp_ha_F0-0.17700_0.20230914061139.bin.gz (5080 bytes)\r\ncpp_ha_top_level_server_pman_F0-0.17693_1.20230914061139.bin.gz\ + \ (1190 bytes)\r\ncpp_cp_svr_pman_F0-0.18003_1.20230914062350.bin.gz (1447\ + \ bytes)\r\ncpp_driver_F0-0.17804_0.20230914061140.bin.gz (3904 bytes)\r\n\ + cpp_sp_F0-0.17907_0.20230914061140.bin.gz (4361 bytes)\r\nemd_F0-0.18115_0.20230914061140.bin.gz\ + \ (4808 bytes)\r\nhman_F0-0.18320_0.20230914061140.bin.gz (7283 bytes)\r\n\ + cman_fp_F0-0.18424_0.20230914061141.bin.gz (3990 bytes)\r\ncpp_stats_F0-0.17494_0.20230914061141.bin.gz\ + \ (3957 bytes)\r\nbtman_pman_F0-0.18519_1.20230914061141.bin.gz (1319 bytes)\r\ + \nbtman_F0-0.18526_0.20230914061141.bin.gz (11742 bytes)\r\ncpp_cp_F0-0.18010_0.20230914061142.bin.gz\ + \ (18997 bytes)\r\nfman_fp_F0-0.18224_0.20230914061142.bin.gz (11692 bytes)\r\ + \nshutdown_rp0_20230914062352.log (1461 bytes)\r\ncreate_utm_luid_file_db_F0-0.25846_0.20230914061641.bin.gz\ + \ (1744 bytes)\r\nfman_fp_image_pman_F0-0.18210_1.20230914062350.bin.gz (1393\ + \ bytes)\r\ncpp_sp_svr_pman_F0-0.17900_1.20230914062350.bin.gz (1330 bytes)\r\ + \ncpp_cdm_svr_pman_F0-0.17590_1.20230914062350.bin.gz (1068 bytes)\r\ncpp_stats_svr_pman_F0-0.17487_1.20230914062350.bin.gz\ + \ (1057 bytes)\r\ncman_fp_pman_F0-0.18416_1.20230914062350.bin.gz (996 bytes)\r\ + \nservice_mgr_pman_F0-0.17281_1.20230914062350.bin.gz (1022 bytes)\r\nemd_pman_F0-0.18107_1.20230914062350.bin.gz\ + \ (963 bytes)\r\nhman_pman_F0-0.18313_1.20230914062351.bin.gz (965 bytes)\r\ + \nbtman_rotate_immediate_R0-0.31039_0.20230914062351.bin.gz (4673 bytes)\r\ + \nrepm_pman_R0-0.4731_0.20230914061109.bin.gz (2554 bytes)\r\npsvp_R0-0.3138_0.20230914061106.bin.gz\ + \ (1891 bytes)\r\ncli_agent_pman_R0-0.4959_0.20230914061110.bin.gz (3111 bytes)\r\ + \nautodns_pman_R0-0.4259_0.20230914061108.bin.gz (2579 bytes)\r\nkernel_ftrace_log_R0-0.11767_0.20230914061128.bin.gz\ + \ (1749 bytes)\r\nplogd_pman_R0-0.5505_0.20230914061110.bin.gz (2568 bytes)\r\ + \nsmand_pman_R0-0.5765_1.20230914061111.bin.gz (1119 bytes)\r\nbtman_pman_R0-0.5879_1.20230914061111.bin.gz\ + \ (1207 bytes)\r\noom_R0-0.6466_0.20230914061114.bin.gz (634 bytes)\r\niptbl_R0-0.7246_0.20230914061117.bin.gz\ + \ (630 bytes)\r\nbinos_R0-0.7464_0.20230914061118.bin.gz (836 bytes)\r\nselinux_smu_R0-0.11722_0.20230914061128.bin.gz\ + \ (743 bytes)\r\ncreate_utm_luid_file_db_R0-0.25446_0.20230914061635.bin.gz\ + \ (1749 bytes)\r\ninst_rollback_timer_R0-0.11895_0.20230914061128.bin.gz (648\ + \ bytes)\r\ncmand_R0-0.3563_0.20230914061129.bin.gz (15839 bytes)\r\ncck_qat_R0-0.3680_0.20230914061129.bin.gz\ + \ (3175 bytes)\r\ninstall_mgr_R0-0.12781_0.20230914061130.bin.gz (30355 bytes)\r\ + \nsec_key_agent_R0-0.4023_0.20230914061130.bin.gz (4127 bytes)\r\nIOSRP_R0-0.3455_1.20230914061130.bin.gz\ + \ (29247 bytes)\r\nofa_R0-0.4147_0.20230914061130.bin.gz (2216 bytes)\r\n\ + pistisd_R0-0.13565_0.20230914061131.bin.gz (13856 bytes)\r\nautodns_R0-0.4266_0.20230914061131.bin.gz\ + \ (1064 bytes)\r\ntamd_proc_R0-0.4380_0.20230914061131.bin.gz (2432 bytes)\r\ + \ntams_proc_R0-0.4495_0.20230914061131.bin.gz (2838 bytes)\r\ntam_svcs_esg_cfg_R0-0.4608_0.20230914061131.bin.gz\ + \ (2073 bytes)\r\nlman_R0-0.14354_0.20230914061132.bin.gz (3614 bytes)\r\n\ + repm_R0-0.4738_0.20230914061132.bin.gz (4999 bytes)\r\ndbm_R0-0.4852_0.20230914061132.bin.gz\ + \ (15084 bytes)\r\ncli_agent_R0-0.4966_0.20230914061133.bin.gz (6250 bytes)\r\ + \nsmd_R0-0.5080_0.20230914061133.bin.gz (19501 bytes)\r\nemd_R0-0.5244_0.20230914061133.bin.gz\ + \ (12276 bytes)\r\nfman_rp_R0-0.5373_0.20230914061133.bin.gz (7769 bytes)\r\ + \nplogd_R0-0.5511_3.20230914061134.bin.gz (5987 bytes)\r\npsd_R0-0.5630_0.20230914061134.bin.gz\ + \ (3865 bytes)\r\nperiodic_sh_pman_R0-0.15726_0.20230914061134.bin.gz (3727\ + \ bytes)\r\nbtman_R0-0.5884_0.20230914061135.bin.gz (17024 bytes)\r\nsort_files_by_inode_sh_pman_R0-0.15881_0.20230914061134.bin.gz\ + \ (3591 bytes)\r\nutf_R0-0.5884_0.20230914061135.bin.gz (739964 bytes)\r\n\ + hman_R0-0.6035_0.20230914061135.bin.gz (9082 bytes)\r\npvp_R0-0.3203_1.20230914061135.bin.gz\ + \ (4862 bytes)\r\nsmand_R0-0.5771_1.20230914061145.bin.gz (22086 bytes)\r\n\ + reflector_R0-0.6982_3.20230914061146.bin.gz (615 bytes)\r\nIOSCC_0-1.21729_0.20230914062811.bin.gz\ + \ (6354 bytes)\r\nIOSCC_0-0.21406_0.20230914062811.bin.gz (7325 bytes)\r\n\ + hman_pman_R0-0.6029_1.20230914061847.bin.gz (1082 bytes)\r\npaed_R0-0.25973_0.20230914061645.bin.gz\ + \ (15666 bytes)\r\ninstall_mgr_pman_R0-0.12774_1.20230914062350.bin.gz (1020\ + \ bytes)\r\nservice_mgr_R0-0.3799_1.20230914062109.bin.gz (16322 bytes)\r\n\ + droputil_R0-0.6841_22.20230914062345.bin.gz (385 bytes)\r\nlinux_iosd_image_pman_R0-0.3413_2.20230914062345.bin.gz\ + \ (1438 bytes)\r\ncmand_pman_R0-0.3557_1.20230914062349.bin.gz (960 bytes)\r\ + \nnginx_pman_R0-0.23147_5.20230914062350.bin.gz (440 bytes)\r\nauto_upgrade_client_sh_pman_R0-0.15444_3.20230914062350.bin.gz\ + \ (566 bytes)\r\nlman_pman_R0-0.14347_1.20230914062350.bin.gz (980 bytes)\r\ + \nkeyman_pman_R0-0.4016_1.20230914062350.bin.gz (946 bytes)\r\npsd_pman_R0-0.5624_1.20230914062350.bin.gz\ + \ (977 bytes)\r\nemd_pman_R0-0.5237_1.20230914062350.bin.gz (933 bytes)\r\n\ + ofa_pman_R0-0.4140_1.20230914062350.bin.gz (936 bytes)\r\ntam_svcs_esg_cfg_pman_R0-0.4602_1.20230914062352.bin.gz\ + \ (991 bytes)\r\nservice_mgr_pman_R0-0.3792_1.20230914062350.bin.gz (967 bytes)\r\ + \nfman_rp_pman_R0-0.5364_1.20230914062350.bin.gz (959 bytes)\r\nsessmgrd_pman_R0-0.5073_1.20230914062350.bin.gz\ + \ (954 bytes)\r\ndbm_pman_R0-0.4845_1.20230914062350.bin.gz (930 bytes)\r\n\ + cck_qat_pman_R0-0.3674_1.20230914062351.bin.gz (946 bytes)\r\npistisd_pman_R0-0.13558_1.20230914062351.bin.gz\ + \ (1020 bytes)\r\nshutdown_journal_rp0_20230914062354.log (18825 bytes)\r\n\ + tamd_proc_pman_R0-0.4373_1.20230914062352.bin.gz (1008 bytes)\r\ntams_proc_pman_R0-0.4488_1.20230914062352.bin.gz\ + \ (946 bytes)\r\nIOSCC_0-2.22107_0.20230914062811.bin.gz (7120 bytes)\r\n\ + btman_rotate_immediate_R0-0.31141_0.20230914062352.bin.gz (8050 bytes)\r\n\ + cyaninit_R0-0.6091_0.20230914062734.bin.gz (1889 bytes)\r\nmcpcc_lc_ms_pman_0-2.22100_4.20230914070019.bin.gz\ + \ (1382 bytes)\r\ncreate_utm_luid_file_db_0-0.26684_0.20230914063308.bin.gz\ + \ (1744 bytes)\r\nezman_pman_0-0.19782_1.20230914070149.bin.gz (1000 bytes)\r\ + \nemd_pman_0-0.19563_1.20230914070149.bin.gz (973 bytes)\r\nhman_pman_0-0.20335_1.20230914070149.bin.gz\ + \ (965 bytes)\r\ncmcc_pman_0-0.20443_1.20230914070149.bin.gz (994 bytes)\r\ + \nmcpcc_lc_ms_pman_0-1.21722_4.20230914070149.bin.gz (842 bytes)\r\nmcpcc_lc_ms_pman_0-0.21394_6.20230914070149.bin.gz\ + \ (553 bytes)\r\ncpp_ha_top_level_server_pman_F0-0.17805_1.20230914062802.bin.gz\ + \ (1189 bytes)\r\nbtman_rotate_immediate_R0-0.20024_0.20230914070149.bin.gz\ + \ (3819 bytes)\r\npvp_F0-0.17235_0.20230914062801.bin.gz (5590 bytes)\r\n\ + service_mgr_F0-0.17402_0.20230914062801.bin.gz (5735 bytes)\r\ncpp_driver_F0-0.17918_0.20230914062802.bin.gz\ + \ (3918 bytes)\r\ncpp_cdm_F0-0.17708_0.20230914062802.bin.gz (3168 bytes)\r\ + \ncpp_ha_F0-0.17812_0.20230914062802.bin.gz (5216 bytes)\r\nfman_fp_image_pman_F0-0.18322_1.20230914070149.bin.gz\ + \ (1392 bytes)\r\ncpp_driver_pman_F0-0.17909_1.20230914062802.bin.gz (1169\ + \ bytes)\r\ncpp_sp_F0-0.18018_0.20230914062802.bin.gz (4367 bytes)\r\nemd_F0-0.18225_0.20230914062803.bin.gz\ + \ (5913 bytes)\r\nhman_F0-0.18432_0.20230914062803.bin.gz (10525 bytes)\r\n\ + cman_fp_F0-0.18535_0.20230914062803.bin.gz (3988 bytes)\r\ncpp_stats_F0-0.17606_0.20230914062803.bin.gz\ + \ (3966 bytes)\r\nbtman_pman_F0-0.18631_1.20230914062804.bin.gz (1320 bytes)\r\ + \nbtman_F0-0.18638_0.20230914062804.bin.gz (19814 bytes)\r\ncpp_cp_F0-0.18122_0.20230914062804.bin.gz\ + \ (18907 bytes)\r\nfman_fp_F0-0.18334_0.20230914062805.bin.gz (11708 bytes)\r\ + \nshutdown_rp0_20230914070150.log (1461 bytes)\r\ncreate_utm_luid_file_db_F0-0.26554_0.20230914063304.bin.gz\ + \ (1746 bytes)\r\ncpp_sp_svr_pman_F0-0.18012_1.20230914070149.bin.gz (1331\ + \ bytes)\r\nemd_pman_F0-0.18218_1.20230914070149.bin.gz (968 bytes)\r\ncpp_cp_svr_pman_F0-0.18115_1.20230914070149.bin.gz\ + \ (1451 bytes)\r\ncpp_cdm_svr_pman_F0-0.17702_1.20230914070149.bin.gz (1068\ + \ bytes)\r\ncpp_stats_svr_pman_F0-0.17599_1.20230914070149.bin.gz (1075 bytes)\r\ + \ncman_fp_pman_F0-0.18528_1.20230914070149.bin.gz (992 bytes)\r\nservice_mgr_pman_F0-0.17393_1.20230914070149.bin.gz\ + \ (1025 bytes)\r\nhman_pman_F0-0.18425_1.20230914070149.bin.gz (968 bytes)\r\ + \nbtman_rotate_immediate_R0-0.20143_0.20230914070150.bin.gz (4678 bytes)\r\ + \nrepm_pman_R0-0.4726_0.20230914062732.bin.gz (2572 bytes)\r\npsvp_R0-0.3133_0.20230914062728.bin.gz\ + \ (1890 bytes)\r\ncli_agent_pman_R0-0.4954_0.20230914062732.bin.gz (3116 bytes)\r\ + \nautodns_pman_R0-0.4254_0.20230914062731.bin.gz (2588 bytes)\r\nkernel_ftrace_log_R0-0.11760_0.20230914062751.bin.gz\ + \ (1749 bytes)\r\nplogd_pman_R0-0.5498_0.20230914062733.bin.gz (2563 bytes)\r\ + \nsmand_pman_R0-0.5758_1.20230914062734.bin.gz (1120 bytes)\r\nbtman_pman_R0-0.5881_1.20230914062734.bin.gz\ + \ (1209 bytes)\r\noom_R0-0.6464_0.20230914062736.bin.gz (634 bytes)\r\niptbl_R0-0.7244_0.20230914062740.bin.gz\ + \ (628 bytes)\r\nbinos_R0-0.7473_0.20230914062740.bin.gz (836 bytes)\r\nselinux_smu_R0-0.11718_0.20230914062751.bin.gz\ + \ (745 bytes)\r\ncreate_utm_luid_file_db_R0-0.26153_0.20230914063258.bin.gz\ + \ (1751 bytes)\r\ninst_rollback_timer_R0-0.11892_0.20230914062751.bin.gz (649\ + \ bytes)\r\ncmand_R0-0.3558_0.20230914062752.bin.gz (17187 bytes)\r\ncck_qat_R0-0.3676_0.20230914062752.bin.gz\ + \ (3178 bytes)\r\nsec_key_agent_R0-0.4018_0.20230914062753.bin.gz (4323 bytes)\r\ + \nIOSRP_R0-0.3442_1.20230914062753.bin.gz (35313 bytes)\r\nofa_R0-0.4142_0.20230914062753.bin.gz\ + \ (2215 bytes)\r\npistisd_R0-0.13558_0.20230914062753.bin.gz (13863 bytes)\r\ + \nautodns_R0-0.4261_0.20230914062754.bin.gz (1081 bytes)\r\ntamd_proc_R0-0.4375_0.20230914062754.bin.gz\ + \ (2427 bytes)\r\ntams_proc_R0-0.4490_0.20230914062754.bin.gz (2817 bytes)\r\ + \ntam_svcs_esg_cfg_R0-0.4603_0.20230914062754.bin.gz (2074 bytes)\r\nlman_R0-0.14347_0.20230914062755.bin.gz\ + \ (3664 bytes)\r\nrepm_R0-0.4733_0.20230914062755.bin.gz (4991 bytes)\r\n\ + dbm_R0-0.4846_0.20230914062755.bin.gz (15057 bytes)\r\ncli_agent_R0-0.4962_0.20230914062755.bin.gz\ + \ (6256 bytes)\r\nsmd_R0-0.5109_0.20230914062756.bin.gz (19790 bytes)\r\n\ + emd_R0-0.5244_0.20230914062756.bin.gz (12271 bytes)\r\nfman_rp_R0-0.5369_0.20230914062756.bin.gz\ + \ (7767 bytes)\r\nplogd_R0-0.5504_3.20230914062756.bin.gz (6653 bytes)\r\n\ + psd_R0-0.5625_0.20230914062756.bin.gz (3865 bytes)\r\nperiodic_sh_pman_R0-0.15726_0.20230914062757.bin.gz\ + \ (3732 bytes)\r\nbtman_R0-0.5900_0.20230914062758.bin.gz (30865 bytes)\r\n\ + sort_files_by_inode_sh_pman_R0-0.15874_0.20230914062757.bin.gz (3591 bytes)\r\ + \nhman_R0-0.6064_0.20230914062758.bin.gz (12489 bytes)\r\npvp_R0-0.3198_1.20230914062758.bin.gz\ + \ (9191 bytes)\r\nsmand_R0-0.5764_1.20230914062808.bin.gz (22140 bytes)\r\n\ + reflector_R0-0.6975_3.20230914062809.bin.gz (619 bytes)\r\nIOSRP_R0-1.15254_0.20230914070049.bin.gz\ + \ (56456 bytes)\r\npaed_R0-0.26681_0.20230914063308.bin.gz (15670 bytes)\r\ + \ninstall_mgr_R0-0.12774_200.20230914070148.bin.gz (31421 bytes)\r\nservice_mgr_R0-0.3793_3.20230914065643.bin.gz\ + \ (29565 bytes)\r\npsd_R0-1.16970_0.20230914070050.bin.gz (2974 bytes)\r\n\ + fman_rp_R0-1.16831_0.20230914070050.bin.gz (6843 bytes)\r\ndroputil_R0-0.6834_47.20230914070138.bin.gz\ + \ (495 bytes)\r\nutf_R0-0.5900_10.20230914070146.bin.gz (329775 bytes)\r\n\ + cmand_pman_R0-0.3552_1.20230914070148.bin.gz (959 bytes)\r\nlinux_iosd_image_pman_R0-0.3408_3.20230914070148.bin.gz\ + \ (1087 bytes)\r\nshutdown_journal_rp0_20230914070153.log (20467 bytes)\r\n\ + auto_upgrade_client_sh_pman_R0-0.15437_3.20230914070148.bin.gz (568 bytes)\r\ + \nnginx_pman_R0-0.23378_5.20230914070148.bin.gz (440 bytes)\r\ninstall_mgr_pman_R0-0.12767_1.20230914070148.bin.gz\ + \ (1025 bytes)\r\npsd_pman_R0-0.5617_1.20230914070148.bin.gz (988 bytes)\r\ + \nlman_pman_R0-0.14340_1.20230914070148.bin.gz (978 bytes)\r\nemd_pman_R0-0.5237_1.20230914070148.bin.gz\ + \ (936 bytes)\r\nkeyman_pman_R0-0.4011_1.20230914070149.bin.gz (947 bytes)\r\ + \nofa_pman_R0-0.4135_1.20230914070149.bin.gz (931 bytes)\r\nfman_rp_pman_R0-0.5357_1.20230914070149.bin.gz\ + \ (960 bytes)\r\nservice_mgr_pman_R0-0.3787_1.20230914070149.bin.gz (971 bytes)\r\ + \nsessmgrd_pman_R0-0.5102_1.20230914070149.bin.gz (949 bytes)\r\ndbm_pman_R0-0.4840_1.20230914070149.bin.gz\ + \ (929 bytes)\r\ncck_qat_pman_R0-0.3669_1.20230914070149.bin.gz (946 bytes)\r\ + \npistisd_pman_R0-0.13551_1.20230914070150.bin.gz (1026 bytes)\r\ntam_svcs_esg_cfg_pman_R0-0.4597_1.20230914070150.bin.gz\ + \ (1001 bytes)\r\ntamd_proc_pman_R0-0.4368_1.20230914070150.bin.gz (993 bytes)\r\ + \ntams_proc_pman_R0-0.4483_1.20230914070150.bin.gz (940 bytes)\r\nhman_pman_R0-0.6058_1.20230914070150.bin.gz\ + \ (974 bytes)\r\nbtman_rotate_immediate_R0-0.20245_0.20230914070151.bin.gz\ + \ (9098 bytes)\r\ncyaninit_R0-0.6101_0.20230914070532.bin.gz (1888 bytes)" + response_type: circular + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: GD_F12# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_archive_tar/archive_3/test_api_execute_archive_tar_option_table.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_archive_tar/archive_3/test_api_execute_archive_tar_option_table.py new file mode 100644 index 000000000..9b4572349 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_archive_tar/archive_3/test_api_execute_archive_tar_option_table.py @@ -0,0 +1,544 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.platform.execute import execute_archive_tar + + +class TestExecuteArchiveTar(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + GD_F12: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: iosxe + type: iosxe + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['GD_F12'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_execute_archive_tar(self): + result = execute_archive_tar(self.device, 'usb_files_9.tar', 'table', 'usb0:', 'test', None, None, 120) + expected_output = ('dmesg (66264 bytes)\r\n' + 'timestamp (10 bytes)\r\n' + 'shutdown_cc0_20230913134955.log (705 bytes)\r\n' + 'shutdown_fp0_20230913134955.log (633 bytes)\r\n' + 'utf_R0-0.5887_6674.20230914055716.bin.gz (808254 bytes)\r\n' + 'utf_R0-0.5887_6675.20230914055725.bin.gz (806594 bytes)\r\n' + 'utf_R0-0.5887_6676.20230914055734.bin.gz (808838 bytes)\r\n' + 'utf_R0-0.5887_6677.20230914055743.bin.gz (807858 bytes)\r\n' + 'utf_R0-0.5887_6678.20230914055752.bin.gz (807057 bytes)\r\n' + 'utf_R0-0.5887_6679.20230914055801.bin.gz (809544 bytes)\r\n' + 'utf_R0-0.5887_6680.20230914055809.bin.gz (807218 bytes)\r\n' + 'utf_R0-0.5887_6681.20230914055818.bin.gz (807444 bytes)\r\n' + 'utf_R0-0.5887_6682.20230914055827.bin.gz (808464 bytes)\r\n' + 'utf_R0-0.5887_6683.20230914055836.bin.gz (808658 bytes)\r\n' + 'utf_R0-0.5887_6684.20230914055845.bin.gz (807272 bytes)\r\n' + 'utf_R0-0.5887_6673.20230914055707.bin.gz (808002 bytes)\r\n' + 'utf_R0-0.5887_6685.20230914055854.bin.gz (807831 bytes)\r\n' + 'utf_R0-0.5887_6686.20230914055903.bin.gz (813608 bytes)\r\n' + 'utf_R0-0.5887_6687.20230914055912.bin.gz (811137 bytes)\r\n' + 'shutdown_cc0_20230914055927.log (705 bytes)\r\n' + 'utf_R0-0.5900_0.20230914062758.bin.gz (1328995 bytes)\r\n' + 'utf_R0-0.5900_1.20230914070052.bin.gz (825329 bytes)\r\n' + 'utf_R0-0.5900_2.20230914070058.bin.gz (811558 bytes)\r\n' + 'utf_R0-0.5900_3.20230914070104.bin.gz (809314 bytes)\r\n' + 'utf_R0-0.5900_4.20230914070110.bin.gz (796014 bytes)\r\n' + 'utf_R0-0.5900_5.20230914070116.bin.gz (805042 bytes)\r\n' + 'utf_R0-0.5900_6.20230914070122.bin.gz (803377 bytes)\r\n' + 'utf_R0-0.5900_7.20230914070128.bin.gz (797514 bytes)\r\n' + 'utf_R0-0.5900_8.20230914070134.bin.gz (801024 bytes)\r\n' + 'utf_R0-0.5900_9.20230914070140.bin.gz (799539 bytes)\r\n' + 'shutdown_cc0_20230914070149.log (705 bytes)\r\n' + 'utf_R0-0.5887_6672.20230914055658.bin.gz (809280 bytes)\r\n' + 'system_shell_R0-0.25305_0.20230913205802.bin (755 bytes)\r\n' + 'memmon_log_20230913_203413_IST_1694617453.tar.gz (18388 bytes)\r\n' + 'system_shell_R0-0.6208_0.20230913215854.bin (5505 bytes)\r\n' + 'btman_pman_0-0.20392_1.20230913140409.bin.gz (1320 bytes)\r\n' + 'pvp_0-0.18819_0.20230913140407.bin.gz (5490 bytes)\r\n' + 'emd_0-0.19421_0.20230913140408.bin.gz (47061 bytes)\r\n' + 'ezman_0-0.19639_0.20230913140408.bin.gz (4441 bytes)\r\n' + 'cmcc_0-0.20291_0.20230913140409.bin.gz (6194 bytes)\r\n' + 'cmcc_pman_0-0.20284_1.20230914055927.bin.gz (993 bytes)\r\n' + 'IOSCC_0-0.21260_0.20230913140412.bin.gz (7344 bytes)\r\n' + 'IOSCC_0-1.21579_0.20230913140412.bin.gz (6372 bytes)\r\n' + 'IOSCC_0-2.21957_0.20230913140412.bin.gz (7140 bytes)\r\n' + 'hman_0-0.20183_2.20230914014418.bin.gz (45974 bytes)\r\n' + 'mcpcc_lc_ms_pman_0-2.21950_4.20230913165052.bin.gz (1413 bytes)\r\n' + 'btman_0-0.20398_4.20230914025408.bin.gz (67666 bytes)\r\n' + 'shutdown_fp0_20230914055928.log (633 bytes)\r\n' + 'pvp_F0-0.16962_0.20230913140402.bin.gz (5602 bytes)\r\n' + 'shutdown_rp0_20230913134956.log (1461 bytes)\r\n' + 'ezman_pman_0-0.19632_1.20230914055927.bin.gz (988 bytes)\r\n' + 'emd_pman_0-0.19413_1.20230914055927.bin.gz (968 bytes)\r\n' + 'hman_pman_0-0.20176_1.20230914055927.bin.gz (965 bytes)\r\n' + 'mcpcc_lc_ms_pman_0-1.21572_4.20230914055927.bin.gz (838 bytes)\r\n' + 'mcpcc_lc_ms_pman_0-0.21244_6.20230914055927.bin.gz (519 bytes)\r\n' + 'shutdown_fp0_20230914070149.log (633 bytes)\r\n' + 'cpp_driver_pman_F0-0.17636_1.20230913140403.bin.gz (1173 bytes)\r\n' + 'service_mgr_F0-0.17129_0.20230913140402.bin.gz (5731 bytes)\r\n' + 'cpp_cdm_F0-0.17435_0.20230913140403.bin.gz (3190 bytes)\r\n' + 'cpp_ha_top_level_server_pman_F0-0.17532_1.20230913140403.bin.gz (1185 ' + 'bytes)\r\n' + 'cpp_ha_F0-0.17539_0.20230913140403.bin.gz (12085 bytes)\r\n' + 'cpp_cp_svr_pman_F0-0.17843_1.20230914055927.bin.gz (1451 bytes)\r\n' + 'cpp_driver_F0-0.17644_0.20230913140403.bin.gz (4000 bytes)\r\n' + 'cpp_sp_F0-0.17746_0.20230913140403.bin.gz (4451 bytes)\r\n' + 'emd_F0-0.17953_0.20230913140403.bin.gz (47659 bytes)\r\n' + 'cpp_stats_F0-0.17333_0.20230913140404.bin.gz (3955 bytes)\r\n' + 'cman_fp_F0-0.18385_0.20230913140404.bin.gz (3996 bytes)\r\n' + 'btman_pman_F0-0.18481_1.20230913140404.bin.gz (1319 bytes)\r\n' + 'cpp_cp_F0-0.17849_0.20230913140405.bin.gz (18978 bytes)\r\n' + 'fman_fp_F0-0.18091_0.20230913140406.bin.gz (12477 bytes)\r\n' + 'hman_F0-0.18284_2.20230914014413.bin.gz (46015 bytes)\r\n' + 'btman_F0-0.18488_4.20230914025458.bin.gz (67406 bytes)\r\n' + 'pvp_0-0.18967_0.20230914062806.bin.gz (5457 bytes)\r\n' + 'fman_fp_image_pman_F0-0.18071_1.20230914055927.bin.gz (1397 bytes)\r\n' + 'cpp_sp_svr_pman_F0-0.17739_1.20230914055927.bin.gz (1333 bytes)\r\n' + 'emd_pman_F0-0.17946_1.20230914055927.bin.gz (964 bytes)\r\n' + 'cman_fp_pman_F0-0.18378_1.20230914055927.bin.gz (995 bytes)\r\n' + 'cpp_cdm_svr_pman_F0-0.17429_1.20230914055927.bin.gz (1072 bytes)\r\n' + 'shutdown_cc0_20230913140009.log (705 bytes)\r\n' + 'cpp_stats_svr_pman_F0-0.17326_1.20230914055927.bin.gz (1071 bytes)\r\n' + 'service_mgr_pman_F0-0.17120_1.20230914055927.bin.gz (1021 bytes)\r\n' + 'hman_pman_F0-0.18274_1.20230914055928.bin.gz (960 bytes)\r\n' + 'shutdown_rp0_20230914055929.log (1461 bytes)\r\n' + 'repm_pman_R0-0.4730_0.20230913140333.bin.gz (2564 bytes)\r\n' + 'psvp_R0-0.3137_0.20230913140329.bin.gz (1882 bytes)\r\n' + 'cli_agent_pman_R0-0.4958_0.20230913140333.bin.gz (3112 bytes)\r\n' + 'autodns_pman_R0-0.4258_0.20230913140332.bin.gz (2590 bytes)\r\n' + 'kernel_ftrace_log_R0-0.11650_0.20230913140352.bin.gz (1750 bytes)\r\n' + 'plogd_pman_R0-0.5506_0.20230913140334.bin.gz (2569 bytes)\r\n' + 'smand_pman_R0-0.5766_1.20230913140335.bin.gz (1120 bytes)\r\n' + 'btman_pman_R0-0.5880_1.20230913140335.bin.gz (1205 bytes)\r\n' + 'oom_R0-0.6485_0.20230913140337.bin.gz (635 bytes)\r\n' + 'iptbl_R0-0.7268_0.20230913140341.bin.gz (630 bytes)\r\n' + 'binos_R0-0.7482_0.20230913140341.bin.gz (835 bytes)\r\n' + 'selinux_smu_R0-0.11591_0.20230913140352.bin.gz (745 bytes)\r\n' + 'emd_0-0.19570_0.20230914062807.bin.gz (5385 bytes)\r\n' + 'inst_rollback_timer_R0-0.11775_0.20230913140352.bin.gz (650 bytes)\r\n' + 'cmand_R0-0.3562_0.20230913140352.bin.gz (17628 bytes)\r\n' + 'cck_qat_R0-0.3680_0.20230913140353.bin.gz (3173 bytes)\r\n' + 'sec_key_agent_R0-0.4021_0.20230913140354.bin.gz (4369 bytes)\r\n' + 'ofa_R0-0.4145_0.20230913140354.bin.gz (2213 bytes)\r\n' + 'pistisd_R0-0.13440_0.20230913140354.bin.gz (13849 bytes)\r\n' + 'autodns_R0-0.4266_0.20230913140354.bin.gz (1087 bytes)\r\n' + 'tamd_proc_R0-0.4379_0.20230913140355.bin.gz (2431 bytes)\r\n' + 'tams_proc_R0-0.4494_0.20230913140355.bin.gz (2842 bytes)\r\n' + 'tam_svcs_esg_cfg_R0-0.4607_0.20230913140355.bin.gz (2075 bytes)\r\n' + 'lman_R0-0.14229_0.20230913140355.bin.gz (3679 bytes)\r\n' + 'repm_R0-0.4737_0.20230913140356.bin.gz (4991 bytes)\r\n' + 'dbm_R0-0.4851_0.20230913140356.bin.gz (14140 bytes)\r\n' + 'cli_agent_R0-0.4964_0.20230913140356.bin.gz (6241 bytes)\r\n' + 'smd_R0-0.5079_0.20230913140356.bin.gz (19358 bytes)\r\n' + 'emd_R0-0.5242_0.20230913140356.bin.gz (12230 bytes)\r\n' + 'fman_rp_R0-0.5375_0.20230913140357.bin.gz (7865 bytes)\r\n' + 'psd_R0-0.5632_0.20230913140357.bin.gz (3909 bytes)\r\n' + 'periodic_sh_pman_R0-0.15611_0.20230913140358.bin.gz (3701 bytes)\r\n' + 'pvp_R0-0.3202_1.20230913140358.bin.gz (11508 bytes)\r\n' + 'sort_files_by_inode_sh_pman_R0-0.15756_0.20230913140358.bin.gz (5883 ' + 'bytes)\r\n' + 'smand_R0-0.5773_1.20230913140409.bin.gz (30825 bytes)\r\n' + 'shutdown_journal_rp0_20230913134959.log (18563 bytes)\r\n' + 'reflector_R0-0.6983_3.20230913140410.bin.gz (615 bytes)\r\n' + 'ezman_0-0.19789_0.20230914062807.bin.gz (4434 bytes)\r\n' + 'hman_0-0.20342_0.20230914062808.bin.gz (10468 bytes)\r\n' + 'paed_pman_R0-0.25470_0.20230913140453.bin.gz (5571 bytes)\r\n' + 'IOSRP_R0-0.3451_5.20230913152041.bin.gz (16689 bytes)\r\n' + 'droputil_R0-0.6842_114.20230913165053.bin.gz (781 bytes)\r\n' + 'hman_pman_R0-0.6015_1.20230913220116.bin.gz (1087 bytes)\r\n' + 'hman_R0-0.6021_2.20230914013408.bin.gz (49332 bytes)\r\n' + 'paed_R0-0.27267_3.20230914031512.bin.gz (27907 bytes)\r\n' + 'plogd_R0-0.5512_5.20230914040510.bin.gz (1851 bytes)\r\n' + 'service_mgr_R0-0.3798_132.20230914055256.bin.gz (46328 bytes)\r\n' + 'btman_R0-0.5887_55.20230914055659.bin.gz (11405 bytes)\r\n' + 'utf_R0-0.5887_6688.20230914055921.bin.gz (559536 bytes)\r\n' + 'install_mgr_R0-0.12656_133649.20230914055926.bin.gz (31347 bytes)\r\n' + 'nginx_pman_R0-0.26376_5.20230914055927.bin.gz (474 bytes)\r\n' + 'lman_pman_R0-0.14221_1.20230914055927.bin.gz (993 bytes)\r\n' + 'auto_upgrade_client_sh_pman_R0-0.15319_3.20230914055927.bin.gz (564 ' + 'bytes)\r\n' + 'install_mgr_pman_R0-0.12649_1.20230914055927.bin.gz (1017 bytes)\r\n' + 'psd_pman_R0-0.5625_1.20230914055927.bin.gz (978 bytes)\r\n' + 'emd_pman_R0-0.5236_1.20230914055927.bin.gz (934 bytes)\r\n' + 'fman_rp_pman_R0-0.5365_1.20230914055927.bin.gz (961 bytes)\r\n' + 'sessmgrd_pman_R0-0.5072_1.20230914055927.bin.gz (949 bytes)\r\n' + 'ofa_pman_R0-0.4139_1.20230914055927.bin.gz (929 bytes)\r\n' + 'keyman_pman_R0-0.4015_1.20230914055927.bin.gz (944 bytes)\r\n' + 'service_mgr_pman_R0-0.3791_1.20230914055927.bin.gz (970 bytes)\r\n' + 'dbm_pman_R0-0.4844_1.20230914055927.bin.gz (926 bytes)\r\n' + 'cck_qat_pman_R0-0.3673_1.20230914055927.bin.gz (951 bytes)\r\n' + 'pistisd_pman_R0-0.13432_1.20230914055928.bin.gz (1024 bytes)\r\n' + 'tam_svcs_esg_cfg_pman_R0-0.4601_1.20230914055929.bin.gz (991 bytes)\r\n' + 'tamd_proc_pman_R0-0.4372_1.20230914055929.bin.gz (997 bytes)\r\n' + 'tams_proc_pman_R0-0.4487_1.20230914055929.bin.gz (942 bytes)\r\n' + 'shutdown_journal_rp0_20230914055932.log (18000 bytes)\r\n' + 'shutdown_cc0_20230914060728.log (705 bytes)\r\n' + 'cyaninit_R0-0.6053_0.20230914060312.bin.gz (1885 bytes)\r\n' + 'shutdown_fp0_20230914060729.log (633 bytes)\r\n' + 'pvp_F0-0.17513_0.20230914060339.bin.gz (5573 bytes)\r\n' + 'pvp_0-0.19246_0.20230914060344.bin.gz (5452 bytes)\r\n' + 'emd_0-0.19845_0.20230914060344.bin.gz (3797 bytes)\r\n' + 'ezman_0-0.20062_0.20230914060345.bin.gz (4447 bytes)\r\n' + 'hman_0-0.20604_0.20230914060346.bin.gz (3249 bytes)\r\n' + 'cmcc_0-0.20712_0.20230914060346.bin.gz (6194 bytes)\r\n' + 'btman_pman_0-0.20813_1.20230914060346.bin.gz (1262 bytes)\r\n' + 'shutdown_fp0_20230913140010.log (633 bytes)\r\n' + 'btman_0-0.20819_0.20230914060346.bin.gz (8292 bytes)\r\n' + 'IOSCC_0-1.22004_0.20230914060348.bin.gz (6304 bytes)\r\n' + 'IOSCC_0-0.21671_0.20230914060348.bin.gz (7040 bytes)\r\n' + 'IOSCC_0-2.22337_0.20230914060349.bin.gz (7230 bytes)\r\n' + 'mcpcc_lc_ms_pman_0-2.22330_4.20230914060402.bin.gz (1572 bytes)\r\n' + 'ezman_pman_0-0.20055_1.20230914060728.bin.gz (997 bytes)\r\n' + 'emd_pman_0-0.19836_1.20230914060728.bin.gz (969 bytes)\r\n' + 'hman_pman_0-0.20597_1.20230914060728.bin.gz (971 bytes)\r\n' + 'cmcc_pman_0-0.20705_1.20230914060728.bin.gz (991 bytes)\r\n' + 'mcpcc_lc_ms_pman_0-1.21997_4.20230914060728.bin.gz (841 bytes)\r\n' + 'mcpcc_lc_ms_pman_0-0.21660_6.20230914060728.bin.gz (392 bytes)\r\n' + 'cmcc_0-0.20450_0.20230914062808.bin.gz (6312 bytes)\r\n' + 'cpp_driver_pman_F0-0.18183_1.20230914060340.bin.gz (1162 bytes)\r\n' + 'service_mgr_F0-0.17676_0.20230914060339.bin.gz (5745 bytes)\r\n' + 'cpp_cdm_F0-0.17983_0.20230914060340.bin.gz (3174 bytes)\r\n' + 'cpp_ha_top_level_server_pman_F0-0.18079_1.20230914060340.bin.gz (1191 ' + 'bytes)\r\n' + 'cpp_ha_F0-0.18086_0.20230914060340.bin.gz (4951 bytes)\r\n' + 'cpp_sp_svr_pman_F0-0.18286_1.20230914060728.bin.gz (1331 bytes)\r\n' + 'cpp_driver_F0-0.18192_0.20230914060340.bin.gz (3912 bytes)\r\n' + 'cpp_sp_F0-0.18293_0.20230914060340.bin.gz (4356 bytes)\r\n' + 'emd_F0-0.18499_0.20230914060340.bin.gz (4303 bytes)\r\n' + 'hman_F0-0.18705_0.20230914060341.bin.gz (3244 bytes)\r\n' + 'cman_fp_F0-0.18809_0.20230914060341.bin.gz (3999 bytes)\r\n' + 'cpp_stats_F0-0.17879_0.20230914060341.bin.gz (3973 bytes)\r\n' + 'btman_pman_F0-0.18905_1.20230914060341.bin.gz (1260 bytes)\r\n' + 'btman_F0-0.18912_0.20230914060341.bin.gz (8060 bytes)\r\n' + 'shutdown_rp0_20230913140011.log (1461 bytes)\r\n' + 'cpp_cp_F0-0.18396_0.20230914060342.bin.gz (18947 bytes)\r\n' + 'fman_fp_F0-0.18605_0.20230914060343.bin.gz (11699 bytes)\r\n' + 'memmon_log_20230914_080612_UTC_1694678772.tar.gz (31076 bytes)\r\n' + 'fman_fp_image_pman_F0-0.18595_1.20230914060728.bin.gz (1395 bytes)\r\n' + 'cpp_cp_svr_pman_F0-0.18389_1.20230914060728.bin.gz (1449 bytes)\r\n' + 'cpp_cdm_svr_pman_F0-0.17976_1.20230914060728.bin.gz (1075 bytes)\r\n' + 'cpp_stats_svr_pman_F0-0.17873_1.20230914060728.bin.gz (1062 bytes)\r\n' + 'service_mgr_pman_F0-0.17667_1.20230914060728.bin.gz (1022 bytes)\r\n' + 'emd_pman_F0-0.18492_1.20230914060728.bin.gz (962 bytes)\r\n' + 'cman_fp_pman_F0-0.18802_1.20230914060728.bin.gz (989 bytes)\r\n' + 'hman_pman_F0-0.18698_1.20230914060729.bin.gz (966 bytes)\r\n' + 'shutdown_rp0_20230914060730.log (1461 bytes)\r\n' + 'repm_pman_R0-0.4687_0.20230914060309.bin.gz (2562 bytes)\r\n' + 'psvp_R0-0.3094_0.20230914060306.bin.gz (1894 bytes)\r\n' + 'cli_agent_pman_R0-0.4915_0.20230914060310.bin.gz (3114 bytes)\r\n' + 'autodns_pman_R0-0.4215_0.20230914060309.bin.gz (2579 bytes)\r\n' + 'kernel_ftrace_log_R0-0.11709_0.20230914060328.bin.gz (1747 bytes)\r\n' + 'plogd_pman_R0-0.5460_0.20230914060311.bin.gz (2567 bytes)\r\n' + 'smand_pman_R0-0.5720_1.20230914060311.bin.gz (1110 bytes)\r\n' + 'btman_pman_R0-0.5840_1.20230914060312.bin.gz (1141 bytes)\r\n' + 'oom_R0-0.6430_0.20230914060314.bin.gz (632 bytes)\r\n' + 'iptbl_R0-0.7206_0.20230914060318.bin.gz (631 bytes)\r\n' + 'binos_R0-0.7416_0.20230914060318.bin.gz (835 bytes)\r\n' + 'selinux_smu_R0-0.11683_0.20230914060328.bin.gz (747 bytes)\r\n' + 'inst_rollback_timer_R0-0.11851_0.20230914060329.bin.gz (651 bytes)\r\n' + 'IOSRP_R0-0.3408_0.20230914060329.bin.gz (105630 bytes)\r\n' + 'cmand_R0-0.3520_0.20230914060329.bin.gz (15570 bytes)\r\n' + 'psd_R0-0.5586_0.20230914060330.bin.gz (7050 bytes)\r\n' + 'vman_R0-0.12577_0.20230914060330.bin.gz (5405 bytes)\r\n' + 'smd_R0-0.5045_0.20230914060330.bin.gz (19397 bytes)\r\n' + 'service_mgr_R0-0.3754_0.20230914060331.bin.gz (25715 bytes)\r\n' + 'repm_R0-0.4694_0.20230914060331.bin.gz (4983 bytes)\r\n' + 'pistisd_R0-0.13914_0.20230914060331.bin.gz (13759 bytes)\r\n' + 'plogd_R0-0.5466_3.20230914060331.bin.gz (6638 bytes)\r\n' + 'ofa_R0-0.4103_0.20230914060332.bin.gz (2217 bytes)\r\n' + 'lman_R0-0.14270_0.20230914060332.bin.gz (3612 bytes)\r\n' + 'sec_key_agent_R0-0.3979_0.20230914060332.bin.gz (4128 bytes)\r\n' + 'install_mgr_R0-0.14697_0.20230914060333.bin.gz (28907 bytes)\r\n' + 'hman_R0-0.6012_0.20230914060333.bin.gz (4977 bytes)\r\n' + 'fman_rp_R0-0.5331_0.20230914060333.bin.gz (7661 bytes)\r\n' + 'emd_R0-0.5206_0.20230914060333.bin.gz (12131 bytes)\r\n' + 'shutdown_cc0_20230914062350.log (705 bytes)\r\n' + 'dbm_R0-0.4808_0.20230914060333.bin.gz (13709 bytes)\r\n' + 'cli_agent_R0-0.4921_0.20230914060334.bin.gz (6420 bytes)\r\n' + 'cck_qat_R0-0.3637_0.20230914060334.bin.gz (3064 bytes)\r\n' + 'btman_R0-0.5849_0.20230914060334.bin.gz (12583 bytes)\r\n' + 'utf_R0-0.5849_0.20230914060334.bin.gz (619129 bytes)\r\n' + 'tams_proc_R0-0.4451_0.20230914060334.bin.gz (2846 bytes)\r\n' + 'tamd_proc_R0-0.4336_0.20230914060335.bin.gz (2424 bytes)\r\n' + 'periodic_sh_pman_R0-0.16295_0.20230914060335.bin.gz (3727 bytes)\r\n' + 'sort_files_by_inode_sh_pman_R0-0.16000_0.20230914060335.bin.gz (3600 ' + 'bytes)\r\n' + 'tam_svcs_esg_cfg_R0-0.4564_0.20230914060335.bin.gz (2090 bytes)\r\n' + 'autodns_R0-0.4222_0.20230914060336.bin.gz (1063 bytes)\r\n' + 'pvp_R0-0.3159_1.20230914060336.bin.gz (5077 bytes)\r\n' + 'smand_R0-0.5726_1.20230914060342.bin.gz (21806 bytes)\r\n' + 'reflector_R0-0.6937_3.20230914060347.bin.gz (615 bytes)\r\n' + 'btman_pman_0-0.20551_1.20230914062808.bin.gz (1324 bytes)\r\n' + 'btman_0-0.20557_0.20230914062808.bin.gz (20155 bytes)\r\n' + 'hman_pman_R0-0.6003_1.20230914060648.bin.gz (1079 bytes)\r\n' + 'droputil_R0-0.6796_11.20230914060713.bin.gz (642 bytes)\r\n' + 'linux_iosd_image_pman_R0-0.3369_2.20230914060723.bin.gz (1438 bytes)\r\n' + 'cmand_pman_R0-0.3513_1.20230914060727.bin.gz (957 bytes)\r\n' + 'install_mgr_pman_R0-0.14691_1.20230914060728.bin.gz (1013 bytes)\r\n' + 'auto_upgrade_client_sh_pman_R0-0.16934_3.20230914060728.bin.gz (567 ' + 'bytes)\r\n' + 'nginx_pman_R0-0.23114_5.20230914060728.bin.gz (508 bytes)\r\n' + 'lman_pman_R0-0.14263_1.20230914060728.bin.gz (991 bytes)\r\n' + 'psd_pman_R0-0.5579_1.20230914060728.bin.gz (989 bytes)\r\n' + 'ofa_pman_R0-0.4096_1.20230914060728.bin.gz (931 bytes)\r\n' + 'emd_pman_R0-0.5199_1.20230914060728.bin.gz (932 bytes)\r\n' + 'keyman_pman_R0-0.3972_1.20230914060728.bin.gz (942 bytes)\r\n' + 'service_mgr_pman_R0-0.3748_1.20230914060728.bin.gz (981 bytes)\r\n' + 'fman_rp_pman_R0-0.5319_1.20230914060728.bin.gz (961 bytes)\r\n' + 'sessmgrd_pman_R0-0.5032_1.20230914060728.bin.gz (954 bytes)\r\n' + 'dbm_pman_R0-0.4801_1.20230914060728.bin.gz (930 bytes)\r\n' + 'vman_pman_R0-0.12570_1.20230914060728.bin.gz (1075 bytes)\r\n' + 'cck_qat_pman_R0-0.3630_1.20230914060729.bin.gz (943 bytes)\r\n' + 'pistisd_pman_R0-0.13907_1.20230914060730.bin.gz (1022 bytes)\r\n' + 'tam_svcs_esg_cfg_pman_R0-0.4558_1.20230914060730.bin.gz (993 bytes)\r\n' + 'tamd_proc_pman_R0-0.4329_1.20230914060730.bin.gz (1007 bytes)\r\n' + 'tams_proc_pman_R0-0.4444_1.20230914060730.bin.gz (943 bytes)\r\n' + 'shutdown_journal_rp0_20230914060732.log (211918 bytes)\r\n' + 'pvp_0-0.18855_0.20230914061143.bin.gz (5467 bytes)\r\n' + 'cyaninit_R0-0.6098_0.20230914061112.bin.gz (1885 bytes)\r\n' + 'btman_pman_0-0.20439_1.20230914061146.bin.gz (1320 bytes)\r\n' + 'emd_0-0.19461_0.20230914061144.bin.gz (4287 bytes)\r\n' + 'ezman_0-0.19677_0.20230914061145.bin.gz (4432 bytes)\r\n' + 'hman_0-0.20230_0.20230914061145.bin.gz (7165 bytes)\r\n' + 'cmcc_0-0.20338_0.20230914061145.bin.gz (6206 bytes)\r\n' + 'shutdown_fp0_20230914062351.log (633 bytes)\r\n' + 'shutdown_journal_rp0_20230913140013.log (210690 bytes)\r\n' + 'btman_0-0.20445_0.20230914061146.bin.gz (12065 bytes)\r\n' + 'IOSCC_0-0.21293_0.20230914061148.bin.gz (7302 bytes)\r\n' + 'IOSCC_0-1.21617_0.20230914061148.bin.gz (6338 bytes)\r\n' + 'IOSCC_0-2.21994_0.20230914061148.bin.gz (7134 bytes)\r\n' + 'create_utm_luid_file_db_0-0.25976_0.20230914061646.bin.gz (1740 bytes)\r\n' + 'mcpcc_lc_ms_pman_0-2.21987_4.20230914062232.bin.gz (1420 bytes)\r\n' + 'emd_pman_0-0.19451_1.20230914062350.bin.gz (971 bytes)\r\n' + 'hman_pman_0-0.20223_1.20230914062350.bin.gz (968 bytes)\r\n' + 'ezman_pman_0-0.19670_1.20230914062350.bin.gz (988 bytes)\r\n' + 'cmcc_pman_0-0.20331_1.20230914062350.bin.gz (990 bytes)\r\n' + 'mcpcc_lc_ms_pman_0-0.21282_6.20230914062350.bin.gz (551 bytes)\r\n' + 'mcpcc_lc_ms_pman_0-1.21610_4.20230914062350.bin.gz (839 bytes)\r\n' + 'cpp_cdm_F0-0.17599_0.20230914061139.bin.gz (3169 bytes)\r\n' + 'pvp_F0-0.17123_0.20230914061138.bin.gz (5598 bytes)\r\n' + 'cpp_driver_pman_F0-0.17797_1.20230914061139.bin.gz (1163 bytes)\r\n' + 'service_mgr_F0-0.17290_0.20230914061139.bin.gz (5725 bytes)\r\n' + 'cpp_ha_F0-0.17700_0.20230914061139.bin.gz (5080 bytes)\r\n' + 'cpp_ha_top_level_server_pman_F0-0.17693_1.20230914061139.bin.gz (1190 ' + 'bytes)\r\n' + 'cpp_cp_svr_pman_F0-0.18003_1.20230914062350.bin.gz (1447 bytes)\r\n' + 'cpp_driver_F0-0.17804_0.20230914061140.bin.gz (3904 bytes)\r\n' + 'cpp_sp_F0-0.17907_0.20230914061140.bin.gz (4361 bytes)\r\n' + 'emd_F0-0.18115_0.20230914061140.bin.gz (4808 bytes)\r\n' + 'hman_F0-0.18320_0.20230914061140.bin.gz (7283 bytes)\r\n' + 'cman_fp_F0-0.18424_0.20230914061141.bin.gz (3990 bytes)\r\n' + 'cpp_stats_F0-0.17494_0.20230914061141.bin.gz (3957 bytes)\r\n' + 'btman_pman_F0-0.18519_1.20230914061141.bin.gz (1319 bytes)\r\n' + 'btman_F0-0.18526_0.20230914061141.bin.gz (11742 bytes)\r\n' + 'cpp_cp_F0-0.18010_0.20230914061142.bin.gz (18997 bytes)\r\n' + 'fman_fp_F0-0.18224_0.20230914061142.bin.gz (11692 bytes)\r\n' + 'shutdown_rp0_20230914062352.log (1461 bytes)\r\n' + 'create_utm_luid_file_db_F0-0.25846_0.20230914061641.bin.gz (1744 bytes)\r\n' + 'fman_fp_image_pman_F0-0.18210_1.20230914062350.bin.gz (1393 bytes)\r\n' + 'cpp_sp_svr_pman_F0-0.17900_1.20230914062350.bin.gz (1330 bytes)\r\n' + 'cpp_cdm_svr_pman_F0-0.17590_1.20230914062350.bin.gz (1068 bytes)\r\n' + 'cpp_stats_svr_pman_F0-0.17487_1.20230914062350.bin.gz (1057 bytes)\r\n' + 'cman_fp_pman_F0-0.18416_1.20230914062350.bin.gz (996 bytes)\r\n' + 'service_mgr_pman_F0-0.17281_1.20230914062350.bin.gz (1022 bytes)\r\n' + 'emd_pman_F0-0.18107_1.20230914062350.bin.gz (963 bytes)\r\n' + 'hman_pman_F0-0.18313_1.20230914062351.bin.gz (965 bytes)\r\n' + 'btman_rotate_immediate_R0-0.31039_0.20230914062351.bin.gz (4673 bytes)\r\n' + 'repm_pman_R0-0.4731_0.20230914061109.bin.gz (2554 bytes)\r\n' + 'psvp_R0-0.3138_0.20230914061106.bin.gz (1891 bytes)\r\n' + 'cli_agent_pman_R0-0.4959_0.20230914061110.bin.gz (3111 bytes)\r\n' + 'autodns_pman_R0-0.4259_0.20230914061108.bin.gz (2579 bytes)\r\n' + 'kernel_ftrace_log_R0-0.11767_0.20230914061128.bin.gz (1749 bytes)\r\n' + 'plogd_pman_R0-0.5505_0.20230914061110.bin.gz (2568 bytes)\r\n' + 'smand_pman_R0-0.5765_1.20230914061111.bin.gz (1119 bytes)\r\n' + 'btman_pman_R0-0.5879_1.20230914061111.bin.gz (1207 bytes)\r\n' + 'oom_R0-0.6466_0.20230914061114.bin.gz (634 bytes)\r\n' + 'iptbl_R0-0.7246_0.20230914061117.bin.gz (630 bytes)\r\n' + 'binos_R0-0.7464_0.20230914061118.bin.gz (836 bytes)\r\n' + 'selinux_smu_R0-0.11722_0.20230914061128.bin.gz (743 bytes)\r\n' + 'create_utm_luid_file_db_R0-0.25446_0.20230914061635.bin.gz (1749 bytes)\r\n' + 'inst_rollback_timer_R0-0.11895_0.20230914061128.bin.gz (648 bytes)\r\n' + 'cmand_R0-0.3563_0.20230914061129.bin.gz (15839 bytes)\r\n' + 'cck_qat_R0-0.3680_0.20230914061129.bin.gz (3175 bytes)\r\n' + 'install_mgr_R0-0.12781_0.20230914061130.bin.gz (30355 bytes)\r\n' + 'sec_key_agent_R0-0.4023_0.20230914061130.bin.gz (4127 bytes)\r\n' + 'IOSRP_R0-0.3455_1.20230914061130.bin.gz (29247 bytes)\r\n' + 'ofa_R0-0.4147_0.20230914061130.bin.gz (2216 bytes)\r\n' + 'pistisd_R0-0.13565_0.20230914061131.bin.gz (13856 bytes)\r\n' + 'autodns_R0-0.4266_0.20230914061131.bin.gz (1064 bytes)\r\n' + 'tamd_proc_R0-0.4380_0.20230914061131.bin.gz (2432 bytes)\r\n' + 'tams_proc_R0-0.4495_0.20230914061131.bin.gz (2838 bytes)\r\n' + 'tam_svcs_esg_cfg_R0-0.4608_0.20230914061131.bin.gz (2073 bytes)\r\n' + 'lman_R0-0.14354_0.20230914061132.bin.gz (3614 bytes)\r\n' + 'repm_R0-0.4738_0.20230914061132.bin.gz (4999 bytes)\r\n' + 'dbm_R0-0.4852_0.20230914061132.bin.gz (15084 bytes)\r\n' + 'cli_agent_R0-0.4966_0.20230914061133.bin.gz (6250 bytes)\r\n' + 'smd_R0-0.5080_0.20230914061133.bin.gz (19501 bytes)\r\n' + 'emd_R0-0.5244_0.20230914061133.bin.gz (12276 bytes)\r\n' + 'fman_rp_R0-0.5373_0.20230914061133.bin.gz (7769 bytes)\r\n' + 'plogd_R0-0.5511_3.20230914061134.bin.gz (5987 bytes)\r\n' + 'psd_R0-0.5630_0.20230914061134.bin.gz (3865 bytes)\r\n' + 'periodic_sh_pman_R0-0.15726_0.20230914061134.bin.gz (3727 bytes)\r\n' + 'btman_R0-0.5884_0.20230914061135.bin.gz (17024 bytes)\r\n' + 'sort_files_by_inode_sh_pman_R0-0.15881_0.20230914061134.bin.gz (3591 ' + 'bytes)\r\n' + 'utf_R0-0.5884_0.20230914061135.bin.gz (739964 bytes)\r\n' + 'hman_R0-0.6035_0.20230914061135.bin.gz (9082 bytes)\r\n' + 'pvp_R0-0.3203_1.20230914061135.bin.gz (4862 bytes)\r\n' + 'smand_R0-0.5771_1.20230914061145.bin.gz (22086 bytes)\r\n' + 'reflector_R0-0.6982_3.20230914061146.bin.gz (615 bytes)\r\n' + 'IOSCC_0-1.21729_0.20230914062811.bin.gz (6354 bytes)\r\n' + 'IOSCC_0-0.21406_0.20230914062811.bin.gz (7325 bytes)\r\n' + 'hman_pman_R0-0.6029_1.20230914061847.bin.gz (1082 bytes)\r\n' + 'paed_R0-0.25973_0.20230914061645.bin.gz (15666 bytes)\r\n' + 'install_mgr_pman_R0-0.12774_1.20230914062350.bin.gz (1020 bytes)\r\n' + 'service_mgr_R0-0.3799_1.20230914062109.bin.gz (16322 bytes)\r\n' + 'droputil_R0-0.6841_22.20230914062345.bin.gz (385 bytes)\r\n' + 'linux_iosd_image_pman_R0-0.3413_2.20230914062345.bin.gz (1438 bytes)\r\n' + 'cmand_pman_R0-0.3557_1.20230914062349.bin.gz (960 bytes)\r\n' + 'nginx_pman_R0-0.23147_5.20230914062350.bin.gz (440 bytes)\r\n' + 'auto_upgrade_client_sh_pman_R0-0.15444_3.20230914062350.bin.gz (566 ' + 'bytes)\r\n' + 'lman_pman_R0-0.14347_1.20230914062350.bin.gz (980 bytes)\r\n' + 'keyman_pman_R0-0.4016_1.20230914062350.bin.gz (946 bytes)\r\n' + 'psd_pman_R0-0.5624_1.20230914062350.bin.gz (977 bytes)\r\n' + 'emd_pman_R0-0.5237_1.20230914062350.bin.gz (933 bytes)\r\n' + 'ofa_pman_R0-0.4140_1.20230914062350.bin.gz (936 bytes)\r\n' + 'tam_svcs_esg_cfg_pman_R0-0.4602_1.20230914062352.bin.gz (991 bytes)\r\n' + 'service_mgr_pman_R0-0.3792_1.20230914062350.bin.gz (967 bytes)\r\n' + 'fman_rp_pman_R0-0.5364_1.20230914062350.bin.gz (959 bytes)\r\n' + 'sessmgrd_pman_R0-0.5073_1.20230914062350.bin.gz (954 bytes)\r\n' + 'dbm_pman_R0-0.4845_1.20230914062350.bin.gz (930 bytes)\r\n' + 'cck_qat_pman_R0-0.3674_1.20230914062351.bin.gz (946 bytes)\r\n' + 'pistisd_pman_R0-0.13558_1.20230914062351.bin.gz (1020 bytes)\r\n' + 'shutdown_journal_rp0_20230914062354.log (18825 bytes)\r\n' + 'tamd_proc_pman_R0-0.4373_1.20230914062352.bin.gz (1008 bytes)\r\n' + 'tams_proc_pman_R0-0.4488_1.20230914062352.bin.gz (946 bytes)\r\n' + 'IOSCC_0-2.22107_0.20230914062811.bin.gz (7120 bytes)\r\n' + 'btman_rotate_immediate_R0-0.31141_0.20230914062352.bin.gz (8050 bytes)\r\n' + 'cyaninit_R0-0.6091_0.20230914062734.bin.gz (1889 bytes)\r\n' + 'mcpcc_lc_ms_pman_0-2.22100_4.20230914070019.bin.gz (1382 bytes)\r\n' + 'create_utm_luid_file_db_0-0.26684_0.20230914063308.bin.gz (1744 bytes)\r\n' + 'ezman_pman_0-0.19782_1.20230914070149.bin.gz (1000 bytes)\r\n' + 'emd_pman_0-0.19563_1.20230914070149.bin.gz (973 bytes)\r\n' + 'hman_pman_0-0.20335_1.20230914070149.bin.gz (965 bytes)\r\n' + 'cmcc_pman_0-0.20443_1.20230914070149.bin.gz (994 bytes)\r\n' + 'mcpcc_lc_ms_pman_0-1.21722_4.20230914070149.bin.gz (842 bytes)\r\n' + 'mcpcc_lc_ms_pman_0-0.21394_6.20230914070149.bin.gz (553 bytes)\r\n' + 'cpp_ha_top_level_server_pman_F0-0.17805_1.20230914062802.bin.gz (1189 ' + 'bytes)\r\n' + 'btman_rotate_immediate_R0-0.20024_0.20230914070149.bin.gz (3819 bytes)\r\n' + 'pvp_F0-0.17235_0.20230914062801.bin.gz (5590 bytes)\r\n' + 'service_mgr_F0-0.17402_0.20230914062801.bin.gz (5735 bytes)\r\n' + 'cpp_driver_F0-0.17918_0.20230914062802.bin.gz (3918 bytes)\r\n' + 'cpp_cdm_F0-0.17708_0.20230914062802.bin.gz (3168 bytes)\r\n' + 'cpp_ha_F0-0.17812_0.20230914062802.bin.gz (5216 bytes)\r\n' + 'fman_fp_image_pman_F0-0.18322_1.20230914070149.bin.gz (1392 bytes)\r\n' + 'cpp_driver_pman_F0-0.17909_1.20230914062802.bin.gz (1169 bytes)\r\n' + 'cpp_sp_F0-0.18018_0.20230914062802.bin.gz (4367 bytes)\r\n' + 'emd_F0-0.18225_0.20230914062803.bin.gz (5913 bytes)\r\n' + 'hman_F0-0.18432_0.20230914062803.bin.gz (10525 bytes)\r\n' + 'cman_fp_F0-0.18535_0.20230914062803.bin.gz (3988 bytes)\r\n' + 'cpp_stats_F0-0.17606_0.20230914062803.bin.gz (3966 bytes)\r\n' + 'btman_pman_F0-0.18631_1.20230914062804.bin.gz (1320 bytes)\r\n' + 'btman_F0-0.18638_0.20230914062804.bin.gz (19814 bytes)\r\n' + 'cpp_cp_F0-0.18122_0.20230914062804.bin.gz (18907 bytes)\r\n' + 'fman_fp_F0-0.18334_0.20230914062805.bin.gz (11708 bytes)\r\n' + 'shutdown_rp0_20230914070150.log (1461 bytes)\r\n' + 'create_utm_luid_file_db_F0-0.26554_0.20230914063304.bin.gz (1746 bytes)\r\n' + 'cpp_sp_svr_pman_F0-0.18012_1.20230914070149.bin.gz (1331 bytes)\r\n' + 'emd_pman_F0-0.18218_1.20230914070149.bin.gz (968 bytes)\r\n' + 'cpp_cp_svr_pman_F0-0.18115_1.20230914070149.bin.gz (1451 bytes)\r\n' + 'cpp_cdm_svr_pman_F0-0.17702_1.20230914070149.bin.gz (1068 bytes)\r\n' + 'cpp_stats_svr_pman_F0-0.17599_1.20230914070149.bin.gz (1075 bytes)\r\n' + 'cman_fp_pman_F0-0.18528_1.20230914070149.bin.gz (992 bytes)\r\n' + 'service_mgr_pman_F0-0.17393_1.20230914070149.bin.gz (1025 bytes)\r\n' + 'hman_pman_F0-0.18425_1.20230914070149.bin.gz (968 bytes)\r\n' + 'btman_rotate_immediate_R0-0.20143_0.20230914070150.bin.gz (4678 bytes)\r\n' + 'repm_pman_R0-0.4726_0.20230914062732.bin.gz (2572 bytes)\r\n' + 'psvp_R0-0.3133_0.20230914062728.bin.gz (1890 bytes)\r\n' + 'cli_agent_pman_R0-0.4954_0.20230914062732.bin.gz (3116 bytes)\r\n' + 'autodns_pman_R0-0.4254_0.20230914062731.bin.gz (2588 bytes)\r\n' + 'kernel_ftrace_log_R0-0.11760_0.20230914062751.bin.gz (1749 bytes)\r\n' + 'plogd_pman_R0-0.5498_0.20230914062733.bin.gz (2563 bytes)\r\n' + 'smand_pman_R0-0.5758_1.20230914062734.bin.gz (1120 bytes)\r\n' + 'btman_pman_R0-0.5881_1.20230914062734.bin.gz (1209 bytes)\r\n' + 'oom_R0-0.6464_0.20230914062736.bin.gz (634 bytes)\r\n' + 'iptbl_R0-0.7244_0.20230914062740.bin.gz (628 bytes)\r\n' + 'binos_R0-0.7473_0.20230914062740.bin.gz (836 bytes)\r\n' + 'selinux_smu_R0-0.11718_0.20230914062751.bin.gz (745 bytes)\r\n' + 'create_utm_luid_file_db_R0-0.26153_0.20230914063258.bin.gz (1751 bytes)\r\n' + 'inst_rollback_timer_R0-0.11892_0.20230914062751.bin.gz (649 bytes)\r\n' + 'cmand_R0-0.3558_0.20230914062752.bin.gz (17187 bytes)\r\n' + 'cck_qat_R0-0.3676_0.20230914062752.bin.gz (3178 bytes)\r\n' + 'sec_key_agent_R0-0.4018_0.20230914062753.bin.gz (4323 bytes)\r\n' + 'IOSRP_R0-0.3442_1.20230914062753.bin.gz (35313 bytes)\r\n' + 'ofa_R0-0.4142_0.20230914062753.bin.gz (2215 bytes)\r\n' + 'pistisd_R0-0.13558_0.20230914062753.bin.gz (13863 bytes)\r\n' + 'autodns_R0-0.4261_0.20230914062754.bin.gz (1081 bytes)\r\n' + 'tamd_proc_R0-0.4375_0.20230914062754.bin.gz (2427 bytes)\r\n' + 'tams_proc_R0-0.4490_0.20230914062754.bin.gz (2817 bytes)\r\n' + 'tam_svcs_esg_cfg_R0-0.4603_0.20230914062754.bin.gz (2074 bytes)\r\n' + 'lman_R0-0.14347_0.20230914062755.bin.gz (3664 bytes)\r\n' + 'repm_R0-0.4733_0.20230914062755.bin.gz (4991 bytes)\r\n' + 'dbm_R0-0.4846_0.20230914062755.bin.gz (15057 bytes)\r\n' + 'cli_agent_R0-0.4962_0.20230914062755.bin.gz (6256 bytes)\r\n' + 'smd_R0-0.5109_0.20230914062756.bin.gz (19790 bytes)\r\n' + 'emd_R0-0.5244_0.20230914062756.bin.gz (12271 bytes)\r\n' + 'fman_rp_R0-0.5369_0.20230914062756.bin.gz (7767 bytes)\r\n' + 'plogd_R0-0.5504_3.20230914062756.bin.gz (6653 bytes)\r\n' + 'psd_R0-0.5625_0.20230914062756.bin.gz (3865 bytes)\r\n' + 'periodic_sh_pman_R0-0.15726_0.20230914062757.bin.gz (3732 bytes)\r\n' + 'btman_R0-0.5900_0.20230914062758.bin.gz (30865 bytes)\r\n' + 'sort_files_by_inode_sh_pman_R0-0.15874_0.20230914062757.bin.gz (3591 ' + 'bytes)\r\n' + 'hman_R0-0.6064_0.20230914062758.bin.gz (12489 bytes)\r\n' + 'pvp_R0-0.3198_1.20230914062758.bin.gz (9191 bytes)\r\n' + 'smand_R0-0.5764_1.20230914062808.bin.gz (22140 bytes)\r\n' + 'reflector_R0-0.6975_3.20230914062809.bin.gz (619 bytes)\r\n' + 'IOSRP_R0-1.15254_0.20230914070049.bin.gz (56456 bytes)\r\n' + 'paed_R0-0.26681_0.20230914063308.bin.gz (15670 bytes)\r\n' + 'install_mgr_R0-0.12774_200.20230914070148.bin.gz (31421 bytes)\r\n' + 'service_mgr_R0-0.3793_3.20230914065643.bin.gz (29565 bytes)\r\n' + 'psd_R0-1.16970_0.20230914070050.bin.gz (2974 bytes)\r\n' + 'fman_rp_R0-1.16831_0.20230914070050.bin.gz (6843 bytes)\r\n' + 'droputil_R0-0.6834_47.20230914070138.bin.gz (495 bytes)\r\n' + 'utf_R0-0.5900_10.20230914070146.bin.gz (329775 bytes)\r\n' + 'cmand_pman_R0-0.3552_1.20230914070148.bin.gz (959 bytes)\r\n' + 'linux_iosd_image_pman_R0-0.3408_3.20230914070148.bin.gz (1087 bytes)\r\n' + 'shutdown_journal_rp0_20230914070153.log (20467 bytes)\r\n' + 'auto_upgrade_client_sh_pman_R0-0.15437_3.20230914070148.bin.gz (568 ' + 'bytes)\r\n' + 'nginx_pman_R0-0.23378_5.20230914070148.bin.gz (440 bytes)\r\n' + 'install_mgr_pman_R0-0.12767_1.20230914070148.bin.gz (1025 bytes)\r\n' + 'psd_pman_R0-0.5617_1.20230914070148.bin.gz (988 bytes)\r\n' + 'lman_pman_R0-0.14340_1.20230914070148.bin.gz (978 bytes)\r\n' + 'emd_pman_R0-0.5237_1.20230914070148.bin.gz (936 bytes)\r\n' + 'keyman_pman_R0-0.4011_1.20230914070149.bin.gz (947 bytes)\r\n' + 'ofa_pman_R0-0.4135_1.20230914070149.bin.gz (931 bytes)\r\n' + 'fman_rp_pman_R0-0.5357_1.20230914070149.bin.gz (960 bytes)\r\n' + 'service_mgr_pman_R0-0.3787_1.20230914070149.bin.gz (971 bytes)\r\n' + 'sessmgrd_pman_R0-0.5102_1.20230914070149.bin.gz (949 bytes)\r\n' + 'dbm_pman_R0-0.4840_1.20230914070149.bin.gz (929 bytes)\r\n' + 'cck_qat_pman_R0-0.3669_1.20230914070149.bin.gz (946 bytes)\r\n' + 'pistisd_pman_R0-0.13551_1.20230914070150.bin.gz (1026 bytes)\r\n' + 'tam_svcs_esg_cfg_pman_R0-0.4597_1.20230914070150.bin.gz (1001 bytes)\r\n' + 'tamd_proc_pman_R0-0.4368_1.20230914070150.bin.gz (993 bytes)\r\n' + 'tams_proc_pman_R0-0.4483_1.20230914070150.bin.gz (940 bytes)\r\n' + 'hman_pman_R0-0.6058_1.20230914070150.bin.gz (974 bytes)\r\n' + 'btman_rotate_immediate_R0-0.20245_0.20230914070151.bin.gz (9098 bytes)\r\n' + 'cyaninit_R0-0.6101_0.20230914070532.bin.gz (1888 bytes)') + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_clear_ip_igmp_group/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_clear_ip_igmp_group/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_clear_ip_igmp_group/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_clear_ip_igmp_group/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..84364c291 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_clear_ip_igmp_group/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,38 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no logging console: '' + prompt: 9404-Access(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: 9404-Access(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + clear ip igmp group vlan 250: + response: + - '' + response_type: circular + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: 9404-Access# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_clear_ip_igmp_group/test_api_execute_clear_ip_igmp_group.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_clear_ip_igmp_group/test_api_execute_clear_ip_igmp_group.py new file mode 100644 index 000000000..24c24ebbd --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_clear_ip_igmp_group/test_api_execute_clear_ip_igmp_group.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.platform.execute import execute_clear_ip_igmp_group + + +class TestExecuteClearIpIgmpGroup(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + 9404-Access: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: cat9k + type: c9300 + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['9404-Access'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_execute_clear_ip_igmp_group(self): + result = execute_clear_ip_igmp_group(self.device, 'vlan 250') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_clear_ipv6_mld_group/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_clear_ipv6_mld_group/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_clear_ipv6_mld_group/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_clear_ipv6_mld_group/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..62132d496 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_clear_ipv6_mld_group/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,38 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no logging console: '' + prompt: 9404-Access(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: 9404-Access(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + clear ipv6 mld group: + response: + - '' + response_type: circular + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: 9404-Access# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_clear_ipv6_mld_group/test_api_execute_clear_ipv6_mld_group.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_clear_ipv6_mld_group/test_api_execute_clear_ipv6_mld_group.py new file mode 100644 index 000000000..254a716c7 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/execute_clear_ipv6_mld_group/test_api_execute_clear_ipv6_mld_group.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.platform.execute import execute_clear_ipv6_mld_group + + +class TestExecuteClearIpv6MldGroup(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + 9404-Access: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: cat9k + type: c9300 + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['9404-Access'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_execute_clear_ipv6_mld_group(self): + result = execute_clear_ipv6_mld_group(self.device, '') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/request_platform_software_package_expand/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/request_platform_software_package_expand/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/request_platform_software_package_expand/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/request_platform_software_package_expand/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..b4edc53fd --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/request_platform_software_package_expand/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,47 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no logging console: '' + prompt: Sanity-ASR2X(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: Sanity-ASR2X(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + request platform software package expand file bootflash:/test/kp_base.bin: + response: + - "$tform software package expand file bootflash:/test/kp_base.bin\r\nVerifying\ + \ parameters\r\nExpanding superpackage bootflash:test/kp_base.bin\r\nValidating\ + \ package type\r\nCopying package files\r\n WARNING: asr1002x-hw-programmables.BLD_V176_THROTTLE_LATEST_20230713_110626.SSA.pkg\ + \ will replace the identical file that already exists in bootflash:test\r\n\ + \ WARNING: asr1002x-mono-universalk9.BLD_V176_THROTTLE_LATEST_20230713_110626.SSA.pkg\ + \ will replace the identical file that already exists in bootflash:test\r\n\ + \ WARNING: asr1002x-rpboot.BLD_V176_THROTTLE_LATEST_20230713_110626.SSA.pkg\ + \ will replace the identical file that already exists in bootflash:test\r\n\ + \ WARNING: packages.conf will replace the identical file that already exists\ + \ in bootflash:test\r\nSUCCESS: Finished expanding all-in-one software package." + response_type: circular + show version: '' + term length 0: '' + term width 0: '' + prompt: Sanity-ASR2X# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/request_platform_software_package_expand/test_api_request_platform_software_package_expand.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/request_platform_software_package_expand/test_api_request_platform_software_package_expand.py new file mode 100644 index 000000000..1aa182f02 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/execute/request_platform_software_package_expand/test_api_request_platform_software_package_expand.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.platform.execute import request_platform_software_package_expand + + +class TestRequestPlatformSoftwarePackageExpand(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + Sanity-ASR2X: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: iosxe + type: iosxe + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['Sanity-ASR2X'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_request_platform_software_package_expand(self): + result = request_platform_software_package_expand(self.device, 'bootflash:', 'kp_base.bin', 'test', 240) + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/utils/erase_startup_config/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/utils/erase_startup_config/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/utils/erase_startup_config/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/utils/erase_startup_config/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..8f400c880 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/utils/erase_startup_config/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,41 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no logging console: '' + prompt: Kahuna-Sanity(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: Kahuna-Sanity(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + erase startup-config: + response: + - "************************************************************************************************************\r\ + \nErasing Nvram will not clear license trust code.\r\n************************************************************************************************************\r\ + \nErasing the nvram filesystem will remove all configuration files! Continue?\ + \ [confirm]\r\n[OK]\r\nErase of nvram: complete" + response_type: circular + show version: '' + term length 0: '' + term width 0: '' + prompt: Kahuna-Sanity# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/utils/erase_startup_config/test_api_erase_startup_config.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/utils/erase_startup_config/test_api_erase_startup_config.py new file mode 100644 index 000000000..fb90990b7 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/platform/utils/erase_startup_config/test_api_erase_startup_config.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.platform.utils import erase_startup_config + + +class TestEraseStartupConfig(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + Kahuna-Sanity: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: iosxe + type: iosxe + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['Kahuna-Sanity'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_erase_startup_config(self): + result = erase_startup_config(self.device) + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/rommon/configure/configure_rommon_tftp/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/rommon/configure/configure_rommon_tftp/mock_data/iosxe/mock_data.yaml index d246da1f7..ac221bd0e 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/rommon/configure/configure_rommon_tftp/mock_data/iosxe/mock_data.yaml +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/rommon/configure/configure_rommon_tftp/mock_data/iosxe/mock_data.yaml @@ -1,17 +1,3 @@ -configure: - commands: - end: - new_state: execute - line console 0: - new_state: configure_line - no logging console: '' - prompt: ott-c9300-63(config)# -configure_line: - commands: - end: - new_state: execute - exec-timeout 0: '' - prompt: ott-c9300-63(config-line)# connect: commands: ? '' @@ -40,11 +26,4 @@ execute: response: - '' response_type: circular - config term: - new_state: configure - config-transaction: - new_state: configure - show version: '' - term length 0: '' - term width 0: '' - prompt: ott-c9300-63# + prompt: 'switch:' diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/rommon/configure/configure_rommon_tftp/test_api_configure_rommon_tftp.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/rommon/configure/configure_rommon_tftp/test_api_configure_rommon_tftp.py index bd44e95a0..f928a39ff 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/rommon/configure/configure_rommon_tftp/test_api_configure_rommon_tftp.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/rommon/configure/configure_rommon_tftp/test_api_configure_rommon_tftp.py @@ -41,9 +41,7 @@ def setUpClass(self): self.testbed = loader.load(testbed) self.device = self.testbed.devices['ott-c9300-63'] self.device.connect( - learn_hostname=True, - init_config_commands=[], - init_exec_commands=[] + mit=True ) def test_configure_rommon_tftp(self): diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_object_list_schema_transfer_for_bulkstat/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_object_list_schema_transfer_for_bulkstat/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_object_list_schema_transfer_for_bulkstat/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_object_list_schema_transfer_for_bulkstat/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..9b38a558a --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_object_list_schema_transfer_for_bulkstat/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,44 @@ +configure: + commands: + buffer-size 247483647: "transfer-interval 3\r\n" + enable: "\r\n" + end: + new_state: execute + format schemaASCII: "Cannot modify an active profile\r\n" + line console 0: + new_state: configure_line + logging on: "buffer-size 247483647\r\n" + no logging console: '' + schema mySchema: "schema mySchema\r\n" + snmp mib bulkstat transfer myTransfer: "snmp mib bulkstat transfer myTransfer\r\ + \n" + transfer-interval 3: "format schemaASCII\r\n" + url primary tftp://<202.153.144.2/auto/tftpboot/logsTransfer: "Error in config\r\ + \n" + prompt: T1-9300-SP1(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: T1-9300-SP1(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: T1-9300-SP1# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_object_list_schema_transfer_for_bulkstat/test_api_configure_object_list_schema_transfer_for_bulkstat.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_object_list_schema_transfer_for_bulkstat/test_api_configure_object_list_schema_transfer_for_bulkstat.py new file mode 100644 index 000000000..bd37825de --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_object_list_schema_transfer_for_bulkstat/test_api_configure_object_list_schema_transfer_for_bulkstat.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.snmp.configure import configure_object_list_schema_transfer_for_bulkstat + + +class TestConfigureObjectListSchemaTransferForBulkstat(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + T1-9300-SP1: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: c9300 + type: c9500 + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['T1-9300-SP1'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_configure_object_list_schema_transfer_for_bulkstat(self): + result = configure_object_list_schema_transfer_for_bulkstat(self.device, 'transfer', 'myObject', 'mySchema', 'myTransfer', None, '1', 'GigabitEthernet1/0/6', 'schemaASCII', '3', '247483647', 'tftp://<202.153.144.2/auto/tftpboot/logsTransfer', 'enable', 'logging on') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_snmp_server_host_trap/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_snmp_server_host_trap/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_snmp_server_host_trap/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_snmp_server_host_trap/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..233a8f127 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_snmp_server_host_trap/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,36 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no logging console: '' + snmp-server host 192.168.0.10 traps public entity: "snmp-server host 192.168.0.10\ + \ traps public entity\r\n" + prompt: T2-9500-RA_SDG(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: T2-9500-RA_SDG(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: T2-9500-RA_SDG# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_snmp_server_host_trap/test_api_configure_snmp_server_host_trap.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_snmp_server_host_trap/test_api_configure_snmp_server_host_trap.py new file mode 100644 index 000000000..5fe61ca32 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_snmp_server_host_trap/test_api_configure_snmp_server_host_trap.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.snmp.configure import configure_snmp_server_host_trap + + +class TestConfigureSnmpServerHostTrap(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + Switch: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: c9500L + type: c9500L + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['Switch'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_configure_snmp_server_host_trap(self): + result = configure_snmp_server_host_trap(self.device, '192.168.0.10', 'entity') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_snmp_server_user/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_snmp_server_user/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_snmp_server_user/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_snmp_server_user/mock_data/iosxe/mock_data.yaml index 99b5e025c..56bdf124e 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_snmp_server_user/mock_data/iosxe/mock_data.yaml +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_snmp_server_user/mock_data/iosxe/mock_data.yaml @@ -5,23 +5,17 @@ configure: line console 0: new_state: configure_line no logging console: '' - snmp-server user privuser256256 privgrp v3: "snmp-server user privuser256256 privgrp\ - \ v3\r\n" - snmp-server user privuser256256 privgrp v3 auth sha-2 256 cisco256: "snmp-server\ - \ user privuser256256 privgrp v3 auth sha-2 256 cisco256\r\n" - snmp-server user privuser256256 privgrp v3 auth sha-2 256 cisco256 priv aes 256 cisco256: "snmp-server\ - \ user privuser256256 privgrp v3 auth sha-2 256 cisco256 priv aes 256 cisco256\r\ - \n" - snmp-server user privuser256256 privgrp v3 auth sha-2 256 cisco256 priv aes 256 cisco256 access ipv6 nameacl nameacl: "snmp-server\ - \ user privuser256256 privgrp v3 auth sha-2 256 cisco256 priv aes 256 cisco256\ - \ access ipv6 nameacl nameacl\r\n" - prompt: csr(config)# + snmp-server user TestUsr2 TestGrp v3 auth md5 password1: "snmp-server user TestUsr2\ + \ TestGrp v3 auth md5 password\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ + \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b$ user TestUsr2\ + \ TestGrp v3 auth md5 password1 \b\b\b\b\b\b\b\b\b\r\n" + prompt: T2-9500-RA_SDG(config)# configure_line: commands: end: new_state: execute exec-timeout 0: '' - prompt: csr(config-line)# + prompt: T2-9500-RA_SDG(config-line)# connect: commands: ? '' @@ -41,4 +35,4 @@ execute: show version: '' term length 0: '' term width 0: '' - prompt: csr# + prompt: T2-9500-RA_SDG# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_snmp_server_user/test_api_configure_snmp_server_user.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_snmp_server_user/test_api_configure_snmp_server_user.py index 7f80e67b9..af8342def 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_snmp_server_user/test_api_configure_snmp_server_user.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/snmp/configure/configure_snmp_server_user/test_api_configure_snmp_server_user.py @@ -10,7 +10,7 @@ class TestConfigureSnmpServerUser(unittest.TestCase): def setUpClass(self): testbed = f""" devices: - csr: + Switch: connections: defaults: class: unicon.Unicon @@ -18,11 +18,11 @@ def setUpClass(self): command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect protocol: unknown os: iosxe - platform: None - type: iosxe + platform: c9500L + type: c9500L """ self.testbed = loader.load(testbed) - self.device = self.testbed.devices['csr'] + self.device = self.testbed.devices['Switch'] self.device.connect( learn_hostname=True, init_config_commands=[], @@ -30,21 +30,6 @@ def setUpClass(self): ) def test_configure_snmp_server_user(self): - result = configure_snmp_server_user(self.device, 'privuser256256', 'privgrp', 'v3', 'sha-2', '256', 'cisco256', 'aes', '256', 'cisco256', 'ram', 'ipv6', 'nameacl') - expected_output = None - self.assertEqual(result, expected_output) - - def test_configure_snmp_server_user_1(self): - result = configure_snmp_server_user(self.device, 'privuser256256', 'privgrp', 'v3', 'sha-2', '256', 'cisco256', 'aes', '256', 'cisco256', 'ram', None, None) - expected_output = None - self.assertEqual(result, expected_output) - - def test_configure_snmp_server_user_2(self): - result = configure_snmp_server_user(self.device, 'privuser256256', 'privgrp', 'v3', 'sha-2', '256', 'cisco256', None, None, None, None, None, None) - expected_output = None - self.assertEqual(result, expected_output) - - def test_configure_snmp_server_user_3(self): - result = configure_snmp_server_user(self.device, 'privuser256256', 'privgrp', 'v3', None, None, None, None, None, None, None, None, None) + result = configure_snmp_server_user(self.device, 'TestUsr2', 'TestGrp', 'v3', 'md5', None, 'password1', 'des', None, None, None, 'password', None, None, None) expected_output = None self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/vdsl/configure/configure_controller_shutdown/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/vdsl/configure/configure_controller_shutdown/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/vdsl/configure/configure_controller_shutdown/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/vdsl/configure/configure_controller_shutdown/mock_data/iosxe/mock_data.yaml new file mode 100644 index 000000000..9c20beed8 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/vdsl/configure/configure_controller_shutdown/mock_data/iosxe/mock_data.yaml @@ -0,0 +1,36 @@ +configure: + commands: + Controller VDSL 0/0/0: "Controller VDSL 0/0/0\r\n" + end: + new_state: execute + line console 0: + new_state: configure_line + no logging console: '' + no shutdown: "no shutdown\r\n" + prompt: Elixir_01(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: Elixir_01(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: Elixir_01# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/vdsl/configure/configure_controller_shutdown/test_api_configure_controller_shutdown.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/vdsl/configure/configure_controller_shutdown/test_api_configure_controller_shutdown.py new file mode 100644 index 000000000..298ed19d7 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/vdsl/configure/configure_controller_shutdown/test_api_configure_controller_shutdown.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.iosxe.vdsl.configure import configure_controller_shutdown + + +class TestConfigureControllerShutdown(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + Elixir_01: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os iosxe --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: iosxe + platform: iosxe + type: iosxe + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['Elixir_01'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_configure_controller_shutdown(self): + result = configure_controller_shutdown(self.device, '0/0/0', False) + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/get/get_file_contents/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/get/get_file_contents/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/get/get_file_contents/mock_data/linux/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/get/get_file_contents/mock_data/linux/mock_data.yaml new file mode 100644 index 000000000..5f2368a58 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/get/get_file_contents/mock_data/linux/mock_data.yaml @@ -0,0 +1,41 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no logging console: '' + prompt: ott-ads-633(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: ott-ads-633(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + cat /users/lgerrior/test_dir/device_key: + response: + - "-----BEGIN EC PRIVATE KEY-----\r\nProc-Type: 4,ENCRYPTED\r\nDEK-Info: AES-256-CBC,D738EC42CBE1D776999970BEAE279176\r\ + \n\r\nXK9QAj86kgoFuj71zUq8CKNUI9NJqCqbq9WU0PIMT52JWTZZo8J5YcohS2vPqUGP\r\n\ + FvDmf9SwcAeEmY8wyVlfbv99Cdp0Psuh7OSPy7eleWpcKa8v5VKy6ay5fgRdtBRo\r\neS81Ddy6+vBb2fpG7gt8YLud1UCE7P8TAIMVADqQwrcCRvxxG2iTcsZfZMwy3jdS\r\ + \n1kBeRyqPMGU1w3b4k41i3QTUZyAhkL10Bnzzis9KcMo=\r\n-----END EC PRIVATE KEY-----" + response_type: circular + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: ott-ads-633# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/get/get_file_contents/test_api_get_file_contents.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/get/get_file_contents/test_api_get_file_contents.py new file mode 100644 index 000000000..60c3bcce9 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/get/get_file_contents/test_api_get_file_contents.py @@ -0,0 +1,43 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.linux.get import get_file_contents + + +class TestGetFileContents(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + S1: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os linux --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: linux + platform: None + type: None + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['S1'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_get_file_contents(self): + result = get_file_contents(self.device, '/users/lgerrior/test_dir/device_key') + expected_output = ('-----BEGIN EC PRIVATE KEY-----\r\n' + 'Proc-Type: 4,ENCRYPTED\r\n' + 'DEK-Info: AES-256-CBC,D738EC42CBE1D776999970BEAE279176\r\n' + '\r\n' + 'XK9QAj86kgoFuj71zUq8CKNUI9NJqCqbq9WU0PIMT52JWTZZo8J5YcohS2vPqUGP\r\n' + 'FvDmf9SwcAeEmY8wyVlfbv99Cdp0Psuh7OSPy7eleWpcKa8v5VKy6ay5fgRdtBRo\r\n' + 'eS81Ddy6+vBb2fpG7gt8YLud1UCE7P8TAIMVADqQwrcCRvxxG2iTcsZfZMwy3jdS\r\n' + '1kBeRyqPMGU1w3b4k41i3QTUZyAhkL10Bnzzis9KcMo=\r\n' + '-----END EC PRIVATE KEY-----') + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ca_certificate/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ca_certificate/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ca_certificate/mock_data/linux/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ca_certificate/mock_data/linux/mock_data.yaml new file mode 100644 index 000000000..ebeffbf79 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ca_certificate/mock_data/linux/mock_data.yaml @@ -0,0 +1,48 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no logging console: '' + prompt: ott-ads-633(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: ott-ads-633(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + mkdir -p /users/lgerrior/test_dir: + response: + - '' + response_type: circular + ? openssl req -subj /C=/ST=/L=/O=/CN=rootCA -x509 -new -nodes -key /users/lgerrior/test_dir/rsa_private_key + -sha256 -out /users/lgerrior/test_dir/rootCA.pem -passin pass:cisco123 + : response: + - "openssl req -subj /C=/ST=/L=/O=/CN=rootCA -x509 -new -nodes -key /users/lgerrior/test_dir/rsa_private_key\ + \ -sha256 -out /users/lgerrior/test_dir/rootCA.pem -passin pass:cisco12\r\ + 23\r\nreq: No value provided for Subject Attribute C, skipped\r\nreq: No value\ + \ provided for Subject Attribute ST, skipped\r\nreq: No value provided for\ + \ Subject Attribute L, skipped\r\nreq: No value provided for Subject Attribute\ + \ O, skipped" + response_type: circular + show version: '' + term length 0: '' + term width 0: '' + prompt: ott-ads-633# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ca_certificate/test_api_generate_ca_certificate.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ca_certificate/test_api_generate_ca_certificate.py new file mode 100644 index 000000000..63f4c112f --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ca_certificate/test_api_generate_ca_certificate.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.linux.openssl.generate import generate_ca_certificate + + +class TestGenerateCaCertificate(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + S1: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os linux --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: linux + platform: None + type: None + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['S1'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_generate_ca_certificate(self): + result = generate_ca_certificate(self.device, '/users/lgerrior/test_dir/rsa_private_key', None, 'cisco123', None, '/users/lgerrior/test_dir') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ecc_ssl_key/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ecc_ssl_key/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ecc_ssl_key/mock_data/linux/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ecc_ssl_key/mock_data/linux/mock_data.yaml new file mode 100644 index 000000000..e2ee542ac --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ecc_ssl_key/mock_data/linux/mock_data.yaml @@ -0,0 +1,47 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no logging console: '' + prompt: ott-ads-633(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: ott-ads-633(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + ? '[''openssl ecparam -genkey -name secp384r1 -out /users/lgerrior/test_dir/ecc_private_key'', + ''openssl ec -aes256 -in /users/lgerrior/test_dir/ecc_private_key -out /users/lgerrior/test_dir/ecc_private_key + -passout pass:cisco123'']' + : response: + - ? openssl ec -aes256 -in /users/lgerrior/test_dir/ecc_private_key -out /users/lgerrior/test_dir/ecc_private_key + -passout pass:cisco123 + : "read EC key\r\nwriting EC key" + openssl ecparam -genkey -name secp384r1 -out /users/lgerrior/test_dir/ecc_private_key: '' + response_type: circular + config term: + new_state: configure + config-transaction: + new_state: configure + mkdir -p /users/lgerrior/test_dir: + response: + - '' + response_type: circular + show version: '' + term length 0: '' + term width 0: '' + prompt: ott-ads-633# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ecc_ssl_key/test_api_generate_ecc_ssl_key.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ecc_ssl_key/test_api_generate_ecc_ssl_key.py new file mode 100644 index 000000000..2060eb1e8 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ecc_ssl_key/test_api_generate_ecc_ssl_key.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.linux.openssl.generate import generate_ecc_ssl_key + + +class TestGenerateEccSslKey(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + S1: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os linux --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: linux + platform: None + type: None + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['S1'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_generate_ecc_ssl_key(self): + result = generate_ecc_ssl_key(self.device, 'ecc_private_key', 'secp384r1', 'cisco123', 256, '/users/lgerrior/test_dir') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_rsa_ssl_key/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_rsa_ssl_key/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_rsa_ssl_key/mock_data/linux/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_rsa_ssl_key/mock_data/linux/mock_data.yaml new file mode 100644 index 000000000..5f76ea750 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_rsa_ssl_key/mock_data/linux/mock_data.yaml @@ -0,0 +1,49 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no logging console: '' + prompt: ott-ads-633(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: ott-ads-633(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + ? '[''openssl genrsa -out /users/lgerrior/test_dir/rsa_private_key 2048'', ''openssl + rsa -aes256 -in /users/lgerrior/test_dir/rsa_private_key -out /users/lgerrior/test_dir/rsa_private_key + -passout pass:cisco123'']' + : response: + - openssl genrsa -out /users/lgerrior/test_dir/rsa_private_key 2048: "Generating\ + \ RSA private key, 2048 bit long modulus (2 primes)\r\n.+++++\r\n....+++++\r\ + \ne is 65537 (0x010001)" + ? openssl rsa -aes256 -in /users/lgerrior/test_dir/rsa_private_key -out /users/lgerrior/test_dir/rsa_private_key + -passout pass:cisco123 + : writing RSA key + response_type: circular + config term: + new_state: configure + config-transaction: + new_state: configure + mkdir -p /users/lgerrior/test_dir: + response: + - '' + response_type: circular + show version: '' + term length 0: '' + term width 0: '' + prompt: ott-ads-633# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_rsa_ssl_key/test_api_generate_rsa_ssl_key.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_rsa_ssl_key/test_api_generate_rsa_ssl_key.py new file mode 100644 index 000000000..8c34510fa --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_rsa_ssl_key/test_api_generate_rsa_ssl_key.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.linux.openssl.generate import generate_rsa_ssl_key + + +class TestGenerateRsaSslKey(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + S1: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os linux --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: linux + platform: None + type: None + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['S1'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_generate_rsa_ssl_key(self): + result = generate_rsa_ssl_key(self.device, 'rsa_private_key', 2048, 'cisco123', 256, '/users/lgerrior/test_dir') + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ssl_certificate/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ssl_certificate/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ssl_certificate/mock_data/linux/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ssl_certificate/mock_data/linux/mock_data.yaml new file mode 100644 index 000000000..75807c506 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ssl_certificate/mock_data/linux/mock_data.yaml @@ -0,0 +1,58 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no logging console: '' + prompt: ott-ads-633(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: ott-ads-633(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + ? '[''openssl req -subj /C=/ST=/L=/O=/CN=ott-ads-633 -new -key /users/lgerrior/test_dir/ecc_private_key + -out /users/lgerrior/test_dir/device.csr -passin pass:cisco123'', ''openssl + x509 -req -in /users/lgerrior/test_dir/device.csr -CA /users/lgerrior/test_dir/rootCA.pem + -CAkey /users/lgerrior/test_dir/rsa_private_key -CAcreateserial -out /users/lgerrior/test_dir/device.crt + -sha256 -passin pass:cisco123'']' + : response: + - ? openssl req -subj /C=/ST=/L=/O=/CN=ott-ads-633 -new -key /users/lgerrior/test_dir/ecc_private_key + -out /users/lgerrior/test_dir/device.csr -passin pass:cisco123 + : "req: No value provided for Subject Attribute C, skipped\r\nreq: No value\ + \ provided for Subject Attribute ST, skipped\r\nreq: No value provided for\ + \ Subject Attribute L, skipped\r\nreq: No value provided for Subject Attribute\ + \ O, skipped" + ? openssl x509 -req -in /users/lgerrior/test_dir/device.csr -CA /users/lgerrior/test_dir/rootCA.pem + -CAkey /users/lgerrior/test_dir/rsa_private_key -CAcreateserial -out /users/lgerrior/test_dir/device.crt + -sha256 -passin pass:cisco123 + : "openssl x509 -req -in /users/lgerrior/test_dir/device.csr -CA /users/lgerrior/test_dir/rootCA.pem\ + \ -CAkey /users/lgerrior/test_dir/rsa_private_key -CAcreateserial -out /users/l\r\ + lgerrior/test_dir/device.crt -sha256 -passin pass:cisco123\r\nSignature\ + \ ok\r\nsubject=CN = ott-ads-633\r\nGetting CA Private Key" + response_type: circular + config term: + new_state: configure + config-transaction: + new_state: configure + hostname: + response: + - ott-ads-633 + response_type: circular + show version: '' + term length 0: '' + term width 0: '' + prompt: ott-ads-633# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ssl_certificate/test_api_generate_ssl_certificate.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ssl_certificate/test_api_generate_ssl_certificate.py new file mode 100644 index 000000000..7e6cac662 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/generate/generate_ssl_certificate/test_api_generate_ssl_certificate.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.linux.openssl.generate import generate_ssl_certificate + + +class TestGenerateSslCertificate(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + S1: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os linux --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: linux + platform: None + type: None + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['S1'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_generate_ssl_certificate(self): + result = generate_ssl_certificate(self.device, '/users/lgerrior/test_dir/ecc_private_key', '/users/lgerrior/test_dir/rootCA.pem', '/users/lgerrior/test_dir/rsa_private_key', 'cisco123', 'cisco123', None, None, None, '/users/lgerrior/test_dir', 256) + expected_output = None + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/get/get_supported_elliptic_curves/__init__.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/get/get_supported_elliptic_curves/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/get/get_supported_elliptic_curves/mock_data/linux/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/get/get_supported_elliptic_curves/mock_data/linux/mock_data.yaml new file mode 100644 index 000000000..3258a3f9c --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/get/get_supported_elliptic_curves/mock_data/linux/mock_data.yaml @@ -0,0 +1,41 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no logging console: '' + prompt: ott-ads-633(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: ott-ads-633(config-line)# +connect: + commands: + ? '' + : new_state: execute + preface: 'Trying mock_device ... + + Connected to mock_device. + + Escape character is ''^]''.' + prompt: '' +execute: + commands: + config term: + new_state: configure + config-transaction: + new_state: configure + openssl ecparam -list_curves: + response: + - " secp224r1 : NIST/SECG curve over a 224 bit prime field\r\n secp256k1 :\ + \ SECG curve over a 256 bit prime field\r\n secp384r1 : NIST/SECG curve over\ + \ a 384 bit prime field\r\n secp521r1 : NIST/SECG curve over a 521 bit prime\ + \ field\r\n prime256v1: X9.62/SECG curve over a 256 bit prime field" + response_type: circular + show version: '' + term length 0: '' + term width 0: '' + prompt: ott-ads-633# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/get/get_supported_elliptic_curves/test_api_get_supported_elliptic_curves.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/get/get_supported_elliptic_curves/test_api_get_supported_elliptic_curves.py new file mode 100644 index 000000000..9ec1547c6 --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/linux/openssl/get/get_supported_elliptic_curves/test_api_get_supported_elliptic_curves.py @@ -0,0 +1,35 @@ +import os +import unittest +from pyats.topology import loader +from genie.libs.sdk.apis.linux.openssl.get import get_supported_elliptic_curves + + +class TestGetSupportedEllipticCurves(unittest.TestCase): + + @classmethod + def setUpClass(self): + testbed = f""" + devices: + S1: + connections: + defaults: + class: unicon.Unicon + a: + command: mock_device_cli --os linux --mock_data_dir {os.path.dirname(__file__)}/mock_data --state connect + protocol: unknown + os: linux + platform: None + type: None + """ + self.testbed = loader.load(testbed) + self.device = self.testbed.devices['S1'] + self.device.connect( + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] + ) + + def test_get_supported_elliptic_curves(self): + result = get_supported_elliptic_curves(self.device) + expected_output = ['secp224r1', 'secp256k1', 'secp384r1', 'secp521r1', 'prime256v1'] + self.assertEqual(result, expected_output) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/test_threading.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/test_threading.py new file mode 100644 index 000000000..8170bc86e --- /dev/null +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/test_threading.py @@ -0,0 +1,27 @@ +from __future__ import annotations + +import logging +import unittest + +from genie.libs.conf.device import Device + +from concurrent.futures import ThreadPoolExecutor, as_completed + +logger = logging.getLogger(__name__) + + +class TestThreading(unittest.TestCase): + + def test_api_not_supported_with_threading(self): + custom = {"abstraction": {"order": ["os"]}} + dev = Device('r1', os='iosxe', custom=custom) + with ThreadPoolExecutor() as executor: + tasks = [] + tasks.append( + executor.submit( + dev.api.device_recovery_boot, + dev) + ) + with self.assertRaisesRegex(Exception, 'This API is not supported with threading'): + for task in as_completed(tasks): + task.result() diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/utils.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/utils.py index 2fba06c9e..5c5795199 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/utils.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/utils.py @@ -16,6 +16,7 @@ import psutil import pathlib import glob +import threading from time import strptime from datetime import datetime @@ -35,7 +36,6 @@ from pyats.log.utils import banner # Genie -from genie.libs import clean from genie.abstract import Lookup from genie.utils.config import Config from genie.utils.diff import Diff @@ -4315,11 +4315,18 @@ def device_recovery_boot(device, console_activity_pattern=None, console_breakboo subnet_mask: (Mandatory) gateway: (Mandatory) tftp_server: (Mandatory) + ether_port: (Optional) (Default to 0) Return: None Raise: Exception ''' + if threading.current_thread() != threading.main_thread(): + raise Exception('This API is not supported with threading. ' + 'This implementation uses genie.libs.clean ' + 'which uses the signal library. ' + 'Signals are not supported with threading.') + log.info(f'Get the recovery details from clean for device {device.name}') try: recovery_info = device.clean.get('device_recovery') @@ -4333,6 +4340,8 @@ def device_recovery_boot(device, console_activity_pattern=None, console_breakboo grub_breakboot_char = grub_breakboot_char or recovery_info.get('grub_breakboot_char') or 'c' break_count = break_count or recovery_info.get('break_count') or 15 timeout = timeout or recovery_info.get('timeout') or 750 + ether_port = 0 + tftp_boot = tftp_boot or recovery_info.get('tftp_boot', {}) log.info('Destroy device connection.') try: @@ -4346,7 +4355,9 @@ def device_recovery_boot(device, console_activity_pattern=None, console_breakboo format(device.name))) log.info("Golden image information found:\n{}".format(golden_image)) - elif tftp_boot or recovery_info.get('tftp_boot'): + elif tftp_boot: + # set ether_port to default value 0 + tftp_boot.setdefault('ether_port', ether_port) log.info(banner("Booting device '{}' with the Tftp images".\ format(device.name))) log.info("Tftp boot information found:\n{}".format(tftp_boot)) @@ -4361,6 +4372,7 @@ def device_recovery_boot(device, console_activity_pattern=None, console_breakboo # For each default connection, start a fork to try to recover the device try: + from genie.libs import clean abstract = Lookup.from_device(device, packages={'clean': clean}) # Item is needed to be able to know in which parallel child # we are @@ -4384,11 +4396,11 @@ def device_recovery_boot(device, console_activity_pattern=None, console_breakboo 'break_count': break_count, 'timeout': timeout, 'golden_image': golden_image or recovery_info.get('golden_image'), - 'tftp_boot': tftp_boot or recovery_info.get('tftp_boot'), + 'tftp_boot': tftp_boot, 'recovery_password': recovery_password or recovery_info.get('recovery_password')} ) except Exception as e: log.error(str(e)) raise Exception(f"Failed to boot the device {device.name}", from_exception=e) else: - log.info(f"Successfully boot the device {device.name}") \ No newline at end of file + log.info(f"Successfully boot the device {device.name}") diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/libs/utils/mapping.py b/pkgs/sdk-pkg/src/genie/libs/sdk/libs/utils/mapping.py index c50844759..4971b64e5 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/libs/utils/mapping.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/libs/utils/mapping.py @@ -16,7 +16,8 @@ from genie.ops.base import Base as OpsBase from genie.utils.timeout import Timeout -from genie.libs import ops +# Unused import required for abstract package lookup +from genie.libs import ops as abstract_ops from genie.libs.sdk.libs.utils.triggeractions import Configure from genie.libs.sdk.libs.utils.normalize import GroupKeys, _to_dict, LearnPollDiff @@ -69,6 +70,11 @@ def _populate_mapping(self, parent): # Set default arguments # Trigger object self.parent = parent + + task = self + while task.parent: + task = task.parent + # The logic change from skip to fail for some scenario, so keep track # of it self._static = True @@ -85,17 +91,17 @@ def _populate_mapping(self, parent): # name is .. if name.rsplit('.', 1): name = name.rsplit('.', 1)[0] - if not hasattr(self.parent.parent, 'triggers'): + if not hasattr(task, 'triggers'): self._static_learn = True self._static = False return - if name not in self.parent.parent.triggers: + if name not in task.triggers: # Weird corner case raise Exception("'{name}' is not defined in the Trigger" "datafile".format(name=name)) - data = self.parent.parent.triggers[name] + data = task.triggers[name] if 'num_values' in data: self.num_values.update(data['num_values']) @@ -352,7 +358,7 @@ def learn_ops(self, device, abstract, steps, timeout, **kwargs): if kwargs.get('lts', {}).get(base, {}).get(device.name, {}): o = [kwargs['lts'][base][device.name]] # check if can get required value from the lts - # if not, need to learn device again + # if not, need to learn device again reqs = self._populate_path(requirements['requirements'], device, keys=self.keys, device_only=True) all_keys = requirements.get('all_keys', False) @@ -499,6 +505,10 @@ def learn_ops(self, device, abstract, steps, timeout, **kwargs): self.keys = GroupKeys.max_amount(self.keys, self.num_values) + task = self + while task.parent: + task = task.parent + # update mapping.keys with static values if self._static: uid = self.parent.uid.rsplit('.', 1)[0] @@ -506,7 +516,7 @@ def learn_ops(self, device, abstract, steps, timeout, **kwargs): # name is .. if uid.rsplit('.', 1): uid = uid.rsplit('.', 1)[0] - data = self.parent.parent.triggers[uid] + data = task.triggers[uid] for item in self.keys: for k, v in data['static'].items(): if not v.startswith('(?P<'): @@ -853,7 +863,7 @@ def _verify_ops(self, device, o, reqs, missing, ops, requirements): missing=missing, obj_mod=ops, org_req=requirements) - # add to self to provide access for parent + # add to self to provide access for parent # that can get information from the learned ops object self.verify_ops_object = o except Exception as e: @@ -1042,7 +1052,7 @@ def exclude_management_interface(self, device, requirements, ops_obj): # trigger action return ops_obj else: - Interface_ops_obj = Lookup.from_device(device).ops.interface.interface.Interface(device) + Interface_ops_obj = Lookup.from_device(device).abstract_ops.interface.interface.Interface(device) new_dict = {} if isinstance(ops_obj, type(Interface_ops_obj)) and \ device.management_interface: From aa7ba452bcc0f1014a8b12adf601adae39d621c6 Mon Sep 17 00:00:00 2001 From: tasarath Date: Mon, 25 Sep 2023 11:12:23 -0400 Subject: [PATCH 2/4] Releasing v23.9 --- pkgs/clean-pkg/changelog/2023/september.rst | 3 - .../sdk_generator/output/github_clean.json | 7 +- .../src/genie/libs/clean/recovery/recovery.py | 3 +- .../genie/libs/clean/stages/iosxe/stages.py | 155 +----------------- .../clean/stages/iosxe/tests/test_connect.py | 69 -------- .../sdk_generator/output/github_apis.json | 2 +- .../libs/sdk/apis/iosxe/rommon/configure.py | 23 +-- .../mock_data/iosxe/mock_data.yaml | 23 ++- .../test_api_configure_rommon_tftp.py | 4 +- pkgs/sdk-pkg/src/genie/libs/sdk/apis/utils.py | 9 +- 10 files changed, 33 insertions(+), 265 deletions(-) delete mode 100644 pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/tests/test_connect.py diff --git a/pkgs/clean-pkg/changelog/2023/september.rst b/pkgs/clean-pkg/changelog/2023/september.rst index 07ea30f68..275449448 100644 --- a/pkgs/clean-pkg/changelog/2023/september.rst +++ b/pkgs/clean-pkg/changelog/2023/september.rst @@ -6,9 +6,6 @@ * Added * Class ConfigureReplace in clean stages -* stages/iosxe - * Updated connect stage to support rommon boot - -------------------------------------------------------------------------------- Fix diff --git a/pkgs/clean-pkg/sdk_generator/output/github_clean.json b/pkgs/clean-pkg/sdk_generator/output/github_clean.json index 1abe7294b..05a08e8d5 100644 --- a/pkgs/clean-pkg/sdk_generator/output/github_clean.json +++ b/pkgs/clean-pkg/sdk_generator/output/github_clean.json @@ -166,18 +166,13 @@ "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/clean-pkg/src/genie/libs/clean/stages/stages.py#L33" }, "iosxe": { - "doc": "This stage connects to the device that is being cleaned.\nStage Schema\n------------\nconnect:\n via (str, optional): Which connection to use from the testbed file. Uses the\n default connection if not specified.\n alias (str, optional): Which connection alias to use from the testbed file.\n timeout (int, optional): The timeout for the connection to complete in seconds.\n Defaults to 200.\n retry_timeout (int, optional): Overall timeout for retry mechanism in seconds.\n Defaults to 0 which means no retry.\n retry_interval (int, optional): Interval for retry mechanism in seconds. Defaults\n to 0 which means no retry.\nExample\n-------\nconnect:\n timeout: 60\n", - "module_name": "stages.stages", - "package": "genie.libs.clean", "sdwan": { "doc": "This stage connects to the device that is being cleaned.\n\nStage Schema\n------------\nconnect:\n\n via (str, optional): Which connection to use from the testbed file. Uses the\n default connection if not specified.\n\n timeout (int, optional): The timeout for the connection to complete in seconds.\n Defaults to 200.\n\n retry_timeout (int, optional): Overall timeout for retry mechanism in seconds.\n Defaults to 0 which means no retry.\n\n retry_interval (int, optional): Interval for retry mechanism in seconds. Defaults\n to 0 which means no retry.\n\nExample\n-------\nconnect:\n timeout: 60\n", "module_name": "stages.stages", "package": "genie.libs.clean", "uid": "Connect", "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/sdwan/stages.py#L31" - }, - "uid": "Connect", - "url": "https://github.com/CiscoTestAutomation/genielibs/tree/master/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/stages.py#L2039" + } }, "linux": { "wsim": { diff --git a/pkgs/clean-pkg/src/genie/libs/clean/recovery/recovery.py b/pkgs/clean-pkg/src/genie/libs/clean/recovery/recovery.py index 7fdd31050..396e7caac 100644 --- a/pkgs/clean-pkg/src/genie/libs/clean/recovery/recovery.py +++ b/pkgs/clean-pkg/src/genie/libs/clean/recovery/recovery.py @@ -213,8 +213,7 @@ def _connectivity(device, console_activity_pattern=None, console_breakboot_char= 'ip_address': list, 'subnet_mask': str, 'gateway': str, - 'tftp_server': str, - Optional('ether_port'): int, + 'tftp_server': str }, Optional('recovery_password'): str, Optional('clear_line'): bool, diff --git a/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/stages.py b/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/stages.py index b87089be8..5bb34d3ac 100644 --- a/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/stages.py +++ b/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/stages.py @@ -7,7 +7,7 @@ import time import os.path import logging -from ipaddress import IPv4Address, IPv6Address, IPv4Interface, IPv6Interface +from ipaddress import IPv4Interface, IPv6Interface # pyATS from pyats.async_ import pcall @@ -18,7 +18,7 @@ from genie.abstract import Lookup from genie.libs import clean from genie.libs.clean.recovery.recovery import _disconnect_reconnect -from genie.metaparser.util.schemaengine import Optional, Required, Any, Or, ListOf +from genie.metaparser.util.schemaengine import Optional, Required, Any from genie.utils import Dq from genie.metaparser.util.schemaengine import Optional, Required, Any, Or, ListOf from genie.utils import Dq @@ -2034,154 +2034,3 @@ def configure_replace(self, steps, device, path, file, config_replace_options=CO except Exception as e: step.failed("Configure replace failed", from_exception=e) - - -class Connect(BaseStage): - """This stage connects to the device that is being cleaned. -Stage Schema ------------- -connect: - via (str, optional): Which connection to use from the testbed file. Uses the - default connection if not specified. - alias (str, optional): Which connection alias to use from the testbed file. - timeout (int, optional): The timeout for the connection to complete in seconds. - Defaults to 200. - retry_timeout (int, optional): Overall timeout for retry mechanism in seconds. - Defaults to 0 which means no retry. - retry_interval (int, optional): Interval for retry mechanism in seconds. Defaults - to 0 which means no retry. -Example -------- -connect: - timeout: 60 -""" - - # ================= - # Argument Defaults - # ================= - VIA = None - ALIAS = None - TIMEOUT = 200 - RETRY_TIMEOUT = 0 - RETRY_INTERVAL = 0 - - - # ============ - # Stage Schema - # ============ - schema = { - Optional('via', description="Which connection to use from the testbed file. Uses the default connection if not specified."): str, - Optional('alias', description="Which connection alias to use."): str, - Optional('timeout', description=f"The timeout for the connection to complete in seconds. Defaults to {TIMEOUT}.", default=TIMEOUT): Or(str, int), - Optional('retry_timeout', description=f"Overall timeout for retry mechanism in seconds. Defaults to {RETRY_TIMEOUT} which means no retry.", default=RETRY_TIMEOUT): Or(str, int, float), - Optional('retry_interval', description=f"Interval for retry mechanism in seconds. Defaults to {RETRY_INTERVAL} which means no retry.", default=RETRY_INTERVAL): Or(str, int, float), - } - - # ============================== - # Execution order of Stage steps - # ============================== - exec_order = [ - 'connect' - ] - - def connect(self, steps, device, via=VIA, alias=ALIAS, timeout=TIMEOUT, - retry_timeout=RETRY_TIMEOUT, retry_interval=RETRY_INTERVAL): - - with steps.start("Connecting to the device") as step: - - log.info('Checking connection to device: %s' % device.name) - - # Create a timeout that will loop - retry_timeout = Timeout(float(retry_timeout), float(retry_interval)) - retry_timeout.one_more_time = True - # Without this we see 'Performing the last attempt' even if retry - # is not being used. - retry_timeout.disable_log = True - - while retry_timeout.iterate(): - retry_timeout.disable_log = False - - # mit=True is used to make sure we do not initialize the connection - # and we can check if the device is in rommon. - device.instantiate(connection_timeout=timeout, - learn_hostname=True, - prompt_recovery=True, - via=via, - alias=alias, - mit=True) - try: - if alias: - getattr(device, alias).connect() - else: - device.connect() - except Exception: - log.error("Connection to the device failed", exc_info=True) - device.destroy_all() - # Loop - else: - step.passed("Successfully connected".format(device.name)) - # Don't loop - - retry_timeout.sleep() - - step.failed("Could not connect. Scroll up for tracebacks.") - - with steps.start(f'Checking the current state of the device: {device.name}') as step: - - log.info(f'Checking the current state of the device: {device.name}') - - state = "" - try: - # To check the state for HA devices - if device.is_ha and hasattr(device, 'subconnections'): - if isinstance(device.subconnections, list): - states = list(set([con.state_machine.current_state for con in device.subconnections])) - if states == ['rommon']: - state = 'rommon' - # Remove the one rp connection for Recovery worker API device_recovery_boot - # to boot a single RP as HA recovery is not yet implemented fully. - device.subconnections = [device.subconnections[0]] - elif 'rommon' in states: - step.failed(f'One of the device connection is in rommon state, need to recover device.') - else: - state = device.state_machine.current_state - except Exception as e: - log.warning(f'There is no connection in device.subconnections: {e}') - - if state == "rommon": - - with steps.start("Setting the rommon variables") as step: - - log.info('Setting the rommon variables for TFTP boot') - - try: - device.api.configure_rommon_tftp() - except Exception as e: - step.failed(f'Failed to set rommon variables. {e}') - else: - log.info("Successfully set the rommon variables") - - with steps.start("Booting the device from rommon") as step: - - log.info('Booting the device from rommon') - - try: - # Gets the recovery details from clean yaml - device.api.device_recovery_boot() - except Exception as e: - step.failed(f'Failed to device boot device from rommon. {e}') - else: - log.info("Successfully booted the device from rommon.") - - - with steps.start("Disconnect and reconnect to the device") as step: - - try: - _disconnect_reconnect(device) - except Exception as e: - step.failed(f'Failed to initialize the connection. {e}') - else: - step.passed("Successfully connected to the device") - - - diff --git a/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/tests/test_connect.py b/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/tests/test_connect.py deleted file mode 100644 index d5170825a..000000000 --- a/pkgs/clean-pkg/src/genie/libs/clean/stages/iosxe/tests/test_connect.py +++ /dev/null @@ -1,69 +0,0 @@ -import unittest -from unittest.mock import MagicMock, Mock, call, patch -import logging - -from pyats.aetest.steps import Steps -from pyats.results import Passed, Failed -from pyats.aetest.signals import TerminateStepSignal -from pyats.topology import loader -from genie.libs.clean.stages.iosxe.stages import Connect -from unicon.plugins.tests.mock.mock_device_iosxe import MockDeviceTcpWrapperIOSXE -import unicon - -unicon.settings.Settings.POST_DISCONNECT_WAIT_SEC = 0 -unicon.settings.Settings.GRACEFUL_DISCONNECT_WAIT_SEC = 0.2 - -logger = logging.getLogger(__name__) - -class TestIosXEConnect(unittest.TestCase): - """ Run unit testing on a mocked IOSXE ASR HA device """ - - @classmethod - def setUpClass(self): - self.md = MockDeviceTcpWrapperIOSXE(hostname='R1', port=0, state='general_enable') - self.md.start() - testbed = """ - testbed: - servers: - http: - dynamic: true - protocol: http - ftp: - dynamic: true - protocol: ftp - tftp: - dynamic: true - protocol: tftp - devices: - R1: - os: iosxe - type: router - tacacs: - username: cisco - passwords: - tacacs: cisco - connections: - defaults: - class: unicon.Unicon - a: - protocol: telnet - ip: 127.0.0.1 - port: {} - """.format(self.md.ports[0]) - - self.testbed = loader.load(testbed) - self.device = self.testbed.devices['R1'] - self.device.connect(mit=True) - - @classmethod - def tearDownClass(self): - self.device.disconnect() - self.md.stop() - - def test_connect(self): - steps = Steps() - self.connect = Connect() - self.connect(steps=steps, device=self.device) - self.assertEqual(Passed, steps.details[0].result) - - diff --git a/pkgs/sdk-pkg/sdk_generator/output/github_apis.json b/pkgs/sdk-pkg/sdk_generator/output/github_apis.json index 03e0f6f65..687a3430f 100644 --- a/pkgs/sdk-pkg/sdk_generator/output/github_apis.json +++ b/pkgs/sdk-pkg/sdk_generator/output/github_apis.json @@ -13698,7 +13698,7 @@ }, "device_recovery_boot": { "com": { - "doc": "Boot device using golden image or using tftp server\n Args:\n device: device object\n break_count: \n console_activity_pattern: \n console_breakboot_char: \n console_breakboot_telnet_break: Use telnet `send break` to interrupt device boot\n grub_activity_pattern: \n grub_breakboot_char: \n timeout: \n recovery_password: \n golden_image: \n kickstart: \n system: \n tftp_boot:\n image: (Mandatory)\n ip_address: (Mandatory)\n subnet_mask: (Mandatory)\n gateway: (Mandatory)\n tftp_server: (Mandatory)\n ether_port: (Optional) (Default to 0)\n Return:\n None\n Raise:\n Exception\n ", + "doc": "Boot device using golden image or using tftp server\n Args:\n device: device object\n break_count: \n console_activity_pattern: \n console_breakboot_char: \n console_breakboot_telnet_break: Use telnet `send break` to interrupt device boot\n grub_activity_pattern: \n grub_breakboot_char: \n timeout: \n recovery_password: \n golden_image: \n kickstart: \n system: \n tftp_boot:\n image: (Mandatory)\n ip_address: (Mandatory)\n subnet_mask: (Mandatory)\n gateway: (Mandatory)\n tftp_server: (Mandatory)\n Return:\n None\n Raise:\n Exception\n ", "module_name": "utils", "package": "genie.libs.sdk.apis", "uid": "device_recovery_boot", diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/rommon/configure.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/rommon/configure.py index 837ddf976..baf0f4c80 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/rommon/configure.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/rommon/configure.py @@ -21,22 +21,6 @@ def configure_rommon_tftp(device, ipv6_address=False): """ tftp = {} - # Get the current device state from the device - if device.is_ha and hasattr(device, 'subconnections'): - if isinstance(device.subconnections, list): - states = list(set([con.state_machine.current_state for con in device.subconnections])) - if states == ['rommon']: - state = 'rommon' - elif 'rommon' in states: - raise Exception(f'One of the device connection is in rommon state, need to recover device.') - else: - state = device.state_machine.current_state - - # check the device is in rommon - if state != 'rommon': - raise Exception(f'The device is not in rommon state') - - # Check if management attribute in device object, if not set to empty dict if not hasattr(device, 'management'): setattr(device, "management", {}) @@ -75,15 +59,10 @@ def configure_rommon_tftp(device, ipv6_address=False): log.warning(f"Some TFTP information is missing: {tftp}") for set_command, value in tftp.items(): - # To set rommon variables cmd = f'{set_command}={value}' try: - # Configure tftp rommon variables in active rp - if device.is_ha and hasattr(device, 'subconnections'): - device.subconnections[0].execute(cmd) - else: - device.execute(cmd) + device.execute(cmd) except Exception as e: raise SubCommandFailure( f"Failed to set the rommon variable {set_command}. Error:\n{e}") diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/rommon/configure/configure_rommon_tftp/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/rommon/configure/configure_rommon_tftp/mock_data/iosxe/mock_data.yaml index ac221bd0e..d246da1f7 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/rommon/configure/configure_rommon_tftp/mock_data/iosxe/mock_data.yaml +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/rommon/configure/configure_rommon_tftp/mock_data/iosxe/mock_data.yaml @@ -1,3 +1,17 @@ +configure: + commands: + end: + new_state: execute + line console 0: + new_state: configure_line + no logging console: '' + prompt: ott-c9300-63(config)# +configure_line: + commands: + end: + new_state: execute + exec-timeout 0: '' + prompt: ott-c9300-63(config-line)# connect: commands: ? '' @@ -26,4 +40,11 @@ execute: response: - '' response_type: circular - prompt: 'switch:' + config term: + new_state: configure + config-transaction: + new_state: configure + show version: '' + term length 0: '' + term width 0: '' + prompt: ott-c9300-63# diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/rommon/configure/configure_rommon_tftp/test_api_configure_rommon_tftp.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/rommon/configure/configure_rommon_tftp/test_api_configure_rommon_tftp.py index f928a39ff..bd44e95a0 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/rommon/configure/configure_rommon_tftp/test_api_configure_rommon_tftp.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/rommon/configure/configure_rommon_tftp/test_api_configure_rommon_tftp.py @@ -41,7 +41,9 @@ def setUpClass(self): self.testbed = loader.load(testbed) self.device = self.testbed.devices['ott-c9300-63'] self.device.connect( - mit=True + learn_hostname=True, + init_config_commands=[], + init_exec_commands=[] ) def test_configure_rommon_tftp(self): diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/utils.py b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/utils.py index 5c5795199..5c0ad8a8c 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/utils.py +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/utils.py @@ -4315,7 +4315,6 @@ def device_recovery_boot(device, console_activity_pattern=None, console_breakboo subnet_mask: (Mandatory) gateway: (Mandatory) tftp_server: (Mandatory) - ether_port: (Optional) (Default to 0) Return: None Raise: @@ -4340,8 +4339,6 @@ def device_recovery_boot(device, console_activity_pattern=None, console_breakboo grub_breakboot_char = grub_breakboot_char or recovery_info.get('grub_breakboot_char') or 'c' break_count = break_count or recovery_info.get('break_count') or 15 timeout = timeout or recovery_info.get('timeout') or 750 - ether_port = 0 - tftp_boot = tftp_boot or recovery_info.get('tftp_boot', {}) log.info('Destroy device connection.') try: @@ -4355,9 +4352,7 @@ def device_recovery_boot(device, console_activity_pattern=None, console_breakboo format(device.name))) log.info("Golden image information found:\n{}".format(golden_image)) - elif tftp_boot: - # set ether_port to default value 0 - tftp_boot.setdefault('ether_port', ether_port) + elif tftp_boot or recovery_info.get('tftp_boot'): log.info(banner("Booting device '{}' with the Tftp images".\ format(device.name))) log.info("Tftp boot information found:\n{}".format(tftp_boot)) @@ -4396,7 +4391,7 @@ def device_recovery_boot(device, console_activity_pattern=None, console_breakboo 'break_count': break_count, 'timeout': timeout, 'golden_image': golden_image or recovery_info.get('golden_image'), - 'tftp_boot': tftp_boot, + 'tftp_boot': tftp_boot or recovery_info.get('tftp_boot'), 'recovery_password': recovery_password or recovery_info.get('recovery_password')} ) except Exception as e: From e921f5f8b3d32d7ebed733149dd4e8d58642cc0e Mon Sep 17 00:00:00 2001 From: tasarath Date: Mon, 25 Sep 2023 13:35:18 -0400 Subject: [PATCH 3/4] Releasing v23.9 --- .../configure_mode_change/mock_data/iosxe/mock_data.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/configure_mode_change/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/configure_mode_change/mock_data/iosxe/mock_data.yaml index df73171a4..d5608e776 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/configure_mode_change/mock_data/iosxe/mock_data.yaml +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/configure_mode_change/mock_data/iosxe/mock_data.yaml @@ -10,6 +10,8 @@ configure: line console 0: new_state: configure_line no logging console: '' + ? '' + : '' prompt: GD_F12(config)# configure_line: commands: From 678fa81605848a8a548a478ad583341a0317f3f0 Mon Sep 17 00:00:00 2001 From: tasarath Date: Tue, 26 Sep 2023 17:18:21 -0400 Subject: [PATCH 4/4] Releasing v23.9 --- .../mock_data/iosxe/mock_data.yaml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/configure_mode_change/mock_data/iosxe/mock_data.yaml b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/configure_mode_change/mock_data/iosxe/mock_data.yaml index d5608e776..75a179126 100644 --- a/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/configure_mode_change/mock_data/iosxe/mock_data.yaml +++ b/pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/cat8k/configure/configure_mode_change/mock_data/iosxe/mock_data.yaml @@ -2,11 +2,13 @@ configure: commands: end: new_state: execute - hw-module subslot 0/1 mode 100G: "hw-module subslot 0/1 mode 100G\r\nChanging\ - \ mode of subslot 0/1 to 100G will cause EPA in subslot 0/0 to go offline\r\n\ - Present configuration of this subslot will be erased and will not be restored.\r\ - \nCLI will not be available until mode change is complete and EPA returns to\ - \ OK state.\r\nDo you want to proceed? [confirm]\r\n" + hw-module subslot 0/1 mode 100G: + response: "hw-module subslot 0/1 mode 100G\r\nChanging\ + \ mode of subslot 0/1 to 100G will cause EPA in subslot 0/0 to go offline\r\n\ + Present configuration of this subslot will be erased and will not be restored.\r\ + \nCLI will not be available until mode change is complete and EPA returns to\ + \ OK state." + new_state: configure_confirm line console 0: new_state: configure_line no logging console: '' @@ -19,6 +21,11 @@ configure_line: new_state: execute exec-timeout 0: '' prompt: GD_F12(config-line)# +configure_confirm: + commands: + ? '' + : new_state: configure + prompt: "Do you want to proceed? [confirm]" connect: commands: ? ''