├── .github ├── CODEOWNERS.md ├── CONTRIBUTING.md ├── FUNDING.yml ├── ISSUE_TEMPLATE ├── PULL_REQUEST_TEMPLATE.md ├── stale.yml └── workflows │ ├── ci.yml │ └── release.yml ├── .gitignore ├── AUTHORS ├── CONTRIBUTING ├── MANIFEST.in ├── README.md ├── napalm_ros ├── __init__.py ├── query.py ├── ros.py └── utils.py ├── poetry.lock ├── pyproject.toml └── tests ├── unit ├── TestROSDriver.py ├── conftest.py ├── mocked_data │ ├── test_get_arp_table │ │ └── normal │ │ │ ├── _ip_arp_print.json │ │ │ └── expected_result.json │ ├── test_get_arp_table_with_vrf │ │ └── normal │ │ │ ├── _ip_arp_print.json │ │ │ ├── _ip_route_vrf_print.json │ │ │ └── expected_result.json │ ├── test_get_bgp_neighbors │ │ └── ipv4-only │ │ │ ├── _routing_bgp_advertisements_print.json │ │ │ ├── _routing_bgp_instance_print.json │ │ │ ├── _routing_bgp_peer_print.json │ │ │ └── expected_result.json │ ├── test_get_bgp_neighbors_detail │ │ └── normal │ │ │ ├── _routing_bgp_advertisements_print.json │ │ │ ├── _routing_bgp_instance_print.json │ │ │ ├── _routing_bgp_peer_print.json │ │ │ └── expected_result.json │ ├── test_get_config │ │ ├── v6 │ │ │ ├── _system_package_update_print.json │ │ │ ├── expected_result.json │ │ │ ├── ssh_exec_export_terse_stderr │ │ │ └── ssh_exec_export_terse_stdout │ │ └── v7 │ │ │ ├── _system_package_update_print.json │ │ │ ├── expected_result.json │ │ │ ├── ssh_exec_export_terse_show_sensitive_stderr │ │ │ └── ssh_exec_export_terse_show_sensitive_stdout │ ├── test_get_config_filtered │ │ ├── v6 │ │ │ ├── _system_package_update_print.json │ │ │ ├── expected_result.json │ │ │ ├── ssh_exec_export_terse_stderr │ │ │ └── ssh_exec_export_terse_stdout │ │ └── v7 │ │ │ ├── _system_package_update_print.json │ │ │ ├── expected_result.json │ │ │ ├── ssh_exec_export_terse_show_sensitive_stderr │ │ │ └── ssh_exec_export_terse_show_sensitive_stdout │ ├── test_get_config_sanitized │ │ ├── v6 │ │ │ ├── _system_package_update_print.json │ │ │ ├── expected_result.json │ │ │ ├── ssh_exec_export_terse_hide_sensitive_stderr │ │ │ └── ssh_exec_export_terse_hide_sensitive_stdout │ │ └── v7 │ │ │ ├── _system_package_update_print.json │ │ │ ├── expected_result.json │ │ │ ├── ssh_exec_export_terse_show_sensitive_stderr │ │ │ ├── ssh_exec_export_terse_show_sensitive_stdout │ │ │ ├── ssh_exec_export_terse_stderr │ │ │ └── ssh_exec_export_terse_stdout │ ├── test_get_environment │ │ ├── CCR2004-16G-2S+ │ │ │ ├── _system_health_print.json │ │ │ ├── _system_resource_cpu_print.json │ │ │ ├── _system_resource_print.json │ │ │ └── expected_result.json │ │ └── empty │ │ │ ├── _system_health_print.json │ │ │ ├── _system_resource_cpu_print.json │ │ │ ├── _system_resource_print.json │ │ │ └── expected_result.json │ ├── test_get_facts │ │ └── pc │ │ │ ├── _interface_print.json │ │ │ ├── _system_identity_print.json │ │ │ ├── _system_resource_print.json │ │ │ ├── _system_routerboard_print.json │ │ │ └── expected_result.json │ ├── test_get_interfaces │ │ ├── last-link-up-time │ │ │ ├── _interface_print.json │ │ │ └── expected_result.json │ │ └── normal │ │ │ ├── _interface_print.json │ │ │ └── expected_result.json │ ├── test_get_interfaces_counters │ │ ├── normal │ │ │ ├── _interface_print.json │ │ │ └── expected_result.json │ │ └── running_false │ │ │ ├── _interface_print.json │ │ │ └── expected_result.json │ ├── test_get_interfaces_ip │ │ ├── both │ │ │ ├── _ip_address_print.json │ │ │ ├── _ipv6_address_print.json │ │ │ └── expected_result.json │ │ └── ipv4 │ │ │ ├── _ip_address_print.json │ │ │ ├── _ipv6_address_print.json │ │ │ └── expected_result.json │ ├── test_get_ipv6_neighbors_table │ │ └── normal │ │ │ ├── _ipv6_neighbor_print.json │ │ │ └── expected_result.json │ ├── test_get_lldp_neighbors │ │ ├── missing_interface-name │ │ │ ├── _ip_neighbor_print.json │ │ │ └── expected_result.json │ │ ├── no_parent │ │ │ ├── _ip_neighbor_print.json │ │ │ └── expected_result.json │ │ └── with_parent │ │ │ ├── _ip_neighbor_print.json │ │ │ └── expected_result.json │ ├── test_get_lldp_neighbors_detail │ │ ├── no_parent │ │ │ ├── _ip_neighbor_print.json │ │ │ └── expected_result.json │ │ └── with_parent │ │ │ ├── _ip_neighbor_print.json │ │ │ └── expected_result.json │ ├── test_get_mac_address_table │ │ └── static_and_dynamic │ │ │ ├── _interface_bridge_host_print.json │ │ │ ├── _interface_ethernet_switch_unicast_fdb_print.json │ │ │ └── expected_result.json │ ├── test_get_network_instances │ │ └── single │ │ │ ├── _ip_route_vrf_print.json │ │ │ └── expected_result.json │ ├── test_get_ntp_servers │ │ ├── ip_and_fqdn │ │ │ ├── _system_ntp_client_print.json │ │ │ └── expected_result.json │ │ ├── ip_only │ │ │ ├── _system_ntp_client_print.json │ │ │ └── expected_result.json │ │ └── multiple_dns │ │ │ ├── _system_ntp_client_print.json │ │ │ └── expected_result.json │ ├── test_get_snmp_information │ │ └── normal │ │ │ ├── _snmp_community_print.json │ │ │ ├── _snmp_print.json │ │ │ └── expected_result.json │ ├── test_get_users │ │ └── no_keys │ │ │ ├── _user_print.json │ │ │ └── expected_result.json │ ├── test_get_vlans │ │ └── multi │ │ │ ├── _interface_bridge_vlan_print.json │ │ │ └── expected_result.json │ ├── test_is_alive │ │ └── normal │ │ │ └── expected_result.json │ └── test_ping │ │ ├── 7.x │ │ ├── _ping.json │ │ └── expected_result.json │ │ └── localhost │ │ ├── _ping.json │ │ └── expected_result.json └── test_getters.py └── utils └── test_utils.py /.github/CODEOWNERS.md: -------------------------------------------------------------------------------- 1 | * @luqasz 2 | -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/.github/CONTRIBUTING.md -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/.github/ISSUE_TEMPLATE -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/.github/stale.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/.gitignore -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/AUTHORS -------------------------------------------------------------------------------- /CONTRIBUTING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/CONTRIBUTING -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include requirements.txt 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/README.md -------------------------------------------------------------------------------- /napalm_ros/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/napalm_ros/__init__.py -------------------------------------------------------------------------------- /napalm_ros/query.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/napalm_ros/query.py -------------------------------------------------------------------------------- /napalm_ros/ros.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/napalm_ros/ros.py -------------------------------------------------------------------------------- /napalm_ros/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/napalm_ros/utils.py -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/pyproject.toml -------------------------------------------------------------------------------- /tests/unit/TestROSDriver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/TestROSDriver.py -------------------------------------------------------------------------------- /tests/unit/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/conftest.py -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_arp_table/normal/_ip_arp_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_arp_table/normal/_ip_arp_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_arp_table/normal/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_arp_table/normal/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_arp_table_with_vrf/normal/_ip_arp_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_arp_table_with_vrf/normal/_ip_arp_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_arp_table_with_vrf/normal/_ip_route_vrf_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_arp_table_with_vrf/normal/_ip_route_vrf_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_arp_table_with_vrf/normal/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_arp_table_with_vrf/normal/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_bgp_neighbors/ipv4-only/_routing_bgp_advertisements_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_bgp_neighbors/ipv4-only/_routing_bgp_advertisements_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_bgp_neighbors/ipv4-only/_routing_bgp_instance_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_bgp_neighbors/ipv4-only/_routing_bgp_instance_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_bgp_neighbors/ipv4-only/_routing_bgp_peer_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_bgp_neighbors/ipv4-only/_routing_bgp_peer_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_bgp_neighbors/ipv4-only/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_bgp_neighbors/ipv4-only/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_bgp_neighbors_detail/normal/_routing_bgp_advertisements_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_bgp_neighbors_detail/normal/_routing_bgp_advertisements_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_bgp_neighbors_detail/normal/_routing_bgp_instance_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_bgp_neighbors_detail/normal/_routing_bgp_instance_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_bgp_neighbors_detail/normal/_routing_bgp_peer_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_bgp_neighbors_detail/normal/_routing_bgp_peer_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_bgp_neighbors_detail/normal/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_bgp_neighbors_detail/normal/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_config/v6/_system_package_update_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_config/v6/_system_package_update_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_config/v6/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_config/v6/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_config/v6/ssh_exec_export_terse_stderr: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_config/v6/ssh_exec_export_terse_stdout: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_config/v6/ssh_exec_export_terse_stdout -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_config/v7/_system_package_update_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_config/v7/_system_package_update_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_config/v7/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_config/v7/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_config/v7/ssh_exec_export_terse_show_sensitive_stderr: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_config/v7/ssh_exec_export_terse_show_sensitive_stdout: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_config/v7/ssh_exec_export_terse_show_sensitive_stdout -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_config_filtered/v6/_system_package_update_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_config_filtered/v6/_system_package_update_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_config_filtered/v6/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_config_filtered/v6/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_config_filtered/v6/ssh_exec_export_terse_stderr: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_config_filtered/v6/ssh_exec_export_terse_stdout: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_config_filtered/v6/ssh_exec_export_terse_stdout -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_config_filtered/v7/_system_package_update_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_config_filtered/v7/_system_package_update_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_config_filtered/v7/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_config_filtered/v7/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_config_filtered/v7/ssh_exec_export_terse_show_sensitive_stderr: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_config_filtered/v7/ssh_exec_export_terse_show_sensitive_stdout: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_config_filtered/v7/ssh_exec_export_terse_show_sensitive_stdout -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_config_sanitized/v6/_system_package_update_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_config_sanitized/v6/_system_package_update_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_config_sanitized/v6/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_config_sanitized/v6/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_config_sanitized/v6/ssh_exec_export_terse_hide_sensitive_stderr: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_config_sanitized/v6/ssh_exec_export_terse_hide_sensitive_stdout: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_config_sanitized/v6/ssh_exec_export_terse_hide_sensitive_stdout -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_config_sanitized/v7/_system_package_update_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_config_sanitized/v7/_system_package_update_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_config_sanitized/v7/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_config_sanitized/v7/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_config_sanitized/v7/ssh_exec_export_terse_show_sensitive_stderr: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_config_sanitized/v7/ssh_exec_export_terse_show_sensitive_stdout: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_config_sanitized/v7/ssh_exec_export_terse_show_sensitive_stdout -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_config_sanitized/v7/ssh_exec_export_terse_stderr: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_config_sanitized/v7/ssh_exec_export_terse_stdout: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_config_sanitized/v7/ssh_exec_export_terse_stdout -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_environment/CCR2004-16G-2S+/_system_health_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_environment/CCR2004-16G-2S+/_system_health_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_environment/CCR2004-16G-2S+/_system_resource_cpu_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_environment/CCR2004-16G-2S+/_system_resource_cpu_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_environment/CCR2004-16G-2S+/_system_resource_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_environment/CCR2004-16G-2S+/_system_resource_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_environment/CCR2004-16G-2S+/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_environment/CCR2004-16G-2S+/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_environment/empty/_system_health_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_environment/empty/_system_health_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_environment/empty/_system_resource_cpu_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_environment/empty/_system_resource_cpu_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_environment/empty/_system_resource_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_environment/empty/_system_resource_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_environment/empty/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_environment/empty/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_facts/pc/_interface_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_facts/pc/_interface_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_facts/pc/_system_identity_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_facts/pc/_system_identity_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_facts/pc/_system_resource_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_facts/pc/_system_resource_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_facts/pc/_system_routerboard_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_facts/pc/_system_routerboard_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_facts/pc/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_facts/pc/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_interfaces/last-link-up-time/_interface_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_interfaces/last-link-up-time/_interface_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_interfaces/last-link-up-time/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_interfaces/last-link-up-time/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_interfaces/normal/_interface_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_interfaces/normal/_interface_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_interfaces/normal/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_interfaces/normal/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_interfaces_counters/normal/_interface_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_interfaces_counters/normal/_interface_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_interfaces_counters/normal/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_interfaces_counters/normal/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_interfaces_counters/running_false/_interface_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_interfaces_counters/running_false/_interface_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_interfaces_counters/running_false/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_interfaces_counters/running_false/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_interfaces_ip/both/_ip_address_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_interfaces_ip/both/_ip_address_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_interfaces_ip/both/_ipv6_address_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_interfaces_ip/both/_ipv6_address_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_interfaces_ip/both/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_interfaces_ip/both/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_interfaces_ip/ipv4/_ip_address_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_interfaces_ip/ipv4/_ip_address_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_interfaces_ip/ipv4/_ipv6_address_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_interfaces_ip/ipv4/_ipv6_address_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_interfaces_ip/ipv4/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_interfaces_ip/ipv4/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_ipv6_neighbors_table/normal/_ipv6_neighbor_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_ipv6_neighbors_table/normal/_ipv6_neighbor_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_ipv6_neighbors_table/normal/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_ipv6_neighbors_table/normal/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_lldp_neighbors/missing_interface-name/_ip_neighbor_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_lldp_neighbors/missing_interface-name/_ip_neighbor_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_lldp_neighbors/missing_interface-name/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_lldp_neighbors/missing_interface-name/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_lldp_neighbors/no_parent/_ip_neighbor_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_lldp_neighbors/no_parent/_ip_neighbor_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_lldp_neighbors/no_parent/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_lldp_neighbors/no_parent/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_lldp_neighbors/with_parent/_ip_neighbor_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_lldp_neighbors/with_parent/_ip_neighbor_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_lldp_neighbors/with_parent/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_lldp_neighbors/with_parent/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_lldp_neighbors_detail/no_parent/_ip_neighbor_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_lldp_neighbors_detail/no_parent/_ip_neighbor_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_lldp_neighbors_detail/no_parent/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_lldp_neighbors_detail/no_parent/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_lldp_neighbors_detail/with_parent/_ip_neighbor_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_lldp_neighbors_detail/with_parent/_ip_neighbor_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_lldp_neighbors_detail/with_parent/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_lldp_neighbors_detail/with_parent/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_mac_address_table/static_and_dynamic/_interface_bridge_host_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_mac_address_table/static_and_dynamic/_interface_bridge_host_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_mac_address_table/static_and_dynamic/_interface_ethernet_switch_unicast_fdb_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_mac_address_table/static_and_dynamic/_interface_ethernet_switch_unicast_fdb_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_mac_address_table/static_and_dynamic/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_mac_address_table/static_and_dynamic/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_network_instances/single/_ip_route_vrf_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_network_instances/single/_ip_route_vrf_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_network_instances/single/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_network_instances/single/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_ntp_servers/ip_and_fqdn/_system_ntp_client_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_ntp_servers/ip_and_fqdn/_system_ntp_client_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_ntp_servers/ip_and_fqdn/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_ntp_servers/ip_and_fqdn/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_ntp_servers/ip_only/_system_ntp_client_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_ntp_servers/ip_only/_system_ntp_client_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_ntp_servers/ip_only/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_ntp_servers/ip_only/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_ntp_servers/multiple_dns/_system_ntp_client_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_ntp_servers/multiple_dns/_system_ntp_client_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_ntp_servers/multiple_dns/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_ntp_servers/multiple_dns/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_snmp_information/normal/_snmp_community_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_snmp_information/normal/_snmp_community_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_snmp_information/normal/_snmp_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_snmp_information/normal/_snmp_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_snmp_information/normal/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_snmp_information/normal/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_users/no_keys/_user_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_users/no_keys/_user_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_users/no_keys/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_users/no_keys/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_vlans/multi/_interface_bridge_vlan_print.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_vlans/multi/_interface_bridge_vlan_print.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_get_vlans/multi/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_get_vlans/multi/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_is_alive/normal/expected_result.json: -------------------------------------------------------------------------------- 1 | {"is_alive": true} 2 | -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_ping/7.x/_ping.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_ping/7.x/_ping.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_ping/7.x/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_ping/7.x/expected_result.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_ping/localhost/_ping.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_ping/localhost/_ping.json -------------------------------------------------------------------------------- /tests/unit/mocked_data/test_ping/localhost/expected_result.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/mocked_data/test_ping/localhost/expected_result.json -------------------------------------------------------------------------------- /tests/unit/test_getters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/unit/test_getters.py -------------------------------------------------------------------------------- /tests/utils/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napalm-automation-community/napalm-ros/HEAD/tests/utils/test_utils.py --------------------------------------------------------------------------------