oci-cli 3.64.0__py3-none-any.whl → 3.65.0__py3-none-any.whl

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 (508) hide show
  1. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/list-finding-analytics.txt +14 -0
  2. oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/list-findings.txt +8 -0
  3. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create-autonomous-container-database-create-autonomous-container-database-from-backup-details.txt +2 -2
  4. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create.txt +3 -3
  5. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database-backup/list.txt +2 -2
  6. oci_cli/help_text_producer/data_files/text/cmdref/db/data-guard-association/create/with-new-db-system.txt +15 -0
  7. oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-from-backup.txt +10 -0
  8. oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-standby-database.txt +14 -0
  9. oci_cli/help_text_producer/data_files/text/cmdref/db/database/create.txt +10 -0
  10. oci_cli/help_text_producer/data_files/text/cmdref/db/database/update.txt +11 -0
  11. oci_cli/help_text_producer/data_files/text/cmdref/db/exadb-vm-cluster/create.txt +9 -0
  12. oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/list.txt +21 -0
  13. oci_cli/help_text_producer/data_files/text/cmdref/db/gi-version/list.txt +5 -0
  14. oci_cli/help_text_producer/data_files/text/cmdref/db/pluggable-database/create-local-clone.txt +4 -0
  15. oci_cli/help_text_producer/data_files/text/cmdref/db/pluggable-database/create-remote-clone.txt +4 -0
  16. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project/create.txt → db/pluggable-database/create-snapshot.txt} +30 -25
  17. oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance/install-all-updates.txt → db/pluggable-database/delete-snapshot.txt} +21 -17
  18. oci_cli/help_text_producer/data_files/text/cmdref/{os-management/work-request/get.txt → db/pluggable-database/get-snapshot.txt} +9 -8
  19. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/access-policy/list.txt → db/pluggable-database/list-snapshots.txt} +32 -37
  20. oci_cli/help_text_producer/data_files/text/cmdref/db/pluggable-database.txt +8 -0
  21. oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch-from-backup.txt +42 -27
  22. oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch-from-database.txt +42 -27
  23. oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch-from-db-system.txt +42 -27
  24. oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch.txt +42 -27
  25. oci_cli/help_text_producer/data_files/text/cmdref/db/system/list-db-system-storage-performances.txt +4 -0
  26. oci_cli/help_text_producer/data_files/text/cmdref/db/system/update.txt +15 -0
  27. oci_cli/help_text_producer/data_files/text/cmdref/db/system-shape/list.txt +5 -0
  28. oci_cli/help_text_producer/data_files/text/cmdref/db/version/list.txt +5 -0
  29. oci_cli/help_text_producer/data_files/text/cmdref/db.txt +8 -0
  30. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error/{list.txt → list-errors.txt} +5 -5
  31. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error.txt +1 -1
  32. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/{work-request-log/list.txt → work-request-log-entry/list-logs.txt} +5 -5
  33. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection → delegate-access-control/work-request}/work-request-log-entry.txt +1 -1
  34. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request.txt +3 -3
  35. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control.txt +3 -3
  36. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-inference/chat-result/chat-cohere-chat-request.txt +3 -1
  37. oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-inference/chat-result/chat-generic-chat-request.txt +83 -3
  38. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/create.txt +12 -0
  39. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/list.txt +9 -0
  40. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/update.txt +12 -0
  41. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error/{list.txt → list-errors.txt} +5 -5
  42. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error.txt +1 -1
  43. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-log-entry/{list-work-request-logs.txt → list-logs.txt} +5 -5
  44. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-log-entry.txt +1 -1
  45. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request.txt +2 -2
  46. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane.txt +2 -2
  47. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh/delete.txt → kafka/cluster/change-compartment.txt} +15 -20
  48. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/virtual-service → kafka/cluster}/create.txt +78 -66
  49. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project → kafka/cluster}/delete.txt +7 -12
  50. oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance/install-all-windows-updates.txt → kafka/cluster/disable-superuser.txt} +17 -17
  51. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh/change-compartment.txt → kafka/cluster/enable-superuser.txt} +17 -18
  52. oci_cli/help_text_producer/data_files/text/cmdref/{os-management/erratum → kafka/cluster}/get.txt +6 -6
  53. oci_cli/help_text_producer/data_files/text/cmdref/{dts/export → kafka/cluster}/list.txt +36 -23
  54. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh → kafka/cluster}/update.txt +68 -45
  55. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project → kafka/cluster-config}/change-compartment.txt +10 -10
  56. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/data-asset → kafka/cluster-config}/create.txt +30 -33
  57. oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance-group → kafka/cluster-config}/delete.txt +7 -10
  58. oci_cli/help_text_producer/data_files/text/cmdref/{os-management/windows-update → kafka/cluster-config}/get.txt +6 -6
  59. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh → kafka/cluster-config}/list.txt +25 -30
  60. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/data-asset → kafka/cluster-config}/update.txt +40 -30
  61. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/work-request/cancel.txt → kafka/cluster-config-version/delete.txt} +12 -7
  62. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project → kafka/cluster-config-version}/get.txt +11 -8
  63. oci_cli/help_text_producer/data_files/text/cmdref/{dts/job → kafka/cluster-config-version}/list.txt +25 -23
  64. oci_cli/help_text_producer/data_files/text/cmdref/kafka/cluster-config-version.txt +18 -0
  65. oci_cli/help_text_producer/data_files/text/cmdref/kafka/cluster-config.txt +29 -0
  66. oci_cli/help_text_producer/data_files/text/cmdref/kafka/cluster.txt +33 -0
  67. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh → kafka}/work-request/cancel.txt +5 -5
  68. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh → kafka}/work-request/get.txt +5 -5
  69. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh → kafka}/work-request/list.txt +26 -31
  70. oci_cli/help_text_producer/data_files/text/cmdref/kafka/work-request-error/list.txt +131 -0
  71. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection → kafka}/work-request-error.txt +2 -1
  72. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/work-request → kafka/work-request-log-entry}/list-work-request-logs.txt +14 -11
  73. oci_cli/help_text_producer/data_files/text/cmdref/kafka/work-request-log-entry.txt +15 -0
  74. oci_cli/help_text_producer/data_files/text/cmdref/kafka/work-request.txt +23 -0
  75. oci_cli/help_text_producer/data_files/text/cmdref/kafka.txt +69 -0
  76. oci_cli/help_text_producer/data_files/text/cmdref/lfs/lustre-file-system.txt +1 -1
  77. oci_cli/help_text_producer/data_files/text/cmdref/lfs.txt +2 -1
  78. oci_cli/help_text_producer/data_files/text/cmdref/network/ipv6/create.txt +4 -0
  79. oci_cli/help_text_producer/data_files/text/cmdref/network/vnic/assign-ipv6.txt +4 -0
  80. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error/{list.txt → list-errors.txt} +5 -5
  81. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error.txt +1 -1
  82. oci_cli/help_text_producer/data_files/text/cmdref/ocvs.txt +1 -1
  83. oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error/{list.txt → list-errors.txt} +5 -5
  84. oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error.txt +1 -1
  85. oci_cli/help_text_producer/data_files/text/cmdref/organizations.txt +1 -1
  86. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/create.txt +6 -6
  87. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/get.txt +2 -2
  88. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/list.txt +1 -1
  89. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/update.txt +4 -4
  90. oci_cli/help_text_producer/data_files/text/cmdref/support/incident-resource-type/list.txt +3 -3
  91. oci_cli/help_text_producer/data_files/text/cmdref/support/validation-response/validate-user.txt +1 -1
  92. oci_cli/help_text_producer/data_files/text/index.txt +2 -8
  93. oci_cli/service_mapping.py +5 -20
  94. oci_cli/version.py +1 -1
  95. {oci_cli-3.64.0.dist-info → oci_cli-3.65.0.dist-info}/METADATA +2 -2
  96. {oci_cli-3.64.0.dist-info → oci_cli-3.65.0.dist-info}/RECORD +117 -498
  97. services/cims/src/oci_cli_incident/cims_cli_extended.py +1 -1
  98. services/core/src/oci_cli_virtual_network/generated/virtualnetwork_cli.py +5 -1
  99. services/core/src/oci_cli_virtual_network/virtualnetwork_cli_extended.py +5 -1
  100. services/data_safe/src/oci_cli_data_safe/generated/datasafe_cli.py +12 -2
  101. services/database/src/oci_cli_database/database_cli_extended.py +109 -3
  102. services/database/src/oci_cli_database/generated/database_cli.py +381 -63
  103. services/generative_ai_inference/src/oci_cli_generative_ai_inference/generated/generativeaiinference_cli.py +39 -5
  104. services/golden_gate/src/oci_cli_golden_gate/generated/goldengate_cli.py +22 -3
  105. services/{ai_anomaly_detection → managed_kafka}/__init__.py +1 -1
  106. services/{ai_anomaly_detection → managed_kafka}/src/__init__.py +1 -1
  107. services/{ai_anomaly_detection/src/oci_cli_anomaly_detection → managed_kafka/src/oci_cli_kafka_cluster}/__init__.py +1 -1
  108. services/{ai_anomaly_detection/src/oci_cli_anomaly_detection → managed_kafka/src/oci_cli_kafka_cluster}/generated/__init__.py +1 -1
  109. services/{os_management/src/oci_cli_os_management → managed_kafka/src/oci_cli_kafka_cluster}/generated/client_mappings.py +6 -6
  110. services/managed_kafka/src/oci_cli_kafka_cluster/generated/kafkacluster_cli.py +1254 -0
  111. services/managed_kafka/src/oci_cli_kafka_cluster/kafkacluster_cli_extended.py +46 -0
  112. services/managed_kafka/tests/__init__.py +4 -0
  113. oci_cli/bin/dts.psm1 +0 -147
  114. oci_cli/bin/os-management.psm1 +0 -140
  115. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/change-compartment.txt +0 -138
  116. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/create-data-source-atp.txt +0 -207
  117. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/create-data-source-influx.txt +0 -198
  118. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/create-data-source-os.txt +0 -174
  119. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/delete.txt +0 -138
  120. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/get.txt +0 -100
  121. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/list.txt +0 -146
  122. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset.txt +0 -30
  123. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/change-compartment.txt +0 -119
  124. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create-detect-anomaly-job-embedded-input-details.txt +0 -144
  125. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create-detect-anomaly-job-inline-input-details.txt +0 -185
  126. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create-detect-anomaly-job-object-list-input-details.txt +0 -173
  127. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create-detect-anomaly-job-object-store-output-details.txt +0 -175
  128. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create.txt +0 -173
  129. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/delete.txt +0 -143
  130. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/get.txt +0 -105
  131. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/update.txt +0 -147
  132. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job-collection/list-detect-anomaly-jobs.txt +0 -155
  133. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job-collection.txt +0 -15
  134. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job.txt +0 -31
  135. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/change-compartment.txt +0 -113
  136. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/create.txt +0 -174
  137. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/delete.txt +0 -140
  138. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/detect-anomalies-embedded.txt +0 -124
  139. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/detect-anomalies-inline.txt +0 -139
  140. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/detect-anomalies.txt +0 -125
  141. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/get.txt +0 -100
  142. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/list.txt +0 -148
  143. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/update.txt +0 -173
  144. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model.txt +0 -30
  145. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/change-compartment.txt +0 -138
  146. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/create.txt +0 -170
  147. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/delete.txt +0 -137
  148. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/get.txt +0 -99
  149. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/list.txt +0 -147
  150. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/update.txt +0 -180
  151. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe.txt +0 -25
  152. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/project/list.txt +0 -144
  153. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/project/update.txt +0 -166
  154. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/project.txt +0 -24
  155. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request/get.txt +0 -91
  156. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request/list.txt +0 -114
  157. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request-error/list.txt +0 -110
  158. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request-log-entry/list-work-request-logs.txt +0 -110
  159. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request.txt +0 -18
  160. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection.txt +0 -125
  161. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-log.txt +0 -14
  162. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/cancel.txt +0 -101
  163. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/delete.txt +0 -105
  164. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/get-passphrase.txt +0 -101
  165. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/list.txt +0 -100
  166. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/never-receive.txt +0 -101
  167. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/request-entitlement.txt +0 -189
  168. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/request-return-label.txt +0 -249
  169. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/request.txt +0 -188
  170. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/setup-notifications.txt +0 -63
  171. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/show-entitlement.txt +0 -113
  172. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/show.txt +0 -101
  173. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/update-minimum-storage-capacity.txt +0 -107
  174. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/update-shipping-address.txt +0 -154
  175. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance.txt +0 -38
  176. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/change-compartment.txt +0 -106
  177. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/configure-physical-appliance.txt +0 -114
  178. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/create-policy.txt +0 -68
  179. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/create.txt +0 -226
  180. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/delete.txt +0 -132
  181. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/generate-manifest.txt +0 -97
  182. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/get-passphrase.txt +0 -68
  183. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/request-appliance.txt +0 -68
  184. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/request-return-label.txt +0 -245
  185. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/setup-notifications.txt +0 -51
  186. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/show.txt +0 -96
  187. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/update.txt +0 -265
  188. oci_cli/help_text_producer/data_files/text/cmdref/dts/export.txt +0 -38
  189. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/change-compartment.txt +0 -106
  190. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/close.txt +0 -96
  191. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/create.txt +0 -192
  192. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/delete.txt +0 -100
  193. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/detach-devices-details/change-compartment.txt +0 -102
  194. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/detach-devices-details.txt +0 -12
  195. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/setup-notifications.txt +0 -68
  196. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/show.txt +0 -96
  197. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/update.txt +0 -150
  198. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/verify-upload-user-credentials.txt +0 -91
  199. oci_cli/help_text_producer/data_files/text/cmdref/dts/job.txt +0 -34
  200. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/activate.txt +0 -93
  201. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/create.txt +0 -93
  202. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/deactivate.txt +0 -77
  203. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/delete.txt +0 -77
  204. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/get-seal-manifest.txt +0 -81
  205. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/list.txt +0 -67
  206. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/reopen.txt +0 -77
  207. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/seal-status.txt +0 -77
  208. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/seal.txt +0 -75
  209. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/set-export.txt +0 -93
  210. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/show.txt +0 -77
  211. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset.txt +0 -34
  212. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/configure-encryption.txt +0 -81
  213. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/finalize.txt +0 -89
  214. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/initialize-authentication.txt +0 -106
  215. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/list.txt +0 -63
  216. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/show.txt +0 -67
  217. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/unlock.txt +0 -75
  218. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/unregister.txt +0 -67
  219. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance.txt +0 -26
  220. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/configured.txt +0 -111
  221. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/copied.txt +0 -105
  222. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/monitored.txt +0 -102
  223. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/prepared.txt +0 -104
  224. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/shipped.txt +0 -106
  225. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify.txt +0 -22
  226. oci_cli/help_text_producer/data_files/text/cmdref/dts.txt +0 -144
  227. oci_cli/help_text_producer/data_files/text/cmdref/os-management/erratum-summary/list-errata.txt +0 -310
  228. oci_cli/help_text_producer/data_files/text/cmdref/os-management/erratum-summary.txt +0 -15
  229. oci_cli/help_text_producer/data_files/text/cmdref/os-management/erratum.txt +0 -14
  230. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/delete-content.txt +0 -113
  231. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/get-content.txt +0 -108
  232. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/get-report.txt +0 -270
  233. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/list-related-events.txt +0 -307
  234. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/list.txt +0 -319
  235. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/update.txt +0 -139
  236. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/upload-content.txt +0 -110
  237. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event.txt +0 -27
  238. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/attach-child.txt +0 -102
  239. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/attach-parent.txt +0 -104
  240. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/detach-child.txt +0 -101
  241. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/detach-parent.txt +0 -102
  242. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/disable-module-stream.txt +0 -138
  243. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/enable-module-stream.txt +0 -139
  244. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/get.txt +0 -91
  245. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-module-profile.txt +0 -141
  246. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-package.txt +0 -123
  247. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-update.txt +0 -123
  248. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-windows-update.txt +0 -124
  249. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-packages.txt +0 -142
  250. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-software-sources.txt +0 -141
  251. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-updates.txt +0 -141
  252. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-windows-updates.txt +0 -150
  253. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-installed-packages.txt +0 -141
  254. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-installed-windows-updates.txt +0 -142
  255. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-managed-instance-errata.txt +0 -141
  256. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-module-profiles.txt +0 -210
  257. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-module-streams.txt +0 -210
  258. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list.txt +0 -144
  259. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/remove-module-profile.txt +0 -142
  260. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/remove-package.txt +0 -123
  261. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/switch-module-stream.txt +0 -138
  262. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/attach.txt +0 -102
  263. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/change-compartment.txt +0 -107
  264. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/create.txt +0 -163
  265. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/detach.txt +0 -99
  266. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/get.txt +0 -94
  267. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/install-all-updates.txt +0 -128
  268. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/list.txt +0 -152
  269. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/update.txt +0 -166
  270. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group.txt +0 -30
  271. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance.txt +0 -64
  272. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-profile/get.txt +0 -137
  273. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-profile/list.txt +0 -189
  274. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-profile.txt +0 -16
  275. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-stream/get.txt +0 -132
  276. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-stream/list.txt +0 -188
  277. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-stream.txt +0 -16
  278. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/change-compartment.txt +0 -110
  279. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/create.txt +0 -357
  280. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/delete.txt +0 -135
  281. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/get.txt +0 -97
  282. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/list-upcoming.txt +0 -251
  283. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/list.txt +0 -174
  284. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/run-now.txt +0 -106
  285. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/skip-next-execution.txt +0 -106
  286. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/update.txt +0 -323
  287. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job.txt +0 -30
  288. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/add-packages.txt +0 -111
  289. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/change-compartment.txt +0 -108
  290. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/create.txt +0 -187
  291. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/delete.txt +0 -133
  292. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/get-package.txt +0 -101
  293. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/get.txt +0 -95
  294. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/list-packages.txt +0 -145
  295. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/list.txt +0 -144
  296. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/remove-packages.txt +0 -112
  297. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/search-packages.txt +0 -124
  298. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/update.txt +0 -187
  299. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source.txt +0 -34
  300. oci_cli/help_text_producer/data_files/text/cmdref/os-management/update-managed-instance-details/update-managed-instance.txt +0 -107
  301. oci_cli/help_text_producer/data_files/text/cmdref/os-management/update-managed-instance-details.txt +0 -14
  302. oci_cli/help_text_producer/data_files/text/cmdref/os-management/windows-update/list.txt +0 -129
  303. oci_cli/help_text_producer/data_files/text/cmdref/os-management/windows-update.txt +0 -16
  304. oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/list-errors.txt +0 -128
  305. oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/list-logs.txt +0 -128
  306. oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/list.txt +0 -148
  307. oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request.txt +0 -20
  308. oci_cli/help_text_producer/data_files/text/cmdref/os-management.txt +0 -187
  309. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/change-compartment.txt +0 -143
  310. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/create.txt +0 -187
  311. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/delete.txt +0 -141
  312. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/get.txt +0 -103
  313. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/update.txt +0 -193
  314. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy.txt +0 -25
  315. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/debug/report.txt +0 -60
  316. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/debug.txt +0 -14
  317. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/change-compartment.txt +0 -143
  318. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/create.txt +0 -210
  319. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/delete.txt +0 -141
  320. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/get.txt +0 -103
  321. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/list.txt +0 -150
  322. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/update.txt +0 -215
  323. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/change-compartment.txt +0 -147
  324. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/create.txt +0 -197
  325. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/delete.txt +0 -145
  326. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/get.txt +0 -107
  327. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/list.txt +0 -150
  328. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/update.txt +0 -203
  329. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table.txt +0 -25
  330. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway.txt +0 -26
  331. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/mesh/create.txt +0 -190
  332. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/mesh/get.txt +0 -99
  333. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/mesh.txt +0 -27
  334. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/proxy-details/get.txt +0 -79
  335. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/proxy-details.txt +0 -14
  336. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/change-compartment.txt +0 -143
  337. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/create-virtual-deployment-disabled-service-discovery-configuration.txt +0 -204
  338. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/create-virtual-deployment-dns-service-discovery-configuration.txt +0 -209
  339. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/create.txt +0 -215
  340. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/delete.txt +0 -141
  341. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/get.txt +0 -103
  342. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/list.txt +0 -150
  343. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/update-virtual-deployment-disabled-service-discovery-configuration.txt +0 -204
  344. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/update-virtual-deployment-dns-service-discovery-configuration.txt +0 -209
  345. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/update.txt +0 -215
  346. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment.txt +0 -33
  347. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/change-compartment.txt +0 -141
  348. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/delete.txt +0 -139
  349. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/get.txt +0 -101
  350. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/list.txt +0 -150
  351. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/update.txt +0 -211
  352. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/change-compartment.txt +0 -145
  353. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/create.txt +0 -195
  354. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/delete.txt +0 -143
  355. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/get.txt +0 -105
  356. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/list.txt +0 -150
  357. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/update.txt +0 -201
  358. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table.txt +0 -25
  359. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service.txt +0 -27
  360. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/work-request/list-work-request-errors.txt +0 -128
  361. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/work-request.txt +0 -22
  362. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh.txt +0 -139
  363. services/ai_anomaly_detection/src/oci_cli_anomaly_detection/anomalydetection_cli_extended.py +0 -234
  364. services/ai_anomaly_detection/src/oci_cli_anomaly_detection/generated/anomalydetection_cli.py +0 -2665
  365. services/ai_anomaly_detection/src/oci_cli_anomaly_detection/generated/client_mappings.py +0 -14
  366. services/ai_anomaly_detection/tests/__init__.py +0 -4
  367. services/dts/__init__.py +0 -4
  368. services/dts/src/__init__.py +0 -4
  369. services/dts/src/oci_cli_appliance_export_job/__init__.py +0 -4
  370. services/dts/src/oci_cli_appliance_export_job/applianceexportjob_cli_extended.py +0 -582
  371. services/dts/src/oci_cli_appliance_export_job/applianceexportjob_constants.py +0 -11
  372. services/dts/src/oci_cli_appliance_export_job/generated/__init__.py +0 -4
  373. services/dts/src/oci_cli_appliance_export_job/generated/applianceexportjob_cli.py +0 -428
  374. services/dts/src/oci_cli_appliance_export_job/generated/client_mappings.py +0 -14
  375. services/dts/src/oci_cli_appliance_export_job/manifest/__init__.py +0 -3
  376. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_constants.py +0 -12
  377. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_iterator.py +0 -86
  378. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_line_item.py +0 -22
  379. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_stats.py +0 -93
  380. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_stats_consumer.py +0 -15
  381. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_writer.py +0 -117
  382. services/dts/src/oci_cli_appliance_export_job/manifest/object_uploader.py +0 -124
  383. services/dts/src/oci_cli_dts/__init__.py +0 -4
  384. services/dts/src/oci_cli_dts/appliance_auth_manager.py +0 -59
  385. services/dts/src/oci_cli_dts/appliance_cert_manager.py +0 -51
  386. services/dts/src/oci_cli_dts/appliance_client_proxy.py +0 -57
  387. services/dts/src/oci_cli_dts/appliance_config.py +0 -34
  388. services/dts/src/oci_cli_dts/appliance_config_manager.py +0 -145
  389. services/dts/src/oci_cli_dts/appliance_config_spec.py +0 -38
  390. services/dts/src/oci_cli_dts/appliance_constants.py +0 -35
  391. services/dts/src/oci_cli_dts/appliance_init_auth.py +0 -81
  392. services/dts/src/oci_cli_dts/appliance_init_auth_spec.py +0 -32
  393. services/dts/src/oci_cli_dts/base_client.py +0 -102
  394. services/dts/src/oci_cli_dts/cli_utils.py +0 -131
  395. services/dts/src/oci_cli_dts/dts_service_cli_extended.py +0 -95
  396. services/dts/src/oci_cli_dts/dts_transform.py +0 -31
  397. services/dts/src/oci_cli_dts/generated/__init__.py +0 -4
  398. services/dts/src/oci_cli_dts/generated/dts_service_cli.py +0 -14
  399. services/dts/src/oci_cli_dts/nfs_dataset_client_proxy.py +0 -85
  400. services/dts/src/oci_cli_dts/nfsdataset_cli_extended.py +0 -371
  401. services/dts/src/oci_cli_dts/physical_appliance_control_plane/__init__.py +0 -3
  402. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/__init__.py +0 -16
  403. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/diagnose_tools_client.py +0 -163
  404. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/diagnose_tools_client_composite_operations.py +0 -24
  405. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/__init__.py +0 -28
  406. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/dataset_seal_status.py +0 -282
  407. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/details.py +0 -66
  408. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_dataset_info.py +0 -191
  409. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_dataset_spec.py +0 -93
  410. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_export_config.py +0 -174
  411. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_export_details.py +0 -66
  412. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/object_storage_upload_config.py +0 -201
  413. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/passphrase_details.py +0 -66
  414. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/physical_transfer_appliance.py +0 -214
  415. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/nfs_dataset_client.py +0 -835
  416. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/nfs_dataset_client_composite_operations.py +0 -24
  417. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/physical_transfer_appliance_client.py +0 -374
  418. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/physical_transfer_appliance_client_composite_operations.py +0 -24
  419. services/dts/src/oci_cli_dts/physical_appliance_control_plane/service_endpoints.py +0 -9
  420. services/dts/src/oci_cli_dts/physicalappliance_cli_extended.py +0 -590
  421. services/dts/src/oci_cli_dts/verify_cli_extended.py +0 -494
  422. services/dts/src/oci_cli_shipping_vendors/__init__.py +0 -4
  423. services/dts/src/oci_cli_shipping_vendors/generated/__init__.py +0 -4
  424. services/dts/src/oci_cli_shipping_vendors/generated/client_mappings.py +0 -14
  425. services/dts/src/oci_cli_shipping_vendors/generated/shippingvendors_cli.py +0 -49
  426. services/dts/src/oci_cli_transfer_appliance/__init__.py +0 -4
  427. services/dts/src/oci_cli_transfer_appliance/generated/__init__.py +0 -4
  428. services/dts/src/oci_cli_transfer_appliance/generated/client_mappings.py +0 -14
  429. services/dts/src/oci_cli_transfer_appliance/generated/transferappliance_cli.py +0 -364
  430. services/dts/src/oci_cli_transfer_appliance/transferappliance_cli_extended.py +0 -362
  431. services/dts/src/oci_cli_transfer_appliance_entitlement/__init__.py +0 -4
  432. services/dts/src/oci_cli_transfer_appliance_entitlement/generated/__init__.py +0 -4
  433. services/dts/src/oci_cli_transfer_appliance_entitlement/generated/client_mappings.py +0 -14
  434. services/dts/src/oci_cli_transfer_appliance_entitlement/generated/transferapplianceentitlement_cli.py +0 -155
  435. services/dts/src/oci_cli_transfer_appliance_entitlement/transferapplianceentitlement_cli_extended.py +0 -66
  436. services/dts/src/oci_cli_transfer_device/__init__.py +0 -4
  437. services/dts/src/oci_cli_transfer_device/generated/__init__.py +0 -4
  438. services/dts/src/oci_cli_transfer_device/generated/client_mappings.py +0 -14
  439. services/dts/src/oci_cli_transfer_device/generated/transferdevice_cli.py +0 -209
  440. services/dts/src/oci_cli_transfer_job/__init__.py +0 -4
  441. services/dts/src/oci_cli_transfer_job/generated/__init__.py +0 -4
  442. services/dts/src/oci_cli_transfer_job/generated/client_mappings.py +0 -14
  443. services/dts/src/oci_cli_transfer_job/generated/transferjob_cli.py +0 -368
  444. services/dts/src/oci_cli_transfer_job/transferjob_cli_extended.py +0 -281
  445. services/dts/src/oci_cli_transfer_package/__init__.py +0 -4
  446. services/dts/src/oci_cli_transfer_package/generated/__init__.py +0 -4
  447. services/dts/src/oci_cli_transfer_package/generated/client_mappings.py +0 -14
  448. services/dts/src/oci_cli_transfer_package/generated/transferpackage_cli.py +0 -326
  449. services/dts/tests/__init__.py +0 -4
  450. services/os_management/__init__.py +0 -4
  451. services/os_management/src/__init__.py +0 -4
  452. services/os_management/src/oci_cli_event/__init__.py +0 -4
  453. services/os_management/src/oci_cli_event/event_cli_extended.py +0 -34
  454. services/os_management/src/oci_cli_event/generated/__init__.py +0 -4
  455. services/os_management/src/oci_cli_event/generated/client_mappings.py +0 -14
  456. services/os_management/src/oci_cli_event/generated/event_cli.py +0 -430
  457. services/os_management/src/oci_cli_os_management/__init__.py +0 -4
  458. services/os_management/src/oci_cli_os_management/generated/__init__.py +0 -4
  459. services/os_management/src/oci_cli_os_management/generated/os_management_service_cli.py +0 -15
  460. services/os_management/src/oci_cli_os_management/generated/osmanagement_cli.py +0 -4009
  461. services/os_management/src/oci_cli_os_management/osmanagement_cli_extended.py +0 -244
  462. services/os_management/tests/__init__.py +0 -4
  463. services/service_mesh/__init__.py +0 -4
  464. services/service_mesh/src/__init__.py +0 -4
  465. services/service_mesh/src/oci_cli_service_mesh/__init__.py +0 -4
  466. services/service_mesh/src/oci_cli_service_mesh/generated/__init__.py +0 -4
  467. services/service_mesh/src/oci_cli_service_mesh/generated/client_mappings.py +0 -14
  468. services/service_mesh/src/oci_cli_service_mesh/generated/servicemesh_cli.py +0 -3306
  469. services/service_mesh/src/oci_cli_service_mesh/service_mesh_cli_extended.py +0 -57
  470. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/__init__.py +0 -76
  471. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/aggregators/__init__.py +0 -3
  472. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/aggregators/aggregation_orchestrator.py +0 -88
  473. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/bundle_analyser.py +0 -163
  474. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/event.py +0 -43
  475. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/handlers/__init__.py +0 -3
  476. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/handlers/debug_handler.py +0 -209
  477. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/report_orchestrator.py +0 -82
  478. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/task_orchestrator.py +0 -76
  479. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/task_request.py +0 -232
  480. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/__init__.py +0 -3
  481. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/common_worker.py +0 -116
  482. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/csv_worker.py +0 -39
  483. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/file_worker.py +0 -33
  484. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/igd_worker.py +0 -48
  485. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/mesh_report_worker.py +0 -60
  486. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/mesh_resources_worker.py +0 -49
  487. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/namespaces_worker.py +0 -33
  488. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/oci_cli_version_worker.py +0 -34
  489. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/pod_worker.py +0 -112
  490. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/resource_worker.py +0 -75
  491. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/services_worker.py +0 -34
  492. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/task_worker.py +0 -33
  493. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/validate_crds_worker.py +0 -34
  494. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/vdb_worker.py +0 -51
  495. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/webhooks_worker.py +0 -34
  496. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/__init__.py +0 -3
  497. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/bundle_helper.py +0 -154
  498. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/constants.py +0 -137
  499. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/helper.py +0 -12
  500. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/kubectl_command_helper.py +0 -646
  501. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/messages.py +0 -16
  502. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/summary.py +0 -222
  503. services/service_mesh/tests/__init__.py +0 -4
  504. {oci_cli-3.64.0.dist-info → oci_cli-3.65.0.dist-info}/LICENSE.txt +0 -0
  505. {oci_cli-3.64.0.dist-info → oci_cli-3.65.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  506. {oci_cli-3.64.0.dist-info → oci_cli-3.65.0.dist-info}/WHEEL +0 -0
  507. {oci_cli-3.64.0.dist-info → oci_cli-3.65.0.dist-info}/entry_points.txt +0 -0
  508. {oci_cli-3.64.0.dist-info → oci_cli-3.65.0.dist-info}/top_level.txt +0 -0
@@ -1,57 +0,0 @@
1
- # coding: utf-8
2
- # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
3
- # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
- import os.path
5
- import sys
6
-
7
- import click
8
- from oci_cli import cli_util
9
- from oci_cli.aliasing import CommandGroupWithAlias
10
-
11
- from services.service_mesh.src.oci_cli_service_mesh.generated import servicemesh_cli
12
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.bundle_analyser import BundleAnalyser
13
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.report_orchestrator \
14
- import ReportOrchestrator
15
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.utils.bundle_helper import BundleHelper
16
-
17
-
18
- @click.command(cli_util.override('service_mesh.debug_group.command_name', 'debug'), cls=CommandGroupWithAlias,
19
- help="""Debug enables customers to troubleshoot service-mesh resources.""")
20
- @cli_util.help_option_group
21
- def debug_group():
22
- pass
23
-
24
-
25
- # oci service-mesh debug
26
- servicemesh_cli.service_mesh_root_group.add_command(debug_group)
27
-
28
-
29
- # oci service-mesh debug report
30
- # oci service-mesh debug report --resource-id <ocid>
31
- # oci service-mesh debug report --resource-id <ocid> --k8s-context <path_to_config_file>
32
- @debug_group.command(name=cli_util.override('service_mesh.report.command_name', 'report'),
33
- help=u"""Generates report to troubleshoot Service Mesh resources and setup.""")
34
- @cli_util.option('--resource-id', required=False, help=u"""The [OCID] of the service-mesh resource.""")
35
- @cli_util.option('--kubeconfig', required=False, help=u"""The filepath of the config file containing the kubernetes config of the Kubernetes Cluster. If not specified default config file will be applied.""")
36
- @cli_util.option('--context', required=False, help=u"""Context to be used in the kube config file. If not specified, the current-context is used by default.""")
37
- @cli_util.option('--thread-pool-size', required=False, type=click.IntRange(1, 50), help=u"""The Size of thread pool to execute the command""")
38
- @cli_util.help_option
39
- @click.pass_context
40
- @cli_util.wrap_exceptions
41
- def generate_mesh(ctx, resource_id, kubeconfig, context, thread_pool_size):
42
- try:
43
- report_orchestrator = ReportOrchestrator(resource_id, kubeconfig, context, thread_pool_size)
44
- result = report_orchestrator.build_report()
45
- if result is not None:
46
- click.echo(result, file=sys.stderr)
47
- else:
48
- click.echo('Report generation successful.', file=sys.stdout)
49
- bundle_file_path = os.path.join(BundleHelper.get_home_directory(), BundleHelper.get_bundle_name())
50
- # click.echo - Bundle file path
51
- click.echo('\nBundle file path: {}'.format(bundle_file_path))
52
- # call Analyser
53
- bundle_analyzer = BundleAnalyser(bundle_file_path=bundle_file_path)
54
- analyze = bundle_analyzer.analyze()
55
- except Exception as e:
56
- click.echo('Report generation unsuccessful. Some problem occurred during report generation. {}'.format(e),
57
- file=sys.stderr)
@@ -1,76 +0,0 @@
1
- # coding: utf-8
2
- # Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved.
3
- # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.aggregators.aggregation_orchestrator import \
5
- AggregationOrchestrator, ReportData
6
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.event import Event, EventType, \
7
- OperationType
8
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.task_orchestrator import TaskOrchestrator
9
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.task_request import TaskRequestType, \
10
- TaskConfiguration, MeshReportTaskRequest, ResourceTaskRequest, PodTaskRequest, TaskRequest, VdbTaskRequest, \
11
- IgdTaskRequest, NamespacesTaskRequest, FileTaskRequest, MeshResourcesTaskRequest, CommonTaskRequest, CsvTaskRequest, \
12
- ValidateCrdsTaskRequest, WebhooksTaskRequest
13
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.webhooks_worker import WebhooksTask
14
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.utils.kubectl_command_helper import \
15
- KubeCommandHelper
16
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.utils.summary import BasicPodSummary, \
17
- MeshData, PodSummary, CustomResourceSummary, MeshResources
18
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.common_worker import CommonTask
19
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.csv_worker import CsvTask
20
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.file_worker import FileTask
21
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.igd_worker import IgdTask
22
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.mesh_report_worker import \
23
- MeshReportTask
24
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.mesh_resources_worker import \
25
- MeshResourcesTask
26
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.namespaces_worker import \
27
- NamespacesTask
28
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.pod_worker import PodTask
29
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.resource_worker import \
30
- ResourceTask
31
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.task_worker import MeshTask
32
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.vdb_worker import VdbTask
33
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.validate_crds_worker import ValidateCrdsTask
34
-
35
- __all__ = ["AggregationOrchestrator",
36
- "ReportData",
37
- "KubeCommandHelper",
38
- "BasicPodSummary",
39
- "MeshData",
40
- "PodSummary",
41
- "CustomResourceSummary",
42
- "MeshResources",
43
- "CommonTask",
44
- "CsvTask",
45
- "FileTask",
46
- "IgdTask",
47
- "MeshReportTask",
48
- "MeshResourcesTask",
49
- "NamespacesTask",
50
- "PodTask",
51
- "ResourceTask",
52
- "MeshTask",
53
- "VdbTask",
54
- "Event",
55
- "OperationType",
56
- "EventType",
57
- "TaskOrchestrator",
58
- "TaskRequestType",
59
- "TaskConfiguration",
60
- "TaskRequest",
61
- "PodTaskRequest",
62
- "ResourceTaskRequest",
63
- "MeshReportTaskRequest",
64
- "VdbTaskRequest",
65
- "IgdTaskRequest",
66
- "NamespacesTaskRequest",
67
- "FileTaskRequest",
68
- "CsvTaskRequest",
69
- "MeshResourcesTaskRequest",
70
- "CommonTaskRequest",
71
- "WebhooksTask",
72
- "WebhooksTaskRequest",
73
- "ValidateCrdsTask",
74
- "ValidateCrdsTaskRequest",
75
- "BundleAnalyser"
76
- ]
@@ -1,3 +0,0 @@
1
- # coding: utf-8
2
- # Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved.
3
- # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
@@ -1,88 +0,0 @@
1
- # coding: utf-8
2
- # Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved.
3
- # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
- import json
5
- import queue
6
-
7
- import click
8
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.utils.bundle_helper import \
9
- save_as_json
10
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.event import OperationType
11
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.utils.constants import MESH_PLURAL, \
12
- VS_PLURAL, VD_PLURAL, IG_PLURAL
13
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.utils.summary import MeshData
14
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.utils.helper import \
15
- get_resource_type_from_ocid
16
-
17
-
18
- class ReportData:
19
- def __init__(self, parent: str = None):
20
- self.data = dict()
21
- self.parent = parent
22
-
23
- def to_json(self):
24
- return json.dumps(self, default=lambda o: o.__dict__, allow_nan=False)
25
-
26
-
27
- class AggregationOrchestrator():
28
-
29
- def __init__(self, ocid):
30
- # This object will be serialized to Json. Do not add non json serializable data
31
- self.reports_dict = {}
32
- self.ocid = ocid
33
-
34
- def aggregate_events(self, events: queue.Queue):
35
- try:
36
- while not events.empty():
37
- event = events.get()
38
- for dest in event.store:
39
- if dest not in self.reports_dict.keys():
40
- self.reports_dict[dest] = ReportData(event.identifications.get(dest))
41
- dest_value = self.reports_dict[dest]
42
- for operation in event.operations:
43
- event_type = event.event_type.value.lower()
44
- if operation == OperationType.ACCUMULATE:
45
- if event_type + "_count" not in dest_value.data.keys():
46
- dest_value.data[event_type + "_count"] = 0
47
- dest_value.data[event_type + "_count"] += 1
48
- elif operation == OperationType.STORE_MULTI_EVENT:
49
- if event_type not in dest_value.data.keys():
50
- dest_value.data[event_type] = []
51
- event_list = dest_value.data[event_type]
52
- event_list.append(event.data)
53
- elif operation == OperationType.STORE_SINGLE_EVENT:
54
- dest_value.data[event_type] = event.data
55
-
56
- except Exception as error:
57
- click.echo('AggregationOrchestrator Exception: {}'.format(error))
58
-
59
- if self.ocid is None:
60
- for ocid, report in self.reports_dict.items():
61
- save_as_json(ocid, None, report.data)
62
- else:
63
- # Save the aggregated reports
64
- resource_type = get_resource_type_from_ocid(self.ocid)
65
- for ocid, report in self.reports_dict.items():
66
- current_resource_type = get_resource_type_from_ocid(ocid)
67
- if current_resource_type != resource_type:
68
- continue
69
- relative_path = None
70
- if current_resource_type == MESH_PLURAL:
71
- # generate mesh report
72
- mesh_data = MeshData(mesh_id=ocid)
73
- relative_path = mesh_data.get_mesh_hierarchy()
74
- elif current_resource_type == VS_PLURAL:
75
- # generate vs report
76
- mesh_data = MeshData(mesh_id=report.parent, vs_id=ocid)
77
- relative_path = mesh_data.get_virtual_service_hierarchy()
78
- elif current_resource_type == VD_PLURAL:
79
- # generate vd report
80
- mesh_data = MeshData(mesh_id=self.reports_dict[report.parent].parent, vs_id=report.parent, vd_id=ocid)
81
- relative_path = mesh_data.get_virtual_deployment_hierarchy()
82
- elif current_resource_type == IG_PLURAL:
83
- # generate ig report
84
- mesh_data = MeshData(mesh_id=report.parent, ig_id=ocid)
85
- relative_path = mesh_data.get_ingress_gateway_hierarchy()
86
-
87
- if relative_path is not None:
88
- save_as_json(ocid, relative_path, report.data)
@@ -1,163 +0,0 @@
1
- # coding: utf-8
2
- # Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved.
3
- # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
- import zipfile
5
- import json
6
- import re
7
- import sys
8
- import click
9
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.utils.constants import ITEMS, STATUS, \
10
- PHASE, VALID_CRDS_LIST, WEBHOOKS_LIST, IssueType, TROUBLESHOOT_DICT, OPERATOR_SERVICES_LIST, REPORT, CSV, PENDING, \
11
- SUCCEEDED, PROXY_VERSION, DYNAMIC_VERSION, OLM_VERSION
12
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.event import EventType
13
-
14
- '''
15
- Parse the report and bundle to analyze and provide required help to troubleshoot issues in mesh setup.
16
- '''
17
-
18
-
19
- class BundleAnalyser:
20
-
21
- def __init__(self, bundle_file_path, sdk_client=None):
22
- self.bundle_file_path = bundle_file_path + ".zip"
23
- self.sdk_client = sdk_client
24
- self.csv_json_contents = None
25
- self.report_json_contents = None
26
- self.report_json = None
27
- self.csv_json = None
28
-
29
- def load_contents(self):
30
- # load contents of report and csv file for analyzing
31
- bundle = zipfile.ZipFile(self.bundle_file_path, 'r')
32
- for filename in bundle.namelist():
33
- if re.search(CSV, filename):
34
- self.csv_json = bundle.open(filename, 'r')
35
- self.csv_json_contents = json.loads(self.csv_json.read())
36
- if re.search(REPORT, filename):
37
- self.report_json = bundle.open(filename, 'r')
38
- self.report_json_contents = json.loads(self.report_json.read())
39
-
40
- # OLM should be version in constant
41
- def validate_olm_version(self):
42
- OLM = EventType.OLM.value.lower()
43
- if OLM in self.report_json_contents:
44
- olm = self.report_json_contents[OLM]
45
- if olm is not None:
46
- olm_version = olm["version"]
47
- if olm_version == OLM_VERSION:
48
- click.echo('\nOLM version: {}'.format(olm_version), file=sys.stdout)
49
- else:
50
- click.echo(IssueType.INCOMPATIBLE_OLM_VERSION.describe())
51
- click.echo("Refer - " + TROUBLESHOOT_DICT[IssueType.INCOMPATIBLE_OLM_VERSION])
52
-
53
- def validate_csv_status(self):
54
- if self.csv_json_contents is not None and ITEMS in self.csv_json_contents and len(
55
- self.csv_json_contents[ITEMS]) > 0:
56
- csv = self.csv_json_contents[ITEMS][0]
57
- if STATUS in csv and PHASE in csv[STATUS]:
58
- csv_status = csv[STATUS][PHASE]
59
- if csv_status == PENDING:
60
- click.echo(IssueType.CSV_STATUS_NOT_SUCCEEDED.describe())
61
- click.echo(TROUBLESHOOT_DICT[IssueType.CSV_STATUS_NOT_SUCCEEDED])
62
- elif csv_status == SUCCEEDED:
63
- click.echo('\nCSV status: {}'.format(csv_status), file=sys.stdout)
64
-
65
- def config_version_summary(self):
66
- POD_SUMMARY = EventType.POD_SUMMARY.value.lower()
67
- if POD_SUMMARY in self.report_json_contents:
68
- pods_summary = self.report_json_contents[POD_SUMMARY]
69
-
70
- config_version_stats = {}
71
- if pods_summary is not None:
72
- for pod_summary in pods_summary:
73
- config_version_stats.setdefault(pod_summary[DYNAMIC_VERSION], 0)
74
- config_version_stats[pod_summary[DYNAMIC_VERSION]] += 1
75
- click.echo("\n|{:^20}|".format("Config Versions"))
76
- click.echo("|{:^10} | {:^10}|".format("Version", "Count"))
77
- for version, count in config_version_stats.items():
78
- click.echo("|{:^10} | {:^10}|".format(version, str(count)))
79
- if len(config_version_stats) > 1:
80
- click.echo(IssueType.INCOMPATIBLE_VERSIONS.describe())
81
- click.echo(TROUBLESHOOT_DICT[IssueType.INCOMPATIBLE_VERSIONS])
82
- elif len(config_version_stats) == 1:
83
- click.echo("All configs are of the same version")
84
-
85
- def validate_proxy_and_sidecar_version(self):
86
- POD_SUMMARY = EventType.POD_SUMMARY.value.lower()
87
- if POD_SUMMARY in self.report_json_contents:
88
- pods_summary = self.report_json_contents[POD_SUMMARY]
89
- version_stats = {}
90
- if pods_summary is not None:
91
- for pod_summary in pods_summary:
92
- version_stats.setdefault(pod_summary[PROXY_VERSION], 0)
93
- version_stats[pod_summary[PROXY_VERSION]] += 1
94
-
95
- click.echo("\n|{:^30}|".format("Sidecar Image Versions"))
96
- click.echo("|{:^15} | {:^15}|".format("Version", "Count"))
97
-
98
- for version, count in version_stats.items():
99
- click.echo("|{:^15} | {:^15}|".format(version, str(count)))
100
- if len(version_stats) > 1:
101
- click.echo(IssueType.MULTIPLE_SIDECAR_VERSIONS.describe())
102
- click.echo(TROUBLESHOOT_DICT[IssueType.MULTIPLE_SIDECAR_VERSIONS])
103
- elif len(version_stats) == 1:
104
- click.echo("All sidecars are using same version")
105
-
106
- def operator_services(self):
107
- OPERATOR_SERVICES = EventType.OPERATOR_SERVICES.value.lower()
108
- if OPERATOR_SERVICES in self.report_json_contents:
109
- services_list = self.report_json_contents[OPERATOR_SERVICES]
110
- missing_services = list(set(services_list) ^ set(OPERATOR_SERVICES_LIST))
111
- if len(missing_services) > 0:
112
- click.echo(IssueType.MISSING_OPERATOR_SERVICES.describe())
113
- click.echo('\nServices not found: {}'.format(missing_services), file=sys.stdout)
114
- click.echo(TROUBLESHOOT_DICT[IssueType.MISSING_OPERATOR_SERVICES])
115
- else:
116
- click.echo('\nAll Operator Services are installed')
117
-
118
- def validate_crds(self):
119
- SERVICE_MESH_CRDS = EventType.SERVICE_MESH_CRDS.value.lower()
120
- if SERVICE_MESH_CRDS in self.report_json_contents:
121
- crds_list = self.report_json_contents[SERVICE_MESH_CRDS]
122
- missing_crds = list(set(crds_list) ^ set(VALID_CRDS_LIST))
123
- if len(missing_crds) > 0:
124
- click.echo(IssueType.MISSING_MESH_CRDS.describe())
125
- click.echo('\nCRDs not found: {}'.format(missing_crds), file=sys.stdout)
126
- click.echo(TROUBLESHOOT_DICT[IssueType.MISSING_MESH_CRDS])
127
- else:
128
- click.echo('\nAll Mesh Custom Resources are installed')
129
-
130
- def validate_webhooks(self):
131
- SERVICE_MESH_WEBHOOKS = EventType.SERVICE_MESH_WEBHOOKS.value.lower()
132
- if SERVICE_MESH_WEBHOOKS in self.report_json_contents:
133
- webhooks_list = self.report_json_contents[SERVICE_MESH_WEBHOOKS]
134
- missing_webhooks = list(set(webhooks_list) ^ set(WEBHOOKS_LIST))
135
- if len(missing_webhooks) > 0:
136
- click.echo(IssueType.MISSING_MESH_WEBHOOKS.describe())
137
- click.echo('\nWebhooks not found: {}'.format(missing_webhooks), file=sys.stdout)
138
- click.echo(TROUBLESHOOT_DICT[IssueType.MISSING_MESH_WEBHOOKS])
139
-
140
- else:
141
- click.echo('\nAll Mesh Webhooks are installed')
142
-
143
- def analyze(self):
144
- # load contents of report and csv file for analyzing
145
- self.load_contents()
146
- # Parse the report and echo suggestions
147
- click.echo("=============================== Mesh Report Analysis ===============================")
148
- # Go through the array of report pod summary and provide stats
149
-
150
- # Validate if pod summary is present
151
- if self.report_json_contents is not None:
152
- # validate_proxy_version()
153
- self.validate_olm_version()
154
- self.validate_proxy_and_sidecar_version()
155
- # validate dynamic and static config version
156
- self.config_version_summary()
157
- # Validate if Operator Services are present
158
- self.operator_services()
159
- # Validate if all the webhooks and CRDs are present
160
- self.validate_webhooks()
161
- self.validate_crds()
162
-
163
- return None
@@ -1,43 +0,0 @@
1
- # coding: utf-8
2
- # Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved.
3
- # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
- from enum import Enum
5
- from typing import Set, Dict
6
-
7
-
8
- class EventType(Enum):
9
- OCI_CLI_VERSION = 'OCI_CLI_VERSION'
10
- CSV_STATUS = 'CSV_STATUS'
11
- INSTALL_PLAN_STATUS = 'INSTALL_PLAN_STATUS'
12
- OSOK = 'OCI_SERVICE_OPERATOR_FOR_KUBERNETES'
13
- OLM = 'OLM'
14
- METRICS_SERVER = 'METRICS_SERVER'
15
- SIDECAR_INJECTION_ENABLED_NAMESPACES = 'SIDECAR_INJECTION_ENABLED_NAMESPACES'
16
- POD_SUMMARY = 'POD_SUMMARY'
17
- CATALOG_OPERATOR = 'CATALOG_OPERATOR' # catalog operator
18
- SERVICE_MESH_CRDS = 'SERVICE_MESH_CRDS'
19
- SERVICE_MESH_WEBHOOKS = 'SERVICE_MESH_WEBHOOKS'
20
- PROMETHEUS_VERSION = 'PROMETHEUS_VERSION'
21
- GRAFANA_VERSION = 'GRAFANA_VERSION'
22
- OPERATOR_SERVICES = 'OPERATOR_SERVICES'
23
-
24
-
25
- class OperationType(Enum):
26
- ACCUMULATE = 'ACCUMULATE'
27
- STORE_SINGLE_EVENT = 'STORE_SINGLE_EVENT'
28
- STORE_MULTI_EVENT = 'STORE_MULTI_EVENT'
29
-
30
-
31
- # Identifications are set of string to Apply operation, meshId, virtualServiceId .. etc.
32
- class Event:
33
- def __init__(self,
34
- event_type: EventType,
35
- operations: Set[OperationType],
36
- data: Dict,
37
- identifications: Dict,
38
- store: Set[str]):
39
- self.event_type = event_type
40
- self.operations = operations
41
- self.data = data
42
- self.identifications = identifications
43
- self.store = store
@@ -1,3 +0,0 @@
1
- # coding: utf-8
2
- # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
3
- # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
@@ -1,209 +0,0 @@
1
- # coding: utf-8
2
- # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
3
- # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
- from abc import abstractmethod, ABC
5
- from enum import Enum
6
- from typing import Dict
7
-
8
- import click
9
- import sys
10
-
11
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot import TaskOrchestrator, \
12
- ResourceTaskRequest, TaskRequestType, TaskConfiguration
13
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.utils.bundle_helper import BundleHelper
14
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.utils.constants import \
15
- MESH_CUSTOM_RESOURCE_DICT
16
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.utils.helper import MeshTaskException
17
- from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.utils.messages import Messages
18
-
19
-
20
- class DebugHandlerRequestType(Enum):
21
- K8S_CHECK = 'K8S_CHECK'
22
- K8S_CHECK_CONTEXT = 'K8S_CHECK_CONTEXT'
23
- OCID_VALIDATION = 'OCID_VALIDATION'
24
- BUNDLE_NAME = 'BUNDLE_NAME'
25
- BUNDLE_COMPRESS = 'BUNDLE_COMPRESS'
26
- BUNDLE_CLEANUP = 'BUNDLE_CLEANUP'
27
- TASK = 'TASK'
28
-
29
-
30
- class ResultIdentifier(Enum):
31
- BUNDLE_NAME = 'bundle_name'
32
- CURRENT_CONTEXT = 'current_context'
33
- K8S_CONTEXT = 'k8s_context'
34
-
35
-
36
- class ResultStatus(Enum):
37
- OK = '200'
38
- NOT_FOUND = '404'
39
- INTERNAL_ERROR = '500'
40
-
41
-
42
- class Result:
43
- def __init__(self, status: ResultStatus, data: Dict = None, exception: str = None):
44
- self.status = status
45
- self.data = data
46
- self.exception = exception
47
-
48
-
49
- class DebugHandler(ABC):
50
- @abstractmethod
51
- def set_next(self, debug_handler):
52
- pass
53
-
54
- @abstractmethod
55
- def handle(self, request: Dict) -> Result:
56
- pass
57
-
58
-
59
- class AbstractDebugHandler(DebugHandler):
60
- _next_handler: DebugHandler = None
61
-
62
- def set_next(self, debug_handler: DebugHandler) -> DebugHandler:
63
- self._next_handler = debug_handler
64
- return debug_handler
65
-
66
- @abstractmethod
67
- def handle(self, request: Dict) -> Result:
68
- if self._next_handler:
69
- return self._next_handler.handle(request)
70
- return Result(status=ResultStatus.INTERNAL_ERROR, data={})
71
-
72
-
73
- class OcidValidationHandler(AbstractDebugHandler):
74
- def handle(self, request: Dict) -> Result:
75
- request_type = request['type']
76
- if request_type == DebugHandlerRequestType.OCID_VALIDATION:
77
- ocid = request['data']['ocid']
78
- if ocid is None:
79
- click.echo(Messages.is_none.format('ocid'), file=sys.stderr)
80
- return Result(status=ResultStatus.NOT_FOUND, exception=Messages.is_none.format('ocid'))
81
-
82
- # Split the token to get the resource type
83
- ocid_tokens = ocid.split(".")
84
-
85
- # Validate ocid format
86
- if len(ocid_tokens) < 2:
87
- # raise click.BadParameter(Messages.invalid_ocid)
88
- exception = Messages.invalid_ocid
89
- click.echo(exception, file=sys.stderr)
90
- return Result(status=ResultStatus.INTERNAL_ERROR, exception=exception)
91
-
92
- # Validate mesh resource type
93
- resource_type = ocid_tokens[1]
94
- try:
95
- MESH_CUSTOM_RESOURCE_DICT[resource_type]
96
- except Exception as error:
97
- exception = Messages.invalid_mesh_resource_type.format(resource_type) + '. ' + str(error)
98
- click.echo(exception, file=sys.stderr)
99
- return Result(status=ResultStatus.INTERNAL_ERROR, exception=exception)
100
-
101
- # Is a valid ocid
102
- return Result(status=ResultStatus.OK, data={})
103
- else:
104
- return super(OcidValidationHandler, self).handle(request)
105
-
106
-
107
- class K8sCheckHandler(AbstractDebugHandler):
108
- def handle(self, request: Dict) -> Result:
109
- request_type = request['type']
110
- if request_type == DebugHandlerRequestType.K8S_CHECK:
111
- kube_command_helper = request['kube_command_helper']
112
- kube_command_summary = kube_command_helper.is_kubectl_installed()
113
- if kube_command_summary.return_code == 0:
114
- return Result(status=ResultStatus.OK, data={})
115
- else:
116
- return Result(status=ResultStatus.NOT_FOUND, exception=kube_command_summary.stderr)
117
- else:
118
- return super(K8sCheckHandler, self).handle(request)
119
-
120
-
121
- class K8sCheckContextHandler(AbstractDebugHandler):
122
- def handle(self, request: Dict) -> Result:
123
- request_type = request['type']
124
- if request_type == DebugHandlerRequestType.K8S_CHECK_CONTEXT:
125
- kube_command_helper = request['kube_command_helper']
126
- k8s_context = request['data'][ResultIdentifier.K8S_CONTEXT.value]
127
- k8s_config, use_context = k8s_context
128
- kube_command_summary = kube_command_helper.check_context(k8s_context)
129
- if kube_command_summary.return_code != 0:
130
- return Result(status=ResultStatus.INTERNAL_ERROR, exception=kube_command_summary.stderr)
131
- else:
132
- return Result(status=ResultStatus.OK)
133
- else:
134
- return super(K8sCheckContextHandler, self).handle(request)
135
-
136
-
137
- class BundleNameHandler(AbstractDebugHandler):
138
- def handle(self, request: Dict) -> Result:
139
- request_type = request['type']
140
- if request_type == DebugHandlerRequestType.BUNDLE_NAME:
141
- bundle_name = BundleHelper.get_bundle_name()
142
- return Result(status=ResultStatus.OK, data={ResultIdentifier.BUNDLE_NAME: bundle_name})
143
- else:
144
- return super(BundleNameHandler, self).handle(request)
145
-
146
-
147
- class BundleCompressHandler(AbstractDebugHandler):
148
- def handle(self, request: Dict) -> Result:
149
- request_type = request['type']
150
- if request_type == DebugHandlerRequestType.BUNDLE_COMPRESS:
151
- try:
152
- directory_name = request['data']['directory_name']
153
- bundle_name = request['data']['bundle_name']
154
- BundleHelper.compress_bundle(directory_name, bundle_name)
155
- if BundleHelper.compress_bundle(directory_name, bundle_name) is False:
156
- raise MeshTaskException()
157
- else:
158
- return Result(status=ResultStatus.OK)
159
- except MeshTaskException:
160
- return Result(status=ResultStatus.INTERNAL_ERROR, exception='***Generating Bundle failed. Directory path not found***')
161
- except Exception as error:
162
- exception = Messages.some_exception.format(request_type, error)
163
- click.echo(exception, file=sys.stderr)
164
- return Result(status=ResultStatus.INTERNAL_ERROR, exception=exception)
165
- else:
166
- return super(BundleCompressHandler, self).handle(request)
167
-
168
-
169
- class BundleCleanupHandler(AbstractDebugHandler):
170
- def handle(self, request: Dict) -> Result:
171
- request_type = request['type']
172
- if request_type == DebugHandlerRequestType.BUNDLE_CLEANUP:
173
- try:
174
- directory_name = request['data']['directory_name']
175
- bundle_name = request['data']['bundle_name']
176
- BundleHelper.cleanup(directory_name, bundle_name)
177
- return Result(status=ResultStatus.OK)
178
- except Exception as error:
179
- exception = Messages.some_exception.format(request_type, error)
180
- click.echo(exception, file=sys.stderr)
181
- return Result(status=ResultStatus.INTERNAL_ERROR, exception=exception)
182
- else:
183
- return super(BundleCleanupHandler, self).handle(request)
184
-
185
-
186
- class TaskHandler(AbstractDebugHandler):
187
- def __init__(self, thread_pool_size=None):
188
- self.thread_pool_size = thread_pool_size
189
-
190
- def handle(self, request: Dict) -> Result:
191
- request_type = request['type']
192
- if request_type == DebugHandlerRequestType.TASK:
193
- ocid = request['data']['ocid']
194
- k8s_context = request['data']['k8s_context']
195
- # if ocid is None:
196
- # return Result(status=ResultStatus.NOT_FOUND, data={})
197
- try:
198
- task_orchestrator = TaskOrchestrator(ocid, k8s_context, self.thread_pool_size)
199
- resource_task = ResourceTaskRequest(TaskRequestType.RESOURCE_PROCESSOR,
200
- [TaskConfiguration.CHILD_RESOURCES],
201
- ocid)
202
- task_orchestrator.process_tasks([resource_task])
203
- return Result(status=ResultStatus.OK, data={})
204
- except Exception as error:
205
- exception = Messages.some_exception.format(request_type, error)
206
- click.echo(exception, file=sys.stderr)
207
- return Result(status=ResultStatus.INTERNAL_ERROR, exception=exception)
208
- else:
209
- return super(TaskHandler, self).handle(request)