├── .github └── workflows │ └── publish_pysros_to_pypi.yml ├── .gitignore ├── LICENSE.md ├── README.md ├── docs ├── Makefile ├── make.bat ├── requirements.txt └── source │ ├── _static │ ├── favicon.png │ ├── fonts │ │ ├── NokiaPureHeadline_Rg.ttf │ │ └── NokiaPureText_Rg.ttf │ └── nokia-logo-blue-2023.png │ ├── _templates │ └── layout.html │ ├── argparse.rst │ ├── conf.py │ ├── ehs.rst │ ├── esm.cryptolib.rst │ ├── esm.rst │ ├── examples.rst │ ├── features.rst │ ├── features │ ├── 22.02.rst │ ├── 22.05.rst │ ├── 22.07.rst │ ├── 22.10.rst │ ├── 23.03.rst │ ├── 23.07.rst │ ├── 23.10.rst │ ├── 24.03.rst │ ├── 24.07.rst │ ├── 24.10.rst │ ├── 25.03.rst │ ├── 25.07.rst │ └── 25.10.rst │ ├── getpass.rst │ ├── glossary.rst │ ├── index.rst │ ├── introduction.rst │ ├── modules.rst │ ├── pysros.rst │ ├── syslog.rst │ ├── uio.rst │ ├── uos.path.rst │ ├── uos.rst │ └── utime.rst ├── examples ├── README.md ├── annotations_example.py ├── convert_example.py ├── example.yang ├── filesystem_example.py ├── get_all_router_and_vprn.py ├── get_all_vprn_interfaces.py ├── get_all_vprn_routes_with_nexthop_ipv4_address.py ├── get_inventory_remotely.py ├── get_list_keys_usage.py ├── intended_datastore_get.py ├── local_language_output.py ├── make_connection.py ├── make_connection_extended.py ├── make_connection_extended_with_argv.py ├── reset_card.py ├── set_list.py ├── set_user_example.py ├── show_command_aliases.py ├── show_log_event_summary.py ├── show_port_counters.py ├── show_route_table_communities.py ├── show_route_table_nexthop.py ├── show_router_bgp_asn.py ├── show_sdp_with_description.py ├── show_statistics_interval.py ├── show_system_commit.py ├── show_system_summary.py ├── sleep.py ├── to_pysros.py ├── user_input_example.py └── who.py ├── pysros ├── __init__.py ├── errors.py ├── exceptions.py ├── identifier.py ├── management.py ├── model.py ├── model_builder.py ├── model_defines.py ├── model_path.py ├── model_walker.py ├── path_utils.py ├── pprint.py ├── request_data.py ├── singleton.py ├── tokenizer.py ├── wrappers.py └── yang_type.py ├── requirements.txt └── setup.py /.github/workflows/publish_pysros_to_pypi.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/.github/workflows/publish_pysros_to_pypi.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/README.md -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/requirements.txt -------------------------------------------------------------------------------- /docs/source/_static/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/_static/favicon.png -------------------------------------------------------------------------------- /docs/source/_static/fonts/NokiaPureHeadline_Rg.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/_static/fonts/NokiaPureHeadline_Rg.ttf -------------------------------------------------------------------------------- /docs/source/_static/fonts/NokiaPureText_Rg.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/_static/fonts/NokiaPureText_Rg.ttf -------------------------------------------------------------------------------- /docs/source/_static/nokia-logo-blue-2023.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/_static/nokia-logo-blue-2023.png -------------------------------------------------------------------------------- /docs/source/_templates/layout.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/_templates/layout.html -------------------------------------------------------------------------------- /docs/source/argparse.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/argparse.rst -------------------------------------------------------------------------------- /docs/source/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/conf.py -------------------------------------------------------------------------------- /docs/source/ehs.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/ehs.rst -------------------------------------------------------------------------------- /docs/source/esm.cryptolib.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/esm.cryptolib.rst -------------------------------------------------------------------------------- /docs/source/esm.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/esm.rst -------------------------------------------------------------------------------- /docs/source/examples.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/examples.rst -------------------------------------------------------------------------------- /docs/source/features.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/features.rst -------------------------------------------------------------------------------- /docs/source/features/22.02.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/features/22.02.rst -------------------------------------------------------------------------------- /docs/source/features/22.05.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/features/22.05.rst -------------------------------------------------------------------------------- /docs/source/features/22.07.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/features/22.07.rst -------------------------------------------------------------------------------- /docs/source/features/22.10.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/features/22.10.rst -------------------------------------------------------------------------------- /docs/source/features/23.03.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/features/23.03.rst -------------------------------------------------------------------------------- /docs/source/features/23.07.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/features/23.07.rst -------------------------------------------------------------------------------- /docs/source/features/23.10.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/features/23.10.rst -------------------------------------------------------------------------------- /docs/source/features/24.03.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/features/24.03.rst -------------------------------------------------------------------------------- /docs/source/features/24.07.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/features/24.07.rst -------------------------------------------------------------------------------- /docs/source/features/24.10.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/features/24.10.rst -------------------------------------------------------------------------------- /docs/source/features/25.03.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/features/25.03.rst -------------------------------------------------------------------------------- /docs/source/features/25.07.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/features/25.07.rst -------------------------------------------------------------------------------- /docs/source/features/25.10.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/features/25.10.rst -------------------------------------------------------------------------------- /docs/source/getpass.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/getpass.rst -------------------------------------------------------------------------------- /docs/source/glossary.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/glossary.rst -------------------------------------------------------------------------------- /docs/source/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/index.rst -------------------------------------------------------------------------------- /docs/source/introduction.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/introduction.rst -------------------------------------------------------------------------------- /docs/source/modules.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/modules.rst -------------------------------------------------------------------------------- /docs/source/pysros.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/pysros.rst -------------------------------------------------------------------------------- /docs/source/syslog.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/syslog.rst -------------------------------------------------------------------------------- /docs/source/uio.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/uio.rst -------------------------------------------------------------------------------- /docs/source/uos.path.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/uos.path.rst -------------------------------------------------------------------------------- /docs/source/uos.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/uos.rst -------------------------------------------------------------------------------- /docs/source/utime.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/docs/source/utime.rst -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/annotations_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/annotations_example.py -------------------------------------------------------------------------------- /examples/convert_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/convert_example.py -------------------------------------------------------------------------------- /examples/example.yang: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/example.yang -------------------------------------------------------------------------------- /examples/filesystem_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/filesystem_example.py -------------------------------------------------------------------------------- /examples/get_all_router_and_vprn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/get_all_router_and_vprn.py -------------------------------------------------------------------------------- /examples/get_all_vprn_interfaces.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/get_all_vprn_interfaces.py -------------------------------------------------------------------------------- /examples/get_all_vprn_routes_with_nexthop_ipv4_address.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/get_all_vprn_routes_with_nexthop_ipv4_address.py -------------------------------------------------------------------------------- /examples/get_inventory_remotely.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/get_inventory_remotely.py -------------------------------------------------------------------------------- /examples/get_list_keys_usage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/get_list_keys_usage.py -------------------------------------------------------------------------------- /examples/intended_datastore_get.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/intended_datastore_get.py -------------------------------------------------------------------------------- /examples/local_language_output.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/local_language_output.py -------------------------------------------------------------------------------- /examples/make_connection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/make_connection.py -------------------------------------------------------------------------------- /examples/make_connection_extended.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/make_connection_extended.py -------------------------------------------------------------------------------- /examples/make_connection_extended_with_argv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/make_connection_extended_with_argv.py -------------------------------------------------------------------------------- /examples/reset_card.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/reset_card.py -------------------------------------------------------------------------------- /examples/set_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/set_list.py -------------------------------------------------------------------------------- /examples/set_user_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/set_user_example.py -------------------------------------------------------------------------------- /examples/show_command_aliases.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/show_command_aliases.py -------------------------------------------------------------------------------- /examples/show_log_event_summary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/show_log_event_summary.py -------------------------------------------------------------------------------- /examples/show_port_counters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/show_port_counters.py -------------------------------------------------------------------------------- /examples/show_route_table_communities.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/show_route_table_communities.py -------------------------------------------------------------------------------- /examples/show_route_table_nexthop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/show_route_table_nexthop.py -------------------------------------------------------------------------------- /examples/show_router_bgp_asn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/show_router_bgp_asn.py -------------------------------------------------------------------------------- /examples/show_sdp_with_description.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/show_sdp_with_description.py -------------------------------------------------------------------------------- /examples/show_statistics_interval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/show_statistics_interval.py -------------------------------------------------------------------------------- /examples/show_system_commit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/show_system_commit.py -------------------------------------------------------------------------------- /examples/show_system_summary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/show_system_summary.py -------------------------------------------------------------------------------- /examples/sleep.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/sleep.py -------------------------------------------------------------------------------- /examples/to_pysros.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/to_pysros.py -------------------------------------------------------------------------------- /examples/user_input_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/user_input_example.py -------------------------------------------------------------------------------- /examples/who.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/examples/who.py -------------------------------------------------------------------------------- /pysros/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/pysros/__init__.py -------------------------------------------------------------------------------- /pysros/errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/pysros/errors.py -------------------------------------------------------------------------------- /pysros/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/pysros/exceptions.py -------------------------------------------------------------------------------- /pysros/identifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/pysros/identifier.py -------------------------------------------------------------------------------- /pysros/management.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/pysros/management.py -------------------------------------------------------------------------------- /pysros/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/pysros/model.py -------------------------------------------------------------------------------- /pysros/model_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/pysros/model_builder.py -------------------------------------------------------------------------------- /pysros/model_defines.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/pysros/model_defines.py -------------------------------------------------------------------------------- /pysros/model_path.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/pysros/model_path.py -------------------------------------------------------------------------------- /pysros/model_walker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/pysros/model_walker.py -------------------------------------------------------------------------------- /pysros/path_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/pysros/path_utils.py -------------------------------------------------------------------------------- /pysros/pprint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/pysros/pprint.py -------------------------------------------------------------------------------- /pysros/request_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/pysros/request_data.py -------------------------------------------------------------------------------- /pysros/singleton.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/pysros/singleton.py -------------------------------------------------------------------------------- /pysros/tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/pysros/tokenizer.py -------------------------------------------------------------------------------- /pysros/wrappers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/pysros/wrappers.py -------------------------------------------------------------------------------- /pysros/yang_type.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/pysros/yang_type.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | ncclient~=0.6.12 2 | lxml~=5.3.0 3 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nokia/pysros/HEAD/setup.py --------------------------------------------------------------------------------