oci-cli 3.64.1__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 (478) hide show
  1. 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
  2. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create.txt +3 -3
  3. oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database-backup/list.txt +2 -2
  4. oci_cli/help_text_producer/data_files/text/cmdref/db/data-guard-association/create/with-new-db-system.txt +15 -0
  5. oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-from-backup.txt +10 -0
  6. oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-standby-database.txt +14 -0
  7. oci_cli/help_text_producer/data_files/text/cmdref/db/database/create.txt +10 -0
  8. oci_cli/help_text_producer/data_files/text/cmdref/db/database/update.txt +11 -0
  9. oci_cli/help_text_producer/data_files/text/cmdref/db/exadb-vm-cluster/create.txt +9 -0
  10. oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/list.txt +21 -0
  11. oci_cli/help_text_producer/data_files/text/cmdref/db/gi-version/list.txt +5 -0
  12. oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch-from-backup.txt +42 -27
  13. oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch-from-database.txt +42 -27
  14. oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch-from-db-system.txt +42 -27
  15. oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch.txt +42 -27
  16. oci_cli/help_text_producer/data_files/text/cmdref/db/system/list-db-system-storage-performances.txt +4 -0
  17. oci_cli/help_text_producer/data_files/text/cmdref/db/system/update.txt +15 -0
  18. oci_cli/help_text_producer/data_files/text/cmdref/db/system-shape/list.txt +5 -0
  19. oci_cli/help_text_producer/data_files/text/cmdref/db/version/list.txt +5 -0
  20. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error/{list.txt → list-errors.txt} +5 -5
  21. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error.txt +1 -1
  22. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-log-entry/{list-work-request-logs.txt → list-logs.txt} +5 -5
  23. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-log-entry.txt +1 -1
  24. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request.txt +2 -2
  25. oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control.txt +2 -2
  26. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/create.txt +12 -0
  27. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/list.txt +9 -0
  28. oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/update.txt +12 -0
  29. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh/delete.txt → kafka/cluster/change-compartment.txt} +15 -20
  30. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/virtual-service → kafka/cluster}/create.txt +78 -66
  31. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project → kafka/cluster}/delete.txt +7 -12
  32. 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
  33. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh/change-compartment.txt → kafka/cluster/enable-superuser.txt} +17 -18
  34. oci_cli/help_text_producer/data_files/text/cmdref/{os-management/erratum → kafka/cluster}/get.txt +6 -6
  35. oci_cli/help_text_producer/data_files/text/cmdref/{dts/export → kafka/cluster}/list.txt +36 -23
  36. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh → kafka/cluster}/update.txt +68 -45
  37. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project → kafka/cluster-config}/change-compartment.txt +10 -10
  38. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/data-asset → kafka/cluster-config}/create.txt +30 -33
  39. oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance-group → kafka/cluster-config}/delete.txt +7 -10
  40. oci_cli/help_text_producer/data_files/text/cmdref/{os-management/windows-update → kafka/cluster-config}/get.txt +6 -6
  41. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh → kafka/cluster-config}/list.txt +25 -30
  42. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/data-asset → kafka/cluster-config}/update.txt +40 -30
  43. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/work-request/cancel.txt → kafka/cluster-config-version/delete.txt} +12 -7
  44. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project → kafka/cluster-config-version}/get.txt +11 -8
  45. oci_cli/help_text_producer/data_files/text/cmdref/{dts/job → kafka/cluster-config-version}/list.txt +25 -23
  46. oci_cli/help_text_producer/data_files/text/cmdref/kafka/cluster-config-version.txt +18 -0
  47. oci_cli/help_text_producer/data_files/text/cmdref/kafka/cluster-config.txt +29 -0
  48. oci_cli/help_text_producer/data_files/text/cmdref/kafka/cluster.txt +33 -0
  49. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh → kafka}/work-request/cancel.txt +5 -5
  50. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh → kafka}/work-request/get.txt +5 -5
  51. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh → kafka}/work-request/list.txt +26 -31
  52. oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/work-request/list-work-request-errors.txt → kafka/work-request-error/list.txt} +16 -13
  53. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection → kafka}/work-request-error.txt +2 -1
  54. 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
  55. oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection → kafka}/work-request-log-entry.txt +2 -1
  56. oci_cli/help_text_producer/data_files/text/cmdref/kafka/work-request.txt +23 -0
  57. oci_cli/help_text_producer/data_files/text/cmdref/kafka.txt +69 -0
  58. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error/{list.txt → list-errors.txt} +5 -5
  59. oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error.txt +1 -1
  60. oci_cli/help_text_producer/data_files/text/cmdref/ocvs.txt +1 -1
  61. oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error/{list.txt → list-errors.txt} +5 -5
  62. oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error.txt +1 -1
  63. oci_cli/help_text_producer/data_files/text/cmdref/organizations.txt +1 -1
  64. oci_cli/help_text_producer/data_files/text/index.txt +2 -8
  65. oci_cli/service_mapping.py +5 -20
  66. oci_cli/version.py +1 -1
  67. {oci_cli-3.64.1.dist-info → oci_cli-3.65.0.dist-info}/METADATA +2 -2
  68. {oci_cli-3.64.1.dist-info → oci_cli-3.65.0.dist-info}/RECORD +85 -470
  69. services/cims/src/oci_cli_incident/cims_cli_extended.py +1 -1
  70. services/database/src/oci_cli_database/database_cli_extended.py +56 -1
  71. services/database/src/oci_cli_database/generated/database_cli.py +159 -61
  72. services/golden_gate/src/oci_cli_golden_gate/generated/goldengate_cli.py +22 -3
  73. services/{ai_anomaly_detection → managed_kafka}/__init__.py +1 -1
  74. services/{ai_anomaly_detection → managed_kafka}/src/__init__.py +1 -1
  75. services/{ai_anomaly_detection/src/oci_cli_anomaly_detection → managed_kafka/src/oci_cli_kafka_cluster}/__init__.py +1 -1
  76. services/{ai_anomaly_detection/src/oci_cli_anomaly_detection → managed_kafka/src/oci_cli_kafka_cluster}/generated/__init__.py +1 -1
  77. services/{os_management/src/oci_cli_os_management → managed_kafka/src/oci_cli_kafka_cluster}/generated/client_mappings.py +6 -6
  78. services/managed_kafka/src/oci_cli_kafka_cluster/generated/kafkacluster_cli.py +1254 -0
  79. services/managed_kafka/src/oci_cli_kafka_cluster/kafkacluster_cli_extended.py +46 -0
  80. services/managed_kafka/tests/__init__.py +4 -0
  81. oci_cli/bin/dts.psm1 +0 -147
  82. oci_cli/bin/os-management.psm1 +0 -140
  83. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/change-compartment.txt +0 -138
  84. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/create-data-source-atp.txt +0 -207
  85. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/create-data-source-influx.txt +0 -198
  86. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/create-data-source-os.txt +0 -174
  87. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/delete.txt +0 -138
  88. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/get.txt +0 -100
  89. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/list.txt +0 -146
  90. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset.txt +0 -30
  91. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/change-compartment.txt +0 -119
  92. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create-detect-anomaly-job-embedded-input-details.txt +0 -144
  93. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create-detect-anomaly-job-inline-input-details.txt +0 -185
  94. 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
  95. 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
  96. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create.txt +0 -173
  97. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/delete.txt +0 -143
  98. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/get.txt +0 -105
  99. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/update.txt +0 -147
  100. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job-collection/list-detect-anomaly-jobs.txt +0 -155
  101. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job-collection.txt +0 -15
  102. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job.txt +0 -31
  103. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/change-compartment.txt +0 -113
  104. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/create.txt +0 -174
  105. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/delete.txt +0 -140
  106. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/detect-anomalies-embedded.txt +0 -124
  107. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/detect-anomalies-inline.txt +0 -139
  108. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/detect-anomalies.txt +0 -125
  109. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/get.txt +0 -100
  110. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/list.txt +0 -148
  111. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/update.txt +0 -173
  112. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model.txt +0 -30
  113. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/change-compartment.txt +0 -138
  114. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/create.txt +0 -170
  115. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/delete.txt +0 -137
  116. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/get.txt +0 -99
  117. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/list.txt +0 -147
  118. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/update.txt +0 -180
  119. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe.txt +0 -25
  120. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/project/create.txt +0 -152
  121. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/project/list.txt +0 -144
  122. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/project/update.txt +0 -166
  123. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/project.txt +0 -24
  124. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request/get.txt +0 -91
  125. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request/list.txt +0 -114
  126. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request-error/list.txt +0 -110
  127. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request-log-entry/list-work-request-logs.txt +0 -110
  128. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request.txt +0 -18
  129. oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection.txt +0 -125
  130. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/cancel.txt +0 -101
  131. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/delete.txt +0 -105
  132. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/get-passphrase.txt +0 -101
  133. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/list.txt +0 -100
  134. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/never-receive.txt +0 -101
  135. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/request-entitlement.txt +0 -189
  136. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/request-return-label.txt +0 -249
  137. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/request.txt +0 -188
  138. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/setup-notifications.txt +0 -63
  139. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/show-entitlement.txt +0 -113
  140. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/show.txt +0 -101
  141. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/update-minimum-storage-capacity.txt +0 -107
  142. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/update-shipping-address.txt +0 -154
  143. oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance.txt +0 -38
  144. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/change-compartment.txt +0 -106
  145. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/configure-physical-appliance.txt +0 -114
  146. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/create-policy.txt +0 -68
  147. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/create.txt +0 -226
  148. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/delete.txt +0 -132
  149. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/generate-manifest.txt +0 -97
  150. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/get-passphrase.txt +0 -68
  151. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/request-appliance.txt +0 -68
  152. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/request-return-label.txt +0 -245
  153. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/setup-notifications.txt +0 -51
  154. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/show.txt +0 -96
  155. oci_cli/help_text_producer/data_files/text/cmdref/dts/export/update.txt +0 -265
  156. oci_cli/help_text_producer/data_files/text/cmdref/dts/export.txt +0 -38
  157. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/change-compartment.txt +0 -106
  158. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/close.txt +0 -96
  159. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/create.txt +0 -192
  160. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/delete.txt +0 -100
  161. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/detach-devices-details/change-compartment.txt +0 -102
  162. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/detach-devices-details.txt +0 -12
  163. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/setup-notifications.txt +0 -68
  164. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/show.txt +0 -96
  165. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/update.txt +0 -150
  166. oci_cli/help_text_producer/data_files/text/cmdref/dts/job/verify-upload-user-credentials.txt +0 -91
  167. oci_cli/help_text_producer/data_files/text/cmdref/dts/job.txt +0 -34
  168. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/activate.txt +0 -93
  169. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/create.txt +0 -93
  170. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/deactivate.txt +0 -77
  171. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/delete.txt +0 -77
  172. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/get-seal-manifest.txt +0 -81
  173. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/list.txt +0 -67
  174. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/reopen.txt +0 -77
  175. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/seal-status.txt +0 -77
  176. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/seal.txt +0 -75
  177. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/set-export.txt +0 -93
  178. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/show.txt +0 -77
  179. oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset.txt +0 -34
  180. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/configure-encryption.txt +0 -81
  181. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/finalize.txt +0 -89
  182. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/initialize-authentication.txt +0 -106
  183. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/list.txt +0 -63
  184. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/show.txt +0 -67
  185. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/unlock.txt +0 -75
  186. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/unregister.txt +0 -67
  187. oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance.txt +0 -26
  188. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/configured.txt +0 -111
  189. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/copied.txt +0 -105
  190. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/monitored.txt +0 -102
  191. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/prepared.txt +0 -104
  192. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/shipped.txt +0 -106
  193. oci_cli/help_text_producer/data_files/text/cmdref/dts/verify.txt +0 -22
  194. oci_cli/help_text_producer/data_files/text/cmdref/dts.txt +0 -144
  195. oci_cli/help_text_producer/data_files/text/cmdref/os-management/erratum-summary/list-errata.txt +0 -310
  196. oci_cli/help_text_producer/data_files/text/cmdref/os-management/erratum-summary.txt +0 -15
  197. oci_cli/help_text_producer/data_files/text/cmdref/os-management/erratum.txt +0 -14
  198. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/delete-content.txt +0 -113
  199. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/get-content.txt +0 -108
  200. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/get-report.txt +0 -270
  201. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/list-related-events.txt +0 -307
  202. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/list.txt +0 -319
  203. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/update.txt +0 -139
  204. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/upload-content.txt +0 -110
  205. oci_cli/help_text_producer/data_files/text/cmdref/os-management/event.txt +0 -27
  206. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/attach-child.txt +0 -102
  207. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/attach-parent.txt +0 -104
  208. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/detach-child.txt +0 -101
  209. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/detach-parent.txt +0 -102
  210. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/disable-module-stream.txt +0 -138
  211. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/enable-module-stream.txt +0 -139
  212. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/get.txt +0 -91
  213. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-all-updates.txt +0 -125
  214. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-module-profile.txt +0 -141
  215. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-package.txt +0 -123
  216. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-update.txt +0 -123
  217. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-windows-update.txt +0 -124
  218. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-packages.txt +0 -142
  219. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-software-sources.txt +0 -141
  220. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-updates.txt +0 -141
  221. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-windows-updates.txt +0 -150
  222. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-installed-packages.txt +0 -141
  223. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-installed-windows-updates.txt +0 -142
  224. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-managed-instance-errata.txt +0 -141
  225. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-module-profiles.txt +0 -210
  226. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-module-streams.txt +0 -210
  227. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list.txt +0 -144
  228. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/remove-module-profile.txt +0 -142
  229. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/remove-package.txt +0 -123
  230. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/switch-module-stream.txt +0 -138
  231. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/attach.txt +0 -102
  232. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/change-compartment.txt +0 -107
  233. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/create.txt +0 -163
  234. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/detach.txt +0 -99
  235. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/get.txt +0 -94
  236. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/install-all-updates.txt +0 -128
  237. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/list.txt +0 -152
  238. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/update.txt +0 -166
  239. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group.txt +0 -30
  240. oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance.txt +0 -64
  241. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-profile/get.txt +0 -137
  242. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-profile/list.txt +0 -189
  243. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-profile.txt +0 -16
  244. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-stream/get.txt +0 -132
  245. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-stream/list.txt +0 -188
  246. oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-stream.txt +0 -16
  247. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/change-compartment.txt +0 -110
  248. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/create.txt +0 -357
  249. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/delete.txt +0 -135
  250. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/get.txt +0 -97
  251. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/list-upcoming.txt +0 -251
  252. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/list.txt +0 -174
  253. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/run-now.txt +0 -106
  254. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/skip-next-execution.txt +0 -106
  255. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/update.txt +0 -323
  256. oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job.txt +0 -30
  257. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/add-packages.txt +0 -111
  258. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/change-compartment.txt +0 -108
  259. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/create.txt +0 -187
  260. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/delete.txt +0 -133
  261. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/get-package.txt +0 -101
  262. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/get.txt +0 -95
  263. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/list-packages.txt +0 -145
  264. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/list.txt +0 -144
  265. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/remove-packages.txt +0 -112
  266. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/search-packages.txt +0 -124
  267. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/update.txt +0 -187
  268. oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source.txt +0 -34
  269. oci_cli/help_text_producer/data_files/text/cmdref/os-management/update-managed-instance-details/update-managed-instance.txt +0 -107
  270. oci_cli/help_text_producer/data_files/text/cmdref/os-management/update-managed-instance-details.txt +0 -14
  271. oci_cli/help_text_producer/data_files/text/cmdref/os-management/windows-update/list.txt +0 -129
  272. oci_cli/help_text_producer/data_files/text/cmdref/os-management/windows-update.txt +0 -16
  273. oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/get.txt +0 -91
  274. oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/list-errors.txt +0 -128
  275. oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/list-logs.txt +0 -128
  276. oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/list.txt +0 -148
  277. oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request.txt +0 -20
  278. oci_cli/help_text_producer/data_files/text/cmdref/os-management.txt +0 -187
  279. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/change-compartment.txt +0 -143
  280. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/create.txt +0 -187
  281. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/delete.txt +0 -141
  282. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/get.txt +0 -103
  283. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/list.txt +0 -150
  284. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/update.txt +0 -193
  285. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy.txt +0 -25
  286. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/debug/report.txt +0 -60
  287. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/debug.txt +0 -14
  288. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/change-compartment.txt +0 -143
  289. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/create.txt +0 -210
  290. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/delete.txt +0 -141
  291. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/get.txt +0 -103
  292. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/list.txt +0 -150
  293. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/update.txt +0 -215
  294. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/change-compartment.txt +0 -147
  295. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/create.txt +0 -197
  296. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/delete.txt +0 -145
  297. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/get.txt +0 -107
  298. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/list.txt +0 -150
  299. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/update.txt +0 -203
  300. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table.txt +0 -25
  301. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway.txt +0 -26
  302. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/mesh/create.txt +0 -190
  303. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/mesh/get.txt +0 -99
  304. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/mesh.txt +0 -27
  305. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/proxy-details/get.txt +0 -79
  306. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/proxy-details.txt +0 -14
  307. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/change-compartment.txt +0 -143
  308. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/create-virtual-deployment-disabled-service-discovery-configuration.txt +0 -204
  309. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/create-virtual-deployment-dns-service-discovery-configuration.txt +0 -209
  310. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/create.txt +0 -215
  311. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/delete.txt +0 -141
  312. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/get.txt +0 -103
  313. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/list.txt +0 -150
  314. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/update-virtual-deployment-disabled-service-discovery-configuration.txt +0 -204
  315. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/update-virtual-deployment-dns-service-discovery-configuration.txt +0 -209
  316. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/update.txt +0 -215
  317. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment.txt +0 -33
  318. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/change-compartment.txt +0 -141
  319. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/delete.txt +0 -139
  320. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/get.txt +0 -101
  321. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/list.txt +0 -150
  322. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/update.txt +0 -211
  323. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/change-compartment.txt +0 -145
  324. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/create.txt +0 -195
  325. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/delete.txt +0 -143
  326. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/get.txt +0 -105
  327. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/list.txt +0 -150
  328. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/update.txt +0 -201
  329. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table.txt +0 -25
  330. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service.txt +0 -27
  331. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/work-request.txt +0 -22
  332. oci_cli/help_text_producer/data_files/text/cmdref/service-mesh.txt +0 -139
  333. services/ai_anomaly_detection/src/oci_cli_anomaly_detection/anomalydetection_cli_extended.py +0 -234
  334. services/ai_anomaly_detection/src/oci_cli_anomaly_detection/generated/anomalydetection_cli.py +0 -2665
  335. services/ai_anomaly_detection/src/oci_cli_anomaly_detection/generated/client_mappings.py +0 -14
  336. services/ai_anomaly_detection/tests/__init__.py +0 -4
  337. services/dts/__init__.py +0 -4
  338. services/dts/src/__init__.py +0 -4
  339. services/dts/src/oci_cli_appliance_export_job/__init__.py +0 -4
  340. services/dts/src/oci_cli_appliance_export_job/applianceexportjob_cli_extended.py +0 -582
  341. services/dts/src/oci_cli_appliance_export_job/applianceexportjob_constants.py +0 -11
  342. services/dts/src/oci_cli_appliance_export_job/generated/__init__.py +0 -4
  343. services/dts/src/oci_cli_appliance_export_job/generated/applianceexportjob_cli.py +0 -428
  344. services/dts/src/oci_cli_appliance_export_job/generated/client_mappings.py +0 -14
  345. services/dts/src/oci_cli_appliance_export_job/manifest/__init__.py +0 -3
  346. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_constants.py +0 -12
  347. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_iterator.py +0 -86
  348. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_line_item.py +0 -22
  349. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_stats.py +0 -93
  350. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_stats_consumer.py +0 -15
  351. services/dts/src/oci_cli_appliance_export_job/manifest/manifest_writer.py +0 -117
  352. services/dts/src/oci_cli_appliance_export_job/manifest/object_uploader.py +0 -124
  353. services/dts/src/oci_cli_dts/__init__.py +0 -4
  354. services/dts/src/oci_cli_dts/appliance_auth_manager.py +0 -59
  355. services/dts/src/oci_cli_dts/appliance_cert_manager.py +0 -51
  356. services/dts/src/oci_cli_dts/appliance_client_proxy.py +0 -57
  357. services/dts/src/oci_cli_dts/appliance_config.py +0 -34
  358. services/dts/src/oci_cli_dts/appliance_config_manager.py +0 -145
  359. services/dts/src/oci_cli_dts/appliance_config_spec.py +0 -38
  360. services/dts/src/oci_cli_dts/appliance_constants.py +0 -35
  361. services/dts/src/oci_cli_dts/appliance_init_auth.py +0 -81
  362. services/dts/src/oci_cli_dts/appliance_init_auth_spec.py +0 -32
  363. services/dts/src/oci_cli_dts/base_client.py +0 -102
  364. services/dts/src/oci_cli_dts/cli_utils.py +0 -131
  365. services/dts/src/oci_cli_dts/dts_service_cli_extended.py +0 -95
  366. services/dts/src/oci_cli_dts/dts_transform.py +0 -31
  367. services/dts/src/oci_cli_dts/generated/__init__.py +0 -4
  368. services/dts/src/oci_cli_dts/generated/dts_service_cli.py +0 -14
  369. services/dts/src/oci_cli_dts/nfs_dataset_client_proxy.py +0 -85
  370. services/dts/src/oci_cli_dts/nfsdataset_cli_extended.py +0 -371
  371. services/dts/src/oci_cli_dts/physical_appliance_control_plane/__init__.py +0 -3
  372. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/__init__.py +0 -16
  373. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/diagnose_tools_client.py +0 -163
  374. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/diagnose_tools_client_composite_operations.py +0 -24
  375. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/__init__.py +0 -28
  376. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/dataset_seal_status.py +0 -282
  377. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/details.py +0 -66
  378. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_dataset_info.py +0 -191
  379. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_dataset_spec.py +0 -93
  380. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_export_config.py +0 -174
  381. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_export_details.py +0 -66
  382. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/object_storage_upload_config.py +0 -201
  383. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/passphrase_details.py +0 -66
  384. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/physical_transfer_appliance.py +0 -214
  385. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/nfs_dataset_client.py +0 -835
  386. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/nfs_dataset_client_composite_operations.py +0 -24
  387. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/physical_transfer_appliance_client.py +0 -374
  388. services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/physical_transfer_appliance_client_composite_operations.py +0 -24
  389. services/dts/src/oci_cli_dts/physical_appliance_control_plane/service_endpoints.py +0 -9
  390. services/dts/src/oci_cli_dts/physicalappliance_cli_extended.py +0 -590
  391. services/dts/src/oci_cli_dts/verify_cli_extended.py +0 -494
  392. services/dts/src/oci_cli_shipping_vendors/__init__.py +0 -4
  393. services/dts/src/oci_cli_shipping_vendors/generated/__init__.py +0 -4
  394. services/dts/src/oci_cli_shipping_vendors/generated/client_mappings.py +0 -14
  395. services/dts/src/oci_cli_shipping_vendors/generated/shippingvendors_cli.py +0 -49
  396. services/dts/src/oci_cli_transfer_appliance/__init__.py +0 -4
  397. services/dts/src/oci_cli_transfer_appliance/generated/__init__.py +0 -4
  398. services/dts/src/oci_cli_transfer_appliance/generated/client_mappings.py +0 -14
  399. services/dts/src/oci_cli_transfer_appliance/generated/transferappliance_cli.py +0 -364
  400. services/dts/src/oci_cli_transfer_appliance/transferappliance_cli_extended.py +0 -362
  401. services/dts/src/oci_cli_transfer_appliance_entitlement/__init__.py +0 -4
  402. services/dts/src/oci_cli_transfer_appliance_entitlement/generated/__init__.py +0 -4
  403. services/dts/src/oci_cli_transfer_appliance_entitlement/generated/client_mappings.py +0 -14
  404. services/dts/src/oci_cli_transfer_appliance_entitlement/generated/transferapplianceentitlement_cli.py +0 -155
  405. services/dts/src/oci_cli_transfer_appliance_entitlement/transferapplianceentitlement_cli_extended.py +0 -66
  406. services/dts/src/oci_cli_transfer_device/__init__.py +0 -4
  407. services/dts/src/oci_cli_transfer_device/generated/__init__.py +0 -4
  408. services/dts/src/oci_cli_transfer_device/generated/client_mappings.py +0 -14
  409. services/dts/src/oci_cli_transfer_device/generated/transferdevice_cli.py +0 -209
  410. services/dts/src/oci_cli_transfer_job/__init__.py +0 -4
  411. services/dts/src/oci_cli_transfer_job/generated/__init__.py +0 -4
  412. services/dts/src/oci_cli_transfer_job/generated/client_mappings.py +0 -14
  413. services/dts/src/oci_cli_transfer_job/generated/transferjob_cli.py +0 -368
  414. services/dts/src/oci_cli_transfer_job/transferjob_cli_extended.py +0 -281
  415. services/dts/src/oci_cli_transfer_package/__init__.py +0 -4
  416. services/dts/src/oci_cli_transfer_package/generated/__init__.py +0 -4
  417. services/dts/src/oci_cli_transfer_package/generated/client_mappings.py +0 -14
  418. services/dts/src/oci_cli_transfer_package/generated/transferpackage_cli.py +0 -326
  419. services/dts/tests/__init__.py +0 -4
  420. services/os_management/__init__.py +0 -4
  421. services/os_management/src/__init__.py +0 -4
  422. services/os_management/src/oci_cli_event/__init__.py +0 -4
  423. services/os_management/src/oci_cli_event/event_cli_extended.py +0 -34
  424. services/os_management/src/oci_cli_event/generated/__init__.py +0 -4
  425. services/os_management/src/oci_cli_event/generated/client_mappings.py +0 -14
  426. services/os_management/src/oci_cli_event/generated/event_cli.py +0 -430
  427. services/os_management/src/oci_cli_os_management/__init__.py +0 -4
  428. services/os_management/src/oci_cli_os_management/generated/__init__.py +0 -4
  429. services/os_management/src/oci_cli_os_management/generated/os_management_service_cli.py +0 -15
  430. services/os_management/src/oci_cli_os_management/generated/osmanagement_cli.py +0 -4009
  431. services/os_management/src/oci_cli_os_management/osmanagement_cli_extended.py +0 -244
  432. services/os_management/tests/__init__.py +0 -4
  433. services/service_mesh/__init__.py +0 -4
  434. services/service_mesh/src/__init__.py +0 -4
  435. services/service_mesh/src/oci_cli_service_mesh/__init__.py +0 -4
  436. services/service_mesh/src/oci_cli_service_mesh/generated/__init__.py +0 -4
  437. services/service_mesh/src/oci_cli_service_mesh/generated/client_mappings.py +0 -14
  438. services/service_mesh/src/oci_cli_service_mesh/generated/servicemesh_cli.py +0 -3306
  439. services/service_mesh/src/oci_cli_service_mesh/service_mesh_cli_extended.py +0 -57
  440. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/__init__.py +0 -76
  441. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/aggregators/__init__.py +0 -3
  442. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/aggregators/aggregation_orchestrator.py +0 -88
  443. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/bundle_analyser.py +0 -163
  444. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/event.py +0 -43
  445. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/handlers/__init__.py +0 -3
  446. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/handlers/debug_handler.py +0 -209
  447. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/report_orchestrator.py +0 -82
  448. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/task_orchestrator.py +0 -76
  449. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/task_request.py +0 -232
  450. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/__init__.py +0 -3
  451. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/common_worker.py +0 -116
  452. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/csv_worker.py +0 -39
  453. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/file_worker.py +0 -33
  454. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/igd_worker.py +0 -48
  455. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/mesh_report_worker.py +0 -60
  456. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/mesh_resources_worker.py +0 -49
  457. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/namespaces_worker.py +0 -33
  458. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/oci_cli_version_worker.py +0 -34
  459. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/pod_worker.py +0 -112
  460. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/resource_worker.py +0 -75
  461. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/services_worker.py +0 -34
  462. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/task_worker.py +0 -33
  463. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/validate_crds_worker.py +0 -34
  464. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/vdb_worker.py +0 -51
  465. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/webhooks_worker.py +0 -34
  466. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/__init__.py +0 -3
  467. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/bundle_helper.py +0 -154
  468. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/constants.py +0 -137
  469. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/helper.py +0 -12
  470. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/kubectl_command_helper.py +0 -646
  471. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/messages.py +0 -16
  472. services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/summary.py +0 -222
  473. services/service_mesh/tests/__init__.py +0 -4
  474. {oci_cli-3.64.1.dist-info → oci_cli-3.65.0.dist-info}/LICENSE.txt +0 -0
  475. {oci_cli-3.64.1.dist-info → oci_cli-3.65.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  476. {oci_cli-3.64.1.dist-info → oci_cli-3.65.0.dist-info}/WHEEL +0 -0
  477. {oci_cli-3.64.1.dist-info → oci_cli-3.65.0.dist-info}/entry_points.txt +0 -0
  478. {oci_cli-3.64.1.dist-info → oci_cli-3.65.0.dist-info}/top_level.txt +0 -0
@@ -1,93 +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
-
5
-
6
- class ManifestStats:
7
- """
8
- This class is responsible to store information about the ongoing manifest process
9
- """
10
- def __init__(self):
11
- self._total_count = 0
12
- self._total_size = 0
13
- self._first_object = None
14
- self._last_object = None
15
- self._next_start_with = None
16
- self._manifest_obj_name = None
17
- self._manifest_md5 = None
18
-
19
- def increment_total_count(self):
20
- self._total_count += 1
21
-
22
- def increment_total_size(self, size):
23
- self._total_size += size
24
-
25
- def get_total_count(self):
26
- return self._total_count
27
-
28
- def get_total_size(self):
29
- return self._total_size
30
-
31
- def set_first_object(self, object):
32
- self._first_object = object
33
-
34
- def get_first_object(self):
35
- return self._first_object
36
-
37
- def set_last_object(self, object):
38
- self._last_object = object
39
-
40
- def get_last_object(self):
41
- return self._last_object
42
-
43
- def set_next_start_with(self, object):
44
- self._next_start_with = object
45
-
46
- def get_next_start_with(self):
47
- return self._next_start_with
48
-
49
- def set_manifest_obj_name(self, name):
50
- self._manifest_obj_name = name
51
-
52
- def get_manifest_object_name(self):
53
- return self._manifest_obj_name
54
-
55
- def set_manifest_md5(self, md5):
56
- self._manifest_md5 = md5
57
-
58
- def get_manifest_md5(self):
59
- return self._manifest_md5
60
-
61
- def __str__(self):
62
- return "************************* Manifest Progress ************************ \n" \
63
- "** Total Objects: \t{}\n" \
64
- "** Total Size: \t\t{}\n" \
65
- "** First Object: \t{}\n" \
66
- "** Last Object: \t{}\n" \
67
- "** Next Start With: \t{}\n" \
68
- "******************************************************************** \n"\
69
- .format(self._total_count, self._format_size(), self._first_object, self._last_object, self._next_start_with)
70
-
71
- def _format_size(self):
72
- """
73
- Print size in human readable format for ex: 200 MB, 20 GB, 2 TB etc.
74
- :return: Formatted string in human readable format
75
- """
76
-
77
- MiB = 1024 * 1024
78
- GiB = MiB * 1024
79
- TiB = GiB * 1024
80
-
81
- _format_str = '{number:.{digits}f}'
82
-
83
- if self._total_size < MiB:
84
- return '{} Bytes'.format(self._total_size)
85
-
86
- elif MiB <= self._total_size < GiB:
87
- return (_format_str + ' MB').format(number=self._total_size / MiB, digits=2)
88
-
89
- elif GiB <= self._total_size < TiB:
90
- return (_format_str + ' GB').format(number=self._total_size / GiB, digits=2)
91
-
92
- else:
93
- return (_format_str + ' TB').format(number=self._total_size / TiB, digits=2)
@@ -1,15 +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
-
5
-
6
- class ManifestStatsConsumer:
7
- def __init__(self):
8
- pass
9
-
10
- def consume(self, manifest_stats):
11
- """
12
- Consumes stats from manifest writer to report progress to the user
13
- :param manifest_stats: Object of type ManifestStats that contains information about a manifest process
14
- """
15
- print(str(manifest_stats))
@@ -1,117 +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
-
5
- from .manifest_constants import ENCODING_FORMAT_UTF, MAX_EXPORT_SIZE, OBJECT_NAME_MAX_PATH_LENGTH, MAX_PART_SIZE_MB
6
- from .manifest_stats import ManifestStats
7
- import logging
8
-
9
-
10
- class ManifestWriter:
11
- """
12
- Utility class to create a manifest file from the iterator of objects
13
- :param iterator of type ManifestIterator to iterate over the items to be written to manifest
14
- :param object_uploader of type ObjectUploader that manages all uploads to object storage
15
- :param stats_consumer of type ManifestStatsConsumer that takes manifest stats object to report progress
16
- :param size_of_part: The maximum size of a part. Usually 100MB
17
- """
18
- def __init__(self, iterator, object_uploader, stats_consumer, size_of_part=MAX_PART_SIZE_MB):
19
- self._iterator = iterator
20
- self._uploader = object_uploader
21
- self._consumer = stats_consumer
22
- self._buffer = None
23
- self._stats = ManifestStats()
24
- self._part_counter = 0
25
- self._max_part_size = size_of_part
26
- self.log = logging.getLogger(self.__module__ + "." + self.__class__.__name__)
27
-
28
- def write(self):
29
- """
30
- This method iterates over the iterator to read objects and write them to a local buffer. This buffer is then passed
31
- in to the ObjectUploader which eventually uploads it as either a multipart or a regular object to objectStorage
32
- :return: String name of the object that was uploaded to object storage
33
- """
34
- self.log.debug("Starting manifest writer ... ")
35
-
36
- while self._iterator.has_next():
37
- line_item = self._iterator.get_next()
38
-
39
- if not self._do_xa_capacity_check(line_item.size):
40
- _msg_ = "MAXIMUM CAPACITY REACHED FOR THIS EXPORT, TOTAL SIZE = {}.\nPLEASE CREATE A NEW EXPORT REQUEST "
41
- "WITH SPECIFYING THE FILTER '--start={}' WHICH IS THE NEXT OBJECT TO BE PROCESSED FOR THIS BUCKET.\n"
42
- "STOPPING THE CURRENT MANIFEST GENERATION HERE. TOTAL NUMBER OF OBJECTS IN THIS MANIFEST = {}".format(self._stats.get_total_size(), line_item.path, self._stats.get_total_count()) # noqa: F523
43
-
44
- print(_msg_)
45
- self.log.info(_msg_)
46
- self._stats.set_next_start_with(line_item.path)
47
- break
48
-
49
- self._validate_object(line_item)
50
-
51
- if not self._do_buffer_capacity_check(len(str(line_item))):
52
- self.log.debug("Reached max buffer size, flushing buffer for next items ... ")
53
- self._do_mp_upload()
54
-
55
- self._write_and_record(line_item)
56
-
57
- if self._part_counter > 1:
58
- self._do_mp_upload()
59
- _result = self._uploader.commit_mp_object()
60
- else:
61
- self._consumer.consume(self._stats)
62
- _result = self._uploader.upload_regular_object(self._buffer)
63
-
64
- self._stats.set_manifest_md5(_result['md5'])
65
- self._stats.set_manifest_obj_name(_result['name'])
66
- return self._stats
67
-
68
- def _write_and_record(self, line_item):
69
- """
70
- Write line_item to buffer and update the stats info with this line_item
71
- :param line_item: Object of type ManifestLineItem with __str__() defined
72
- """
73
- # Todo: check memory leak?
74
- if self._buffer is None or len(self._buffer) == 0:
75
- self._buffer = bytearray(str(line_item), ENCODING_FORMAT_UTF)
76
- else:
77
- self._buffer.extend(bytearray(str(line_item), ENCODING_FORMAT_UTF))
78
-
79
- if self._stats.get_first_object() is None:
80
- self._stats.set_first_object(line_item.path)
81
-
82
- self._stats.increment_total_count()
83
- self._stats.increment_total_size(int(line_item.size))
84
- self._stats.set_last_object(line_item.path)
85
-
86
- def _clear_buffer(self):
87
- self.log.debug("Reached max part size limit, clearing buffer for next write")
88
- self._buffer.clear()
89
-
90
- def _do_mp_upload(self):
91
- self._part_counter += 1
92
- self._uploader.upload_part(self._buffer, self._part_counter)
93
- self._clear_buffer()
94
- self._consumer.consume(self._stats)
95
-
96
- def _do_xa_capacity_check(self, requested_size):
97
- return self._stats.get_total_size() + requested_size <= MAX_EXPORT_SIZE
98
-
99
- def _do_buffer_capacity_check(self, requested_size):
100
- return self._buffer is None or len(self._buffer) + requested_size <= self._max_part_size
101
-
102
- @staticmethod
103
- def _validate_object(o):
104
- o1 = o.path
105
- if o1:
106
- if o1[0] == "/":
107
- ManifestWriter._raise_object_validation_exception(o, "Object's path starts with a slash")
108
-
109
- path_arr = o1.split('/')
110
- for path in path_arr:
111
- if len(path) > OBJECT_NAME_MAX_PATH_LENGTH:
112
- ManifestWriter._raise_object_validation_exception(
113
- o, "'{}' is longer than {} characters".format(path, OBJECT_NAME_MAX_PATH_LENGTH))
114
-
115
- @staticmethod
116
- def _raise_object_validation_exception(line_item, msg):
117
- raise Exception("Object validation failed for object {}. {}.".format(str(line_item).strip(), msg))
@@ -1,124 +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
-
5
- from .manifest_constants import MANIFEST_OBJECT_NAME_PREFIX
6
- from oci.object_storage.models import CreateMultipartUploadDetails
7
- import logging
8
-
9
-
10
- class ObjectUploader:
11
- """
12
- Utility class to manage regular and multipart uploads to object storage
13
- :param client to communicate with the object storage service
14
- :param namespace The object storage namespace where the bucket resides
15
- :param bucket The bucket on which export service has been requested
16
- :param obj_name_suffix job id of the export job that will be used as the suffix for the manifest file name
17
- """
18
- def __init__(self, client, namespace, bucket, obj_name_suffix):
19
- self._client = client
20
- self._namespace = namespace
21
- self._bucket = bucket
22
- self._parts_info = []
23
- self._object_key = MANIFEST_OBJECT_NAME_PREFIX.format(obj_name_suffix)
24
- self._multipart_request_details = None
25
- self.log = logging.getLogger(self.__module__ + "." + self.__class__.__name__)
26
-
27
- def _create_mp_upload_request(self):
28
- self.log.debug('Initiating a multipart upload request to object storage')
29
- details = CreateMultipartUploadDetails()
30
- details.object = self._object_key
31
-
32
- response = self._client.create_multipart_upload(self._namespace, self._bucket, details)
33
- if response is not None and response.status == 200:
34
- self._multipart_request_details = response.data
35
- self.log.debug("Successfully created request for multipart upload, upload id {}".format(self._multipart_request_details.upload_id))
36
- else:
37
- raise Exception("Failed to request multipart upload for bucket {}. Response status {}".format(self.manifest_writer.bucket, response.status))
38
-
39
- def upload_part(self, buffer, part_number):
40
- """
41
- Upload a part object of a multipart upload to object storage
42
- :param buffer: Array of bytes that needs to be uploaded in a single part
43
- :param part_number: part number of the current part to be uploaded
44
- :return: True or False depending on the status of upload
45
- """
46
- if self._multipart_request_details is None:
47
- self.log.debug("No upload request found, requesting a multipart upload ")
48
- self._create_mp_upload_request()
49
-
50
- # Upload part from buffer
51
- if buffer is not None and len(buffer) > 0:
52
- # TODO: Verify the encoding/decoding with non ascii chars if happening as expected
53
- # TODO: Check if this re-conversion from byte array to bytes object can be avoided
54
- # convert bytearray to bytes object / byte string
55
- _data = bytes(buffer)
56
- response = self._client.upload_part(self._namespace, self._bucket, self._object_key, self._multipart_request_details.upload_id, part_number, _data)
57
- if response is not None and response.status == 200:
58
- self._add_part_info_(part_number, response.headers['etag'])
59
- self.log.debug("Part number {} uploaded successfully".format(part_number))
60
- else:
61
- _msg = "Failed to upload part number {}. Response status {}".format(part_number, response.status)
62
- self.log.error(_msg)
63
- raise Exception(_msg)
64
- else:
65
- self.log.error("Upload part buffer is either missing or empty")
66
- raise Exception("Upload part buffer is either missing or empty")
67
-
68
- def commit_mp_object(self):
69
- """
70
- Commit the pending multipart upload to object storage
71
- :return: String name of the object that is committed and available in object storage
72
- """
73
- if self._multipart_request_details is not None:
74
- # commit
75
- commit_parts_map = {
76
- "partsToCommit": self._parts_info
77
- }
78
-
79
- response = self._client.commit_multipart_upload(self._namespace, self._bucket, self._multipart_request_details.object, self._multipart_request_details.upload_id, commit_parts_map)
80
- if response is not None and response.status == 200:
81
- self.log.debug("Successfully committed object {}, with Etag {}".format(self._multipart_request_details.object, response.headers['etag']))
82
- return {
83
- "name": self._multipart_request_details.object,
84
- "md5": response.headers['opc-multipart-md5']
85
- }
86
- else:
87
- raise Exception("Failed to commit multipart object. Response status {}, message {}".format(response.status, response.message))
88
- else:
89
- raise Exception("No pending multipart request found for committing")
90
-
91
- def upload_regular_object(self, buffer):
92
- """
93
- Upload a part object of a multipart upload to object storage
94
- :param buffer: Array of bytes that needs to be uploaded in a single object
95
- :return: String name of the object that is uploaded to object storage
96
- """
97
- if buffer is not None:
98
- self.log.info("Starting upload for regular object of size {}".format(len(buffer)))
99
- # TODO: Verify the encoding/decoding with non ascii chars if happening as expected
100
- # TODO: Check if this re-conversion from byte array to bytes object can be avoided
101
- # convert bytearray to bytes object / byte string
102
- _data = bytes(buffer)
103
- response = self._client.put_object(self._namespace, self._bucket, self._object_key, _data, content_length=len(buffer))
104
- if response is not None and response.status == 200:
105
- self.log.info("Successfully completed PUT Object operation on object storage. Response status {}, "
106
- "object name {}, object etag {}".format(response.status, self._object_key, response.headers['etag']))
107
- return {
108
- "name": self._object_key,
109
- "md5": response.headers['opc-content-md5']
110
- }
111
- else:
112
- raise Exception("Failed to make PUT request to object storage. Response status {}, message {}".format(response.status, response.message))
113
-
114
- def _add_part_info_(self, part_number, part_etag):
115
- """
116
- Collect information about uploaded parts needed for doing commit()
117
- :param part_number: part number of the uploded part
118
- :param part_etag: etag of the uploaded part returned by upload_part()
119
- """
120
- # parts_info is a array of dictionaries
121
- self._parts_info.append({
122
- "partNum": part_number,
123
- "etag": part_etag
124
- })
@@ -1,4 +0,0 @@
1
- # coding: utf-8
2
- # Copyright (c) 2016, 2025, 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
- # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 1.0.017
@@ -1,59 +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
-
5
-
6
- import click
7
-
8
- from services.dts.src.oci_cli_dts.appliance_constants import APPLIANCE_CERT_FILE_NAME
9
-
10
-
11
- class ApplianceAuthManager:
12
- def __init__(self, appliance_config_spec, expected_cert_fingerprint, config_manager, cert_manager):
13
- """
14
- This class is responsible for getting the certificates from an appliance and validating them
15
- :param appliance_config_spec: The ApplianceConfigSpec object containing the appliance's details
16
- :param expected_cert_fingerprint: The certificate's fingerprint that is passed in by the user. This is used
17
- later to be able to compare against the fingerprint of the certificate that was received
18
- :param config_manager: The ApplianceConfigManager object that handles the directory structure of the appliance
19
- configs
20
- :param cert_manager: The ApplianceCertManager object that actually implements the individual operations related
21
- to the fetching and storing of certificates
22
- """
23
- self.appliance_config_spec = appliance_config_spec
24
- self.expected_cert_fingerprint = expected_cert_fingerprint
25
- self.config_manager = config_manager
26
- self.cert_manager = cert_manager
27
-
28
- def initialize_auth(self):
29
- """
30
- The wrapper for the initialization of auth for the appliance on the host. This essentially makes calls to the
31
- cert manager
32
- :return: None
33
- """
34
- try:
35
- self.config_manager.create_config(self.appliance_config_spec)
36
- except Exception as e:
37
- click.echo("Error while creating the config at {}. Attempting to delete the config..."
38
- .format(self.appliance_config_spec.get_profile()))
39
- self.config_manager.delete_config(self.appliance_config_spec.get_profile())
40
- raise e
41
-
42
- cert_file = "{}/{}".format(self.config_manager.get_config_dir(self.appliance_config_spec.get_profile()),
43
- APPLIANCE_CERT_FILE_NAME)
44
-
45
- try:
46
- self.cert_manager.fetch_cert(cert_file)
47
- except Exception as e:
48
- click.echo("Error while fetching the certificate from the appliance. Attempting to delete the config...")
49
- click.echo(e)
50
- self.config_manager.delete_config(self.appliance_config_spec.get_profile())
51
- raise e
52
-
53
- try:
54
- self.cert_manager.validate_cert(cert_file, self.expected_cert_fingerprint)
55
- except Exception as e:
56
- click.echo(e)
57
- click.echo("Error while validating cert fingerprint. Attempting to delete the config...")
58
- self.config_manager.delete_config(self.appliance_config_spec.get_profile())
59
- raise e
@@ -1,51 +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
-
5
-
6
- import OpenSSL
7
- import ssl
8
-
9
- from oci import exceptions
10
- from services.dts.src.oci_cli_dts.appliance_constants import APPLIANCE_CERT_COMMON_NAME
11
-
12
-
13
- class ApplianceCertManager:
14
- def __init__(self, appliance_endpoint):
15
- """
16
- This is where all the action happens. This manager is responsible for getting the certificates from the
17
- appliance and validating them
18
- :param appliance_endpoint: The endpoint of the appliance in the form of (ip, port)
19
- """
20
- self.appliance_endpoint = appliance_endpoint
21
-
22
- def fetch_cert(self, cert_file):
23
- """
24
- Pull certificate from appliance (SSL server) and store in local appliance certificate file in PEM format
25
- :param cert_file: The String path to the cert file
26
- :return: None
27
- """
28
- ssl_cert = ssl.get_server_certificate(self.appliance_endpoint)
29
- with open(cert_file, 'w') as f:
30
- f.write(ssl_cert)
31
-
32
- @staticmethod
33
- def validate_cert(cert_file, expected_cert_fingerprint):
34
- """
35
- Validate whether the fingerprint of the cert file matches what the user provided
36
- :param cert_file: String path to the server certificate
37
- :param expected_cert_fingerprint: String certificate fingerprint that the user provided
38
- :return: None
39
- """
40
- ssl_cert = open(cert_file, 'rt').read()
41
- x509_cert = OpenSSL.crypto.load_certificate(OpenSSL.crypto.FILETYPE_PEM, ssl_cert)
42
- cert_common_name = x509_cert.get_subject().commonName
43
- if cert_common_name != APPLIANCE_CERT_COMMON_NAME:
44
- raise exceptions.RequestException(
45
- f"Expected common name '{APPLIANCE_CERT_COMMON_NAME}' but received certificate with common name '{cert_common_name}'")
46
- server_fingerprint = x509_cert.digest("md5")
47
- if type(expected_cert_fingerprint) == bytes:
48
- expected_cert_fingerprint = expected_cert_fingerprint.decode("utf-8")
49
- if server_fingerprint.decode("utf-8") != expected_cert_fingerprint:
50
- raise exceptions.RequestException(
51
- "Provided cert fingerprint does not match what was returned by the appliance")
@@ -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
-
5
-
6
- """
7
- NOTE: This class should always comply to the API definition of PhysicalTransferApplianceClient present in
8
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/physical_transfer_appliance_client.py
9
- """
10
-
11
- from oci_cli import cli_util
12
-
13
- from services.dts.src.oci_cli_dts.appliance_config_manager import ApplianceConfigManager
14
- from services.dts.src.oci_cli_dts.appliance_constants import APPLIANCE_CONFIGS_BASE_DIR, APPLIANCE_AUTH_USER, \
15
- APPLIANCE_CERT_FILE_NAME
16
- from services.dts.src.oci_cli_dts.physical_appliance_control_plane.client.physical_transfer_appliance_client import \
17
- PhysicalTransferApplianceClient
18
-
19
-
20
- class ApplianceClientProxy:
21
- def __init__(self, ctx, appliance_profile):
22
- config_manager = ApplianceConfigManager(APPLIANCE_CONFIGS_BASE_DIR)
23
- appliance_config = config_manager.get_config(appliance_profile)
24
- self.auth_value = "{}:{}".format(APPLIANCE_AUTH_USER, appliance_config.get_access_token())
25
- self.serial_id = appliance_config.get_appliance_serial_id()
26
-
27
- config = cli_util.build_config(ctx.obj)
28
- host_name = appliance_config.get_appliance_url()
29
- self_signed_cert = "{}/{}".format(config_manager.get_config_dir(appliance_profile), APPLIANCE_CERT_FILE_NAME)
30
- self.appliance_client = PhysicalTransferApplianceClient(config=config,
31
- service_endpoint=host_name,
32
- self_signed_cert=self_signed_cert)
33
-
34
- def configure_encryption(self, **kwargs):
35
- kwargs['auth_value'] = self.auth_value
36
- kwargs['serial_id'] = self.serial_id
37
- return self.appliance_client.configure_encryption(**kwargs)
38
-
39
- def finalize_appliance(self, **kwargs):
40
- kwargs['auth_value'] = self.auth_value
41
- kwargs['serial_id'] = self.serial_id
42
- return self.appliance_client.finalize_appliance(**kwargs)
43
-
44
- def get_physical_transfer_appliance(self, **kwargs):
45
- kwargs['auth_value'] = self.auth_value
46
- kwargs['serial_id'] = self.serial_id
47
- return self.appliance_client.get_physical_transfer_appliance(**kwargs)
48
-
49
- def set_object_storage_upload_config(self, upload_config, **kwargs):
50
- kwargs['auth_value'] = self.auth_value
51
- kwargs['serial_id'] = self.serial_id
52
- return self.appliance_client.set_object_storage_upload_config(upload_config, **kwargs)
53
-
54
- def unlock_appliance(self, **kwargs):
55
- kwargs['auth_value'] = self.auth_value
56
- kwargs['serial_id'] = self.serial_id
57
- return self.appliance_client.unlock_appliance(**kwargs)
@@ -1,34 +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
-
5
-
6
- class ApplianceConfig:
7
- def __init__(self, appliance_url, access_token, serial_id):
8
- self.appliance_url = appliance_url
9
- self.access_token = access_token
10
- self.serial_id = serial_id
11
-
12
- def get_appliance_url(self):
13
- return self.appliance_url
14
-
15
- def get_access_token(self):
16
- return self.access_token
17
-
18
- def get_appliance_serial_id(self):
19
- return self.serial_id
20
-
21
- def __str__(self):
22
- return "ApplianceConfig{applianceUrl=%s, accessToken='%s', xaSerialId='%s'}" \
23
- % (self.appliance_url, self.access_token, self.serial_id)
24
-
25
- def __eq__(self, other):
26
- if self is other:
27
- return True
28
- if other is None or self.__class__.__name__ != other.__class__.__name__:
29
- return False
30
- return self.appliance_url == other.appliance_url and self.access_token == other.access_token and \
31
- self.serial_id == other.serial_id
32
-
33
- def __hash__(self):
34
- return hash(self.appliance_url + self.access_token + self.serial_id)