catalystwan 0.41.2__tar.gz → 0.41.2.dev0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- catalystwan-0.41.2.dev0/PKG-INFO +633 -0
- catalystwan-0.41.2.dev0/README.md +603 -0
- catalystwan-0.41.2.dev0/catalystwan/__init__.py +83 -0
- catalystwan-0.41.2.dev0/catalystwan/api/administration.py +434 -0
- catalystwan-0.41.2.dev0/catalystwan/api/api_container.py +73 -0
- catalystwan-0.41.2.dev0/catalystwan/api/builders/__init__.py +14 -0
- catalystwan-0.41.2.dev0/catalystwan/api/builders/feature_profiles/application_priority.py +58 -0
- catalystwan-0.41.2.dev0/catalystwan/api/builders/feature_profiles/builder_factory.py +59 -0
- catalystwan-0.41.2.dev0/catalystwan/api/builders/feature_profiles/cli.py +76 -0
- catalystwan-0.41.2.dev0/catalystwan/api/builders/feature_profiles/mixins.py +44 -0
- catalystwan-0.41.2.dev0/catalystwan/api/builders/feature_profiles/other.py +79 -0
- catalystwan-0.41.2.dev0/catalystwan/api/builders/feature_profiles/report.py +155 -0
- catalystwan-0.41.2.dev0/catalystwan/api/builders/feature_profiles/service.py +248 -0
- catalystwan-0.41.2.dev0/catalystwan/api/builders/feature_profiles/system.py +80 -0
- catalystwan-0.41.2.dev0/catalystwan/api/builders/feature_profiles/transport.py +256 -0
- catalystwan-0.41.2.dev0/catalystwan/api/builders/feature_profiles/uc_voice.py +287 -0
- catalystwan-0.41.2.dev0/catalystwan/api/config_group_api.py +150 -0
- catalystwan-0.41.2.dev0/catalystwan/api/configuration_groups/parcel.py +209 -0
- catalystwan-0.41.2.dev0/catalystwan/api/feature_profile_api.py +2260 -0
- catalystwan-0.41.2.dev0/catalystwan/api/policy_api.py +1170 -0
- catalystwan-0.41.2.dev0/catalystwan/api/template_api.py +769 -0
- catalystwan-0.41.2.dev0/catalystwan/api/templates/README.md +101 -0
- catalystwan-0.41.2.dev0/catalystwan/api/templates/cli_template.py +236 -0
- catalystwan-0.41.2.dev0/catalystwan/api/templates/device_template/device_template.py +189 -0
- catalystwan-0.41.2.dev0/catalystwan/api/templates/feature_template.py +133 -0
- catalystwan-0.41.2.dev0/catalystwan/api/templates/models/aaa_model.py +387 -0
- catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cisco_aaa_model.py +331 -0
- catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cisco_banner_model.py +27 -0
- catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cisco_bfd_model.py +61 -0
- catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cisco_bgp_model.py +510 -0
- catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cisco_logging_model.py +122 -0
- catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cisco_ntp_model.py +60 -0
- catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cisco_omp_model.py +121 -0
- catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cisco_ospf.py +241 -0
- catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cisco_ospfv3.py +498 -0
- catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cisco_secure_internet_gateway.py +385 -0
- catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cisco_snmp_model.py +102 -0
- catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cisco_system.py +318 -0
- catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cisco_vpn_interface_model.py +822 -0
- catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cisco_vpn_model.py +603 -0
- catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cli_template.py +18 -0
- catalystwan-0.41.2.dev0/catalystwan/api/templates/models/omp_vsmart_model.py +73 -0
- catalystwan-0.41.2.dev0/catalystwan/api/templates/models/security_vsmart_model.py +28 -0
- catalystwan-0.41.2.dev0/catalystwan/api/templates/models/supported.py +42 -0
- catalystwan-0.41.2.dev0/catalystwan/api/templates/models/system_vsmart_model.py +182 -0
- catalystwan-0.41.2.dev0/catalystwan/api/templates/models/vpn_vsmart_interface_model.py +198 -0
- catalystwan-0.41.2.dev0/catalystwan/api/templates/models/vpn_vsmart_model.py +124 -0
- catalystwan-0.41.2.dev0/catalystwan/apigw_auth.py +177 -0
- catalystwan-0.41.2.dev0/catalystwan/dataclasses.py +493 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/__init__.py +605 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/certificate_management_device.py +141 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/cluster_management.py +130 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/feature_profile/sdwan/application_priority.py +107 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/feature_profile/sdwan/cli.py +60 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/feature_profile/sdwan/dns_security.py +83 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/feature_profile/sdwan/embedded_security.py +88 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/feature_profile/sdwan/other.py +62 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/feature_profile/sdwan/policy_object.py +105 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/feature_profile/sdwan/service.py +154 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/feature_profile/sdwan/sig_security.py +88 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/feature_profile/sdwan/system.py +205 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/feature_profile/sdwan/topology.py +93 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/feature_profile/sdwan/transport.py +231 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/feature_profile/sdwan/uc_voice.py +77 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/network_hierarchy.py +32 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/abstractions.py +49 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/access_control_list.py +57 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/access_control_list_ipv6.py +57 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/aip.py +52 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/amp.py +52 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/app_route.py +50 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/cflowd.py +46 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/control.py +57 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/device_access.py +57 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/device_access_ipv6.py +59 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/dial_peer.py +57 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/dns_security.py +50 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/fxo_port.py +57 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/fxs_did_port.py +57 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/fxs_port.py +57 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/hub_and_spoke.py +57 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/intrusion_prevention.py +52 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/mesh.py +53 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/pri_isdn_port.py +57 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/qos_map.py +53 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/rewrite.py +57 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/route_policy.py +50 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/rule_set.py +53 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/security_group.py +57 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/srst_phone_profile.py +59 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/ssl_decryption.py +50 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/ssl_decryption_utd_profile.py +52 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/traffic_data.py +58 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/url_filtering.py +50 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/vpn_membership.py +57 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/vpn_qos_map.py +50 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/zone_based_firewall.py +57 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/app.py +48 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/app_probe.py +52 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/as_path.py +48 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/class_map.py +48 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/color.py +48 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/community.py +48 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/data_ipv6_prefix.py +52 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/data_prefix.py +48 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/expanded_community.py +52 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/extended_community.py +52 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/fax_protocol.py +48 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/fqdn.py +48 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/geo_location.py +48 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/identity.py +48 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/ips_signature.py +52 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/ipv6_prefix.py +48 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/local_app.py +48 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/local_domain.py +48 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/media_profile.py +52 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/mirror.py +48 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/modem_pass_through.py +52 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/policer.py +48 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/port.py +48 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/preferred_color_group.py +52 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/prefix.py +49 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/protocol_name.py +52 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/region.py +47 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/scalable_group_tag.py +52 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/site.py +52 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/sla.py +48 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/supervisory_disconnect.py +52 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/threat_grid_api_key.py +52 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/tloc.py +48 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/translation_profile.py +52 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/translation_rules.py +52 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/trunkgroup.py +48 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/umbrella_data.py +52 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/url_allow_list.py +48 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/url_block_list.py +48 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/vpn.py +50 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/zone.py +48 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/security_template.py +55 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/voice_template.py +39 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy_group.py +30 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/software_actions.py +201 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/topology_group.py +51 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration_dashboard_status.py +127 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration_device_template.py +39 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration_feature_profile.py +135 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration_general_template.py +31 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration_group.py +197 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration_settings.py +753 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration_template_master.py +48 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/endpoints_container.py +279 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/real_time_monitoring/reboot_history.py +35 -0
- catalystwan-0.41.2.dev0/catalystwan/endpoints/tenant_migration.py +102 -0
- catalystwan-0.41.2.dev0/catalystwan/exceptions.py +218 -0
- catalystwan-0.41.2.dev0/catalystwan/integration_tests/base.py +81 -0
- catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/policy/base.py +33 -0
- catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/policy/test_extended_community.py +33 -0
- catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/policy/test_security_app_list.py +32 -0
- catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/test_application_priority.py +433 -0
- catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/test_cli.py +54 -0
- catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/test_dns_security.py +106 -0
- catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/test_other.py +49 -0
- catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/test_service.py +1078 -0
- catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/test_sig_security.py +322 -0
- catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/test_ssl_decryption.py +85 -0
- catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/test_system.py +368 -0
- catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/test_tracker.py +127 -0
- catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/test_transport.py +1698 -0
- catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/topology/test_topology.py +93 -0
- catalystwan-0.41.2.dev0/catalystwan/integration_tests/profile_builder/test_pb_service.py +197 -0
- catalystwan-0.41.2.dev0/catalystwan/integration_tests/profile_builder/test_pb_transport.py +226 -0
- catalystwan-0.41.2.dev0/catalystwan/integration_tests/profile_builder/test_pb_uc_voice.py +277 -0
- catalystwan-0.41.2.dev0/catalystwan/integration_tests/test_data/__init__.py +117 -0
- catalystwan-0.41.2.dev0/catalystwan/integration_tests/test_find_template_values.py +38 -0
- catalystwan-0.41.2.dev0/catalystwan/integration_tests/test_network_hierarchy.py +82 -0
- catalystwan-0.41.2.dev0/catalystwan/integration_tests/test_settings.py +30 -0
- catalystwan-0.41.2.dev0/catalystwan/models/common.py +2014 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/common.py +11 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/common.py +800 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/parcel.py +238 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/acl/__init__.py +13 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/acl/ipv4acl.py +298 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/acl/ipv6acl.py +344 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/application_priority/__init__.py +218 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/application_priority/cloud_probe.py +61 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/application_priority/policy_settings.py +31 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/application_priority/qos_policy.py +102 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/application_priority/traffic_policy.py +1057 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/cli/__init__.py +23 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/cli/config.py +18 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/cli/full_config.py +15 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/dns_security/__init__.py +13 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/dns_security/dns.py +110 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/embedded_security/__init__.py +23 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/embedded_security/ngfirewall.py +493 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/embedded_security/policy.py +171 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/other/__init__.py +25 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/other/cybervision.py +44 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/other/thousandeyes.py +147 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/other/ucse.py +110 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/__init__.py +171 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/app_probe.py +56 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/application_list.py +31 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/as_path.py +22 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/color_list.py +21 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/data_prefix.py +35 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/expanded_community_list.py +25 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/extended_community.py +34 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/fowarding_class.py +26 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/ipv4_network_object.py +15 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/ipv4_service_object.py +254 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/ipv6_data_prefix.py +28 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/ipv6_prefix_list.py +41 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/mirror.py +27 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/network_object_group.py +15 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/object_group.py +15 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/policer.py +42 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/prefered_group_color.py +83 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/prefix_list.py +41 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/service_object_group.py +21 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/sla_class.py +130 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/standard_community.py +30 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/tloc_list.py +44 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/aip.py +64 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/amp.py +79 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/application_list.py +31 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/data_prefix.py +22 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/fqdn.py +24 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/geolocation_list.py +32 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/identity.py +30 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/intrusion_prevention.py +58 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/ips_signature.py +44 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/local_domain.py +24 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/object_group.py +72 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/protocol_list.py +21 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/rule_set.py +137 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/scalable_group_tag.py +26 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/security_port.py +45 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/ssl_decryption.py +126 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/ssl_decryption_profile.py +165 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/url.py +32 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/url_filtering.py +148 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/zone.py +38 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/routing/__init__.py +26 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/routing/bgp.py +609 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/routing/ospf.py +173 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/routing/ospfv3.py +301 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/__init__.py +91 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/appqoe.py +270 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/dhcp_server.py +127 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/dual_router_ha.py +26 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/eigrp.py +103 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/lan/common.py +33 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/lan/ethernet.py +403 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/lan/gre.py +136 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/lan/ipsec.py +131 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/lan/multilink.py +101 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/lan/svi.py +183 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/lan/vpn.py +627 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/multicast.py +242 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/object_tracker.py +84 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/route_policy.py +419 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/service_chain.py +38 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/service_insertion_attachment.py +184 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/switchport.py +113 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/tracker.py +92 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/wireless_lan.py +216 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/sig_security/__init__.py +19 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/sig_security/sig_security.py +379 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/system/__init__.py +59 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/system/aaa.py +406 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/system/banner.py +30 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/system/basic.py +290 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/system/bfd.py +69 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/system/device_access.py +157 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/system/device_access_ipv6.py +157 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/system/global_parcel.py +163 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/system/logging_parcel.py +162 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/system/mrf.py +75 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/system/ntp.py +103 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/system/omp.py +120 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/system/security.py +179 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/system/snmp.py +173 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/topology/__init__.py +29 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/topology/custom_control.py +425 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/topology/hubspoke.py +60 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/topology/mesh.py +23 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/trackers/__init__.py +36 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/trackers/tracker.py +96 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/trackers/tracker_group.py +63 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/transport/__init__.py +93 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/transport/cellular_controller.py +58 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/transport/cellular_profile.py +71 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/transport/gps.py +37 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/transport/management/ethernet.py +121 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/transport/t1e1controller.py +124 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/transport/vpn.py +285 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/transport/wan/interface/cellular.py +173 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/transport/wan/interface/ethernet.py +389 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/transport/wan/interface/gre.py +46 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/transport/wan/interface/ipsec.py +137 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/transport/wan/interface/multilink.py +219 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/transport/wan/interface/protocol_over.py +405 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/transport/wan/interface/t1e1serial.py +195 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/__init__.py +62 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/analog_interface.py +436 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/call_routing.py +179 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/digital_interface.py +380 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/dsp_farm.py +193 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/media_profile.py +17 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/server_group.py +51 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/srst.py +86 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/supervisory_disconnect.py +69 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/translation_profile.py +42 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/translation_rule.py +31 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/trunk_group.py +26 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/voice_global.py +55 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/voice_tenant.py +40 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/network_hierarchy/__init__.py +22 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/network_hierarchy/cflowd.py +120 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/network_hierarchy/node.py +88 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/policy_group.py +74 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/profile_type.py +5 -0
- catalystwan-0.41.2.dev0/catalystwan/models/configuration/topology_group.py +52 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/__init__.py +400 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/centralized.py +265 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/access_control_list.py +193 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/access_control_list_ipv6.py +187 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/aip.py +60 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/amp.py +65 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/app_route.py +246 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/cflowd.py +95 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/control.py +366 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/device_access.py +117 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/device_access_ipv6.py +115 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/dial_peer.py +60 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/dns_security.py +130 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/fxo_port.py +63 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/fxs_did_port.py +58 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/fxs_port.py +56 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/hub_and_spoke.py +87 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/intrusion_prevention.py +55 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/mesh.py +47 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/pri_isdn_port.py +48 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/qos_map.py +111 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/rewrite.py +47 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/route_policy.py +187 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/rule_set.py +274 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/security_group.py +93 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/srst_phone_profile.py +37 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/ssl_decryption.py +209 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/ssl_decryption_utd_profile.py +87 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/traffic_data.py +496 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/url_filtering.py +70 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/vpn_membership.py +42 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/vpn_qos_map.py +46 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/zone_based_firewall.py +301 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/app.py +44 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/app_probe.py +42 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/as_path.py +30 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/class_map.py +30 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/color.py +28 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/communities.py +83 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/data_ipv6_prefix.py +30 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/data_prefix.py +30 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/fax_protocol.py +45 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/fqdn.py +24 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/geo_location.py +33 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/identity.py +29 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/ips_signature.py +27 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/ipv6_prefix.py +33 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/local_app.py +45 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/local_domain.py +36 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/media_profile.py +44 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/mirror.py +27 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/modem_pass_through.py +27 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/policer.py +39 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/port.py +33 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/preferred_color_group.py +82 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/prefix.py +33 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/protocol_name.py +26 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/region.py +45 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/scalable_group_tag.py +30 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/site.py +34 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/sla.py +77 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/supervisory_disconnect.py +62 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/threat_grid_api_key.py +32 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/tloc.py +32 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/translation_profile.py +32 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/translation_rules.py +29 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/trunkgroup.py +56 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/umbrella_data.py +30 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/url.py +39 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/vpn.py +40 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/list/zone.py +46 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/localized.py +154 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/policy.py +100 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/policy_definition.py +1623 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/policy_list.py +60 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/security.py +289 -0
- catalystwan-0.41.2.dev0/catalystwan/models/policy/voice.py +77 -0
- catalystwan-0.41.2.dev0/catalystwan/models/settings.py +41 -0
- catalystwan-0.41.2.dev0/catalystwan/models/templates.py +79 -0
- catalystwan-0.41.2.dev0/catalystwan/response.py +264 -0
- catalystwan-0.41.2.dev0/catalystwan/session.py +592 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/builders/test_report.py +60 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/builders/uc_voice.py +85 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/models/__init__.py +0 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/models/test_digital_interface.py +56 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/__init__.py +0 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/__init__.py +0 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/aaa_basic.json +96 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/aaa_complex.json +464 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/basic/__init__.py +0 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/cisco_aaa.json +178 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/cisco_aaa_complex.json +361 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/cisco_logging_complex.json +268 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/cisco_ntp_complex.json +143 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/cisco_omp_complex.json +175 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/cisco_ospf_complex.json +302 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/cisco_sig.json +405 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/cisco_snmp_complex.json +258 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/cisco_system_complex.json +502 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/cisco_vpn_basic.json +17 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/cisco_vpn_complex.json +1081 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/cisco_vpn_interface_complex.json +821 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/omp_vsmart_1.json +26 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/omp_vsmart_2.json +48 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/omp_vsmart_3.json +71 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/omp_vsmart_complex.json +73 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/security_vsmart_complex.json +24 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/system_vsmart_complex.json +193 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/vpn_vsmart_basic.json +17 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/vpn_vsmart_complex.json +179 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/vpn_vsmart_interface_basic.json +42 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/vpn_vsmart_interface_complex.json +208 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/__init__.py +53 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/aaa.py +106 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/cisco_aaa.py +124 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/cisco_banner.py +7 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/cisco_bfd.py +15 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/cisco_logging.py +65 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/cisco_ntp.py +17 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/cisco_omp.py +37 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/cisco_ospf.py +60 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/cisco_secure_internet_gateway.py +95 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/cisco_snmp.py +40 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/cisco_system.py +113 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/cisco_vpn.py +240 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/cisco_vpn_interface.py +200 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/omp_vsmart.py +53 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/security_vsmart.py +11 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/system_vsmart.py +37 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/vpn_vsmart.py +32 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/vpn_vsmart_interface.py +54 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/aaa.json +1096 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/cedge_aaa.json +1185 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/cisco_logging.json +577 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/cisco_ntp.json +265 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/cisco_omp.json +479 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/cisco_ospf.json +908 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/cisco_secure_internet_gateway.json +1520 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/cisco_snmp.json +561 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/cisco_system.json +3099 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/cisco_vpn.json +2504 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/cisco_vpn_interface.json +3348 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/omp-vsmart.json +222 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/security-vsmart.json +58 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/system-vsmart.json +2585 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/vpn-vsmart-interface.json +859 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/vpn-vsmart.json +445 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/test_chose_model.py +32 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/test_deserialize_model.py +69 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/test_find_template_values.py +422 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/templates/test_serialize_model.py +52 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/test_cli_template.py +218 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/test_endpoints.py +907 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/test_feature_profile_api.py +282 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/test_models_common.py +53 -0
- catalystwan-0.41.2.dev0/catalystwan/tests/test_templates.py +405 -0
- catalystwan-0.41.2.dev0/catalystwan/utils/__init__.py +0 -0
- catalystwan-0.41.2.dev0/catalystwan/utils/feature_template/find_template_values.py +124 -0
- catalystwan-0.41.2.dev0/catalystwan/utils/model.py +45 -0
- catalystwan-0.41.2.dev0/catalystwan/utils/persona.py +5 -0
- catalystwan-0.41.2.dev0/catalystwan/utils/type_check.py +22 -0
- catalystwan-0.41.2.dev0/catalystwan/workflows/backup_restore_device_templates.py +467 -0
- catalystwan-0.41.2.dev0/catalystwan/workflows/tenant_migration.py +203 -0
- catalystwan-0.41.2.dev0/pyproject.toml +41 -0
- catalystwan-0.41.2/PKG-INFO +0 -614
- catalystwan-0.41.2/README.md +0 -584
- catalystwan-0.41.2/catalystwan/ENDPOINTS.md +0 -611
- catalystwan-0.41.2/catalystwan/__init__.py +0 -82
- catalystwan-0.41.2/catalystwan/api/administration.py +0 -423
- catalystwan-0.41.2/catalystwan/api/api_container.py +0 -70
- catalystwan-0.41.2/catalystwan/api/config_group_api.py +0 -125
- catalystwan-0.41.2/catalystwan/api/configuration_groups/parcel.py +0 -139
- catalystwan-0.41.2/catalystwan/api/configuration_groups/parcels/cellular_controller.py +0 -33
- catalystwan-0.41.2/catalystwan/api/feature_profile_api.py +0 -481
- catalystwan-0.41.2/catalystwan/api/policy_api.py +0 -816
- catalystwan-0.41.2/catalystwan/api/template_api.py +0 -700
- catalystwan-0.41.2/catalystwan/api/templates/README.md +0 -87
- catalystwan-0.41.2/catalystwan/api/templates/cli_template.py +0 -226
- catalystwan-0.41.2/catalystwan/api/templates/device_template/device_template.py +0 -94
- catalystwan-0.41.2/catalystwan/api/templates/device_template/device_template_payload.json.j2 +0 -19
- catalystwan-0.41.2/catalystwan/api/templates/feature_template.py +0 -133
- catalystwan-0.41.2/catalystwan/api/templates/models/cisco_aaa_model.py +0 -84
- catalystwan-0.41.2/catalystwan/api/templates/models/cisco_banner_model.py +0 -18
- catalystwan-0.41.2/catalystwan/api/templates/models/cisco_bfd_model.py +0 -66
- catalystwan-0.41.2/catalystwan/api/templates/models/cisco_bgp_model.py +0 -259
- catalystwan-0.41.2/catalystwan/api/templates/models/cisco_logging_model.py +0 -85
- catalystwan-0.41.2/catalystwan/api/templates/models/cisco_ntp_model.py +0 -41
- catalystwan-0.41.2/catalystwan/api/templates/models/cisco_omp_model.py +0 -111
- catalystwan-0.41.2/catalystwan/api/templates/models/cisco_ospf.py +0 -172
- catalystwan-0.41.2/catalystwan/api/templates/models/cisco_ospfv3.py +0 -376
- catalystwan-0.41.2/catalystwan/api/templates/models/cisco_secure_internet_gateway.py +0 -223
- catalystwan-0.41.2/catalystwan/api/templates/models/cisco_snmp_model.py +0 -88
- catalystwan-0.41.2/catalystwan/api/templates/models/cisco_system.py +0 -209
- catalystwan-0.41.2/catalystwan/api/templates/models/cisco_vpn_interface_model.py +0 -465
- catalystwan-0.41.2/catalystwan/api/templates/models/cisco_vpn_model.py +0 -440
- catalystwan-0.41.2/catalystwan/api/templates/models/cli_template.py +0 -17
- catalystwan-0.41.2/catalystwan/api/templates/models/omp_vsmart_model.py +0 -37
- catalystwan-0.41.2/catalystwan/api/templates/models/security_vsmart_model.py +0 -25
- catalystwan-0.41.2/catalystwan/api/templates/models/supported.py +0 -36
- catalystwan-0.41.2/catalystwan/api/templates/models/system_vsmart_model.py +0 -45
- catalystwan-0.41.2/catalystwan/apigw_auth.py +0 -173
- catalystwan-0.41.2/catalystwan/dataclasses.py +0 -544
- catalystwan-0.41.2/catalystwan/endpoints/__init__.py +0 -605
- catalystwan-0.41.2/catalystwan/endpoints/certificate_management_device.py +0 -137
- catalystwan-0.41.2/catalystwan/endpoints/cluster_management.py +0 -110
- catalystwan-0.41.2/catalystwan/endpoints/configuration/feature_profile/sdwan/policy_object.py +0 -82
- catalystwan-0.41.2/catalystwan/endpoints/configuration/feature_profile/sdwan/system.py +0 -52
- catalystwan-0.41.2/catalystwan/endpoints/configuration/feature_profile/sdwan/transport.py +0 -113
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/definition/access_control_list.py +0 -62
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/definition/access_control_list_ipv6.py +0 -62
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/definition/control.py +0 -62
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/definition/device_access.py +0 -62
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/definition/device_access_ipv6.py +0 -64
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/definition/hub_and_spoke.py +0 -62
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/definition/mesh.py +0 -62
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/definition/qos_map.py +0 -62
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/definition/rewrite.py +0 -62
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/definition/rule_set.py +0 -62
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/definition/security_group.py +0 -62
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/definition/traffic_data.py +0 -63
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/definition/vpn_membership.py +0 -62
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/definition/zone_based_firewall.py +0 -62
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/app.py +0 -61
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/app_probe.py +0 -61
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/as_path.py +0 -61
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/class_map.py +0 -61
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/color.py +0 -61
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/community.py +0 -61
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/data_ipv6_prefix.py +0 -61
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/data_prefix.py +0 -61
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/expanded_community.py +0 -61
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/fqdn.py +0 -61
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/geo_location.py +0 -61
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/ips_signature.py +0 -61
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/ipv6_prefix.py +0 -61
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/local_app.py +0 -61
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/local_domain.py +0 -61
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/mirror.py +0 -61
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/policer.py +0 -61
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/port.py +0 -61
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/preferred_color_group.py +0 -61
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/prefix.py +0 -61
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/protocol_name.py +0 -61
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/region.py +0 -55
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/site.py +0 -65
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/sla.py +0 -61
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/tloc.py +0 -61
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/url_allow_list.py +0 -61
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/url_block_list.py +0 -61
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/vpn.py +0 -63
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/zone.py +0 -61
- catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/security_template.py +0 -56
- catalystwan-0.41.2/catalystwan/endpoints/configuration/software_actions.py +0 -203
- catalystwan-0.41.2/catalystwan/endpoints/configuration_dashboard_status.py +0 -127
- catalystwan-0.41.2/catalystwan/endpoints/configuration_device_template.py +0 -25
- catalystwan-0.41.2/catalystwan/endpoints/configuration_feature_profile.py +0 -138
- catalystwan-0.41.2/catalystwan/endpoints/configuration_group.py +0 -174
- catalystwan-0.41.2/catalystwan/endpoints/configuration_settings.py +0 -664
- catalystwan-0.41.2/catalystwan/endpoints/endpoints_container.py +0 -219
- catalystwan-0.41.2/catalystwan/endpoints/real_time_monitoring/reboot_history.py +0 -37
- catalystwan-0.41.2/catalystwan/endpoints/tenant_migration.py +0 -100
- catalystwan-0.41.2/catalystwan/exceptions.py +0 -201
- catalystwan-0.41.2/catalystwan/integration_tests/test_find_template_values.py +0 -49
- catalystwan-0.41.2/catalystwan/models/common.py +0 -118
- catalystwan-0.41.2/catalystwan/models/configuration/common.py +0 -10
- catalystwan-0.41.2/catalystwan/models/configuration/config_migration.py +0 -36
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/common.py +0 -315
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/management/vpn.py +0 -26
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/__init__.py +0 -157
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/app_probe.py +0 -42
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/application_list.py +0 -29
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/color_list.py +0 -19
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/data_prefix.py +0 -26
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/expanded_community_list.py +0 -23
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/fowarding_class.py +0 -24
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/ipv6_data_prefix.py +0 -26
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/ipv6_prefix_list.py +0 -26
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/policier.py +0 -40
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/prefered_group_color.py +0 -64
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/prefix_list.py +0 -26
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/sla_class.py +0 -149
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/standard_community.py +0 -24
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/tloc_list.py +0 -43
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/application_list.py +0 -29
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/data_prefix.py +0 -20
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/fqdn.py +0 -22
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/geolocation_list.py +0 -30
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/ips_signature.py +0 -42
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/local_domain.py +0 -22
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/protocol_list.py +0 -19
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/security_port.py +0 -35
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/url.py +0 -27
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/zone.py +0 -42
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/acl.py +0 -409
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/appqoe.py +0 -235
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/bgp.py +0 -288
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/dhcp_server.py +0 -84
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/eigrp.py +0 -106
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/lan/common.py +0 -114
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/lan/ethernet.py +0 -327
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/lan/gre.py +0 -206
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/lan/ipsec.py +0 -138
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/lan/svi.py +0 -177
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/lan/vpn.py +0 -636
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/multicast.py +0 -243
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/object_tracker.py +0 -90
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/ospf.py +0 -165
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/ospfv3.py +0 -299
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/route_policy.py +0 -171
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/service_insertion_attachment.py +0 -192
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/switchport.py +0 -121
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/tracker.py +0 -101
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/wireless_lan.py +0 -220
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/system/aaa.py +0 -358
- catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/transport/cellular_controller.py +0 -55
- catalystwan-0.41.2/catalystwan/models/configuration/profile_type.py +0 -10
- catalystwan-0.41.2/catalystwan/models/policy/__init__.py +0 -194
- catalystwan-0.41.2/catalystwan/models/policy/centralized.py +0 -268
- catalystwan-0.41.2/catalystwan/models/policy/definitions/access_control_list.py +0 -163
- catalystwan-0.41.2/catalystwan/models/policy/definitions/access_control_list_ipv6.py +0 -163
- catalystwan-0.41.2/catalystwan/models/policy/definitions/control.py +0 -343
- catalystwan-0.41.2/catalystwan/models/policy/definitions/device_access.py +0 -106
- catalystwan-0.41.2/catalystwan/models/policy/definitions/device_access_ipv6.py +0 -106
- catalystwan-0.41.2/catalystwan/models/policy/definitions/hub_and_spoke.py +0 -73
- catalystwan-0.41.2/catalystwan/models/policy/definitions/mesh.py +0 -35
- catalystwan-0.41.2/catalystwan/models/policy/definitions/qos_map.py +0 -104
- catalystwan-0.41.2/catalystwan/models/policy/definitions/rewrite.py +0 -37
- catalystwan-0.41.2/catalystwan/models/policy/definitions/rule_set.py +0 -256
- catalystwan-0.41.2/catalystwan/models/policy/definitions/security_group.py +0 -69
- catalystwan-0.41.2/catalystwan/models/policy/definitions/traffic_data.py +0 -373
- catalystwan-0.41.2/catalystwan/models/policy/definitions/vpn_membership.py +0 -30
- catalystwan-0.41.2/catalystwan/models/policy/definitions/zone_based_firewall.py +0 -240
- catalystwan-0.41.2/catalystwan/models/policy/lists.py +0 -330
- catalystwan-0.41.2/catalystwan/models/policy/lists_entries.py +0 -444
- catalystwan-0.41.2/catalystwan/models/policy/localized.py +0 -136
- catalystwan-0.41.2/catalystwan/models/policy/policy.py +0 -96
- catalystwan-0.41.2/catalystwan/models/policy/policy_definition.py +0 -1123
- catalystwan-0.41.2/catalystwan/models/policy/policy_list.py +0 -49
- catalystwan-0.41.2/catalystwan/models/policy/security.py +0 -190
- catalystwan-0.41.2/catalystwan/response.py +0 -260
- catalystwan-0.41.2/catalystwan/session.py +0 -592
- catalystwan-0.41.2/catalystwan/tests/templates/definitions/Basic_Cisco_VPN_Model.json +0 -17
- catalystwan-0.41.2/catalystwan/tests/templates/definitions/complex_aaa.json +0 -277
- catalystwan-0.41.2/catalystwan/tests/templates/definitions/complex_cisco_vpn.json +0 -1066
- catalystwan-0.41.2/catalystwan/tests/templates/definitions/iuo.json +0 -149
- catalystwan-0.41.2/catalystwan/tests/templates/definitions/omp_1.json +0 -11
- catalystwan-0.41.2/catalystwan/tests/templates/definitions/omp_2.json +0 -34
- catalystwan-0.41.2/catalystwan/tests/templates/definitions/omp_3.json +0 -57
- catalystwan-0.41.2/catalystwan/tests/templates/models/__init__.py +0 -20
- catalystwan-0.41.2/catalystwan/tests/templates/models/cisco_aaa.py +0 -91
- catalystwan-0.41.2/catalystwan/tests/templates/models/cisco_banner.py +0 -7
- catalystwan-0.41.2/catalystwan/tests/templates/models/cisco_bfd.py +0 -17
- catalystwan-0.41.2/catalystwan/tests/templates/models/cisco_system.py +0 -8
- catalystwan-0.41.2/catalystwan/tests/templates/models/cisco_vpn.py +0 -270
- catalystwan-0.41.2/catalystwan/tests/templates/models/omp_vsmart.py +0 -33
- catalystwan-0.41.2/catalystwan/tests/templates/schemas/cedge_aaa.json +0 -1185
- catalystwan-0.41.2/catalystwan/tests/templates/schemas/cisco_system.json +0 -2857
- catalystwan-0.41.2/catalystwan/tests/templates/schemas/cisco_vpn.json +0 -2452
- catalystwan-0.41.2/catalystwan/tests/templates/schemas/omp-vsmart.json +0 -202
- catalystwan-0.41.2/catalystwan/tests/templates/test_chose_model.py +0 -36
- catalystwan-0.41.2/catalystwan/tests/templates/test_deserialize_model.py +0 -69
- catalystwan-0.41.2/catalystwan/tests/templates/test_serialize_model.py +0 -53
- catalystwan-0.41.2/catalystwan/tests/test_cli_template.py +0 -219
- catalystwan-0.41.2/catalystwan/tests/test_endpoints.py +0 -876
- catalystwan-0.41.2/catalystwan/tests/test_templates.py +0 -408
- catalystwan-0.41.2/catalystwan/utils/feature_template/find_template_values.py +0 -111
- catalystwan-0.41.2/catalystwan/utils/timezone.py +0 -422
- catalystwan-0.41.2/catalystwan/workflows/tenant_migration.py +0 -203
- catalystwan-0.41.2/pyproject.toml +0 -41
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/LICENSE +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/abstractions.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/__init__.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/admin_tech_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/alarms_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/basic_api.py +0 -0
- {catalystwan-0.41.2/catalystwan/integration_tests → catalystwan-0.41.2.dev0/catalystwan/api/builders/feature_profiles}/__init__.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/config_device_inventory_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/dashboard_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/device_action_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/logs_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/monitoring_status_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/mtt_aaa_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/omp_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/packet_capture_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/parcel_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/partition_manager_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/resource_pool_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/software_action_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/speedtest_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/task_status_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/bool_str.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/device_variable.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/feature_template_field.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/feature_template_payload.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/payloads/aaa/aaa_model.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/payloads/aaa/feature/aaa.json.j2 +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/payloads/aaa/feature/accounting.json.j2 +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/payloads/aaa/feature/radius.json.j2 +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/payloads/aaa/feature/tacacs.json.j2 +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/payloads/aaa/feature/user.json.j2 +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/payloads/cisco_vpn/cisco_vpn_model.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/payloads/cisco_vpn/feature/cisco_vpn.json.j2 +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/payloads/cisco_vpn/feature/dns.json.j2 +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/payloads/cisco_vpn/feature/ipv4route.json.j2 +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/payloads/cisco_vpn/feature/ipv6route.json.j2 +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/payloads/cisco_vpn/feature/mapping.json.j2 +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/payloads/tenant/tenant.json.j2 +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/payloads/tenant/tenant_model.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/tenant_backup_restore_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/tenant_management_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/tenant_migration_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/versions_utils.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/virtual_image_action_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/administration_user_and_group.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/api_gateway.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/certificate_management_vmanage.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/client.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/configuration/device/software_update.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/configuration/disaster_recovery.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/configuration/policy/vedge_template.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/configuration/policy/vsmart_template.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/configuration_device_actions.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/configuration_device_inventory.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/misc.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/monitoring/device_details.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/monitoring/security_policy.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/monitoring/server_info.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/monitoring/status.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/sdavc_cloud_connector.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/tenant_backup_restore.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/tenant_management.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/troubleshooting_tools/device_connectivity.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/url_monitoring.py +0 -0
- {catalystwan-0.41.2/catalystwan/tests → catalystwan-0.41.2.dev0/catalystwan/integration_tests}/__init__.py +0 -0
- {catalystwan-0.41.2/catalystwan/tests/templates → catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan}/__init__.py +0 -0
- {catalystwan-0.41.2/catalystwan/tests/templates/definitions → catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/policy}/__init__.py +0 -0
- {catalystwan-0.41.2/catalystwan/tests/templates/definitions/basic → catalystwan-0.41.2.dev0/catalystwan/integration_tests/profile_builder}/__init__.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/logging.conf +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/models/configuration/feature_profile/README.md +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/models/configuration/feature_profile/builder.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/models/device_inventory.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/models/feature_profile_parcel.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/models/misc/application_protocols.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/models/monitoring/security_policy.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/models/monitoring/server_info.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/models/tenant.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/models/url_monitoring.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/request_limiter.py +0 -0
- {catalystwan-0.41.2/catalystwan/utils → catalystwan-0.41.2.dev0/catalystwan/tests}/__init__.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/definitions/basic/alias.json +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/definitions/basic/basic.json +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/definitions/basic/basic_no_value.json +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/definitions/basic/children.json +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/definitions/basic/children_nested.json +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/definitions/basic/children_nested_datapath.json +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/definitions/basic/data_path.json +0 -0
- /catalystwan-0.41.2/catalystwan/tests/templates/definitions/banner_1.json → /catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/cisco_banner.json +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/definitions/cisco_bfd.json +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/definitions/default_cisco_system.json +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/schemas/basic/alias.json +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/schemas/basic/basic.json +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/schemas/basic/children.json +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/schemas/basic/children_nested.json +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/schemas/basic/children_nested_datapath.json +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/schemas/basic/data_path.json +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/schemas/cisco_banner.json +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/schemas/cisco_bfd.json +0 -0
- /catalystwan-0.41.2/catalystwan/tests/templates/test_find_template_values.py → /catalystwan-0.41.2.dev0/catalystwan/tests/templates/test_find_template_values_2.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/test_generate_payload.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_admin_tech_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_administration.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_alarms_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_creation_tools.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_device_action_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_devices_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_feature_template_field.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_logs_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_monitoring_security_policy.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_monitoring_server_info.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_monitoring_status_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_mtt_aaa_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_omp_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_packet_capture.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_partition_manager_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_response.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_session.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_software_action_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_speed_test_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_task_status_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_tenant_backup_restore_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_tenant_management_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_tenant_migration_api.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_typed_list.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_url_monitoring.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_version.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_version_utils.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_vmanage_auth.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/typed_list.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/alarm_status.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/certificate_status.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/colors.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/config_status.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/creation_tools.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/dashboard.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/device_model.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/dict.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/feature_template/choose_model.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/operation_status.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/personality.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/pydantic_field.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/reachability.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/session_type.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/template_type.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/upgrades_helper.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/validate_status.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/version.py +0 -0
- {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/vmanage_auth.py +0 -0
|
@@ -0,0 +1,633 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: catalystwan
|
|
3
|
+
Version: 0.41.2.dev0
|
|
4
|
+
Summary: Cisco Catalyst WAN SDK for Python
|
|
5
|
+
Author: kagorski
|
|
6
|
+
Author-email: kagorski@cisco.com
|
|
7
|
+
Requires-Python: >=3.8.0,<4.0.0
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
15
|
+
Requires-Dist: Jinja2 (>=3.1.2,<4.0.0)
|
|
16
|
+
Requires-Dist: attrs (>=21.4.0)
|
|
17
|
+
Requires-Dist: ciscoconfparse (==1.9.41)
|
|
18
|
+
Requires-Dist: clint (>=0.5.1,<0.6.0)
|
|
19
|
+
Requires-Dist: flake8-quotes (>=3.3.1,<4.0.0)
|
|
20
|
+
Requires-Dist: packaging (>=23.0,<24.0)
|
|
21
|
+
Requires-Dist: pydantic (>=2.7,<3.0)
|
|
22
|
+
Requires-Dist: python-dateutil (>=2.8.2,<3.0.0)
|
|
23
|
+
Requires-Dist: requests (>=2.27.1,<3.0.0)
|
|
24
|
+
Requires-Dist: requests-toolbelt (>=1.0.0,<2.0.0)
|
|
25
|
+
Requires-Dist: tenacity (>=8.1.0,!=8.4.0)
|
|
26
|
+
Requires-Dist: typing-extensions (>=4.6.1,<5.0.0)
|
|
27
|
+
Project-URL: Repository, https://github.com/cisco-en-programmability/catalystwan-sdk
|
|
28
|
+
Description-Content-Type: text/markdown
|
|
29
|
+
|
|
30
|
+
<p align="center">
|
|
31
|
+
<a href="#"><img src="docs/images/catalystwan.svg" alt="Cisco Catalyst WAN SDK Logo" style="height:150px" />
|
|
32
|
+
</p>
|
|
33
|
+
|
|
34
|
+
[](https://www.python.org/)
|
|
35
|
+
|
|
36
|
+
Cisco Catalyst WAN SDK is a package for creating simple and parallel automatic requests via official SD-WAN Manager API. It is intended to serve as a multiple session handler (provider, provider as a tenant, tenant). The library is not dependent on environment which is being run in, you just need a connection to any SD-WAN Manager.
|
|
37
|
+
|
|
38
|
+
## Important Notice: Early Beta Release
|
|
39
|
+
|
|
40
|
+
Welcome to the Cisco Catalyst WAN SDK!
|
|
41
|
+
|
|
42
|
+
We are thrilled to announce that Cisco Catalyst WAN SDK is now available in early beta. This is an exciting step forward in enabling developers to harness the full potential of Cisco's networking solutions. Please be aware that, as an early beta release, this version of the SDK is still undergoing development and testing. As such, it is provided "as is" and support to address any issues are limited and best effort.
|
|
43
|
+
|
|
44
|
+
## Not recommend to use in production environments.
|
|
45
|
+
We encourage developers to explore and test the SDK's capabilities, but please exercise caution when using it in production environments. We are dedicated to improving the Cisco Catalyst WAN SDK and we value your input. Your feedback is crucial to us-it will guide us in refining and enhancing the SDK to better meet your needs.
|
|
46
|
+
To report any issues, share your insights, or suggest improvements, please visit our Issues page on GitHub or reach out to us through the provided communication channels.
|
|
47
|
+
|
|
48
|
+
Thank you for being a part of our development journey!
|
|
49
|
+
|
|
50
|
+
## Installation
|
|
51
|
+
```console
|
|
52
|
+
pip install catalystwan
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Manager Session
|
|
56
|
+
In order to execute SDK APIs **ManagerSession** needs to be created. The fastest way to get started is to use `create_manager_session()` method which configures session, performs authentication for given credentials and returns **ManagerSession** instance in operational state. **ManagerSession** provides a collection of supported APIs in `api` instance variable.
|
|
57
|
+
Please check example below:
|
|
58
|
+
|
|
59
|
+
```python
|
|
60
|
+
from catalystwan.session import create_manager_session
|
|
61
|
+
|
|
62
|
+
url = "example.com"
|
|
63
|
+
username = "admin"
|
|
64
|
+
password = "password123"
|
|
65
|
+
|
|
66
|
+
with create_manager_session(url=url, username=username, password=password) as session:
|
|
67
|
+
devices = session.api.devices.get()
|
|
68
|
+
print(devices)
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
**ManagerSession** extends [requests.Session](https://requests.readthedocs.io/en/latest/user/advanced/#session-objects) so all functionality from [requests](https://requests.readthedocs.io/en/latest/) library is avaiable to user, it also implements python [contextmanager](https://docs.python.org/3.8/library/contextlib.html#contextlib.contextmanager) and automatically frees server resources on exit.
|
|
72
|
+
|
|
73
|
+
<details>
|
|
74
|
+
<summary> <b>Configure Manager Session before using</b> <i>(click to expand)</i></summary>
|
|
75
|
+
|
|
76
|
+
It is possible to configure **ManagerSession** prior sending any request.
|
|
77
|
+
|
|
78
|
+
```python
|
|
79
|
+
from catalystwan.session import ManagerSession
|
|
80
|
+
from catalystwan.vmanage_auth import vManageAuth
|
|
81
|
+
|
|
82
|
+
url = "example.com"
|
|
83
|
+
username = "admin"
|
|
84
|
+
password = "password123"
|
|
85
|
+
|
|
86
|
+
# configure session using constructor - nothing will be sent to target server yet
|
|
87
|
+
auth = vManageAuth(username, password)
|
|
88
|
+
session = ManagerSession(url=url, auth=auth)
|
|
89
|
+
# login and send requests
|
|
90
|
+
session.login()
|
|
91
|
+
session.get("/dataservice/device")
|
|
92
|
+
session.close()
|
|
93
|
+
```
|
|
94
|
+
When interacting with the SDWAN Manager API without using a context manager, it's important
|
|
95
|
+
to manually execute the `close()` method to release the user session resource.
|
|
96
|
+
Ensure that the `close()` method is called after you have finished using the session to maintain optimal resource management and avoid potential errors.
|
|
97
|
+
|
|
98
|
+
</details>
|
|
99
|
+
|
|
100
|
+
<details>
|
|
101
|
+
<summary> <b>Login as Tenant</b> <i>(click to expand)</i></summary>
|
|
102
|
+
|
|
103
|
+
Tenant domain needs to be provided in url together with Tenant credentials.
|
|
104
|
+
|
|
105
|
+
```python
|
|
106
|
+
from catalystwan.session import create_manager_session
|
|
107
|
+
|
|
108
|
+
url = "tenant.example.com"
|
|
109
|
+
username = "tenant_user"
|
|
110
|
+
password = "password123"
|
|
111
|
+
|
|
112
|
+
with create_manager_session(url=url, username=username, password=password) as session:
|
|
113
|
+
print(session.session_type)
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
</details>
|
|
117
|
+
|
|
118
|
+
<details>
|
|
119
|
+
<summary> <b>Login as Provider-as-Tenant</b> <i>(click to expand)</i></summary>
|
|
120
|
+
|
|
121
|
+
Tenant `subdomain` needs to be provided as additional argument together with Provider credentials.
|
|
122
|
+
|
|
123
|
+
```python
|
|
124
|
+
from catalystwan.session import create_manager_session
|
|
125
|
+
|
|
126
|
+
url = "example.com"
|
|
127
|
+
username = "provider"
|
|
128
|
+
password = "password123"
|
|
129
|
+
subdomain = "tenant.example.com"
|
|
130
|
+
|
|
131
|
+
with create_manager_session(url=url, username=username, password=password, subdomain=subdomain) as session:
|
|
132
|
+
print(session.session_type)
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
</details>
|
|
136
|
+
|
|
137
|
+
<details>
|
|
138
|
+
<summary> <b>Login using Api Gateway</b> <i>(click to expand)</i></summary>
|
|
139
|
+
|
|
140
|
+
```python
|
|
141
|
+
from catalystwan.session import create_apigw_session
|
|
142
|
+
|
|
143
|
+
with create_apigw_session(
|
|
144
|
+
url="example.com",
|
|
145
|
+
client_id="client_id",
|
|
146
|
+
client_secret="client_secret",
|
|
147
|
+
org_name="Org-Name",
|
|
148
|
+
username="user",
|
|
149
|
+
mode="user",
|
|
150
|
+
token_duration=10,
|
|
151
|
+
) as session:
|
|
152
|
+
devices = session.api.devices.get()
|
|
153
|
+
print(devices)
|
|
154
|
+
```
|
|
155
|
+
</details>
|
|
156
|
+
|
|
157
|
+
<details>
|
|
158
|
+
<summary> <b>Threading</b> <i>(click to expand)</i></summary>
|
|
159
|
+
|
|
160
|
+
```python
|
|
161
|
+
from threading import Thread
|
|
162
|
+
from catalystwan.session import ManagerSession
|
|
163
|
+
from catalystwan.vmanage_auth import vManageAuth
|
|
164
|
+
from copy import copy
|
|
165
|
+
|
|
166
|
+
def print_devices(manager: ManagerSession):
|
|
167
|
+
# using context manager (recommended)
|
|
168
|
+
with manager.login() as session:
|
|
169
|
+
print(session.api.devices.get())
|
|
170
|
+
|
|
171
|
+
if __name__ =="__main__":
|
|
172
|
+
|
|
173
|
+
# 1. Create shared authentication handler for user session
|
|
174
|
+
auth = vManageAuth(username="username", password="password")
|
|
175
|
+
# 2. Configure session with base url and attach authentication handler
|
|
176
|
+
manager = ManagerSession(base_url="https://url:port", auth=auth)
|
|
177
|
+
|
|
178
|
+
# 3. Make sure each thread gets own copy of ManagerSession object
|
|
179
|
+
t1 = Thread(target=print_devices, args=(manager,))
|
|
180
|
+
t2 = Thread(target=print_devices, args=(copy(manager),))
|
|
181
|
+
t3 = Thread(target=print_devices, args=(copy(manager),))
|
|
182
|
+
|
|
183
|
+
t1.start()
|
|
184
|
+
t2.start()
|
|
185
|
+
t3.start()
|
|
186
|
+
|
|
187
|
+
t1.join()
|
|
188
|
+
t2.join()
|
|
189
|
+
t3.join()
|
|
190
|
+
|
|
191
|
+
print("Done!")
|
|
192
|
+
```
|
|
193
|
+
Threading can be achieved by using a shared auth object with sessions in each thread. As `ManagerSession` is not guaranteed to be thread-safe, it is recommended to create one session per thread. `ManagerSession` also comes in with a default `RequestLimiter`, which limits the number of concurrent requests to 50. It keeps `ManagerSession` from overloading the server and avoids HTTP 503 and HTTP 429 errors.
|
|
194
|
+
If you wish to modify the limit, you can pass a modified `RequestLimiter` to `ManagerSession`:
|
|
195
|
+
```python
|
|
196
|
+
from catalystwan.session import ManagerSession
|
|
197
|
+
from catalystwan.vmanage_auth import vManageAuth
|
|
198
|
+
from catalystwan.request_limiter import RequestLimiter
|
|
199
|
+
|
|
200
|
+
auth = vManageAuth(username="username", password="password")
|
|
201
|
+
limiter = RequestLimiter(max_requests=30)
|
|
202
|
+
manager = ManagerSession(base_url="https://url:port", auth=auth, request_limiter=limiter)
|
|
203
|
+
```
|
|
204
|
+
</details>
|
|
205
|
+
|
|
206
|
+
## API usage examples
|
|
207
|
+
All examples below assumes `session` variable contains logged-in [Manager Session](#Manager-Session) instance.
|
|
208
|
+
|
|
209
|
+
<details>
|
|
210
|
+
<summary> <b>Get devices</b> <i>(click to expand)</i></summary>
|
|
211
|
+
|
|
212
|
+
```python
|
|
213
|
+
devices = session.api.devices.get()
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
</details>
|
|
217
|
+
|
|
218
|
+
<details>
|
|
219
|
+
<summary> <b>Admin Tech</b> <i>(click to expand)</i></summary>
|
|
220
|
+
|
|
221
|
+
```Python
|
|
222
|
+
admin_tech_file = session.api.admin_tech.generate("172.16.255.11")
|
|
223
|
+
session.api.admin_tech.download(admin_tech_file)
|
|
224
|
+
session.api.admin_tech.delete(admin_tech_file)
|
|
225
|
+
```
|
|
226
|
+
</details>
|
|
227
|
+
|
|
228
|
+
<details>
|
|
229
|
+
<summary> <b>Speed test</b> <i>(click to expand)</i></summary>
|
|
230
|
+
|
|
231
|
+
```python
|
|
232
|
+
devices = session.api.devices.get()
|
|
233
|
+
speedtest = session.api.speedtest.speedtest(devices[0], devices[1])
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
</details>
|
|
237
|
+
|
|
238
|
+
<details>
|
|
239
|
+
<summary> <b>Upgrade device</b> <i>(click to expand)</i></summary>
|
|
240
|
+
|
|
241
|
+
```python
|
|
242
|
+
# Prepare devices list
|
|
243
|
+
controllers = session.endpoints.configuration_device_inventory.get_device_details('controllers')
|
|
244
|
+
vsmarts = controllers.filter(personality=Personality.VSMART)
|
|
245
|
+
image = "viptela-20.7.2-x86_64.tar.gz"
|
|
246
|
+
|
|
247
|
+
# Upload image
|
|
248
|
+
session.api.repository.upload_image(image)
|
|
249
|
+
|
|
250
|
+
# Install software
|
|
251
|
+
|
|
252
|
+
install_task = session.api.software.install(devices=vsmarts, image=image)
|
|
253
|
+
|
|
254
|
+
# Check action status
|
|
255
|
+
install_task.wait_for_completed()
|
|
256
|
+
```
|
|
257
|
+
|
|
258
|
+
</details>
|
|
259
|
+
|
|
260
|
+
<details>
|
|
261
|
+
<summary> <b>Get alarms</b> <i>(click to expand)</i></summary>
|
|
262
|
+
To get all alarms:
|
|
263
|
+
|
|
264
|
+
```python
|
|
265
|
+
alarms = session.api.alarms.get()
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
To get all not viewed alarms:
|
|
269
|
+
|
|
270
|
+
```python
|
|
271
|
+
not_viewed_alarms = session.api.alarms.get().filter(viewed=False)
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
To get all alarms from past `n` hours:
|
|
275
|
+
|
|
276
|
+
```python
|
|
277
|
+
n = 24
|
|
278
|
+
alarms_from_n_hours = session.api.alarms.get(from_time=n)
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
To get all critical alarms from past `n` hours:
|
|
282
|
+
|
|
283
|
+
```python
|
|
284
|
+
from catalystwan.utils.alarm_status import Severity
|
|
285
|
+
n = 48
|
|
286
|
+
critical_alarms = session.api.alarms.get(from_time=n).filter(severity=Severity.CRITICAL)
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
</details>
|
|
290
|
+
|
|
291
|
+
<details>
|
|
292
|
+
<summary> <b>Users</b> <i>(click to expand)</i></summary>
|
|
293
|
+
|
|
294
|
+
```python
|
|
295
|
+
# Get all users
|
|
296
|
+
session.api.users.get()
|
|
297
|
+
|
|
298
|
+
# Create user
|
|
299
|
+
from catalystwan.endpoints.administration_user_and_group import User
|
|
300
|
+
new_user = User(username="new_user", password="new_user", group=["netadmin"], description="new user")
|
|
301
|
+
session.api.users.create(new_user)
|
|
302
|
+
|
|
303
|
+
# Update user data
|
|
304
|
+
new_user_update = UserUpdateRequest(username="new_user", group=["netadmin", "netops"], locale="en_US", description="updated-new_user-description")
|
|
305
|
+
session.api.users.update(new_user_update)
|
|
306
|
+
|
|
307
|
+
# Update user password
|
|
308
|
+
session.api.users.update_password("new_user", "n3W-P4s$w0rd")
|
|
309
|
+
|
|
310
|
+
# Reset user
|
|
311
|
+
session.api.users.reset("new_user")
|
|
312
|
+
|
|
313
|
+
# Delete user
|
|
314
|
+
session.api.users.delete("new_user")
|
|
315
|
+
|
|
316
|
+
# Get current user authentication type and role
|
|
317
|
+
session.api.users.get_auth_type()
|
|
318
|
+
session.api.users.get_role()
|
|
319
|
+
```
|
|
320
|
+
|
|
321
|
+
</details>
|
|
322
|
+
|
|
323
|
+
<details>
|
|
324
|
+
<summary> <b>User Groups</b> <i>(click to expand)</i></summary>
|
|
325
|
+
|
|
326
|
+
```python
|
|
327
|
+
# Get all user groups
|
|
328
|
+
session.api.user_groups.get()
|
|
329
|
+
|
|
330
|
+
# Create user group
|
|
331
|
+
group = UserGroup("new_user_group", [])
|
|
332
|
+
group.enable_read({"Audit Log", "Alarms"})
|
|
333
|
+
group.enable_read_and_write({"Device Inventory"})
|
|
334
|
+
session.api.user_groups.create(group)
|
|
335
|
+
|
|
336
|
+
# Update user group
|
|
337
|
+
group.disable({"Alarms"})
|
|
338
|
+
session.api.user_groups.update(group)
|
|
339
|
+
|
|
340
|
+
# Delete user group
|
|
341
|
+
session.api.user_groups.delete(group.group_name)
|
|
342
|
+
```
|
|
343
|
+
|
|
344
|
+
</details>
|
|
345
|
+
|
|
346
|
+
</details>
|
|
347
|
+
|
|
348
|
+
<details>
|
|
349
|
+
<summary> <b>Sessions</b> <i>(click to expand)</i></summary>
|
|
350
|
+
|
|
351
|
+
```python
|
|
352
|
+
# Get all active sessions
|
|
353
|
+
active_sessions = session.api.sessions.get()
|
|
354
|
+
|
|
355
|
+
# Invalidate sessions for given user
|
|
356
|
+
new_user_sessions = active_sessions.filter(raw_username="new_user")
|
|
357
|
+
session.api.sessions.invalidate(new_user_sessions)
|
|
358
|
+
```
|
|
359
|
+
|
|
360
|
+
</details>
|
|
361
|
+
|
|
362
|
+
<details>
|
|
363
|
+
<summary> <b>Resource Groups</b> <i>(click to expand)</i></summary>
|
|
364
|
+
|
|
365
|
+
```python
|
|
366
|
+
# get resource groups
|
|
367
|
+
session.api.resource_groups.get()
|
|
368
|
+
|
|
369
|
+
# create resource group
|
|
370
|
+
new_resource_group = ResourceGroup(
|
|
371
|
+
name="new_resource_group",
|
|
372
|
+
desc="Custom Resource Group #1",
|
|
373
|
+
siteIds=[]
|
|
374
|
+
)
|
|
375
|
+
session.api.resource_groups.create(new_resource_group)
|
|
376
|
+
|
|
377
|
+
# update resource group
|
|
378
|
+
resource_group = session.api.resource_groups.get().filter(name="new_resource_group").single_or_default()
|
|
379
|
+
updated_resource_group = ResourceGroupUpdateRequest(
|
|
380
|
+
id=resource_group.id,
|
|
381
|
+
name=resource_group.name,
|
|
382
|
+
desc="Custom Resource Group #1 with updated description and site ids",
|
|
383
|
+
siteIds=[200]
|
|
384
|
+
)
|
|
385
|
+
|
|
386
|
+
# switch to resource group view
|
|
387
|
+
session.api.resource_groups.switch("new_resource_group")
|
|
388
|
+
|
|
389
|
+
# delete resource group
|
|
390
|
+
session.api.resource_groups.delete(resource_group.id)
|
|
391
|
+
```
|
|
392
|
+
|
|
393
|
+
</details>
|
|
394
|
+
|
|
395
|
+
<details>
|
|
396
|
+
<summary> <b>Tenant management</b> <i>(click to expand)</i></summary>
|
|
397
|
+
|
|
398
|
+
```python
|
|
399
|
+
api = session.api.tenant_management
|
|
400
|
+
# create tenants
|
|
401
|
+
tenants = [
|
|
402
|
+
Tenant(
|
|
403
|
+
name="tenant1",
|
|
404
|
+
org_name="CiscoDevNet",
|
|
405
|
+
subdomain="alpha.bravo.net",
|
|
406
|
+
desc="This is tenant for unit tests",
|
|
407
|
+
edge_connector_enable=True,
|
|
408
|
+
edge_connector_system_ip="172.16.255.81",
|
|
409
|
+
edge_connector_tunnel_interface_name="GigabitEthernet1",
|
|
410
|
+
wan_edge_forecast=1,
|
|
411
|
+
)
|
|
412
|
+
]
|
|
413
|
+
create_task = api.create(tenants)
|
|
414
|
+
create_task.wait_for_completed()
|
|
415
|
+
# list all tenants
|
|
416
|
+
tenants_data = api.get()
|
|
417
|
+
# pick tenant from list by name
|
|
418
|
+
tenant = tenants_data.filter(name="tenant1").single_or_default()
|
|
419
|
+
# get selected tenant id
|
|
420
|
+
tenant_id = tenant.tenant_id
|
|
421
|
+
# get vsession id of selected tenant
|
|
422
|
+
vsessionid = api.vsession_id(tenant_id)
|
|
423
|
+
# delete tenant by ids
|
|
424
|
+
delete_task = api.delete([tenant_id], password="Pr0v1d3Rp4$s")
|
|
425
|
+
delete_task.wait_for_completed()
|
|
426
|
+
# others
|
|
427
|
+
api.get_hosting_capacity_on_vsmarts()
|
|
428
|
+
api.get_statuses()
|
|
429
|
+
api.get_vsmart_mapping()
|
|
430
|
+
```
|
|
431
|
+
</details>
|
|
432
|
+
|
|
433
|
+
<details>
|
|
434
|
+
<summary> <b>Tenant migration</b> <i>(click to expand)</i></summary>
|
|
435
|
+
|
|
436
|
+
```python
|
|
437
|
+
from pathlib import Path
|
|
438
|
+
from catalystwan.session import create_manager_session
|
|
439
|
+
from catalystwan.models.tenant import TenantExport
|
|
440
|
+
from catalystwan.workflows.tenant_migration import migration_workflow
|
|
441
|
+
|
|
442
|
+
tenant = TenantExport(
|
|
443
|
+
name="mango",
|
|
444
|
+
desc="Mango tenant description",
|
|
445
|
+
org_name="Provider Org-Mango Inc",
|
|
446
|
+
subdomain="mango.fruits.com",
|
|
447
|
+
wan_edge_forecast=100,
|
|
448
|
+
migration_key="MangoTenantMigrationKey", # only for SDWAN Manager >= 20.13
|
|
449
|
+
is_destination_overlay_mt=True, # only for SDWAN Manager >= 20.13
|
|
450
|
+
)
|
|
451
|
+
|
|
452
|
+
with create_manager_session(url="10.0.1.15", username="st-admin", password="") as origin_session, \
|
|
453
|
+
create_manager_session(url="10.9.0.16", username="mt-provider-admin", password="") as target_session:
|
|
454
|
+
migration_workflow(
|
|
455
|
+
origin_session=origin_session,
|
|
456
|
+
target_session=target_session,
|
|
457
|
+
workdir=Path("workdir"),
|
|
458
|
+
tenant=tenant,
|
|
459
|
+
validator="10.9.12.26"
|
|
460
|
+
)
|
|
461
|
+
```
|
|
462
|
+
|
|
463
|
+
`migration_workflow` performs multi-step migration procedure according to [Migrate Single-Tenant Cisco SD-WAN Overlay to Multitenant Cisco SD-WAN Deployment](https://www.cisco.com/c/en/us/td/docs/routers/sdwan/configuration/system-interface/vedge-20-x/systems-interfaces-book/sdwan-multitenancy.html#concept_sjj_jmm_z4b)
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
Since 20.13 also MT to ST is supported (just provide suitable origin/target sessions, and `is_destination_overlay_mt` parameter)
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
Each step of the `migration_workflow` procedure can be executed independently using api methods: `export_tenant`, `download`, `import_tenant`, `store_token`, `migrate_network`
|
|
470
|
+
|
|
471
|
+
```python
|
|
472
|
+
origin_api = origin_session.api.tenant_migration_api
|
|
473
|
+
target_api = target_session.api.tenant_migration_api
|
|
474
|
+
tenant_file = Path("~/tenant.tar.gz")
|
|
475
|
+
token_file = Path("~/tenant-token.txt")
|
|
476
|
+
# export
|
|
477
|
+
export_task = origin_api.export_tenant(tenant=tenant)
|
|
478
|
+
remote_filename = export_task.wait_for_file()
|
|
479
|
+
# download
|
|
480
|
+
origin_api.download(export_path, remote_filename)
|
|
481
|
+
# import
|
|
482
|
+
import_task = target_api.import_tenant(export_path, tenant.migration_key)
|
|
483
|
+
import_task.wait_for_completed()
|
|
484
|
+
# get token
|
|
485
|
+
migration_id = import_task.import_info.migration_token_query_params.migration_id
|
|
486
|
+
target_api.store_token(migration_id, token_path)
|
|
487
|
+
# migrate network
|
|
488
|
+
migrate_task = origin_api.migrate_network(token_path)
|
|
489
|
+
migrate_task.wait_for_completed()
|
|
490
|
+
```
|
|
491
|
+
</details>
|
|
492
|
+
|
|
493
|
+
<details>
|
|
494
|
+
<summary> <b>Feature Templates</b> <i>(click to expand)</i></summary>
|
|
495
|
+
|
|
496
|
+
```python
|
|
497
|
+
from catalystwan.api.templates.models.omp_vsmart_model import OMPvSmart
|
|
498
|
+
|
|
499
|
+
omp_vsmart = OMPvSmart(
|
|
500
|
+
name="my_first_template",
|
|
501
|
+
description="NA",
|
|
502
|
+
device_models=["vsmart"]
|
|
503
|
+
|
|
504
|
+
)
|
|
505
|
+
|
|
506
|
+
session.api.templates.create(omp_vsmart)
|
|
507
|
+
```
|
|
508
|
+
|
|
509
|
+
More details about how to use and how to add new: [Feature Templates README.md](https://github.com/cisco-open/cisco-catalyst-wan-sdk/blob/main/catalystwan/api/templates/README.md)
|
|
510
|
+
</details>
|
|
511
|
+
|
|
512
|
+
<details>
|
|
513
|
+
<summary> <b>Export Templates to CSV</b> <i>(click to expand)</i></summary>
|
|
514
|
+
|
|
515
|
+
```python
|
|
516
|
+
import os
|
|
517
|
+
import json
|
|
518
|
+
import logging
|
|
519
|
+
import csv
|
|
520
|
+
from typing import List
|
|
521
|
+
from catalystwan.api.template_api import TemplatesAPI
|
|
522
|
+
from catalystwan.session import create_manager_session
|
|
523
|
+
from catalystwan.api.templates.device_template.device_template import DeviceTemplate
|
|
524
|
+
|
|
525
|
+
# Configure logging
|
|
526
|
+
logging.basicConfig(level=logging.INFO, format="%(asctime)s - %(levelname)s - %(message)s")
|
|
527
|
+
|
|
528
|
+
# Define vManage connection details
|
|
529
|
+
url = "localhost"
|
|
530
|
+
username = "username"
|
|
531
|
+
password = "password"
|
|
532
|
+
port = 443
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
def save_csv_template(response: dict, template_name: str) -> None:
|
|
536
|
+
"""Save the response data to a CSV file."""
|
|
537
|
+
try:
|
|
538
|
+
columns = [col["property"] for col in response.get("header", {}).get("columns", [])]
|
|
539
|
+
data = response.get("data", [])
|
|
540
|
+
if not columns or not data:
|
|
541
|
+
logging.warning(f"No data found for template '{template_name}'. Skipping CSV creation.")
|
|
542
|
+
|
|
543
|
+
csv_file = f"{template_name}.csv"
|
|
544
|
+
with open(csv_file, mode="w", newline="") as file:
|
|
545
|
+
writer = csv.DictWriter(file, fieldnames=columns)
|
|
546
|
+
writer.writeheader()
|
|
547
|
+
for row in data:
|
|
548
|
+
writer.writerow(row)
|
|
549
|
+
logging.info(f"CSV file '{csv_file}' has been created.")
|
|
550
|
+
except Exception as e:
|
|
551
|
+
logging.error(f"Failed to save CSV for template '{template_name}': {e}")
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
def get_non_default_device_templates(session) -> List[DeviceTemplate]:
|
|
555
|
+
"""Retrieve all non-default device templates."""
|
|
556
|
+
try:
|
|
557
|
+
device_templates = session.api.templates.get(DeviceTemplate).filter(factory_default=False)
|
|
558
|
+
logging.info(f"Retrieved {len(device_templates)} non-default device templates.")
|
|
559
|
+
return device_templates
|
|
560
|
+
except Exception as e:
|
|
561
|
+
logging.error(f"Failed to retrieve device templates: {e}")
|
|
562
|
+
return []
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
def get_device_ids_attached(session, template: DeviceTemplate) -> bool:
|
|
566
|
+
"""Retrieve device IDs attached to a template and save the configuration as a CSV."""
|
|
567
|
+
try:
|
|
568
|
+
# Fetch attached devices
|
|
569
|
+
response = session.get(f"dataservice/template/device/config/attached/{template.id}").json()
|
|
570
|
+
device_ids = [device["uuid"] for device in response.get("data", []) if device.get("uuid")]
|
|
571
|
+
# Prepare payload
|
|
572
|
+
payload = {
|
|
573
|
+
"deviceIds": device_ids,
|
|
574
|
+
"templateId": template.id,
|
|
575
|
+
"isEdited": False,
|
|
576
|
+
"isMasterEdited": False,
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
# Send POST request
|
|
580
|
+
response = session.post("dataservice/template/device/config/input/", json=payload)
|
|
581
|
+
response.raise_for_status() # Raise an exception for HTTP errors
|
|
582
|
+
|
|
583
|
+
# Save the response as a CSV
|
|
584
|
+
save_csv_template(response.json(), template.name)
|
|
585
|
+
return True
|
|
586
|
+
except Exception as e:
|
|
587
|
+
logging.error(f"Error occurred while processing template '{template.name}': {e}")
|
|
588
|
+
return False
|
|
589
|
+
|
|
590
|
+
|
|
591
|
+
def main():
|
|
592
|
+
"""Main function to retrieve and process device templates."""
|
|
593
|
+
with create_manager_session(url=url, username=username, password=password, port=port) as session:
|
|
594
|
+
device_templates = get_non_default_device_templates(session)
|
|
595
|
+
for template in device_templates:
|
|
596
|
+
get_device_ids_attached(session, template)
|
|
597
|
+
|
|
598
|
+
|
|
599
|
+
if __name__ == "__main__":
|
|
600
|
+
main()
|
|
601
|
+
```
|
|
602
|
+
The script will generate CSV files for each non-default device template in the current directory.
|
|
603
|
+
</details>
|
|
604
|
+
|
|
605
|
+
### Note:
|
|
606
|
+
To remove `InsecureRequestWarning`, you can include in your scripts (warning is suppressed when `catalystwan_devel` environment variable is set):
|
|
607
|
+
```Python
|
|
608
|
+
import urllib3
|
|
609
|
+
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
|
|
610
|
+
```
|
|
611
|
+
|
|
612
|
+
## Catching Exceptions
|
|
613
|
+
```python
|
|
614
|
+
try:
|
|
615
|
+
session.api.users.delete("bogus-user-name")
|
|
616
|
+
except ManagerHTTPError as error:
|
|
617
|
+
# Process an error.
|
|
618
|
+
print(error.response.status_code)
|
|
619
|
+
print(error.info.code)
|
|
620
|
+
print(error.info.message)
|
|
621
|
+
print(error.info.details)
|
|
622
|
+
|
|
623
|
+
```
|
|
624
|
+
|
|
625
|
+
## [Supported API endpoints](https://github.com/cisco-en-programmability/catalystwan-sdk/blob/main/ENDPOINTS.md)
|
|
626
|
+
|
|
627
|
+
|
|
628
|
+
## [Contributing, bug reporting and feature requests](https://github.com/cisco-en-programmability/catalystwan-sdk/blob/main/CONTRIBUTING.md)
|
|
629
|
+
|
|
630
|
+
## Seeking support
|
|
631
|
+
|
|
632
|
+
You can contact us by submitting [issues](https://github.com/cisco-en-programmability/catalystwan-sdk/issues), or directly via mail on catalystwan@cisco.com.
|
|
633
|
+
|