catalystwan 0.40.1.dev6__tar.gz → 2.0.0a0__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 (643) hide show
  1. catalystwan-2.0.0a0/PKG-INFO +327 -0
  2. catalystwan-2.0.0a0/README.md +88 -0
  3. catalystwan-2.0.0a0/pyproject.toml +82 -0
  4. catalystwan-2.0.0a0/setup.cfg +4 -0
  5. catalystwan-2.0.0a0/src/catalystwan/core/__init__.py +2 -0
  6. catalystwan-2.0.0a0/src/catalystwan/core/abstractions.py +26 -0
  7. {catalystwan-0.40.1.dev6/catalystwan → catalystwan-2.0.0a0/src/catalystwan/core}/apigw_auth.py +29 -14
  8. catalystwan-2.0.0a0/src/catalystwan/core/client.py +71 -0
  9. catalystwan-2.0.0a0/src/catalystwan/core/encoder.py +12 -0
  10. {catalystwan-0.40.1.dev6/catalystwan → catalystwan-2.0.0a0/src/catalystwan/core}/exceptions.py +29 -9
  11. catalystwan-2.0.0a0/src/catalystwan/core/loader.py +37 -0
  12. catalystwan-0.40.1.dev6/catalystwan/__init__.py → catalystwan-2.0.0a0/src/catalystwan/core/metadata.py +9 -22
  13. catalystwan-2.0.0a0/src/catalystwan/core/models/deserialize.py +203 -0
  14. catalystwan-2.0.0a0/src/catalystwan/core/models/serialize.py +137 -0
  15. catalystwan-2.0.0a0/src/catalystwan/core/request_adapter.py +246 -0
  16. {catalystwan-0.40.1.dev6/catalystwan → catalystwan-2.0.0a0/src/catalystwan/core}/request_limiter.py +1 -2
  17. {catalystwan-0.40.1.dev6/catalystwan → catalystwan-2.0.0a0/src/catalystwan/core}/response.py +38 -85
  18. {catalystwan-0.40.1.dev6/catalystwan → catalystwan-2.0.0a0/src/catalystwan/core}/session.py +84 -101
  19. catalystwan-2.0.0a0/src/catalystwan/core/types.py +33 -0
  20. {catalystwan-0.40.1.dev6/catalystwan → catalystwan-2.0.0a0/src/catalystwan/core}/version.py +3 -5
  21. {catalystwan-0.40.1.dev6/catalystwan → catalystwan-2.0.0a0/src/catalystwan/core}/vmanage_auth.py +46 -21
  22. catalystwan-2.0.0a0/src/catalystwan.egg-info/PKG-INFO +327 -0
  23. catalystwan-2.0.0a0/src/catalystwan.egg-info/SOURCES.txt +33 -0
  24. catalystwan-2.0.0a0/src/catalystwan.egg-info/dependency_links.txt +1 -0
  25. catalystwan-2.0.0a0/src/catalystwan.egg-info/requires.txt +20 -0
  26. catalystwan-2.0.0a0/src/catalystwan.egg-info/top_level.txt +1 -0
  27. catalystwan-2.0.0a0/tests/test_ft_deserialize.py +290 -0
  28. catalystwan-2.0.0a0/tests/test_ft_serialize.py +356 -0
  29. catalystwan-2.0.0a0/tests/test_model_deserialize.py +133 -0
  30. catalystwan-2.0.0a0/tests/test_model_serialize.py +143 -0
  31. catalystwan-2.0.0a0/tests/test_parcel_deserialize.py +163 -0
  32. catalystwan-2.0.0a0/tests/test_parcel_serialize.py +218 -0
  33. catalystwan-0.40.1.dev6/PKG-INFO +0 -539
  34. catalystwan-0.40.1.dev6/README.md +0 -510
  35. catalystwan-0.40.1.dev6/catalystwan/abstractions.py +0 -77
  36. catalystwan-0.40.1.dev6/catalystwan/api/admin_tech_api.py +0 -176
  37. catalystwan-0.40.1.dev6/catalystwan/api/administration.py +0 -434
  38. catalystwan-0.40.1.dev6/catalystwan/api/alarms_api.py +0 -186
  39. catalystwan-0.40.1.dev6/catalystwan/api/api_container.py +0 -73
  40. catalystwan-0.40.1.dev6/catalystwan/api/basic_api.py +0 -338
  41. catalystwan-0.40.1.dev6/catalystwan/api/builders/__init__.py +0 -14
  42. catalystwan-0.40.1.dev6/catalystwan/api/builders/feature_profiles/application_priority.py +0 -58
  43. catalystwan-0.40.1.dev6/catalystwan/api/builders/feature_profiles/builder_factory.py +0 -59
  44. catalystwan-0.40.1.dev6/catalystwan/api/builders/feature_profiles/cli.py +0 -76
  45. catalystwan-0.40.1.dev6/catalystwan/api/builders/feature_profiles/other.py +0 -79
  46. catalystwan-0.40.1.dev6/catalystwan/api/builders/feature_profiles/report.py +0 -137
  47. catalystwan-0.40.1.dev6/catalystwan/api/builders/feature_profiles/service.py +0 -213
  48. catalystwan-0.40.1.dev6/catalystwan/api/builders/feature_profiles/system.py +0 -80
  49. catalystwan-0.40.1.dev6/catalystwan/api/builders/feature_profiles/transport.py +0 -214
  50. catalystwan-0.40.1.dev6/catalystwan/api/builders/feature_profiles/uc_voice.py +0 -287
  51. catalystwan-0.40.1.dev6/catalystwan/api/config_device_inventory_api.py +0 -58
  52. catalystwan-0.40.1.dev6/catalystwan/api/config_group_api.py +0 -150
  53. catalystwan-0.40.1.dev6/catalystwan/api/configuration_groups/parcel.py +0 -206
  54. catalystwan-0.40.1.dev6/catalystwan/api/dashboard_api.py +0 -215
  55. catalystwan-0.40.1.dev6/catalystwan/api/device_action_api.py +0 -216
  56. catalystwan-0.40.1.dev6/catalystwan/api/feature_profile_api.py +0 -2401
  57. catalystwan-0.40.1.dev6/catalystwan/api/logs_api.py +0 -63
  58. catalystwan-0.40.1.dev6/catalystwan/api/monitoring_status_api.py +0 -76
  59. catalystwan-0.40.1.dev6/catalystwan/api/mtt_aaa_api.py +0 -197
  60. catalystwan-0.40.1.dev6/catalystwan/api/omp_api.py +0 -124
  61. catalystwan-0.40.1.dev6/catalystwan/api/packet_capture_api.py +0 -152
  62. catalystwan-0.40.1.dev6/catalystwan/api/parcel_api.py +0 -42
  63. catalystwan-0.40.1.dev6/catalystwan/api/partition_manager_api.py +0 -143
  64. catalystwan-0.40.1.dev6/catalystwan/api/policy_api.py +0 -1163
  65. catalystwan-0.40.1.dev6/catalystwan/api/resource_pool_api.py +0 -74
  66. catalystwan-0.40.1.dev6/catalystwan/api/software_action_api.py +0 -269
  67. catalystwan-0.40.1.dev6/catalystwan/api/speedtest_api.py +0 -153
  68. catalystwan-0.40.1.dev6/catalystwan/api/task_status_api.py +0 -171
  69. catalystwan-0.40.1.dev6/catalystwan/api/template_api.py +0 -761
  70. catalystwan-0.40.1.dev6/catalystwan/api/templates/README.md +0 -101
  71. catalystwan-0.40.1.dev6/catalystwan/api/templates/bool_str.py +0 -6
  72. catalystwan-0.40.1.dev6/catalystwan/api/templates/cli_template.py +0 -236
  73. catalystwan-0.40.1.dev6/catalystwan/api/templates/device_template/device_template.py +0 -181
  74. catalystwan-0.40.1.dev6/catalystwan/api/templates/device_variable.py +0 -7
  75. catalystwan-0.40.1.dev6/catalystwan/api/templates/feature_template.py +0 -133
  76. catalystwan-0.40.1.dev6/catalystwan/api/templates/feature_template_field.py +0 -175
  77. catalystwan-0.40.1.dev6/catalystwan/api/templates/feature_template_payload.py +0 -17
  78. catalystwan-0.40.1.dev6/catalystwan/api/templates/models/aaa_model.py +0 -387
  79. catalystwan-0.40.1.dev6/catalystwan/api/templates/models/cisco_aaa_model.py +0 -331
  80. catalystwan-0.40.1.dev6/catalystwan/api/templates/models/cisco_banner_model.py +0 -27
  81. catalystwan-0.40.1.dev6/catalystwan/api/templates/models/cisco_bfd_model.py +0 -61
  82. catalystwan-0.40.1.dev6/catalystwan/api/templates/models/cisco_bgp_model.py +0 -510
  83. catalystwan-0.40.1.dev6/catalystwan/api/templates/models/cisco_logging_model.py +0 -122
  84. catalystwan-0.40.1.dev6/catalystwan/api/templates/models/cisco_ntp_model.py +0 -60
  85. catalystwan-0.40.1.dev6/catalystwan/api/templates/models/cisco_omp_model.py +0 -121
  86. catalystwan-0.40.1.dev6/catalystwan/api/templates/models/cisco_ospf.py +0 -241
  87. catalystwan-0.40.1.dev6/catalystwan/api/templates/models/cisco_ospfv3.py +0 -498
  88. catalystwan-0.40.1.dev6/catalystwan/api/templates/models/cisco_secure_internet_gateway.py +0 -385
  89. catalystwan-0.40.1.dev6/catalystwan/api/templates/models/cisco_snmp_model.py +0 -102
  90. catalystwan-0.40.1.dev6/catalystwan/api/templates/models/cisco_system.py +0 -318
  91. catalystwan-0.40.1.dev6/catalystwan/api/templates/models/cisco_vpn_interface_model.py +0 -822
  92. catalystwan-0.40.1.dev6/catalystwan/api/templates/models/cisco_vpn_model.py +0 -603
  93. catalystwan-0.40.1.dev6/catalystwan/api/templates/models/cli_template.py +0 -18
  94. catalystwan-0.40.1.dev6/catalystwan/api/templates/models/omp_vsmart_model.py +0 -73
  95. catalystwan-0.40.1.dev6/catalystwan/api/templates/models/security_vsmart_model.py +0 -28
  96. catalystwan-0.40.1.dev6/catalystwan/api/templates/models/supported.py +0 -42
  97. catalystwan-0.40.1.dev6/catalystwan/api/templates/models/system_vsmart_model.py +0 -182
  98. catalystwan-0.40.1.dev6/catalystwan/api/templates/models/vpn_vsmart_interface_model.py +0 -198
  99. catalystwan-0.40.1.dev6/catalystwan/api/templates/models/vpn_vsmart_model.py +0 -124
  100. catalystwan-0.40.1.dev6/catalystwan/api/templates/payloads/aaa/aaa_model.py +0 -91
  101. catalystwan-0.40.1.dev6/catalystwan/api/templates/payloads/aaa/feature/aaa.json.j2 +0 -373
  102. catalystwan-0.40.1.dev6/catalystwan/api/templates/payloads/aaa/feature/accounting.json.j2 +0 -40
  103. catalystwan-0.40.1.dev6/catalystwan/api/templates/payloads/aaa/feature/radius.json.j2 +0 -107
  104. catalystwan-0.40.1.dev6/catalystwan/api/templates/payloads/aaa/feature/tacacs.json.j2 +0 -95
  105. catalystwan-0.40.1.dev6/catalystwan/api/templates/payloads/aaa/feature/user.json.j2 +0 -60
  106. catalystwan-0.40.1.dev6/catalystwan/api/templates/payloads/cisco_vpn/cisco_vpn_model.py +0 -92
  107. catalystwan-0.40.1.dev6/catalystwan/api/templates/payloads/cisco_vpn/feature/cisco_vpn.json.j2 +0 -224
  108. catalystwan-0.40.1.dev6/catalystwan/api/templates/payloads/cisco_vpn/feature/dns.json.j2 +0 -86
  109. catalystwan-0.40.1.dev6/catalystwan/api/templates/payloads/cisco_vpn/feature/ipv4route.json.j2 +0 -59
  110. catalystwan-0.40.1.dev6/catalystwan/api/templates/payloads/cisco_vpn/feature/ipv6route.json.j2 +0 -58
  111. catalystwan-0.40.1.dev6/catalystwan/api/templates/payloads/cisco_vpn/feature/mapping.json.j2 +0 -24
  112. catalystwan-0.40.1.dev6/catalystwan/api/templates/payloads/tenant/tenant.json.j2 +0 -127
  113. catalystwan-0.40.1.dev6/catalystwan/api/templates/payloads/tenant/tenant_model.py +0 -43
  114. catalystwan-0.40.1.dev6/catalystwan/api/tenant_backup_restore_api.py +0 -154
  115. catalystwan-0.40.1.dev6/catalystwan/api/tenant_management_api.py +0 -127
  116. catalystwan-0.40.1.dev6/catalystwan/api/tenant_migration_api.py +0 -121
  117. catalystwan-0.40.1.dev6/catalystwan/api/versions_utils.py +0 -414
  118. catalystwan-0.40.1.dev6/catalystwan/api/virtual_image_action_api.py +0 -200
  119. catalystwan-0.40.1.dev6/catalystwan/dataclasses.py +0 -493
  120. catalystwan-0.40.1.dev6/catalystwan/endpoints/__init__.py +0 -606
  121. catalystwan-0.40.1.dev6/catalystwan/endpoints/administration_user_and_group.py +0 -341
  122. catalystwan-0.40.1.dev6/catalystwan/endpoints/api_gateway.py +0 -24
  123. catalystwan-0.40.1.dev6/catalystwan/endpoints/certificate_management_device.py +0 -137
  124. catalystwan-0.40.1.dev6/catalystwan/endpoints/certificate_management_vmanage.py +0 -48
  125. catalystwan-0.40.1.dev6/catalystwan/endpoints/client.py +0 -96
  126. catalystwan-0.40.1.dev6/catalystwan/endpoints/cluster_management.py +0 -130
  127. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/device/software_update.py +0 -31
  128. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/disaster_recovery.py +0 -305
  129. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/feature_profile/sdwan/application_priority.py +0 -107
  130. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/feature_profile/sdwan/cli.py +0 -60
  131. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/feature_profile/sdwan/dns_security.py +0 -83
  132. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/feature_profile/sdwan/embedded_security.py +0 -88
  133. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/feature_profile/sdwan/other.py +0 -62
  134. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/feature_profile/sdwan/policy_object.py +0 -105
  135. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/feature_profile/sdwan/service.py +0 -137
  136. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/feature_profile/sdwan/sig_security.py +0 -88
  137. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/feature_profile/sdwan/system.py +0 -205
  138. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/feature_profile/sdwan/topology.py +0 -93
  139. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/feature_profile/sdwan/transport.py +0 -214
  140. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/feature_profile/sdwan/uc_voice.py +0 -77
  141. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/network_hierarchy.py +0 -32
  142. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/abstractions.py +0 -49
  143. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/access_control_list.py +0 -57
  144. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/access_control_list_ipv6.py +0 -57
  145. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/aip.py +0 -52
  146. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/amp.py +0 -52
  147. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/app_route.py +0 -50
  148. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/cflowd.py +0 -46
  149. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/control.py +0 -57
  150. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/device_access.py +0 -57
  151. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/device_access_ipv6.py +0 -59
  152. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/dial_peer.py +0 -57
  153. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/dns_security.py +0 -50
  154. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/fxo_port.py +0 -57
  155. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/fxs_did_port.py +0 -57
  156. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/fxs_port.py +0 -57
  157. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/hub_and_spoke.py +0 -57
  158. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/intrusion_prevention.py +0 -52
  159. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/mesh.py +0 -53
  160. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/pri_isdn_port.py +0 -57
  161. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/qos_map.py +0 -53
  162. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/rewrite.py +0 -57
  163. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/route_policy.py +0 -50
  164. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/rule_set.py +0 -53
  165. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/security_group.py +0 -57
  166. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/srst_phone_profile.py +0 -59
  167. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/ssl_decryption.py +0 -50
  168. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/ssl_decryption_utd_profile.py +0 -52
  169. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/traffic_data.py +0 -58
  170. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/url_filtering.py +0 -50
  171. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/vpn_membership.py +0 -57
  172. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/vpn_qos_map.py +0 -50
  173. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/definition/zone_based_firewall.py +0 -57
  174. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/app.py +0 -48
  175. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/app_probe.py +0 -52
  176. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/as_path.py +0 -48
  177. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/class_map.py +0 -48
  178. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/color.py +0 -48
  179. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/community.py +0 -48
  180. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/data_ipv6_prefix.py +0 -52
  181. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/data_prefix.py +0 -48
  182. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/expanded_community.py +0 -52
  183. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/extended_community.py +0 -52
  184. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/fax_protocol.py +0 -48
  185. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/fqdn.py +0 -48
  186. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/geo_location.py +0 -48
  187. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/identity.py +0 -48
  188. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/ips_signature.py +0 -52
  189. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/ipv6_prefix.py +0 -48
  190. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/local_app.py +0 -48
  191. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/local_domain.py +0 -48
  192. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/media_profile.py +0 -52
  193. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/mirror.py +0 -48
  194. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/modem_pass_through.py +0 -52
  195. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/policer.py +0 -48
  196. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/port.py +0 -48
  197. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/preferred_color_group.py +0 -52
  198. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/prefix.py +0 -49
  199. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/protocol_name.py +0 -52
  200. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/region.py +0 -47
  201. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/scalable_group_tag.py +0 -52
  202. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/site.py +0 -52
  203. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/sla.py +0 -48
  204. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/supervisory_disconnect.py +0 -52
  205. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/threat_grid_api_key.py +0 -52
  206. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/tloc.py +0 -48
  207. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/translation_profile.py +0 -52
  208. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/translation_rules.py +0 -52
  209. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/trunkgroup.py +0 -48
  210. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/umbrella_data.py +0 -52
  211. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/url_allow_list.py +0 -48
  212. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/url_block_list.py +0 -48
  213. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/vpn.py +0 -50
  214. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/list/zone.py +0 -48
  215. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/security_template.py +0 -55
  216. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/vedge_template.py +0 -52
  217. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/voice_template.py +0 -39
  218. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy/vsmart_template.py +0 -79
  219. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/policy_group.py +0 -30
  220. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/software_actions.py +0 -201
  221. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration/topology_group.py +0 -51
  222. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration_dashboard_status.py +0 -127
  223. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration_device_actions.py +0 -385
  224. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration_device_inventory.py +0 -309
  225. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration_device_template.py +0 -39
  226. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration_feature_profile.py +0 -135
  227. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration_general_template.py +0 -31
  228. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration_group.py +0 -197
  229. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration_settings.py +0 -749
  230. catalystwan-0.40.1.dev6/catalystwan/endpoints/configuration_template_master.py +0 -48
  231. catalystwan-0.40.1.dev6/catalystwan/endpoints/endpoints_container.py +0 -279
  232. catalystwan-0.40.1.dev6/catalystwan/endpoints/misc.py +0 -21
  233. catalystwan-0.40.1.dev6/catalystwan/endpoints/monitoring/device_details.py +0 -246
  234. catalystwan-0.40.1.dev6/catalystwan/endpoints/monitoring/security_policy.py +0 -12
  235. catalystwan-0.40.1.dev6/catalystwan/endpoints/monitoring/server_info.py +0 -12
  236. catalystwan-0.40.1.dev6/catalystwan/endpoints/monitoring/status.py +0 -76
  237. catalystwan-0.40.1.dev6/catalystwan/endpoints/real_time_monitoring/reboot_history.py +0 -35
  238. catalystwan-0.40.1.dev6/catalystwan/endpoints/sdavc_cloud_connector.py +0 -43
  239. catalystwan-0.40.1.dev6/catalystwan/endpoints/tenant_backup_restore.py +0 -40
  240. catalystwan-0.40.1.dev6/catalystwan/endpoints/tenant_management.py +0 -215
  241. catalystwan-0.40.1.dev6/catalystwan/endpoints/tenant_migration.py +0 -102
  242. catalystwan-0.40.1.dev6/catalystwan/endpoints/troubleshooting_tools/device_connectivity.py +0 -128
  243. catalystwan-0.40.1.dev6/catalystwan/endpoints/url_monitoring.py +0 -26
  244. catalystwan-0.40.1.dev6/catalystwan/integration_tests/__init__.py +0 -0
  245. catalystwan-0.40.1.dev6/catalystwan/integration_tests/base.py +0 -81
  246. catalystwan-0.40.1.dev6/catalystwan/integration_tests/feature_profile/sdwan/__init__.py +0 -0
  247. catalystwan-0.40.1.dev6/catalystwan/integration_tests/feature_profile/sdwan/policy/__init__.py +0 -0
  248. catalystwan-0.40.1.dev6/catalystwan/integration_tests/feature_profile/sdwan/policy/base.py +0 -33
  249. catalystwan-0.40.1.dev6/catalystwan/integration_tests/feature_profile/sdwan/policy/test_extended_community.py +0 -33
  250. catalystwan-0.40.1.dev6/catalystwan/integration_tests/feature_profile/sdwan/policy/test_security_app_list.py +0 -32
  251. catalystwan-0.40.1.dev6/catalystwan/integration_tests/feature_profile/sdwan/test_application_priority.py +0 -433
  252. catalystwan-0.40.1.dev6/catalystwan/integration_tests/feature_profile/sdwan/test_cli.py +0 -54
  253. catalystwan-0.40.1.dev6/catalystwan/integration_tests/feature_profile/sdwan/test_dns_security.py +0 -106
  254. catalystwan-0.40.1.dev6/catalystwan/integration_tests/feature_profile/sdwan/test_other.py +0 -49
  255. catalystwan-0.40.1.dev6/catalystwan/integration_tests/feature_profile/sdwan/test_service.py +0 -1078
  256. catalystwan-0.40.1.dev6/catalystwan/integration_tests/feature_profile/sdwan/test_sig_security.py +0 -322
  257. catalystwan-0.40.1.dev6/catalystwan/integration_tests/feature_profile/sdwan/test_ssl_decryption.py +0 -85
  258. catalystwan-0.40.1.dev6/catalystwan/integration_tests/feature_profile/sdwan/test_system.py +0 -368
  259. catalystwan-0.40.1.dev6/catalystwan/integration_tests/feature_profile/sdwan/test_transport.py +0 -1700
  260. catalystwan-0.40.1.dev6/catalystwan/integration_tests/feature_profile/sdwan/topology/test_topology.py +0 -93
  261. catalystwan-0.40.1.dev6/catalystwan/integration_tests/profile_builder/__init__.py +0 -0
  262. catalystwan-0.40.1.dev6/catalystwan/integration_tests/profile_builder/test_pb_service.py +0 -78
  263. catalystwan-0.40.1.dev6/catalystwan/integration_tests/profile_builder/test_pb_transport.py +0 -56
  264. catalystwan-0.40.1.dev6/catalystwan/integration_tests/profile_builder/test_pb_uc_voice.py +0 -277
  265. catalystwan-0.40.1.dev6/catalystwan/integration_tests/test_data/__init__.py +0 -117
  266. catalystwan-0.40.1.dev6/catalystwan/integration_tests/test_find_template_values.py +0 -38
  267. catalystwan-0.40.1.dev6/catalystwan/integration_tests/test_network_hierarchy.py +0 -82
  268. catalystwan-0.40.1.dev6/catalystwan/integration_tests/test_settings.py +0 -30
  269. catalystwan-0.40.1.dev6/catalystwan/logging.conf +0 -37
  270. catalystwan-0.40.1.dev6/catalystwan/models/common.py +0 -1508
  271. catalystwan-0.40.1.dev6/catalystwan/models/configuration/common.py +0 -11
  272. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/README.md +0 -344
  273. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/builder.py +0 -22
  274. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/common.py +0 -749
  275. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/parcel.py +0 -232
  276. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/acl/__init__.py +0 -13
  277. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/acl/ipv4acl.py +0 -298
  278. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/acl/ipv6acl.py +0 -344
  279. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/application_priority/__init__.py +0 -215
  280. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/application_priority/policy_settings.py +0 -31
  281. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/application_priority/qos_policy.py +0 -102
  282. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/application_priority/traffic_policy.py +0 -1054
  283. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/cli/__init__.py +0 -23
  284. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/cli/config.py +0 -18
  285. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/cli/full_config.py +0 -15
  286. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/dns_security/__init__.py +0 -13
  287. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/dns_security/dns.py +0 -107
  288. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/embedded_security/__init__.py +0 -23
  289. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/embedded_security/ngfirewall.py +0 -915
  290. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/embedded_security/policy.py +0 -171
  291. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/other/__init__.py +0 -23
  292. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/other/thousandeyes.py +0 -147
  293. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/other/ucse.py +0 -110
  294. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/__init__.py +0 -175
  295. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/app_probe.py +0 -56
  296. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/application_list.py +0 -31
  297. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/as_path.py +0 -22
  298. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/color_list.py +0 -21
  299. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/data_prefix.py +0 -35
  300. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/expanded_community_list.py +0 -25
  301. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/extended_community.py +0 -34
  302. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/fowarding_class.py +0 -26
  303. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/ipv6_data_prefix.py +0 -28
  304. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/ipv6_prefix_list.py +0 -38
  305. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/mirror.py +0 -27
  306. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/policer.py +0 -42
  307. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/prefered_group_color.py +0 -83
  308. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/prefix_list.py +0 -28
  309. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/sla_class.py +0 -130
  310. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/standard_community.py +0 -30
  311. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/policy/tloc_list.py +0 -44
  312. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/aip.py +0 -64
  313. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/amp.py +0 -79
  314. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/application_list.py +0 -31
  315. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/data_prefix.py +0 -22
  316. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/fqdn.py +0 -24
  317. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/geolocation_list.py +0 -32
  318. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/identity.py +0 -30
  319. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/intrusion_prevention.py +0 -58
  320. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/ips_signature.py +0 -44
  321. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/local_domain.py +0 -24
  322. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/protocol_list.py +0 -21
  323. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/scalable_group_tag.py +0 -26
  324. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/security_port.py +0 -45
  325. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/ssl_decryption.py +0 -126
  326. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/ssl_decryption_profile.py +0 -165
  327. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/url.py +0 -32
  328. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/url_filtering.py +0 -148
  329. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/policy_object/security/zone.py +0 -44
  330. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/routing/__init__.py +0 -26
  331. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/routing/bgp.py +0 -594
  332. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/routing/ospf.py +0 -170
  333. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/routing/ospfv3.py +0 -298
  334. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/service/__init__.py +0 -85
  335. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/service/appqoe.py +0 -270
  336. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/service/dhcp_server.py +0 -127
  337. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/service/eigrp.py +0 -103
  338. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/service/lan/common.py +0 -33
  339. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/service/lan/ethernet.py +0 -275
  340. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/service/lan/gre.py +0 -136
  341. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/service/lan/ipsec.py +0 -119
  342. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/service/lan/multilink.py +0 -101
  343. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/service/lan/svi.py +0 -172
  344. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/service/lan/vpn.py +0 -624
  345. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/service/multicast.py +0 -242
  346. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/service/object_tracker.py +0 -84
  347. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/service/route_policy.py +0 -419
  348. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/service/service_insertion_attachment.py +0 -184
  349. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/service/switchport.py +0 -112
  350. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/service/tracker.py +0 -92
  351. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/service/wireless_lan.py +0 -216
  352. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/sig_security/__init__.py +0 -19
  353. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/sig_security/sig_security.py +0 -379
  354. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/system/__init__.py +0 -59
  355. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/system/aaa.py +0 -406
  356. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/system/banner.py +0 -30
  357. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/system/basic.py +0 -290
  358. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/system/bfd.py +0 -69
  359. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/system/device_access.py +0 -157
  360. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/system/device_access_ipv6.py +0 -157
  361. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/system/global_parcel.py +0 -149
  362. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/system/logging_parcel.py +0 -162
  363. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/system/mrf.py +0 -75
  364. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/system/ntp.py +0 -103
  365. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/system/omp.py +0 -111
  366. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/system/security.py +0 -179
  367. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/system/snmp.py +0 -173
  368. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/topology/__init__.py +0 -29
  369. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/topology/custom_control.py +0 -425
  370. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/topology/hubspoke.py +0 -60
  371. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/topology/mesh.py +0 -23
  372. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/transport/__init__.py +0 -93
  373. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/transport/cellular_controller.py +0 -58
  374. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/transport/cellular_profile.py +0 -71
  375. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/transport/gps.py +0 -37
  376. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/transport/management/ethernet.py +0 -121
  377. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/transport/t1e1controller.py +0 -124
  378. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/transport/vpn.py +0 -285
  379. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/transport/wan/interface/cellular.py +0 -166
  380. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/transport/wan/interface/ethernet.py +0 -281
  381. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/transport/wan/interface/gre.py +0 -46
  382. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/transport/wan/interface/ipsec.py +0 -98
  383. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/transport/wan/interface/multilink.py +0 -219
  384. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/transport/wan/interface/protocol_over.py +0 -405
  385. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/transport/wan/interface/t1e1serial.py +0 -195
  386. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/__init__.py +0 -62
  387. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/analog_interface.py +0 -436
  388. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/call_routing.py +0 -179
  389. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/digital_interface.py +0 -329
  390. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/dsp_farm.py +0 -193
  391. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/media_profile.py +0 -25
  392. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/server_group.py +0 -51
  393. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/srst.py +0 -86
  394. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/supervisory_disconnect.py +0 -68
  395. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/translation_profile.py +0 -42
  396. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/translation_rule.py +0 -31
  397. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/trunk_group.py +0 -26
  398. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/voice_global.py +0 -55
  399. catalystwan-0.40.1.dev6/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/voice_tenant.py +0 -40
  400. catalystwan-0.40.1.dev6/catalystwan/models/configuration/network_hierarchy/__init__.py +0 -22
  401. catalystwan-0.40.1.dev6/catalystwan/models/configuration/network_hierarchy/cflowd.py +0 -120
  402. catalystwan-0.40.1.dev6/catalystwan/models/configuration/network_hierarchy/node.py +0 -88
  403. catalystwan-0.40.1.dev6/catalystwan/models/configuration/policy_group.py +0 -74
  404. catalystwan-0.40.1.dev6/catalystwan/models/configuration/profile_type.py +0 -5
  405. catalystwan-0.40.1.dev6/catalystwan/models/configuration/topology_group.py +0 -52
  406. catalystwan-0.40.1.dev6/catalystwan/models/device_inventory.py +0 -30
  407. catalystwan-0.40.1.dev6/catalystwan/models/feature_profile_parcel.py +0 -15
  408. catalystwan-0.40.1.dev6/catalystwan/models/misc/application_protocols.py +0 -29
  409. catalystwan-0.40.1.dev6/catalystwan/models/monitoring/security_policy.py +0 -16
  410. catalystwan-0.40.1.dev6/catalystwan/models/monitoring/server_info.py +0 -12
  411. catalystwan-0.40.1.dev6/catalystwan/models/policy/__init__.py +0 -392
  412. catalystwan-0.40.1.dev6/catalystwan/models/policy/centralized.py +0 -265
  413. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/access_control_list.py +0 -193
  414. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/access_control_list_ipv6.py +0 -187
  415. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/aip.py +0 -60
  416. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/amp.py +0 -65
  417. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/app_route.py +0 -246
  418. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/cflowd.py +0 -95
  419. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/control.py +0 -366
  420. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/device_access.py +0 -117
  421. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/device_access_ipv6.py +0 -115
  422. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/dial_peer.py +0 -60
  423. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/dns_security.py +0 -130
  424. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/fxo_port.py +0 -63
  425. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/fxs_did_port.py +0 -58
  426. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/fxs_port.py +0 -56
  427. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/hub_and_spoke.py +0 -87
  428. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/intrusion_prevention.py +0 -55
  429. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/mesh.py +0 -47
  430. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/pri_isdn_port.py +0 -48
  431. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/qos_map.py +0 -111
  432. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/rewrite.py +0 -47
  433. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/route_policy.py +0 -187
  434. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/rule_set.py +0 -270
  435. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/security_group.py +0 -93
  436. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/srst_phone_profile.py +0 -37
  437. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/ssl_decryption.py +0 -209
  438. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/ssl_decryption_utd_profile.py +0 -87
  439. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/traffic_data.py +0 -496
  440. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/url_filtering.py +0 -70
  441. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/vpn_membership.py +0 -42
  442. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/vpn_qos_map.py +0 -46
  443. catalystwan-0.40.1.dev6/catalystwan/models/policy/definition/zone_based_firewall.py +0 -301
  444. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/app.py +0 -44
  445. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/app_probe.py +0 -42
  446. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/as_path.py +0 -30
  447. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/class_map.py +0 -30
  448. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/color.py +0 -28
  449. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/communities.py +0 -83
  450. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/data_ipv6_prefix.py +0 -30
  451. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/data_prefix.py +0 -30
  452. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/fax_protocol.py +0 -45
  453. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/fqdn.py +0 -24
  454. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/geo_location.py +0 -33
  455. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/identity.py +0 -29
  456. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/ips_signature.py +0 -27
  457. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/ipv6_prefix.py +0 -33
  458. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/local_app.py +0 -45
  459. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/local_domain.py +0 -36
  460. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/media_profile.py +0 -44
  461. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/mirror.py +0 -27
  462. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/modem_pass_through.py +0 -27
  463. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/policer.py +0 -39
  464. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/port.py +0 -33
  465. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/preferred_color_group.py +0 -82
  466. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/prefix.py +0 -33
  467. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/protocol_name.py +0 -26
  468. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/region.py +0 -45
  469. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/scalable_group_tag.py +0 -30
  470. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/site.py +0 -34
  471. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/sla.py +0 -77
  472. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/supervisory_disconnect.py +0 -62
  473. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/threat_grid_api_key.py +0 -32
  474. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/tloc.py +0 -32
  475. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/translation_profile.py +0 -32
  476. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/translation_rules.py +0 -29
  477. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/trunkgroup.py +0 -56
  478. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/umbrella_data.py +0 -30
  479. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/url.py +0 -39
  480. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/vpn.py +0 -40
  481. catalystwan-0.40.1.dev6/catalystwan/models/policy/list/zone.py +0 -45
  482. catalystwan-0.40.1.dev6/catalystwan/models/policy/localized.py +0 -154
  483. catalystwan-0.40.1.dev6/catalystwan/models/policy/policy.py +0 -100
  484. catalystwan-0.40.1.dev6/catalystwan/models/policy/policy_definition.py +0 -1624
  485. catalystwan-0.40.1.dev6/catalystwan/models/policy/policy_list.py +0 -47
  486. catalystwan-0.40.1.dev6/catalystwan/models/policy/security.py +0 -279
  487. catalystwan-0.40.1.dev6/catalystwan/models/policy/voice.py +0 -71
  488. catalystwan-0.40.1.dev6/catalystwan/models/settings.py +0 -41
  489. catalystwan-0.40.1.dev6/catalystwan/models/templates.py +0 -79
  490. catalystwan-0.40.1.dev6/catalystwan/models/tenant.py +0 -105
  491. catalystwan-0.40.1.dev6/catalystwan/models/url_monitoring.py +0 -28
  492. catalystwan-0.40.1.dev6/catalystwan/tests/__init__.py +0 -0
  493. catalystwan-0.40.1.dev6/catalystwan/tests/builders/uc_voice.py +0 -85
  494. catalystwan-0.40.1.dev6/catalystwan/tests/models/__init__.py +0 -0
  495. catalystwan-0.40.1.dev6/catalystwan/tests/templates/__init__.py +0 -0
  496. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/__init__.py +0 -0
  497. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/aaa_basic.json +0 -96
  498. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/aaa_complex.json +0 -464
  499. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/basic/__init__.py +0 -0
  500. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/basic/alias.json +0 -7
  501. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/basic/basic.json +0 -7
  502. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/basic/basic_no_value.json +0 -7
  503. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/basic/children.json +0 -39
  504. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/basic/children_nested.json +0 -72
  505. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/basic/children_nested_datapath.json +0 -72
  506. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/basic/data_path.json +0 -13
  507. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/cisco_aaa.json +0 -178
  508. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/cisco_aaa_complex.json +0 -361
  509. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/cisco_banner.json +0 -20
  510. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/cisco_bfd.json +0 -90
  511. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/cisco_logging_complex.json +0 -268
  512. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/cisco_ntp_complex.json +0 -143
  513. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/cisco_omp_complex.json +0 -175
  514. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/cisco_ospf_complex.json +0 -302
  515. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/cisco_sig.json +0 -405
  516. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/cisco_snmp_complex.json +0 -258
  517. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/cisco_system_complex.json +0 -502
  518. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/cisco_vpn_basic.json +0 -17
  519. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/cisco_vpn_complex.json +0 -1081
  520. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/cisco_vpn_interface_complex.json +0 -821
  521. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/default_cisco_system.json +0 -184
  522. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/omp_vsmart_1.json +0 -26
  523. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/omp_vsmart_2.json +0 -48
  524. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/omp_vsmart_3.json +0 -71
  525. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/omp_vsmart_complex.json +0 -73
  526. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/security_vsmart_complex.json +0 -24
  527. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/system_vsmart_complex.json +0 -193
  528. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/vpn_vsmart_basic.json +0 -17
  529. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/vpn_vsmart_complex.json +0 -179
  530. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/vpn_vsmart_interface_basic.json +0 -42
  531. catalystwan-0.40.1.dev6/catalystwan/tests/templates/definitions/vpn_vsmart_interface_complex.json +0 -208
  532. catalystwan-0.40.1.dev6/catalystwan/tests/templates/models/__init__.py +0 -53
  533. catalystwan-0.40.1.dev6/catalystwan/tests/templates/models/aaa.py +0 -106
  534. catalystwan-0.40.1.dev6/catalystwan/tests/templates/models/cisco_aaa.py +0 -124
  535. catalystwan-0.40.1.dev6/catalystwan/tests/templates/models/cisco_banner.py +0 -7
  536. catalystwan-0.40.1.dev6/catalystwan/tests/templates/models/cisco_bfd.py +0 -15
  537. catalystwan-0.40.1.dev6/catalystwan/tests/templates/models/cisco_logging.py +0 -65
  538. catalystwan-0.40.1.dev6/catalystwan/tests/templates/models/cisco_ntp.py +0 -17
  539. catalystwan-0.40.1.dev6/catalystwan/tests/templates/models/cisco_omp.py +0 -37
  540. catalystwan-0.40.1.dev6/catalystwan/tests/templates/models/cisco_ospf.py +0 -60
  541. catalystwan-0.40.1.dev6/catalystwan/tests/templates/models/cisco_secure_internet_gateway.py +0 -95
  542. catalystwan-0.40.1.dev6/catalystwan/tests/templates/models/cisco_snmp.py +0 -40
  543. catalystwan-0.40.1.dev6/catalystwan/tests/templates/models/cisco_system.py +0 -113
  544. catalystwan-0.40.1.dev6/catalystwan/tests/templates/models/cisco_vpn.py +0 -240
  545. catalystwan-0.40.1.dev6/catalystwan/tests/templates/models/cisco_vpn_interface.py +0 -200
  546. catalystwan-0.40.1.dev6/catalystwan/tests/templates/models/omp_vsmart.py +0 -53
  547. catalystwan-0.40.1.dev6/catalystwan/tests/templates/models/security_vsmart.py +0 -11
  548. catalystwan-0.40.1.dev6/catalystwan/tests/templates/models/system_vsmart.py +0 -37
  549. catalystwan-0.40.1.dev6/catalystwan/tests/templates/models/vpn_vsmart.py +0 -32
  550. catalystwan-0.40.1.dev6/catalystwan/tests/templates/models/vpn_vsmart_interface.py +0 -54
  551. catalystwan-0.40.1.dev6/catalystwan/tests/templates/schemas/aaa.json +0 -1096
  552. catalystwan-0.40.1.dev6/catalystwan/tests/templates/schemas/basic/alias.json +0 -24
  553. catalystwan-0.40.1.dev6/catalystwan/tests/templates/schemas/basic/basic.json +0 -23
  554. catalystwan-0.40.1.dev6/catalystwan/tests/templates/schemas/basic/children.json +0 -59
  555. catalystwan-0.40.1.dev6/catalystwan/tests/templates/schemas/basic/children_nested.json +0 -112
  556. catalystwan-0.40.1.dev6/catalystwan/tests/templates/schemas/basic/children_nested_datapath.json +0 -112
  557. catalystwan-0.40.1.dev6/catalystwan/tests/templates/schemas/basic/data_path.json +0 -29
  558. catalystwan-0.40.1.dev6/catalystwan/tests/templates/schemas/cedge_aaa.json +0 -1185
  559. catalystwan-0.40.1.dev6/catalystwan/tests/templates/schemas/cisco_banner.json +0 -44
  560. catalystwan-0.40.1.dev6/catalystwan/tests/templates/schemas/cisco_bfd.json +0 -266
  561. catalystwan-0.40.1.dev6/catalystwan/tests/templates/schemas/cisco_logging.json +0 -577
  562. catalystwan-0.40.1.dev6/catalystwan/tests/templates/schemas/cisco_ntp.json +0 -265
  563. catalystwan-0.40.1.dev6/catalystwan/tests/templates/schemas/cisco_omp.json +0 -479
  564. catalystwan-0.40.1.dev6/catalystwan/tests/templates/schemas/cisco_ospf.json +0 -908
  565. catalystwan-0.40.1.dev6/catalystwan/tests/templates/schemas/cisco_secure_internet_gateway.json +0 -1520
  566. catalystwan-0.40.1.dev6/catalystwan/tests/templates/schemas/cisco_snmp.json +0 -561
  567. catalystwan-0.40.1.dev6/catalystwan/tests/templates/schemas/cisco_system.json +0 -3099
  568. catalystwan-0.40.1.dev6/catalystwan/tests/templates/schemas/cisco_vpn.json +0 -2504
  569. catalystwan-0.40.1.dev6/catalystwan/tests/templates/schemas/cisco_vpn_interface.json +0 -3348
  570. catalystwan-0.40.1.dev6/catalystwan/tests/templates/schemas/omp-vsmart.json +0 -222
  571. catalystwan-0.40.1.dev6/catalystwan/tests/templates/schemas/security-vsmart.json +0 -58
  572. catalystwan-0.40.1.dev6/catalystwan/tests/templates/schemas/system-vsmart.json +0 -2585
  573. catalystwan-0.40.1.dev6/catalystwan/tests/templates/schemas/vpn-vsmart-interface.json +0 -859
  574. catalystwan-0.40.1.dev6/catalystwan/tests/templates/schemas/vpn-vsmart.json +0 -445
  575. catalystwan-0.40.1.dev6/catalystwan/tests/templates/test_chose_model.py +0 -32
  576. catalystwan-0.40.1.dev6/catalystwan/tests/templates/test_deserialize_model.py +0 -69
  577. catalystwan-0.40.1.dev6/catalystwan/tests/templates/test_find_template_values.py +0 -193
  578. catalystwan-0.40.1.dev6/catalystwan/tests/templates/test_find_template_values_2.py +0 -193
  579. catalystwan-0.40.1.dev6/catalystwan/tests/templates/test_generate_payload.py +0 -137
  580. catalystwan-0.40.1.dev6/catalystwan/tests/templates/test_serialize_model.py +0 -52
  581. catalystwan-0.40.1.dev6/catalystwan/tests/test_admin_tech_api.py +0 -198
  582. catalystwan-0.40.1.dev6/catalystwan/tests/test_administration.py +0 -470
  583. catalystwan-0.40.1.dev6/catalystwan/tests/test_alarms_api.py +0 -251
  584. catalystwan-0.40.1.dev6/catalystwan/tests/test_cli_template.py +0 -218
  585. catalystwan-0.40.1.dev6/catalystwan/tests/test_creation_tools.py +0 -155
  586. catalystwan-0.40.1.dev6/catalystwan/tests/test_device_action_api.py +0 -117
  587. catalystwan-0.40.1.dev6/catalystwan/tests/test_devices_api.py +0 -674
  588. catalystwan-0.40.1.dev6/catalystwan/tests/test_endpoints.py +0 -907
  589. catalystwan-0.40.1.dev6/catalystwan/tests/test_feature_profile_api.py +0 -282
  590. catalystwan-0.40.1.dev6/catalystwan/tests/test_feature_template_field.py +0 -33
  591. catalystwan-0.40.1.dev6/catalystwan/tests/test_logs_api.py +0 -40
  592. catalystwan-0.40.1.dev6/catalystwan/tests/test_models_common.py +0 -53
  593. catalystwan-0.40.1.dev6/catalystwan/tests/test_monitoring_security_policy.py +0 -65
  594. catalystwan-0.40.1.dev6/catalystwan/tests/test_monitoring_server_info.py +0 -49
  595. catalystwan-0.40.1.dev6/catalystwan/tests/test_monitoring_status_api.py +0 -118
  596. catalystwan-0.40.1.dev6/catalystwan/tests/test_mtt_aaa_api.py +0 -293
  597. catalystwan-0.40.1.dev6/catalystwan/tests/test_omp_api.py +0 -438
  598. catalystwan-0.40.1.dev6/catalystwan/tests/test_packet_capture.py +0 -125
  599. catalystwan-0.40.1.dev6/catalystwan/tests/test_partition_manager_api.py +0 -121
  600. catalystwan-0.40.1.dev6/catalystwan/tests/test_response.py +0 -183
  601. catalystwan-0.40.1.dev6/catalystwan/tests/test_session.py +0 -102
  602. catalystwan-0.40.1.dev6/catalystwan/tests/test_software_action_api.py +0 -154
  603. catalystwan-0.40.1.dev6/catalystwan/tests/test_speed_test_api.py +0 -143
  604. catalystwan-0.40.1.dev6/catalystwan/tests/test_task_status_api.py +0 -381
  605. catalystwan-0.40.1.dev6/catalystwan/tests/test_templates.py +0 -405
  606. catalystwan-0.40.1.dev6/catalystwan/tests/test_tenant_backup_restore_api.py +0 -88
  607. catalystwan-0.40.1.dev6/catalystwan/tests/test_tenant_management_api.py +0 -153
  608. catalystwan-0.40.1.dev6/catalystwan/tests/test_tenant_migration_api.py +0 -102
  609. catalystwan-0.40.1.dev6/catalystwan/tests/test_typed_list.py +0 -426
  610. catalystwan-0.40.1.dev6/catalystwan/tests/test_url_monitoring.py +0 -80
  611. catalystwan-0.40.1.dev6/catalystwan/tests/test_version.py +0 -99
  612. catalystwan-0.40.1.dev6/catalystwan/tests/test_version_utils.py +0 -240
  613. catalystwan-0.40.1.dev6/catalystwan/tests/test_vmanage_auth.py +0 -149
  614. catalystwan-0.40.1.dev6/catalystwan/typed_list.py +0 -288
  615. catalystwan-0.40.1.dev6/catalystwan/utils/__init__.py +0 -0
  616. catalystwan-0.40.1.dev6/catalystwan/utils/alarm_status.py +0 -16
  617. catalystwan-0.40.1.dev6/catalystwan/utils/certificate_status.py +0 -13
  618. catalystwan-0.40.1.dev6/catalystwan/utils/colors.py +0 -12
  619. catalystwan-0.40.1.dev6/catalystwan/utils/config_status.py +0 -8
  620. catalystwan-0.40.1.dev6/catalystwan/utils/creation_tools.py +0 -136
  621. catalystwan-0.40.1.dev6/catalystwan/utils/dashboard.py +0 -255
  622. catalystwan-0.40.1.dev6/catalystwan/utils/device_model.py +0 -322
  623. catalystwan-0.40.1.dev6/catalystwan/utils/dict.py +0 -61
  624. catalystwan-0.40.1.dev6/catalystwan/utils/feature_template/choose_model.py +0 -30
  625. catalystwan-0.40.1.dev6/catalystwan/utils/feature_template/find_template_values.py +0 -111
  626. catalystwan-0.40.1.dev6/catalystwan/utils/model.py +0 -45
  627. catalystwan-0.40.1.dev6/catalystwan/utils/operation_status.py +0 -22
  628. catalystwan-0.40.1.dev6/catalystwan/utils/persona.py +0 -5
  629. catalystwan-0.40.1.dev6/catalystwan/utils/personality.py +0 -10
  630. catalystwan-0.40.1.dev6/catalystwan/utils/pydantic_field.py +0 -12
  631. catalystwan-0.40.1.dev6/catalystwan/utils/reachability.py +0 -14
  632. catalystwan-0.40.1.dev6/catalystwan/utils/session_type.py +0 -17
  633. catalystwan-0.40.1.dev6/catalystwan/utils/template_type.py +0 -8
  634. catalystwan-0.40.1.dev6/catalystwan/utils/type_check.py +0 -22
  635. catalystwan-0.40.1.dev6/catalystwan/utils/upgrades_helper.py +0 -95
  636. catalystwan-0.40.1.dev6/catalystwan/utils/validate_status.py +0 -8
  637. catalystwan-0.40.1.dev6/catalystwan/workflows/backup_restore_device_templates.py +0 -467
  638. catalystwan-0.40.1.dev6/catalystwan/workflows/tenant_migration.py +0 -203
  639. catalystwan-0.40.1.dev6/pyproject.toml +0 -37
  640. catalystwan-0.40.1.dev6/setup.py +0 -108
  641. {catalystwan-0.40.1.dev6 → catalystwan-2.0.0a0}/LICENSE +0 -0
  642. {catalystwan-0.40.1.dev6/catalystwan/api → catalystwan-2.0.0a0/src/catalystwan/core/models}/__init__.py +0 -0
  643. /catalystwan-0.40.1.dev6/catalystwan/api/builders/feature_profiles/__init__.py → /catalystwan-2.0.0a0/src/catalystwan/core/py.typed +0 -0
@@ -0,0 +1,327 @@
1
+ Metadata-Version: 2.1
2
+ Name: catalystwan
3
+ Version: 2.0.0a0
4
+ Summary: Cisco Catalyst WAN SDK for Python
5
+ License: Apache License
6
+ Version 2.0, January 2004
7
+ http://www.apache.org/licenses/
8
+
9
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
10
+
11
+ 1. Definitions.
12
+
13
+ "License" shall mean the terms and conditions for use, reproduction,
14
+ and distribution as defined by Sections 1 through 9 of this document.
15
+
16
+ "Licensor" shall mean the copyright owner or entity authorized by
17
+ the copyright owner that is granting the License.
18
+
19
+ "Legal Entity" shall mean the union of the acting entity and all
20
+ other entities that control, are controlled by, or are under common
21
+ control with that entity. For the purposes of this definition,
22
+ "control" means (i) the power, direct or indirect, to cause the
23
+ direction or management of such entity, whether by contract or
24
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
25
+ outstanding shares, or (iii) beneficial ownership of such entity.
26
+
27
+ "You" (or "Your") shall mean an individual or Legal Entity
28
+ exercising permissions granted by this License.
29
+
30
+ "Source" form shall mean the preferred form for making modifications,
31
+ including but not limited to software source code, documentation
32
+ source, and configuration files.
33
+
34
+ "Object" form shall mean any form resulting from mechanical
35
+ transformation or translation of a Source form, including but
36
+ not limited to compiled object code, generated documentation,
37
+ and conversions to other media types.
38
+
39
+ "Work" shall mean the work of authorship, whether in Source or
40
+ Object form, made available under the License, as indicated by a
41
+ copyright notice that is included in or attached to the work
42
+ (an example is provided in the Appendix below).
43
+
44
+ "Derivative Works" shall mean any work, whether in Source or Object
45
+ form, that is based on (or derived from) the Work and for which the
46
+ editorial revisions, annotations, elaborations, or other modifications
47
+ represent, as a whole, an original work of authorship. For the purposes
48
+ of this License, Derivative Works shall not include works that remain
49
+ separable from, or merely link (or bind by name) to the interfaces of,
50
+ the Work and Derivative Works thereof.
51
+
52
+ "Contribution" shall mean any work of authorship, including
53
+ the original version of the Work and any modifications or additions
54
+ to that Work or Derivative Works thereof, that is intentionally
55
+ submitted to Licensor for inclusion in the Work by the copyright owner
56
+ or by an individual or Legal Entity authorized to submit on behalf of
57
+ the copyright owner. For the purposes of this definition, "submitted"
58
+ means any form of electronic, verbal, or written communication sent
59
+ to the Licensor or its representatives, including but not limited to
60
+ communication on electronic mailing lists, source code control systems,
61
+ and issue tracking systems that are managed by, or on behalf of, the
62
+ Licensor for the purpose of discussing and improving the Work, but
63
+ excluding communication that is conspicuously marked or otherwise
64
+ designated in writing by the copyright owner as "Not a Contribution."
65
+
66
+ "Contributor" shall mean Licensor and any individual or Legal Entity
67
+ on behalf of whom a Contribution has been received by Licensor and
68
+ subsequently incorporated within the Work.
69
+
70
+ 2. Grant of Copyright License. Subject to the terms and conditions of
71
+ this License, each Contributor hereby grants to You a perpetual,
72
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
73
+ copyright license to reproduce, prepare Derivative Works of,
74
+ publicly display, publicly perform, sublicense, and distribute the
75
+ Work and such Derivative Works in Source or Object form.
76
+
77
+ 3. Grant of Patent License. Subject to the terms and conditions of
78
+ this License, each Contributor hereby grants to You a perpetual,
79
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
80
+ (except as stated in this section) patent license to make, have made,
81
+ use, offer to sell, sell, import, and otherwise transfer the Work,
82
+ where such license applies only to those patent claims licensable
83
+ by such Contributor that are necessarily infringed by their
84
+ Contribution(s) alone or by combination of their Contribution(s)
85
+ with the Work to which such Contribution(s) was submitted. If You
86
+ institute patent litigation against any entity (including a
87
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
88
+ or a Contribution incorporated within the Work constitutes direct
89
+ or contributory patent infringement, then any patent licenses
90
+ granted to You under this License for that Work shall terminate
91
+ as of the date such litigation is filed.
92
+
93
+ 4. Redistribution. You may reproduce and distribute copies of the
94
+ Work or Derivative Works thereof in any medium, with or without
95
+ modifications, and in Source or Object form, provided that You
96
+ meet the following conditions:
97
+
98
+ (a) You must give any other recipients of the Work or
99
+ Derivative Works a copy of this License; and
100
+
101
+ (b) You must cause any modified files to carry prominent notices
102
+ stating that You changed the files; and
103
+
104
+ (c) You must retain, in the Source form of any Derivative Works
105
+ that You distribute, all copyright, patent, trademark, and
106
+ attribution notices from the Source form of the Work,
107
+ excluding those notices that do not pertain to any part of
108
+ the Derivative Works; and
109
+
110
+ (d) If the Work includes a "NOTICE" text file as part of its
111
+ distribution, then any Derivative Works that You distribute must
112
+ include a readable copy of the attribution notices contained
113
+ within such NOTICE file, excluding those notices that do not
114
+ pertain to any part of the Derivative Works, in at least one
115
+ of the following places: within a NOTICE text file distributed
116
+ as part of the Derivative Works; within the Source form or
117
+ documentation, if provided along with the Derivative Works; or,
118
+ within a display generated by the Derivative Works, if and
119
+ wherever such third-party notices normally appear. The contents
120
+ of the NOTICE file are for informational purposes only and
121
+ do not modify the License. You may add Your own attribution
122
+ notices within Derivative Works that You distribute, alongside
123
+ or as an addendum to the NOTICE text from the Work, provided
124
+ that such additional attribution notices cannot be construed
125
+ as modifying the License.
126
+
127
+ You may add Your own copyright statement to Your modifications and
128
+ may provide additional or different license terms and conditions
129
+ for use, reproduction, or distribution of Your modifications, or
130
+ for any such Derivative Works as a whole, provided Your use,
131
+ reproduction, and distribution of the Work otherwise complies with
132
+ the conditions stated in this License.
133
+
134
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
135
+ any Contribution intentionally submitted for inclusion in the Work
136
+ by You to the Licensor shall be under the terms and conditions of
137
+ this License, without any additional terms or conditions.
138
+ Notwithstanding the above, nothing herein shall supersede or modify
139
+ the terms of any separate license agreement you may have executed
140
+ with Licensor regarding such Contributions.
141
+
142
+ 6. Trademarks. This License does not grant permission to use the trade
143
+ names, trademarks, service marks, or product names of the Licensor,
144
+ except as required for reasonable and customary use in describing the
145
+ origin of the Work and reproducing the content of the NOTICE file.
146
+
147
+ 7. Disclaimer of Warranty. Unless required by applicable law or
148
+ agreed to in writing, Licensor provides the Work (and each
149
+ Contributor provides its Contributions) on an "AS IS" BASIS,
150
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
151
+ implied, including, without limitation, any warranties or conditions
152
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
153
+ PARTICULAR PURPOSE. You are solely responsible for determining the
154
+ appropriateness of using or redistributing the Work and assume any
155
+ risks associated with Your exercise of permissions under this License.
156
+
157
+ 8. Limitation of Liability. In no event and under no legal theory,
158
+ whether in tort (including negligence), contract, or otherwise,
159
+ unless required by applicable law (such as deliberate and grossly
160
+ negligent acts) or agreed to in writing, shall any Contributor be
161
+ liable to You for damages, including any direct, indirect, special,
162
+ incidental, or consequential damages of any character arising as a
163
+ result of this License or out of the use or inability to use the
164
+ Work (including but not limited to damages for loss of goodwill,
165
+ work stoppage, computer failure or malfunction, or any and all
166
+ other commercial damages or losses), even if such Contributor
167
+ has been advised of the possibility of such damages.
168
+
169
+ 9. Accepting Warranty or Additional Liability. While redistributing
170
+ the Work or Derivative Works thereof, You may choose to offer,
171
+ and charge a fee for, acceptance of support, warranty, indemnity,
172
+ or other liability obligations and/or rights consistent with this
173
+ License. However, in accepting such obligations, You may act only
174
+ on Your own behalf and on Your sole responsibility, not on behalf
175
+ of any other Contributor, and only if You agree to indemnify,
176
+ defend, and hold each Contributor harmless for any liability
177
+ incurred by, or claims asserted against, such Contributor by reason
178
+ of your accepting any such warranty or additional liability.
179
+
180
+ END OF TERMS AND CONDITIONS
181
+
182
+ APPENDIX: How to apply the Apache License to your work.
183
+
184
+ To apply the Apache License to your work, attach the following
185
+ boilerplate notice, with the fields enclosed by brackets "[]"
186
+ replaced with your own identifying information. (Don't include
187
+ the brackets!) The text should be enclosed in the appropriate
188
+ comment syntax for the file format. We also recommend that a
189
+ file or class name and description of purpose be included on the
190
+ same "printed page" as the copyright notice for easier
191
+ identification within third-party archives.
192
+
193
+ Copyright (c) 2024 Cisco Systems, Inc. and/or its affiliates
194
+
195
+ Licensed under the Apache License, Version 2.0 (the "License");
196
+ you may not use this file except in compliance with the License.
197
+ You may obtain a copy of the License at
198
+
199
+ http://www.apache.org/licenses/LICENSE-2.0
200
+
201
+ Unless required by applicable law or agreed to in writing, software
202
+ distributed under the License is distributed on an "AS IS" BASIS,
203
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
204
+ See the License for the specific language governing permissions and
205
+ limitations under the License.
206
+
207
+ Project-URL: Homepage, https://github.com/cisco-en-programmability/catalystwan-sdk-next-python
208
+ Classifier: Development Status :: 3 - Alpha
209
+ Classifier: Intended Audience :: Developers
210
+ Classifier: License :: OSI Approved :: Apache Software License
211
+ Classifier: Programming Language :: Python
212
+ Classifier: Programming Language :: Python :: 3
213
+ Classifier: Programming Language :: Python :: 3.8
214
+ Classifier: Programming Language :: Python :: 3.9
215
+ Classifier: Programming Language :: Python :: 3.10
216
+ Classifier: Programming Language :: Python :: 3.11
217
+ Classifier: Programming Language :: Python :: 3.12
218
+ Classifier: Operating System :: OS Independent
219
+ Classifier: Topic :: Internet
220
+ Requires-Python: >=3.8
221
+ Description-Content-Type: text/markdown
222
+ License-File: LICENSE
223
+ Requires-Dist: packaging>=23.0
224
+ Requires-Dist: requests>=2.32.3
225
+ Requires-Dist: typing-extensions>=4.12.2
226
+ Requires-Dist: urllib3>=2.2.2
227
+ Requires-Dist: catalystwan-types==2.0.0a0
228
+ Requires-Dist: catalystwan-v20-15==2.0.0a0
229
+ Requires-Dist: catalystwan-v20-16==2.0.0a0
230
+ Provides-Extra: test
231
+ Requires-Dist: pytest>=8.2.2; extra == "test"
232
+ Provides-Extra: ver-all
233
+ Requires-Dist: catalystwan-v20-15==2.0.0a0; extra == "ver-all"
234
+ Requires-Dist: catalystwan-v20-16==2.0.0a0; extra == "ver-all"
235
+ Provides-Extra: ver-2015
236
+ Requires-Dist: catalystwan-v20-15==2.0.0a0; extra == "ver-2015"
237
+ Provides-Extra: ver-2016
238
+ Requires-Dist: catalystwan-v20-16==2.0.0a0; extra == "ver-2016"
239
+
240
+ Cisco Catalyst WAN SDK 2.0
241
+ ==========================
242
+
243
+ Welcome to the official documentation for the Cisco Catalyst WAN SDK, a package designed for creating simple and parallel automatic requests via the official SD-WAN Manager API.
244
+
245
+ Overview
246
+ --------
247
+
248
+ Cisco Catalyst WAN SDK serves as a multiple session handler (provider, provider as a tenant, tenant) and is environment-independent. You just need a connection to any SD-WAN Manager.
249
+
250
+ Supported Catalystwan WAN Server Versions
251
+ -----------------------------------------
252
+
253
+ - 20.15
254
+ - 20.16
255
+
256
+ Important Notice: Version Incompatibility
257
+ -----------------------------------------
258
+
259
+ Cisco Catalyst WAN SDK Version 2.0 Incompatibility with Legacy Versions
260
+ We are excited to announce the release of Cisco Catalyst WAN SDK version 2.0.
261
+ This new version introduces a range of enhancements and features designed
262
+ to improve performance and usability. However, it is important to note that version 2.0
263
+ is not compatible with any previous legacy versions of the SDK.
264
+
265
+ Actions Recommended:
266
+ Backup: Ensure you have backups of your current projects before attempting to upgrade.
267
+ Review Documentation: Carefully review the updated documentation and release notes for guidance on migration and new features.
268
+ Test Thoroughly: Test your projects thoroughly in a development environment before deploying version 2.0 in production.
269
+
270
+ We appreciate your understanding and cooperation as we continue to enhance the Cisco Catalyst WAN SDK. Should you have any questions or require assistance, please reach out through our support channels.
271
+
272
+ Thank you for your continued support and feedback!
273
+
274
+
275
+ Installation
276
+ ------------
277
+
278
+ To install the SDK, run the following command:
279
+
280
+ ```bash
281
+ pip install catalystwan
282
+ ```
283
+
284
+ Supported Python Versions
285
+ -------------------------
286
+
287
+ Python >= 3.8
288
+
289
+
290
+ Getting Started
291
+ ---------------
292
+
293
+ To execute SDK APIs, you need to create a `ApiClient`. Use the `create_client()` method to configure a session, perform authentication, and obtain a `ApiClient` instance in an operational state.
294
+
295
+ ### Example Usage
296
+
297
+ Here's a quick example of how to use the SDK:
298
+
299
+ ```python
300
+ from catalystwan.core import create_client
301
+
302
+ url = "example.com"
303
+ username = "admin"
304
+ password = "password123"
305
+
306
+ with create_client(url=url, username=username, password=password) as client:
307
+ result = client.health.devices.get_devices_health()
308
+ print(result)
309
+ ```
310
+
311
+ If you need to preform more complex operations that require models, they can utilize an alias: `m`.
312
+ ```python
313
+
314
+ with create_client(...) as client:
315
+ result = client.admin.aaa.update_aaa_config(
316
+ client.admin.aaa.m.Aaa(
317
+ accounting: True,
318
+ admin_auth_order: False,
319
+ audit_disable: False,
320
+ auth_fallback: False,
321
+ auth_order: ["local"]
322
+ )
323
+ )
324
+ print(result)
325
+ ```
326
+
327
+ Using an alias allows for easier access and management of models, simplifying workflows and improving efficiency. This approach helps streamline operations without requiring direct integration with underlying models, making them more user-friendly and scalable.
@@ -0,0 +1,88 @@
1
+ Cisco Catalyst WAN SDK 2.0
2
+ ==========================
3
+
4
+ Welcome to the official documentation for the Cisco Catalyst WAN SDK, a package designed for creating simple and parallel automatic requests via the official SD-WAN Manager API.
5
+
6
+ Overview
7
+ --------
8
+
9
+ Cisco Catalyst WAN SDK serves as a multiple session handler (provider, provider as a tenant, tenant) and is environment-independent. You just need a connection to any SD-WAN Manager.
10
+
11
+ Supported Catalystwan WAN Server Versions
12
+ -----------------------------------------
13
+
14
+ - 20.15
15
+ - 20.16
16
+
17
+ Important Notice: Version Incompatibility
18
+ -----------------------------------------
19
+
20
+ Cisco Catalyst WAN SDK Version 2.0 Incompatibility with Legacy Versions
21
+ We are excited to announce the release of Cisco Catalyst WAN SDK version 2.0.
22
+ This new version introduces a range of enhancements and features designed
23
+ to improve performance and usability. However, it is important to note that version 2.0
24
+ is not compatible with any previous legacy versions of the SDK.
25
+
26
+ Actions Recommended:
27
+ Backup: Ensure you have backups of your current projects before attempting to upgrade.
28
+ Review Documentation: Carefully review the updated documentation and release notes for guidance on migration and new features.
29
+ Test Thoroughly: Test your projects thoroughly in a development environment before deploying version 2.0 in production.
30
+
31
+ We appreciate your understanding and cooperation as we continue to enhance the Cisco Catalyst WAN SDK. Should you have any questions or require assistance, please reach out through our support channels.
32
+
33
+ Thank you for your continued support and feedback!
34
+
35
+
36
+ Installation
37
+ ------------
38
+
39
+ To install the SDK, run the following command:
40
+
41
+ ```bash
42
+ pip install catalystwan
43
+ ```
44
+
45
+ Supported Python Versions
46
+ -------------------------
47
+
48
+ Python >= 3.8
49
+
50
+
51
+ Getting Started
52
+ ---------------
53
+
54
+ To execute SDK APIs, you need to create a `ApiClient`. Use the `create_client()` method to configure a session, perform authentication, and obtain a `ApiClient` instance in an operational state.
55
+
56
+ ### Example Usage
57
+
58
+ Here's a quick example of how to use the SDK:
59
+
60
+ ```python
61
+ from catalystwan.core import create_client
62
+
63
+ url = "example.com"
64
+ username = "admin"
65
+ password = "password123"
66
+
67
+ with create_client(url=url, username=username, password=password) as client:
68
+ result = client.health.devices.get_devices_health()
69
+ print(result)
70
+ ```
71
+
72
+ If you need to preform more complex operations that require models, they can utilize an alias: `m`.
73
+ ```python
74
+
75
+ with create_client(...) as client:
76
+ result = client.admin.aaa.update_aaa_config(
77
+ client.admin.aaa.m.Aaa(
78
+ accounting: True,
79
+ admin_auth_order: False,
80
+ audit_disable: False,
81
+ auth_fallback: False,
82
+ auth_order: ["local"]
83
+ )
84
+ )
85
+ print(result)
86
+ ```
87
+
88
+ Using an alias allows for easier access and management of models, simplifying workflows and improving efficiency. This approach helps streamline operations without requiring direct integration with underlying models, making them more user-friendly and scalable.
@@ -0,0 +1,82 @@
1
+ [project]
2
+ name = "catalystwan"
3
+ version = "2.0.0a0"
4
+ description = "Cisco Catalyst WAN SDK for Python"
5
+ dependencies = [
6
+ "packaging >= 23.0",
7
+ "requests >= 2.32.3",
8
+ "typing-extensions >= 4.12.2",
9
+ "urllib3 >=2.2.2",
10
+ "catalystwan-types == 2.0.0a0",
11
+ "catalystwan-v20-15 == 2.0.0a0",
12
+ "catalystwan-v20-16 == 2.0.0a0"
13
+ ]
14
+ readme = "README.md"
15
+ license = {file = "LICENSE"}
16
+ requires-python = ">= 3.8"
17
+ classifiers = [
18
+ # one of:
19
+ # "Development Status :: 3 - Alpha"
20
+ # "Development Status :: 4 - Beta"
21
+ # "Development Status :: 5 - Production/Stable"
22
+ "Development Status :: 3 - Alpha",
23
+ "Intended Audience :: Developers",
24
+ "License :: OSI Approved :: Apache Software License",
25
+ "Programming Language :: Python",
26
+ "Programming Language :: Python :: 3",
27
+ "Programming Language :: Python :: 3.8",
28
+ "Programming Language :: Python :: 3.9",
29
+ "Programming Language :: Python :: 3.10",
30
+ "Programming Language :: Python :: 3.11",
31
+ "Programming Language :: Python :: 3.12",
32
+ "Operating System :: OS Independent",
33
+ "Topic :: Internet",
34
+ ]
35
+ [project.urls]
36
+ Homepage = "https://github.com/cisco-en-programmability/catalystwan-sdk-next-python"
37
+
38
+ [project.optional-dependencies]
39
+ test = [
40
+ "pytest>=8.2.2",
41
+ ]
42
+ "ver-all" = [
43
+ "catalystwan-v20-15 == 2.0.0a0",
44
+ "catalystwan-v20-16 == 2.0.0a0",
45
+ ]
46
+ "ver-2015" = [
47
+ "catalystwan-v20-15 == 2.0.0a0",
48
+ ]
49
+ "ver-2016" = [
50
+ "catalystwan-v20-16 == 2.0.0a0",
51
+ ]
52
+ # for nox
53
+ [dependency-groups]
54
+ dev = [
55
+ { include-group = "test" },
56
+ { include-group = "typing" },
57
+ ]
58
+ typing = [
59
+ "mypy",
60
+ "pytype",
61
+ ]
62
+ test = [
63
+ "coverage[toml]>=7.2",
64
+ "pytest",
65
+ "pytest-cov",
66
+ "pytest-snapshot",
67
+ ]
68
+
69
+
70
+ [build-system]
71
+ requires = ["setuptools"]
72
+ build-backend = "setuptools.build_meta"
73
+
74
+ [tool.setuptools.packages.find]
75
+ where = ["src"]
76
+
77
+ [tool.mypy]
78
+ files = "src"
79
+ exclude="loader\\.py$"
80
+ mypy_path = "$MYPY_CONFIG_FILE_DIR/src/"
81
+ namespace_packages = true
82
+ explicit_package_bases = true
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,2 @@
1
+ from catalystwan.core.client import create_client as create_client
2
+ from catalystwan.core.client import create_thread_client as create_thread_client
@@ -0,0 +1,26 @@
1
+ from typing import Optional, Protocol, TypeVar
2
+
3
+ from catalystwan.abc import SessionInterface, SessionType
4
+ from requests import PreparedRequest # type: ignore
5
+
6
+ T = TypeVar("T")
7
+
8
+
9
+ ProviderView = SessionType.PROVIDER
10
+ TenantView = SessionType.TENANT
11
+ ProviderAsTenantView = SessionType.PROVIDER_AS_TENANT
12
+ SingleTenantView = SessionType.SINGLE_TENANT
13
+
14
+
15
+ class AuthProtocol(Protocol):
16
+ """
17
+ Additional interface for Auth to handle login/logout for multiple auth types by common ManagerSession
18
+ """
19
+
20
+ def logout(self, client: SessionInterface) -> None: ...
21
+
22
+ def clear(self, last_request: Optional[PreparedRequest]) -> None: ...
23
+
24
+ def increase_session_count(self) -> None: ...
25
+
26
+ def decrease_session_count(self) -> None: ...
@@ -1,22 +1,22 @@
1
- # Copyright 2024 Cisco Systems, Inc. and its affiliates
2
1
  import logging
2
+ from dataclasses import asdict, dataclass, field
3
3
  from threading import RLock
4
4
  from typing import Literal, Optional
5
5
  from urllib.parse import urlparse
6
6
 
7
- from pydantic import BaseModel, Field, PositiveInt
7
+ from catalystwan.abc import SessionInterface
8
+ from catalystwan.core.abstractions import AuthProtocol
9
+ from catalystwan.core.exceptions import CatalystwanException
10
+ from catalystwan.core.response import auth_response_debug
8
11
  from requests import HTTPError, PreparedRequest, post
9
12
  from requests.auth import AuthBase
10
13
  from requests.exceptions import JSONDecodeError
11
14
 
12
- from catalystwan.abstractions import APIEndpointClient, AuthProtocol
13
- from catalystwan.exceptions import CatalystwanException
14
- from catalystwan.response import auth_response_debug
15
-
16
15
  LoginMode = Literal["machine", "user", "session"]
17
16
 
18
17
 
19
- class ApiGwLogin(BaseModel):
18
+ @dataclass
19
+ class ApiGwLogin:
20
20
  client_id: str
21
21
  client_secret: str
22
22
  org_name: str
@@ -24,7 +24,7 @@ class ApiGwLogin(BaseModel):
24
24
  username: Optional[str] = None
25
25
  session: Optional[str] = None
26
26
  tenant_user: Optional[bool] = None
27
- token_duration: PositiveInt = Field(default=10, description="in minutes")
27
+ token_duration: int = field(default=10)
28
28
 
29
29
 
30
30
  class ApiGwAuth(AuthBase, AuthProtocol):
@@ -34,7 +34,12 @@ class ApiGwAuth(AuthBase, AuthProtocol):
34
34
  2. Use the token in the Authorization header for subsequent requests.
35
35
  """
36
36
 
37
- def __init__(self, login: ApiGwLogin, logger: Optional[logging.Logger] = None, verify: bool = False):
37
+ def __init__(
38
+ self,
39
+ login: ApiGwLogin,
40
+ logger: Optional[logging.Logger] = None,
41
+ verify: bool = False,
42
+ ):
38
43
  self.login = login
39
44
  self.token = ""
40
45
  self.logger = logger or logging.getLogger(__name__)
@@ -70,13 +75,19 @@ class ApiGwAuth(AuthBase, AuthProtocol):
70
75
 
71
76
  @staticmethod
72
77
  def get_token(
73
- base_url: str, apigw_login: ApiGwLogin, logger: Optional[logging.Logger] = None, verify: bool = False
78
+ base_url: str,
79
+ apigw_login: ApiGwLogin,
80
+ logger: Optional[logging.Logger] = None,
81
+ verify: bool = False,
74
82
  ) -> str:
75
83
  try:
76
84
  response = post(
77
85
  url=f"{base_url}/apigw/login",
78
86
  verify=verify,
79
- json=apigw_login.model_dump(exclude_none=True),
87
+ json=asdict(
88
+ apigw_login,
89
+ dict_factory=lambda d: {k: v for (k, v) in d if v is not None},
90
+ ),
80
91
  timeout=10,
81
92
  )
82
93
  if logger is not None:
@@ -84,9 +95,13 @@ class ApiGwAuth(AuthBase, AuthProtocol):
84
95
  response.raise_for_status()
85
96
  token = response.json()["token"]
86
97
  except JSONDecodeError:
87
- raise CatalystwanException(f"Incorrect response type from ApiGateway login request, ({response.text})")
98
+ raise CatalystwanException(
99
+ f"Incorrect response type from ApiGateway login request, ({response.text})"
100
+ )
88
101
  except HTTPError as ex:
89
- raise CatalystwanException(f"Problem with connection to ApiGateway login endpoint, ({ex})")
102
+ raise CatalystwanException(
103
+ f"Problem with connection to ApiGateway login endpoint, ({ex})"
104
+ )
90
105
  except KeyError as ex:
91
106
  raise CatalystwanException(f"Not found token in login response from ApiGateway, ({ex})")
92
107
  else:
@@ -94,7 +109,7 @@ class ApiGwAuth(AuthBase, AuthProtocol):
94
109
  raise CatalystwanException("Failed to get bearer token")
95
110
  return token
96
111
 
97
- def logout(self, client: APIEndpointClient) -> None:
112
+ def logout(self, client: SessionInterface) -> None:
98
113
  return None
99
114
 
100
115
  def _clear(self) -> None: