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.
Files changed (841) hide show
  1. catalystwan-0.41.2.dev0/PKG-INFO +633 -0
  2. catalystwan-0.41.2.dev0/README.md +603 -0
  3. catalystwan-0.41.2.dev0/catalystwan/__init__.py +83 -0
  4. catalystwan-0.41.2.dev0/catalystwan/api/administration.py +434 -0
  5. catalystwan-0.41.2.dev0/catalystwan/api/api_container.py +73 -0
  6. catalystwan-0.41.2.dev0/catalystwan/api/builders/__init__.py +14 -0
  7. catalystwan-0.41.2.dev0/catalystwan/api/builders/feature_profiles/application_priority.py +58 -0
  8. catalystwan-0.41.2.dev0/catalystwan/api/builders/feature_profiles/builder_factory.py +59 -0
  9. catalystwan-0.41.2.dev0/catalystwan/api/builders/feature_profiles/cli.py +76 -0
  10. catalystwan-0.41.2.dev0/catalystwan/api/builders/feature_profiles/mixins.py +44 -0
  11. catalystwan-0.41.2.dev0/catalystwan/api/builders/feature_profiles/other.py +79 -0
  12. catalystwan-0.41.2.dev0/catalystwan/api/builders/feature_profiles/report.py +155 -0
  13. catalystwan-0.41.2.dev0/catalystwan/api/builders/feature_profiles/service.py +248 -0
  14. catalystwan-0.41.2.dev0/catalystwan/api/builders/feature_profiles/system.py +80 -0
  15. catalystwan-0.41.2.dev0/catalystwan/api/builders/feature_profiles/transport.py +256 -0
  16. catalystwan-0.41.2.dev0/catalystwan/api/builders/feature_profiles/uc_voice.py +287 -0
  17. catalystwan-0.41.2.dev0/catalystwan/api/config_group_api.py +150 -0
  18. catalystwan-0.41.2.dev0/catalystwan/api/configuration_groups/parcel.py +209 -0
  19. catalystwan-0.41.2.dev0/catalystwan/api/feature_profile_api.py +2260 -0
  20. catalystwan-0.41.2.dev0/catalystwan/api/policy_api.py +1170 -0
  21. catalystwan-0.41.2.dev0/catalystwan/api/template_api.py +769 -0
  22. catalystwan-0.41.2.dev0/catalystwan/api/templates/README.md +101 -0
  23. catalystwan-0.41.2.dev0/catalystwan/api/templates/cli_template.py +236 -0
  24. catalystwan-0.41.2.dev0/catalystwan/api/templates/device_template/device_template.py +189 -0
  25. catalystwan-0.41.2.dev0/catalystwan/api/templates/feature_template.py +133 -0
  26. catalystwan-0.41.2.dev0/catalystwan/api/templates/models/aaa_model.py +387 -0
  27. catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cisco_aaa_model.py +331 -0
  28. catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cisco_banner_model.py +27 -0
  29. catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cisco_bfd_model.py +61 -0
  30. catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cisco_bgp_model.py +510 -0
  31. catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cisco_logging_model.py +122 -0
  32. catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cisco_ntp_model.py +60 -0
  33. catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cisco_omp_model.py +121 -0
  34. catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cisco_ospf.py +241 -0
  35. catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cisco_ospfv3.py +498 -0
  36. catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cisco_secure_internet_gateway.py +385 -0
  37. catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cisco_snmp_model.py +102 -0
  38. catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cisco_system.py +318 -0
  39. catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cisco_vpn_interface_model.py +822 -0
  40. catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cisco_vpn_model.py +603 -0
  41. catalystwan-0.41.2.dev0/catalystwan/api/templates/models/cli_template.py +18 -0
  42. catalystwan-0.41.2.dev0/catalystwan/api/templates/models/omp_vsmart_model.py +73 -0
  43. catalystwan-0.41.2.dev0/catalystwan/api/templates/models/security_vsmart_model.py +28 -0
  44. catalystwan-0.41.2.dev0/catalystwan/api/templates/models/supported.py +42 -0
  45. catalystwan-0.41.2.dev0/catalystwan/api/templates/models/system_vsmart_model.py +182 -0
  46. catalystwan-0.41.2.dev0/catalystwan/api/templates/models/vpn_vsmart_interface_model.py +198 -0
  47. catalystwan-0.41.2.dev0/catalystwan/api/templates/models/vpn_vsmart_model.py +124 -0
  48. catalystwan-0.41.2.dev0/catalystwan/apigw_auth.py +177 -0
  49. catalystwan-0.41.2.dev0/catalystwan/dataclasses.py +493 -0
  50. catalystwan-0.41.2.dev0/catalystwan/endpoints/__init__.py +605 -0
  51. catalystwan-0.41.2.dev0/catalystwan/endpoints/certificate_management_device.py +141 -0
  52. catalystwan-0.41.2.dev0/catalystwan/endpoints/cluster_management.py +130 -0
  53. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/feature_profile/sdwan/application_priority.py +107 -0
  54. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/feature_profile/sdwan/cli.py +60 -0
  55. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/feature_profile/sdwan/dns_security.py +83 -0
  56. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/feature_profile/sdwan/embedded_security.py +88 -0
  57. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/feature_profile/sdwan/other.py +62 -0
  58. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/feature_profile/sdwan/policy_object.py +105 -0
  59. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/feature_profile/sdwan/service.py +154 -0
  60. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/feature_profile/sdwan/sig_security.py +88 -0
  61. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/feature_profile/sdwan/system.py +205 -0
  62. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/feature_profile/sdwan/topology.py +93 -0
  63. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/feature_profile/sdwan/transport.py +231 -0
  64. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/feature_profile/sdwan/uc_voice.py +77 -0
  65. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/network_hierarchy.py +32 -0
  66. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/abstractions.py +49 -0
  67. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/access_control_list.py +57 -0
  68. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/access_control_list_ipv6.py +57 -0
  69. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/aip.py +52 -0
  70. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/amp.py +52 -0
  71. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/app_route.py +50 -0
  72. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/cflowd.py +46 -0
  73. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/control.py +57 -0
  74. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/device_access.py +57 -0
  75. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/device_access_ipv6.py +59 -0
  76. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/dial_peer.py +57 -0
  77. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/dns_security.py +50 -0
  78. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/fxo_port.py +57 -0
  79. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/fxs_did_port.py +57 -0
  80. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/fxs_port.py +57 -0
  81. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/hub_and_spoke.py +57 -0
  82. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/intrusion_prevention.py +52 -0
  83. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/mesh.py +53 -0
  84. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/pri_isdn_port.py +57 -0
  85. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/qos_map.py +53 -0
  86. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/rewrite.py +57 -0
  87. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/route_policy.py +50 -0
  88. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/rule_set.py +53 -0
  89. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/security_group.py +57 -0
  90. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/srst_phone_profile.py +59 -0
  91. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/ssl_decryption.py +50 -0
  92. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/ssl_decryption_utd_profile.py +52 -0
  93. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/traffic_data.py +58 -0
  94. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/url_filtering.py +50 -0
  95. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/vpn_membership.py +57 -0
  96. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/vpn_qos_map.py +50 -0
  97. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/definition/zone_based_firewall.py +57 -0
  98. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/app.py +48 -0
  99. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/app_probe.py +52 -0
  100. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/as_path.py +48 -0
  101. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/class_map.py +48 -0
  102. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/color.py +48 -0
  103. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/community.py +48 -0
  104. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/data_ipv6_prefix.py +52 -0
  105. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/data_prefix.py +48 -0
  106. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/expanded_community.py +52 -0
  107. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/extended_community.py +52 -0
  108. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/fax_protocol.py +48 -0
  109. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/fqdn.py +48 -0
  110. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/geo_location.py +48 -0
  111. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/identity.py +48 -0
  112. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/ips_signature.py +52 -0
  113. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/ipv6_prefix.py +48 -0
  114. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/local_app.py +48 -0
  115. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/local_domain.py +48 -0
  116. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/media_profile.py +52 -0
  117. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/mirror.py +48 -0
  118. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/modem_pass_through.py +52 -0
  119. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/policer.py +48 -0
  120. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/port.py +48 -0
  121. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/preferred_color_group.py +52 -0
  122. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/prefix.py +49 -0
  123. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/protocol_name.py +52 -0
  124. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/region.py +47 -0
  125. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/scalable_group_tag.py +52 -0
  126. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/site.py +52 -0
  127. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/sla.py +48 -0
  128. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/supervisory_disconnect.py +52 -0
  129. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/threat_grid_api_key.py +52 -0
  130. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/tloc.py +48 -0
  131. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/translation_profile.py +52 -0
  132. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/translation_rules.py +52 -0
  133. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/trunkgroup.py +48 -0
  134. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/umbrella_data.py +52 -0
  135. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/url_allow_list.py +48 -0
  136. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/url_block_list.py +48 -0
  137. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/vpn.py +50 -0
  138. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/list/zone.py +48 -0
  139. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/security_template.py +55 -0
  140. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy/voice_template.py +39 -0
  141. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/policy_group.py +30 -0
  142. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/software_actions.py +201 -0
  143. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration/topology_group.py +51 -0
  144. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration_dashboard_status.py +127 -0
  145. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration_device_template.py +39 -0
  146. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration_feature_profile.py +135 -0
  147. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration_general_template.py +31 -0
  148. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration_group.py +197 -0
  149. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration_settings.py +753 -0
  150. catalystwan-0.41.2.dev0/catalystwan/endpoints/configuration_template_master.py +48 -0
  151. catalystwan-0.41.2.dev0/catalystwan/endpoints/endpoints_container.py +279 -0
  152. catalystwan-0.41.2.dev0/catalystwan/endpoints/real_time_monitoring/reboot_history.py +35 -0
  153. catalystwan-0.41.2.dev0/catalystwan/endpoints/tenant_migration.py +102 -0
  154. catalystwan-0.41.2.dev0/catalystwan/exceptions.py +218 -0
  155. catalystwan-0.41.2.dev0/catalystwan/integration_tests/base.py +81 -0
  156. catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/policy/base.py +33 -0
  157. catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/policy/test_extended_community.py +33 -0
  158. catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/policy/test_security_app_list.py +32 -0
  159. catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/test_application_priority.py +433 -0
  160. catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/test_cli.py +54 -0
  161. catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/test_dns_security.py +106 -0
  162. catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/test_other.py +49 -0
  163. catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/test_service.py +1078 -0
  164. catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/test_sig_security.py +322 -0
  165. catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/test_ssl_decryption.py +85 -0
  166. catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/test_system.py +368 -0
  167. catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/test_tracker.py +127 -0
  168. catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/test_transport.py +1698 -0
  169. catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/topology/test_topology.py +93 -0
  170. catalystwan-0.41.2.dev0/catalystwan/integration_tests/profile_builder/test_pb_service.py +197 -0
  171. catalystwan-0.41.2.dev0/catalystwan/integration_tests/profile_builder/test_pb_transport.py +226 -0
  172. catalystwan-0.41.2.dev0/catalystwan/integration_tests/profile_builder/test_pb_uc_voice.py +277 -0
  173. catalystwan-0.41.2.dev0/catalystwan/integration_tests/test_data/__init__.py +117 -0
  174. catalystwan-0.41.2.dev0/catalystwan/integration_tests/test_find_template_values.py +38 -0
  175. catalystwan-0.41.2.dev0/catalystwan/integration_tests/test_network_hierarchy.py +82 -0
  176. catalystwan-0.41.2.dev0/catalystwan/integration_tests/test_settings.py +30 -0
  177. catalystwan-0.41.2.dev0/catalystwan/models/common.py +2014 -0
  178. catalystwan-0.41.2.dev0/catalystwan/models/configuration/common.py +11 -0
  179. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/common.py +800 -0
  180. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/parcel.py +238 -0
  181. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/acl/__init__.py +13 -0
  182. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/acl/ipv4acl.py +298 -0
  183. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/acl/ipv6acl.py +344 -0
  184. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/application_priority/__init__.py +218 -0
  185. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/application_priority/cloud_probe.py +61 -0
  186. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/application_priority/policy_settings.py +31 -0
  187. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/application_priority/qos_policy.py +102 -0
  188. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/application_priority/traffic_policy.py +1057 -0
  189. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/cli/__init__.py +23 -0
  190. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/cli/config.py +18 -0
  191. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/cli/full_config.py +15 -0
  192. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/dns_security/__init__.py +13 -0
  193. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/dns_security/dns.py +110 -0
  194. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/embedded_security/__init__.py +23 -0
  195. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/embedded_security/ngfirewall.py +493 -0
  196. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/embedded_security/policy.py +171 -0
  197. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/other/__init__.py +25 -0
  198. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/other/cybervision.py +44 -0
  199. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/other/thousandeyes.py +147 -0
  200. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/other/ucse.py +110 -0
  201. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/__init__.py +171 -0
  202. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/app_probe.py +56 -0
  203. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/application_list.py +31 -0
  204. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/as_path.py +22 -0
  205. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/color_list.py +21 -0
  206. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/data_prefix.py +35 -0
  207. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/expanded_community_list.py +25 -0
  208. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/extended_community.py +34 -0
  209. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/fowarding_class.py +26 -0
  210. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/ipv4_network_object.py +15 -0
  211. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/ipv4_service_object.py +254 -0
  212. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/ipv6_data_prefix.py +28 -0
  213. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/ipv6_prefix_list.py +41 -0
  214. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/mirror.py +27 -0
  215. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/network_object_group.py +15 -0
  216. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/object_group.py +15 -0
  217. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/policer.py +42 -0
  218. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/prefered_group_color.py +83 -0
  219. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/prefix_list.py +41 -0
  220. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/service_object_group.py +21 -0
  221. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/sla_class.py +130 -0
  222. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/standard_community.py +30 -0
  223. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/tloc_list.py +44 -0
  224. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/aip.py +64 -0
  225. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/amp.py +79 -0
  226. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/application_list.py +31 -0
  227. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/data_prefix.py +22 -0
  228. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/fqdn.py +24 -0
  229. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/geolocation_list.py +32 -0
  230. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/identity.py +30 -0
  231. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/intrusion_prevention.py +58 -0
  232. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/ips_signature.py +44 -0
  233. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/local_domain.py +24 -0
  234. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/object_group.py +72 -0
  235. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/protocol_list.py +21 -0
  236. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/rule_set.py +137 -0
  237. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/scalable_group_tag.py +26 -0
  238. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/security_port.py +45 -0
  239. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/ssl_decryption.py +126 -0
  240. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/ssl_decryption_profile.py +165 -0
  241. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/url.py +32 -0
  242. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/url_filtering.py +148 -0
  243. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/zone.py +38 -0
  244. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/routing/__init__.py +26 -0
  245. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/routing/bgp.py +609 -0
  246. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/routing/ospf.py +173 -0
  247. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/routing/ospfv3.py +301 -0
  248. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/__init__.py +91 -0
  249. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/appqoe.py +270 -0
  250. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/dhcp_server.py +127 -0
  251. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/dual_router_ha.py +26 -0
  252. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/eigrp.py +103 -0
  253. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/lan/common.py +33 -0
  254. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/lan/ethernet.py +403 -0
  255. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/lan/gre.py +136 -0
  256. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/lan/ipsec.py +131 -0
  257. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/lan/multilink.py +101 -0
  258. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/lan/svi.py +183 -0
  259. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/lan/vpn.py +627 -0
  260. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/multicast.py +242 -0
  261. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/object_tracker.py +84 -0
  262. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/route_policy.py +419 -0
  263. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/service_chain.py +38 -0
  264. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/service_insertion_attachment.py +184 -0
  265. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/switchport.py +113 -0
  266. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/tracker.py +92 -0
  267. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/service/wireless_lan.py +216 -0
  268. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/sig_security/__init__.py +19 -0
  269. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/sig_security/sig_security.py +379 -0
  270. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/system/__init__.py +59 -0
  271. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/system/aaa.py +406 -0
  272. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/system/banner.py +30 -0
  273. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/system/basic.py +290 -0
  274. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/system/bfd.py +69 -0
  275. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/system/device_access.py +157 -0
  276. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/system/device_access_ipv6.py +157 -0
  277. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/system/global_parcel.py +163 -0
  278. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/system/logging_parcel.py +162 -0
  279. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/system/mrf.py +75 -0
  280. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/system/ntp.py +103 -0
  281. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/system/omp.py +120 -0
  282. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/system/security.py +179 -0
  283. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/system/snmp.py +173 -0
  284. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/topology/__init__.py +29 -0
  285. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/topology/custom_control.py +425 -0
  286. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/topology/hubspoke.py +60 -0
  287. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/topology/mesh.py +23 -0
  288. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/trackers/__init__.py +36 -0
  289. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/trackers/tracker.py +96 -0
  290. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/trackers/tracker_group.py +63 -0
  291. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/transport/__init__.py +93 -0
  292. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/transport/cellular_controller.py +58 -0
  293. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/transport/cellular_profile.py +71 -0
  294. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/transport/gps.py +37 -0
  295. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/transport/management/ethernet.py +121 -0
  296. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/transport/t1e1controller.py +124 -0
  297. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/transport/vpn.py +285 -0
  298. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/transport/wan/interface/cellular.py +173 -0
  299. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/transport/wan/interface/ethernet.py +389 -0
  300. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/transport/wan/interface/gre.py +46 -0
  301. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/transport/wan/interface/ipsec.py +137 -0
  302. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/transport/wan/interface/multilink.py +219 -0
  303. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/transport/wan/interface/protocol_over.py +405 -0
  304. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/transport/wan/interface/t1e1serial.py +195 -0
  305. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/__init__.py +62 -0
  306. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/analog_interface.py +436 -0
  307. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/call_routing.py +179 -0
  308. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/digital_interface.py +380 -0
  309. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/dsp_farm.py +193 -0
  310. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/media_profile.py +17 -0
  311. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/server_group.py +51 -0
  312. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/srst.py +86 -0
  313. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/supervisory_disconnect.py +69 -0
  314. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/translation_profile.py +42 -0
  315. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/translation_rule.py +31 -0
  316. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/trunk_group.py +26 -0
  317. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/voice_global.py +55 -0
  318. catalystwan-0.41.2.dev0/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/voice_tenant.py +40 -0
  319. catalystwan-0.41.2.dev0/catalystwan/models/configuration/network_hierarchy/__init__.py +22 -0
  320. catalystwan-0.41.2.dev0/catalystwan/models/configuration/network_hierarchy/cflowd.py +120 -0
  321. catalystwan-0.41.2.dev0/catalystwan/models/configuration/network_hierarchy/node.py +88 -0
  322. catalystwan-0.41.2.dev0/catalystwan/models/configuration/policy_group.py +74 -0
  323. catalystwan-0.41.2.dev0/catalystwan/models/configuration/profile_type.py +5 -0
  324. catalystwan-0.41.2.dev0/catalystwan/models/configuration/topology_group.py +52 -0
  325. catalystwan-0.41.2.dev0/catalystwan/models/policy/__init__.py +400 -0
  326. catalystwan-0.41.2.dev0/catalystwan/models/policy/centralized.py +265 -0
  327. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/access_control_list.py +193 -0
  328. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/access_control_list_ipv6.py +187 -0
  329. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/aip.py +60 -0
  330. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/amp.py +65 -0
  331. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/app_route.py +246 -0
  332. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/cflowd.py +95 -0
  333. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/control.py +366 -0
  334. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/device_access.py +117 -0
  335. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/device_access_ipv6.py +115 -0
  336. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/dial_peer.py +60 -0
  337. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/dns_security.py +130 -0
  338. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/fxo_port.py +63 -0
  339. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/fxs_did_port.py +58 -0
  340. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/fxs_port.py +56 -0
  341. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/hub_and_spoke.py +87 -0
  342. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/intrusion_prevention.py +55 -0
  343. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/mesh.py +47 -0
  344. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/pri_isdn_port.py +48 -0
  345. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/qos_map.py +111 -0
  346. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/rewrite.py +47 -0
  347. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/route_policy.py +187 -0
  348. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/rule_set.py +274 -0
  349. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/security_group.py +93 -0
  350. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/srst_phone_profile.py +37 -0
  351. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/ssl_decryption.py +209 -0
  352. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/ssl_decryption_utd_profile.py +87 -0
  353. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/traffic_data.py +496 -0
  354. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/url_filtering.py +70 -0
  355. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/vpn_membership.py +42 -0
  356. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/vpn_qos_map.py +46 -0
  357. catalystwan-0.41.2.dev0/catalystwan/models/policy/definition/zone_based_firewall.py +301 -0
  358. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/app.py +44 -0
  359. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/app_probe.py +42 -0
  360. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/as_path.py +30 -0
  361. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/class_map.py +30 -0
  362. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/color.py +28 -0
  363. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/communities.py +83 -0
  364. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/data_ipv6_prefix.py +30 -0
  365. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/data_prefix.py +30 -0
  366. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/fax_protocol.py +45 -0
  367. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/fqdn.py +24 -0
  368. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/geo_location.py +33 -0
  369. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/identity.py +29 -0
  370. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/ips_signature.py +27 -0
  371. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/ipv6_prefix.py +33 -0
  372. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/local_app.py +45 -0
  373. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/local_domain.py +36 -0
  374. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/media_profile.py +44 -0
  375. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/mirror.py +27 -0
  376. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/modem_pass_through.py +27 -0
  377. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/policer.py +39 -0
  378. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/port.py +33 -0
  379. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/preferred_color_group.py +82 -0
  380. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/prefix.py +33 -0
  381. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/protocol_name.py +26 -0
  382. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/region.py +45 -0
  383. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/scalable_group_tag.py +30 -0
  384. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/site.py +34 -0
  385. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/sla.py +77 -0
  386. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/supervisory_disconnect.py +62 -0
  387. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/threat_grid_api_key.py +32 -0
  388. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/tloc.py +32 -0
  389. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/translation_profile.py +32 -0
  390. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/translation_rules.py +29 -0
  391. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/trunkgroup.py +56 -0
  392. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/umbrella_data.py +30 -0
  393. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/url.py +39 -0
  394. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/vpn.py +40 -0
  395. catalystwan-0.41.2.dev0/catalystwan/models/policy/list/zone.py +46 -0
  396. catalystwan-0.41.2.dev0/catalystwan/models/policy/localized.py +154 -0
  397. catalystwan-0.41.2.dev0/catalystwan/models/policy/policy.py +100 -0
  398. catalystwan-0.41.2.dev0/catalystwan/models/policy/policy_definition.py +1623 -0
  399. catalystwan-0.41.2.dev0/catalystwan/models/policy/policy_list.py +60 -0
  400. catalystwan-0.41.2.dev0/catalystwan/models/policy/security.py +289 -0
  401. catalystwan-0.41.2.dev0/catalystwan/models/policy/voice.py +77 -0
  402. catalystwan-0.41.2.dev0/catalystwan/models/settings.py +41 -0
  403. catalystwan-0.41.2.dev0/catalystwan/models/templates.py +79 -0
  404. catalystwan-0.41.2.dev0/catalystwan/response.py +264 -0
  405. catalystwan-0.41.2.dev0/catalystwan/session.py +592 -0
  406. catalystwan-0.41.2.dev0/catalystwan/tests/builders/test_report.py +60 -0
  407. catalystwan-0.41.2.dev0/catalystwan/tests/builders/uc_voice.py +85 -0
  408. catalystwan-0.41.2.dev0/catalystwan/tests/models/__init__.py +0 -0
  409. catalystwan-0.41.2.dev0/catalystwan/tests/models/test_digital_interface.py +56 -0
  410. catalystwan-0.41.2.dev0/catalystwan/tests/templates/__init__.py +0 -0
  411. catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/__init__.py +0 -0
  412. catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/aaa_basic.json +96 -0
  413. catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/aaa_complex.json +464 -0
  414. catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/basic/__init__.py +0 -0
  415. catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/cisco_aaa.json +178 -0
  416. catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/cisco_aaa_complex.json +361 -0
  417. catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/cisco_logging_complex.json +268 -0
  418. catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/cisco_ntp_complex.json +143 -0
  419. catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/cisco_omp_complex.json +175 -0
  420. catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/cisco_ospf_complex.json +302 -0
  421. catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/cisco_sig.json +405 -0
  422. catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/cisco_snmp_complex.json +258 -0
  423. catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/cisco_system_complex.json +502 -0
  424. catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/cisco_vpn_basic.json +17 -0
  425. catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/cisco_vpn_complex.json +1081 -0
  426. catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/cisco_vpn_interface_complex.json +821 -0
  427. catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/omp_vsmart_1.json +26 -0
  428. catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/omp_vsmart_2.json +48 -0
  429. catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/omp_vsmart_3.json +71 -0
  430. catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/omp_vsmart_complex.json +73 -0
  431. catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/security_vsmart_complex.json +24 -0
  432. catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/system_vsmart_complex.json +193 -0
  433. catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/vpn_vsmart_basic.json +17 -0
  434. catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/vpn_vsmart_complex.json +179 -0
  435. catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/vpn_vsmart_interface_basic.json +42 -0
  436. catalystwan-0.41.2.dev0/catalystwan/tests/templates/definitions/vpn_vsmart_interface_complex.json +208 -0
  437. catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/__init__.py +53 -0
  438. catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/aaa.py +106 -0
  439. catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/cisco_aaa.py +124 -0
  440. catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/cisco_banner.py +7 -0
  441. catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/cisco_bfd.py +15 -0
  442. catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/cisco_logging.py +65 -0
  443. catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/cisco_ntp.py +17 -0
  444. catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/cisco_omp.py +37 -0
  445. catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/cisco_ospf.py +60 -0
  446. catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/cisco_secure_internet_gateway.py +95 -0
  447. catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/cisco_snmp.py +40 -0
  448. catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/cisco_system.py +113 -0
  449. catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/cisco_vpn.py +240 -0
  450. catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/cisco_vpn_interface.py +200 -0
  451. catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/omp_vsmart.py +53 -0
  452. catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/security_vsmart.py +11 -0
  453. catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/system_vsmart.py +37 -0
  454. catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/vpn_vsmart.py +32 -0
  455. catalystwan-0.41.2.dev0/catalystwan/tests/templates/models/vpn_vsmart_interface.py +54 -0
  456. catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/aaa.json +1096 -0
  457. catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/cedge_aaa.json +1185 -0
  458. catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/cisco_logging.json +577 -0
  459. catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/cisco_ntp.json +265 -0
  460. catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/cisco_omp.json +479 -0
  461. catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/cisco_ospf.json +908 -0
  462. catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/cisco_secure_internet_gateway.json +1520 -0
  463. catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/cisco_snmp.json +561 -0
  464. catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/cisco_system.json +3099 -0
  465. catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/cisco_vpn.json +2504 -0
  466. catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/cisco_vpn_interface.json +3348 -0
  467. catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/omp-vsmart.json +222 -0
  468. catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/security-vsmart.json +58 -0
  469. catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/system-vsmart.json +2585 -0
  470. catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/vpn-vsmart-interface.json +859 -0
  471. catalystwan-0.41.2.dev0/catalystwan/tests/templates/schemas/vpn-vsmart.json +445 -0
  472. catalystwan-0.41.2.dev0/catalystwan/tests/templates/test_chose_model.py +32 -0
  473. catalystwan-0.41.2.dev0/catalystwan/tests/templates/test_deserialize_model.py +69 -0
  474. catalystwan-0.41.2.dev0/catalystwan/tests/templates/test_find_template_values.py +422 -0
  475. catalystwan-0.41.2.dev0/catalystwan/tests/templates/test_serialize_model.py +52 -0
  476. catalystwan-0.41.2.dev0/catalystwan/tests/test_cli_template.py +218 -0
  477. catalystwan-0.41.2.dev0/catalystwan/tests/test_endpoints.py +907 -0
  478. catalystwan-0.41.2.dev0/catalystwan/tests/test_feature_profile_api.py +282 -0
  479. catalystwan-0.41.2.dev0/catalystwan/tests/test_models_common.py +53 -0
  480. catalystwan-0.41.2.dev0/catalystwan/tests/test_templates.py +405 -0
  481. catalystwan-0.41.2.dev0/catalystwan/utils/__init__.py +0 -0
  482. catalystwan-0.41.2.dev0/catalystwan/utils/feature_template/find_template_values.py +124 -0
  483. catalystwan-0.41.2.dev0/catalystwan/utils/model.py +45 -0
  484. catalystwan-0.41.2.dev0/catalystwan/utils/persona.py +5 -0
  485. catalystwan-0.41.2.dev0/catalystwan/utils/type_check.py +22 -0
  486. catalystwan-0.41.2.dev0/catalystwan/workflows/backup_restore_device_templates.py +467 -0
  487. catalystwan-0.41.2.dev0/catalystwan/workflows/tenant_migration.py +203 -0
  488. catalystwan-0.41.2.dev0/pyproject.toml +41 -0
  489. catalystwan-0.41.2/PKG-INFO +0 -614
  490. catalystwan-0.41.2/README.md +0 -584
  491. catalystwan-0.41.2/catalystwan/ENDPOINTS.md +0 -611
  492. catalystwan-0.41.2/catalystwan/__init__.py +0 -82
  493. catalystwan-0.41.2/catalystwan/api/administration.py +0 -423
  494. catalystwan-0.41.2/catalystwan/api/api_container.py +0 -70
  495. catalystwan-0.41.2/catalystwan/api/config_group_api.py +0 -125
  496. catalystwan-0.41.2/catalystwan/api/configuration_groups/parcel.py +0 -139
  497. catalystwan-0.41.2/catalystwan/api/configuration_groups/parcels/cellular_controller.py +0 -33
  498. catalystwan-0.41.2/catalystwan/api/feature_profile_api.py +0 -481
  499. catalystwan-0.41.2/catalystwan/api/policy_api.py +0 -816
  500. catalystwan-0.41.2/catalystwan/api/template_api.py +0 -700
  501. catalystwan-0.41.2/catalystwan/api/templates/README.md +0 -87
  502. catalystwan-0.41.2/catalystwan/api/templates/cli_template.py +0 -226
  503. catalystwan-0.41.2/catalystwan/api/templates/device_template/device_template.py +0 -94
  504. catalystwan-0.41.2/catalystwan/api/templates/device_template/device_template_payload.json.j2 +0 -19
  505. catalystwan-0.41.2/catalystwan/api/templates/feature_template.py +0 -133
  506. catalystwan-0.41.2/catalystwan/api/templates/models/cisco_aaa_model.py +0 -84
  507. catalystwan-0.41.2/catalystwan/api/templates/models/cisco_banner_model.py +0 -18
  508. catalystwan-0.41.2/catalystwan/api/templates/models/cisco_bfd_model.py +0 -66
  509. catalystwan-0.41.2/catalystwan/api/templates/models/cisco_bgp_model.py +0 -259
  510. catalystwan-0.41.2/catalystwan/api/templates/models/cisco_logging_model.py +0 -85
  511. catalystwan-0.41.2/catalystwan/api/templates/models/cisco_ntp_model.py +0 -41
  512. catalystwan-0.41.2/catalystwan/api/templates/models/cisco_omp_model.py +0 -111
  513. catalystwan-0.41.2/catalystwan/api/templates/models/cisco_ospf.py +0 -172
  514. catalystwan-0.41.2/catalystwan/api/templates/models/cisco_ospfv3.py +0 -376
  515. catalystwan-0.41.2/catalystwan/api/templates/models/cisco_secure_internet_gateway.py +0 -223
  516. catalystwan-0.41.2/catalystwan/api/templates/models/cisco_snmp_model.py +0 -88
  517. catalystwan-0.41.2/catalystwan/api/templates/models/cisco_system.py +0 -209
  518. catalystwan-0.41.2/catalystwan/api/templates/models/cisco_vpn_interface_model.py +0 -465
  519. catalystwan-0.41.2/catalystwan/api/templates/models/cisco_vpn_model.py +0 -440
  520. catalystwan-0.41.2/catalystwan/api/templates/models/cli_template.py +0 -17
  521. catalystwan-0.41.2/catalystwan/api/templates/models/omp_vsmart_model.py +0 -37
  522. catalystwan-0.41.2/catalystwan/api/templates/models/security_vsmart_model.py +0 -25
  523. catalystwan-0.41.2/catalystwan/api/templates/models/supported.py +0 -36
  524. catalystwan-0.41.2/catalystwan/api/templates/models/system_vsmart_model.py +0 -45
  525. catalystwan-0.41.2/catalystwan/apigw_auth.py +0 -173
  526. catalystwan-0.41.2/catalystwan/dataclasses.py +0 -544
  527. catalystwan-0.41.2/catalystwan/endpoints/__init__.py +0 -605
  528. catalystwan-0.41.2/catalystwan/endpoints/certificate_management_device.py +0 -137
  529. catalystwan-0.41.2/catalystwan/endpoints/cluster_management.py +0 -110
  530. catalystwan-0.41.2/catalystwan/endpoints/configuration/feature_profile/sdwan/policy_object.py +0 -82
  531. catalystwan-0.41.2/catalystwan/endpoints/configuration/feature_profile/sdwan/system.py +0 -52
  532. catalystwan-0.41.2/catalystwan/endpoints/configuration/feature_profile/sdwan/transport.py +0 -113
  533. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/definition/access_control_list.py +0 -62
  534. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/definition/access_control_list_ipv6.py +0 -62
  535. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/definition/control.py +0 -62
  536. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/definition/device_access.py +0 -62
  537. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/definition/device_access_ipv6.py +0 -64
  538. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/definition/hub_and_spoke.py +0 -62
  539. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/definition/mesh.py +0 -62
  540. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/definition/qos_map.py +0 -62
  541. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/definition/rewrite.py +0 -62
  542. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/definition/rule_set.py +0 -62
  543. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/definition/security_group.py +0 -62
  544. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/definition/traffic_data.py +0 -63
  545. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/definition/vpn_membership.py +0 -62
  546. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/definition/zone_based_firewall.py +0 -62
  547. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/app.py +0 -61
  548. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/app_probe.py +0 -61
  549. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/as_path.py +0 -61
  550. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/class_map.py +0 -61
  551. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/color.py +0 -61
  552. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/community.py +0 -61
  553. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/data_ipv6_prefix.py +0 -61
  554. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/data_prefix.py +0 -61
  555. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/expanded_community.py +0 -61
  556. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/fqdn.py +0 -61
  557. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/geo_location.py +0 -61
  558. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/ips_signature.py +0 -61
  559. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/ipv6_prefix.py +0 -61
  560. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/local_app.py +0 -61
  561. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/local_domain.py +0 -61
  562. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/mirror.py +0 -61
  563. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/policer.py +0 -61
  564. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/port.py +0 -61
  565. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/preferred_color_group.py +0 -61
  566. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/prefix.py +0 -61
  567. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/protocol_name.py +0 -61
  568. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/region.py +0 -55
  569. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/site.py +0 -65
  570. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/sla.py +0 -61
  571. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/tloc.py +0 -61
  572. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/url_allow_list.py +0 -61
  573. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/url_block_list.py +0 -61
  574. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/vpn.py +0 -63
  575. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/list/zone.py +0 -61
  576. catalystwan-0.41.2/catalystwan/endpoints/configuration/policy/security_template.py +0 -56
  577. catalystwan-0.41.2/catalystwan/endpoints/configuration/software_actions.py +0 -203
  578. catalystwan-0.41.2/catalystwan/endpoints/configuration_dashboard_status.py +0 -127
  579. catalystwan-0.41.2/catalystwan/endpoints/configuration_device_template.py +0 -25
  580. catalystwan-0.41.2/catalystwan/endpoints/configuration_feature_profile.py +0 -138
  581. catalystwan-0.41.2/catalystwan/endpoints/configuration_group.py +0 -174
  582. catalystwan-0.41.2/catalystwan/endpoints/configuration_settings.py +0 -664
  583. catalystwan-0.41.2/catalystwan/endpoints/endpoints_container.py +0 -219
  584. catalystwan-0.41.2/catalystwan/endpoints/real_time_monitoring/reboot_history.py +0 -37
  585. catalystwan-0.41.2/catalystwan/endpoints/tenant_migration.py +0 -100
  586. catalystwan-0.41.2/catalystwan/exceptions.py +0 -201
  587. catalystwan-0.41.2/catalystwan/integration_tests/test_find_template_values.py +0 -49
  588. catalystwan-0.41.2/catalystwan/models/common.py +0 -118
  589. catalystwan-0.41.2/catalystwan/models/configuration/common.py +0 -10
  590. catalystwan-0.41.2/catalystwan/models/configuration/config_migration.py +0 -36
  591. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/common.py +0 -315
  592. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/management/vpn.py +0 -26
  593. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/__init__.py +0 -157
  594. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/app_probe.py +0 -42
  595. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/application_list.py +0 -29
  596. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/color_list.py +0 -19
  597. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/data_prefix.py +0 -26
  598. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/expanded_community_list.py +0 -23
  599. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/fowarding_class.py +0 -24
  600. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/ipv6_data_prefix.py +0 -26
  601. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/ipv6_prefix_list.py +0 -26
  602. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/policier.py +0 -40
  603. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/prefered_group_color.py +0 -64
  604. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/prefix_list.py +0 -26
  605. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/sla_class.py +0 -149
  606. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/standard_community.py +0 -24
  607. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/tloc_list.py +0 -43
  608. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/application_list.py +0 -29
  609. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/data_prefix.py +0 -20
  610. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/fqdn.py +0 -22
  611. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/geolocation_list.py +0 -30
  612. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/ips_signature.py +0 -42
  613. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/local_domain.py +0 -22
  614. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/protocol_list.py +0 -19
  615. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/security_port.py +0 -35
  616. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/url.py +0 -27
  617. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/zone.py +0 -42
  618. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/acl.py +0 -409
  619. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/appqoe.py +0 -235
  620. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/bgp.py +0 -288
  621. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/dhcp_server.py +0 -84
  622. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/eigrp.py +0 -106
  623. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/lan/common.py +0 -114
  624. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/lan/ethernet.py +0 -327
  625. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/lan/gre.py +0 -206
  626. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/lan/ipsec.py +0 -138
  627. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/lan/svi.py +0 -177
  628. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/lan/vpn.py +0 -636
  629. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/multicast.py +0 -243
  630. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/object_tracker.py +0 -90
  631. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/ospf.py +0 -165
  632. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/ospfv3.py +0 -299
  633. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/route_policy.py +0 -171
  634. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/service_insertion_attachment.py +0 -192
  635. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/switchport.py +0 -121
  636. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/tracker.py +0 -101
  637. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/service/wireless_lan.py +0 -220
  638. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/system/aaa.py +0 -358
  639. catalystwan-0.41.2/catalystwan/models/configuration/feature_profile/sdwan/transport/cellular_controller.py +0 -55
  640. catalystwan-0.41.2/catalystwan/models/configuration/profile_type.py +0 -10
  641. catalystwan-0.41.2/catalystwan/models/policy/__init__.py +0 -194
  642. catalystwan-0.41.2/catalystwan/models/policy/centralized.py +0 -268
  643. catalystwan-0.41.2/catalystwan/models/policy/definitions/access_control_list.py +0 -163
  644. catalystwan-0.41.2/catalystwan/models/policy/definitions/access_control_list_ipv6.py +0 -163
  645. catalystwan-0.41.2/catalystwan/models/policy/definitions/control.py +0 -343
  646. catalystwan-0.41.2/catalystwan/models/policy/definitions/device_access.py +0 -106
  647. catalystwan-0.41.2/catalystwan/models/policy/definitions/device_access_ipv6.py +0 -106
  648. catalystwan-0.41.2/catalystwan/models/policy/definitions/hub_and_spoke.py +0 -73
  649. catalystwan-0.41.2/catalystwan/models/policy/definitions/mesh.py +0 -35
  650. catalystwan-0.41.2/catalystwan/models/policy/definitions/qos_map.py +0 -104
  651. catalystwan-0.41.2/catalystwan/models/policy/definitions/rewrite.py +0 -37
  652. catalystwan-0.41.2/catalystwan/models/policy/definitions/rule_set.py +0 -256
  653. catalystwan-0.41.2/catalystwan/models/policy/definitions/security_group.py +0 -69
  654. catalystwan-0.41.2/catalystwan/models/policy/definitions/traffic_data.py +0 -373
  655. catalystwan-0.41.2/catalystwan/models/policy/definitions/vpn_membership.py +0 -30
  656. catalystwan-0.41.2/catalystwan/models/policy/definitions/zone_based_firewall.py +0 -240
  657. catalystwan-0.41.2/catalystwan/models/policy/lists.py +0 -330
  658. catalystwan-0.41.2/catalystwan/models/policy/lists_entries.py +0 -444
  659. catalystwan-0.41.2/catalystwan/models/policy/localized.py +0 -136
  660. catalystwan-0.41.2/catalystwan/models/policy/policy.py +0 -96
  661. catalystwan-0.41.2/catalystwan/models/policy/policy_definition.py +0 -1123
  662. catalystwan-0.41.2/catalystwan/models/policy/policy_list.py +0 -49
  663. catalystwan-0.41.2/catalystwan/models/policy/security.py +0 -190
  664. catalystwan-0.41.2/catalystwan/response.py +0 -260
  665. catalystwan-0.41.2/catalystwan/session.py +0 -592
  666. catalystwan-0.41.2/catalystwan/tests/templates/definitions/Basic_Cisco_VPN_Model.json +0 -17
  667. catalystwan-0.41.2/catalystwan/tests/templates/definitions/complex_aaa.json +0 -277
  668. catalystwan-0.41.2/catalystwan/tests/templates/definitions/complex_cisco_vpn.json +0 -1066
  669. catalystwan-0.41.2/catalystwan/tests/templates/definitions/iuo.json +0 -149
  670. catalystwan-0.41.2/catalystwan/tests/templates/definitions/omp_1.json +0 -11
  671. catalystwan-0.41.2/catalystwan/tests/templates/definitions/omp_2.json +0 -34
  672. catalystwan-0.41.2/catalystwan/tests/templates/definitions/omp_3.json +0 -57
  673. catalystwan-0.41.2/catalystwan/tests/templates/models/__init__.py +0 -20
  674. catalystwan-0.41.2/catalystwan/tests/templates/models/cisco_aaa.py +0 -91
  675. catalystwan-0.41.2/catalystwan/tests/templates/models/cisco_banner.py +0 -7
  676. catalystwan-0.41.2/catalystwan/tests/templates/models/cisco_bfd.py +0 -17
  677. catalystwan-0.41.2/catalystwan/tests/templates/models/cisco_system.py +0 -8
  678. catalystwan-0.41.2/catalystwan/tests/templates/models/cisco_vpn.py +0 -270
  679. catalystwan-0.41.2/catalystwan/tests/templates/models/omp_vsmart.py +0 -33
  680. catalystwan-0.41.2/catalystwan/tests/templates/schemas/cedge_aaa.json +0 -1185
  681. catalystwan-0.41.2/catalystwan/tests/templates/schemas/cisco_system.json +0 -2857
  682. catalystwan-0.41.2/catalystwan/tests/templates/schemas/cisco_vpn.json +0 -2452
  683. catalystwan-0.41.2/catalystwan/tests/templates/schemas/omp-vsmart.json +0 -202
  684. catalystwan-0.41.2/catalystwan/tests/templates/test_chose_model.py +0 -36
  685. catalystwan-0.41.2/catalystwan/tests/templates/test_deserialize_model.py +0 -69
  686. catalystwan-0.41.2/catalystwan/tests/templates/test_serialize_model.py +0 -53
  687. catalystwan-0.41.2/catalystwan/tests/test_cli_template.py +0 -219
  688. catalystwan-0.41.2/catalystwan/tests/test_endpoints.py +0 -876
  689. catalystwan-0.41.2/catalystwan/tests/test_templates.py +0 -408
  690. catalystwan-0.41.2/catalystwan/utils/feature_template/find_template_values.py +0 -111
  691. catalystwan-0.41.2/catalystwan/utils/timezone.py +0 -422
  692. catalystwan-0.41.2/catalystwan/workflows/tenant_migration.py +0 -203
  693. catalystwan-0.41.2/pyproject.toml +0 -41
  694. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/LICENSE +0 -0
  695. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/abstractions.py +0 -0
  696. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/__init__.py +0 -0
  697. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/admin_tech_api.py +0 -0
  698. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/alarms_api.py +0 -0
  699. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/basic_api.py +0 -0
  700. {catalystwan-0.41.2/catalystwan/integration_tests → catalystwan-0.41.2.dev0/catalystwan/api/builders/feature_profiles}/__init__.py +0 -0
  701. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/config_device_inventory_api.py +0 -0
  702. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/dashboard_api.py +0 -0
  703. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/device_action_api.py +0 -0
  704. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/logs_api.py +0 -0
  705. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/monitoring_status_api.py +0 -0
  706. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/mtt_aaa_api.py +0 -0
  707. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/omp_api.py +0 -0
  708. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/packet_capture_api.py +0 -0
  709. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/parcel_api.py +0 -0
  710. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/partition_manager_api.py +0 -0
  711. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/resource_pool_api.py +0 -0
  712. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/software_action_api.py +0 -0
  713. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/speedtest_api.py +0 -0
  714. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/task_status_api.py +0 -0
  715. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/bool_str.py +0 -0
  716. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/device_variable.py +0 -0
  717. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/feature_template_field.py +0 -0
  718. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/feature_template_payload.py +0 -0
  719. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/payloads/aaa/aaa_model.py +0 -0
  720. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/payloads/aaa/feature/aaa.json.j2 +0 -0
  721. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/payloads/aaa/feature/accounting.json.j2 +0 -0
  722. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/payloads/aaa/feature/radius.json.j2 +0 -0
  723. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/payloads/aaa/feature/tacacs.json.j2 +0 -0
  724. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/payloads/aaa/feature/user.json.j2 +0 -0
  725. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/payloads/cisco_vpn/cisco_vpn_model.py +0 -0
  726. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/payloads/cisco_vpn/feature/cisco_vpn.json.j2 +0 -0
  727. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/payloads/cisco_vpn/feature/dns.json.j2 +0 -0
  728. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/payloads/cisco_vpn/feature/ipv4route.json.j2 +0 -0
  729. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/payloads/cisco_vpn/feature/ipv6route.json.j2 +0 -0
  730. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/payloads/cisco_vpn/feature/mapping.json.j2 +0 -0
  731. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/payloads/tenant/tenant.json.j2 +0 -0
  732. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/templates/payloads/tenant/tenant_model.py +0 -0
  733. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/tenant_backup_restore_api.py +0 -0
  734. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/tenant_management_api.py +0 -0
  735. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/tenant_migration_api.py +0 -0
  736. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/versions_utils.py +0 -0
  737. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/api/virtual_image_action_api.py +0 -0
  738. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/administration_user_and_group.py +0 -0
  739. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/api_gateway.py +0 -0
  740. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/certificate_management_vmanage.py +0 -0
  741. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/client.py +0 -0
  742. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/configuration/device/software_update.py +0 -0
  743. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/configuration/disaster_recovery.py +0 -0
  744. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/configuration/policy/vedge_template.py +0 -0
  745. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/configuration/policy/vsmart_template.py +0 -0
  746. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/configuration_device_actions.py +0 -0
  747. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/configuration_device_inventory.py +0 -0
  748. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/misc.py +0 -0
  749. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/monitoring/device_details.py +0 -0
  750. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/monitoring/security_policy.py +0 -0
  751. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/monitoring/server_info.py +0 -0
  752. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/monitoring/status.py +0 -0
  753. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/sdavc_cloud_connector.py +0 -0
  754. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/tenant_backup_restore.py +0 -0
  755. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/tenant_management.py +0 -0
  756. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/troubleshooting_tools/device_connectivity.py +0 -0
  757. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/endpoints/url_monitoring.py +0 -0
  758. {catalystwan-0.41.2/catalystwan/tests → catalystwan-0.41.2.dev0/catalystwan/integration_tests}/__init__.py +0 -0
  759. {catalystwan-0.41.2/catalystwan/tests/templates → catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan}/__init__.py +0 -0
  760. {catalystwan-0.41.2/catalystwan/tests/templates/definitions → catalystwan-0.41.2.dev0/catalystwan/integration_tests/feature_profile/sdwan/policy}/__init__.py +0 -0
  761. {catalystwan-0.41.2/catalystwan/tests/templates/definitions/basic → catalystwan-0.41.2.dev0/catalystwan/integration_tests/profile_builder}/__init__.py +0 -0
  762. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/logging.conf +0 -0
  763. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/models/configuration/feature_profile/README.md +0 -0
  764. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/models/configuration/feature_profile/builder.py +0 -0
  765. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/models/device_inventory.py +0 -0
  766. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/models/feature_profile_parcel.py +0 -0
  767. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/models/misc/application_protocols.py +0 -0
  768. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/models/monitoring/security_policy.py +0 -0
  769. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/models/monitoring/server_info.py +0 -0
  770. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/models/tenant.py +0 -0
  771. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/models/url_monitoring.py +0 -0
  772. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/request_limiter.py +0 -0
  773. {catalystwan-0.41.2/catalystwan/utils → catalystwan-0.41.2.dev0/catalystwan/tests}/__init__.py +0 -0
  774. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/definitions/basic/alias.json +0 -0
  775. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/definitions/basic/basic.json +0 -0
  776. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/definitions/basic/basic_no_value.json +0 -0
  777. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/definitions/basic/children.json +0 -0
  778. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/definitions/basic/children_nested.json +0 -0
  779. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/definitions/basic/children_nested_datapath.json +0 -0
  780. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/definitions/basic/data_path.json +0 -0
  781. /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
  782. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/definitions/cisco_bfd.json +0 -0
  783. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/definitions/default_cisco_system.json +0 -0
  784. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/schemas/basic/alias.json +0 -0
  785. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/schemas/basic/basic.json +0 -0
  786. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/schemas/basic/children.json +0 -0
  787. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/schemas/basic/children_nested.json +0 -0
  788. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/schemas/basic/children_nested_datapath.json +0 -0
  789. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/schemas/basic/data_path.json +0 -0
  790. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/schemas/cisco_banner.json +0 -0
  791. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/schemas/cisco_bfd.json +0 -0
  792. /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
  793. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/templates/test_generate_payload.py +0 -0
  794. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_admin_tech_api.py +0 -0
  795. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_administration.py +0 -0
  796. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_alarms_api.py +0 -0
  797. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_creation_tools.py +0 -0
  798. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_device_action_api.py +0 -0
  799. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_devices_api.py +0 -0
  800. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_feature_template_field.py +0 -0
  801. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_logs_api.py +0 -0
  802. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_monitoring_security_policy.py +0 -0
  803. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_monitoring_server_info.py +0 -0
  804. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_monitoring_status_api.py +0 -0
  805. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_mtt_aaa_api.py +0 -0
  806. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_omp_api.py +0 -0
  807. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_packet_capture.py +0 -0
  808. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_partition_manager_api.py +0 -0
  809. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_response.py +0 -0
  810. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_session.py +0 -0
  811. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_software_action_api.py +0 -0
  812. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_speed_test_api.py +0 -0
  813. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_task_status_api.py +0 -0
  814. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_tenant_backup_restore_api.py +0 -0
  815. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_tenant_management_api.py +0 -0
  816. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_tenant_migration_api.py +0 -0
  817. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_typed_list.py +0 -0
  818. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_url_monitoring.py +0 -0
  819. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_version.py +0 -0
  820. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_version_utils.py +0 -0
  821. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/tests/test_vmanage_auth.py +0 -0
  822. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/typed_list.py +0 -0
  823. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/alarm_status.py +0 -0
  824. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/certificate_status.py +0 -0
  825. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/colors.py +0 -0
  826. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/config_status.py +0 -0
  827. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/creation_tools.py +0 -0
  828. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/dashboard.py +0 -0
  829. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/device_model.py +0 -0
  830. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/dict.py +0 -0
  831. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/feature_template/choose_model.py +0 -0
  832. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/operation_status.py +0 -0
  833. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/personality.py +0 -0
  834. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/pydantic_field.py +0 -0
  835. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/reachability.py +0 -0
  836. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/session_type.py +0 -0
  837. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/template_type.py +0 -0
  838. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/upgrades_helper.py +0 -0
  839. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/utils/validate_status.py +0 -0
  840. {catalystwan-0.41.2 → catalystwan-0.41.2.dev0}/catalystwan/version.py +0 -0
  841. {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
+ [![Python-Supported](https://img.shields.io/static/v1?label=Python&logo=Python&color=3776AB&message=3.8%20|%203.9%20|%203.10%20|%203.11%20|%203.12%20|%203.13%20)](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
+