oci-cli 3.64.1__py3-none-any.whl → 3.65.1__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.
- oci_cli/bin/dbmulticloud.psm1 +39 -4
- oci_cli/bin/mysql.psm1 +4 -2
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/condition-metadata-type/get.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/detector-recipe/create.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/managed-list/create.txt +5 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/managed-list/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/managed-list/update.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/problem/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/problem-aggregation/request-summarized-problems.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/resource/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/cloud-guard/resource-type-summary/list-resource-types.txt +1 -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
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database-backup/list.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-vm-cluster/register-cloud-vm-cluster-pkcs.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-vm-cluster/unregister-cloud-vm-cluster-pkcs.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/data-guard-association/create/with-new-db-system.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/data-guard-association/create-data-guard-association-google-cloud-provider-encryption-key-details.txt +206 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/data-guard-association.txt +3 -0
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/access-policy/delete.txt → db/database/change-encryption-key-location-google-cloud-provider-encryption-key-details.txt} +19 -24
- oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-database-create-stand-by-database-details.txt +6 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-database-from-backup.txt +6 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-from-backup.txt +10 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-standby-database.txt +20 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database/create.txt +10 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database/update.txt +11 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database.txt +3 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/exadb-vm-cluster/create.txt +9 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/create.txt +10 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/list.txt +21 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/update.txt +10 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/gi-version/list.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch-from-backup.txt +42 -27
- oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch-from-database.txt +42 -27
- oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch-from-db-system.txt +42 -27
- oci_cli/help_text_producer/data_files/text/cmdref/db/system/launch.txt +42 -27
- oci_cli/help_text_producer/data_files/text/cmdref/db/system/list-db-system-storage-performances.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/system/update.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/system-shape/list.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/version/list.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db.txt +6 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/change-compartment.txt +6 -6
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/create.txt +24 -4
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/delete.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/get.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/list.txt +14 -7
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery/update.txt +7 -6
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/multi-cloud-resource-discovery.txt +57 -12
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/change-compartment.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/create.txt +6 -8
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/delete.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/get.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/list.txt +9 -5
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container/update.txt +8 -8
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-container.txt +57 -12
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/change-compartment.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/create.txt +8 -8
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/delete.txt +4 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/get.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/list.txt +7 -5
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount/update.txt +8 -6
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-blob-mount.txt +57 -12
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/change-compartment.txt +4 -4
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/create.txt +11 -12
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/delete.txt +2 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/get.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/list.txt +6 -5
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/patch.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector/update.txt +12 -13
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-connector.txt +61 -16
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-key/get.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-key/list.txt +7 -4
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-key.txt +57 -12
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/change-compartment.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/create.txt +10 -10
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/delete.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/get.txt +5 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/list.txt +8 -5
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/refresh.txt +6 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault/update.txt +17 -12
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/cascading-delete.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/change-compartment.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/create.txt +7 -6
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/delete.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/get.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/list.txt +9 -5
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association/update.txt +9 -7
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault-association.txt +61 -16
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-azure-vault.txt +61 -16
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-identity-connector/change-compartment.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/ingress-gateway → dbmulticloud/oracle-db-gcp-identity-connector}/create.txt +54 -69
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/model → dbmulticloud/oracle-db-gcp-identity-connector}/delete.txt +8 -18
- oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance → dbmulticloud/oracle-db-gcp-identity-connector}/get.txt +7 -6
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/data-asset → dbmulticloud/oracle-db-gcp-identity-connector}/list.txt +15 -13
- oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance/install-all-updates.txt → dbmulticloud/oracle-db-gcp-identity-connector/refresh.txt} +17 -17
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/pe → dbmulticloud/oracle-db-gcp-identity-connector}/update.txt +57 -38
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/oracle-db-gcp-identity-connector.txt +29 -0
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/work-request → dbmulticloud/oracle-db-gcp-key}/get.txt +7 -6
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/pe → dbmulticloud/oracle-db-gcp-key}/list.txt +18 -15
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/virtual-service → dbmulticloud/oracle-db-gcp-key-ring}/change-compartment.txt +15 -21
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh/update.txt → dbmulticloud/oracle-db-gcp-key-ring/create.txt} +54 -47
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh → dbmulticloud/oracle-db-gcp-key-ring}/delete.txt +9 -13
- oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance/list.txt → dbmulticloud/oracle-db-gcp-key-ring/get.txt} +13 -44
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project → dbmulticloud/oracle-db-gcp-key-ring}/list.txt +21 -14
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh/change-compartment.txt → dbmulticloud/oracle-db-gcp-key-ring/refresh.txt} +15 -20
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/model → dbmulticloud/oracle-db-gcp-key-ring}/update.txt +31 -30
- oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance-group.txt → dbmulticloud/oracle-db-gcp-key-ring.txt} +4 -8
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/work-request.txt → dbmulticloud/oracle-db-gcp-key.txt} +3 -5
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud/work-request.txt +61 -16
- oci_cli/help_text_producer/data_files/text/cmdref/dbmulticloud.txt +95 -12
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/dedicated-ai-cluster/create.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/endpoint-collection/list-endpoints.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-inference/chat-result/chat-generic-chat-request.txt +11 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/create.txt +12 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/list.txt +9 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/deployment/update.txt +12 -0
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error/{list-errors.txt → list.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-log-entry/{list-logs.txt → list-work-request-logs.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-log-entry.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/pe/delete.txt → kafka/cluster/change-compartment.txt} +16 -21
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/virtual-service → kafka/cluster}/create.txt +78 -66
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project → kafka/cluster}/delete.txt +7 -12
- 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
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/pe/change-compartment.txt → kafka/cluster/enable-superuser.txt} +18 -19
- oci_cli/help_text_producer/data_files/text/cmdref/{os-management/erratum → kafka/cluster}/get.txt +6 -6
- oci_cli/help_text_producer/data_files/text/cmdref/{dts/job → kafka/cluster}/list.txt +36 -23
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/virtual-service → kafka/cluster}/update.txt +62 -58
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project → kafka/cluster-config}/change-compartment.txt +10 -10
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/data-asset → kafka/cluster-config}/create.txt +30 -33
- oci_cli/help_text_producer/data_files/text/cmdref/{os-management/managed-instance-group → kafka/cluster-config}/delete.txt +7 -10
- oci_cli/help_text_producer/data_files/text/cmdref/{os-management/windows-update → kafka/cluster-config}/get.txt +6 -6
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh/mesh → kafka/cluster-config}/list.txt +25 -30
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/data-asset → kafka/cluster-config}/update.txt +40 -30
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/work-request/cancel.txt → kafka/cluster-config-version/delete.txt} +12 -7
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection/project → kafka/cluster-config-version}/get.txt +11 -8
- oci_cli/help_text_producer/data_files/text/cmdref/{dts/export → kafka/cluster-config-version}/list.txt +25 -23
- oci_cli/help_text_producer/data_files/text/cmdref/kafka/cluster-config-version.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/kafka/cluster-config.txt +29 -0
- oci_cli/help_text_producer/data_files/text/cmdref/kafka/cluster.txt +33 -0
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh → kafka}/work-request/cancel.txt +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh → kafka}/work-request/get.txt +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/{service-mesh → kafka}/work-request/list.txt +26 -31
- 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
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection → kafka}/work-request-error.txt +2 -1
- 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
- oci_cli/help_text_producer/data_files/text/cmdref/{anomaly-detection → kafka}/work-request-log-entry.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/kafka/work-request.txt +23 -0
- oci_cli/help_text_producer/data_files/text/cmdref/kafka.txt +69 -0
- oci_cli/help_text_producer/data_files/text/cmdref/mysql/backup/list.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/mysql/backup/validate.txt +141 -0
- oci_cli/help_text_producer/data_files/text/cmdref/mysql/backup.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/mysql.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error/{list.txt → list-errors.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs.txt +1 -1
- oci_cli/help_text_producer/data_files/text/index.txt +3 -9
- oci_cli/service_mapping.py +6 -21
- oci_cli/version.py +1 -1
- {oci_cli-3.64.1.dist-info → oci_cli-3.65.1.dist-info}/METADATA +2 -2
- {oci_cli-3.64.1.dist-info → oci_cli-3.65.1.dist-info}/RECORD +198 -556
- services/cims/src/oci_cli_incident/cims_cli_extended.py +1 -1
- services/cloud_guard/src/oci_cli_cloud_guard/generated/cloudguard_cli.py +18 -10
- services/database/src/oci_cli_database/database_cli_extended.py +67 -3
- services/database/src/oci_cli_database/generated/database_cli.py +367 -70
- services/{ai_anomaly_detection → dbmulticloud/src/oci_cli_db_multicloud_gcp_provider}/__init__.py +1 -1
- services/dbmulticloud/src/oci_cli_db_multicloud_gcp_provider/dbmulticloudgcpprovider_cli_extended.py +18 -0
- services/{ai_anomaly_detection/src → dbmulticloud/src/oci_cli_db_multicloud_gcp_provider/generated}/__init__.py +1 -1
- services/{dts/src/oci_cli_transfer_appliance_entitlement → dbmulticloud/src/oci_cli_db_multicloud_gcp_provider}/generated/client_mappings.py +6 -6
- services/dbmulticloud/src/oci_cli_db_multicloud_gcp_provider/generated/dbmulticloudgcpprovider_cli.py +1057 -0
- services/dbmulticloud/src/oci_cli_dbmulticloud/generated/dbmulticloud_service_cli.py +27 -8
- services/dbmulticloud/src/oci_cli_multi_cloud_resource_discovery/generated/multicloudresourcediscovery_cli.py +63 -37
- services/dbmulticloud/src/oci_cli_oracle_db_azure_blob_container/generated/oracledbazureblobcontainer_cli.py +52 -33
- services/dbmulticloud/src/oci_cli_oracle_db_azure_blob_mount/generated/oracledbazureblobmount_cli.py +49 -30
- services/dbmulticloud/src/oci_cli_oracle_db_azure_connector/generated/oracledbazureconnector_cli.py +113 -39
- services/dbmulticloud/src/oci_cli_oracle_db_azure_key/generated/oracledbazurekey_cli.py +34 -15
- services/dbmulticloud/src/oci_cli_oracle_db_azure_vault/generated/oracledbazurevault_cli.py +69 -42
- services/dbmulticloud/src/oci_cli_oracle_db_azure_vault_association/generated/oracledbazurevaultassociation_cli.py +52 -33
- services/dbmulticloud/src/oci_cli_work_request/generated/workrequest_cli.py +27 -8
- services/generative_ai/src/oci_cli_generative_ai/generated/generativeai_cli.py +5 -2
- services/generative_ai_inference/src/oci_cli_generative_ai_inference/generated/generativeaiinference_cli.py +7 -3
- services/golden_gate/src/oci_cli_golden_gate/generated/goldengate_cli.py +22 -3
- services/{ai_anomaly_detection/src/oci_cli_anomaly_detection → managed_kafka}/__init__.py +1 -1
- services/{ai_anomaly_detection/src/oci_cli_anomaly_detection/generated → managed_kafka/src}/__init__.py +1 -1
- services/managed_kafka/src/oci_cli_kafka_cluster/__init__.py +4 -0
- services/managed_kafka/src/oci_cli_kafka_cluster/generated/__init__.py +4 -0
- services/{os_management/src/oci_cli_os_management → managed_kafka/src/oci_cli_kafka_cluster}/generated/client_mappings.py +6 -6
- services/managed_kafka/src/oci_cli_kafka_cluster/generated/kafkacluster_cli.py +1254 -0
- services/managed_kafka/src/oci_cli_kafka_cluster/kafkacluster_cli_extended.py +46 -0
- services/managed_kafka/tests/__init__.py +4 -0
- services/mysql/src/oci_cli_db_backups/generated/dbbackups_cli.py +70 -1
- oci_cli/bin/dts.psm1 +0 -147
- oci_cli/bin/os-management.psm1 +0 -140
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/change-compartment.txt +0 -138
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/create-data-source-atp.txt +0 -207
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/create-data-source-influx.txt +0 -198
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/create-data-source-os.txt +0 -174
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/delete.txt +0 -138
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset/get.txt +0 -100
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/data-asset.txt +0 -30
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/change-compartment.txt +0 -119
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create-detect-anomaly-job-embedded-input-details.txt +0 -144
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create-detect-anomaly-job-inline-input-details.txt +0 -185
- 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
- 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
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/create.txt +0 -173
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/delete.txt +0 -143
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/get.txt +0 -105
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job/update.txt +0 -147
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job-collection/list-detect-anomaly-jobs.txt +0 -155
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job-collection.txt +0 -15
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/detect-anomaly-job.txt +0 -31
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/change-compartment.txt +0 -113
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/create.txt +0 -174
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/detect-anomalies-embedded.txt +0 -124
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/detect-anomalies-inline.txt +0 -139
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/detect-anomalies.txt +0 -125
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/get.txt +0 -100
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model/list.txt +0 -148
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/model.txt +0 -30
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/create.txt +0 -170
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe/get.txt +0 -99
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/pe.txt +0 -25
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/project/create.txt +0 -152
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/project/update.txt +0 -166
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/project.txt +0 -24
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request/list.txt +0 -114
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request-error/list.txt +0 -110
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection/work-request-log-entry/list-work-request-logs.txt +0 -110
- oci_cli/help_text_producer/data_files/text/cmdref/anomaly-detection.txt +0 -125
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/cancel.txt +0 -101
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/delete.txt +0 -105
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/get-passphrase.txt +0 -101
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/list.txt +0 -100
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/never-receive.txt +0 -101
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/request-entitlement.txt +0 -189
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/request-return-label.txt +0 -249
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/request.txt +0 -188
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/setup-notifications.txt +0 -63
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/show-entitlement.txt +0 -113
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/show.txt +0 -101
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/update-minimum-storage-capacity.txt +0 -107
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance/update-shipping-address.txt +0 -154
- oci_cli/help_text_producer/data_files/text/cmdref/dts/appliance.txt +0 -38
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/change-compartment.txt +0 -106
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/configure-physical-appliance.txt +0 -114
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/create-policy.txt +0 -68
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/create.txt +0 -226
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/delete.txt +0 -132
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/generate-manifest.txt +0 -97
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/get-passphrase.txt +0 -68
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/request-appliance.txt +0 -68
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/request-return-label.txt +0 -245
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/setup-notifications.txt +0 -51
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/show.txt +0 -96
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export/update.txt +0 -265
- oci_cli/help_text_producer/data_files/text/cmdref/dts/export.txt +0 -38
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/change-compartment.txt +0 -106
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/close.txt +0 -96
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/create.txt +0 -192
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/delete.txt +0 -100
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/detach-devices-details/change-compartment.txt +0 -102
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/detach-devices-details.txt +0 -12
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/setup-notifications.txt +0 -68
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/show.txt +0 -96
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/update.txt +0 -150
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job/verify-upload-user-credentials.txt +0 -91
- oci_cli/help_text_producer/data_files/text/cmdref/dts/job.txt +0 -34
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/activate.txt +0 -93
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/create.txt +0 -93
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/deactivate.txt +0 -77
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/delete.txt +0 -77
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/get-seal-manifest.txt +0 -81
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/list.txt +0 -67
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/reopen.txt +0 -77
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/seal-status.txt +0 -77
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/seal.txt +0 -75
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/set-export.txt +0 -93
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset/show.txt +0 -77
- oci_cli/help_text_producer/data_files/text/cmdref/dts/nfs-dataset.txt +0 -34
- oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/configure-encryption.txt +0 -81
- oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/finalize.txt +0 -89
- oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/initialize-authentication.txt +0 -106
- oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/list.txt +0 -63
- oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/show.txt +0 -67
- oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/unlock.txt +0 -75
- oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance/unregister.txt +0 -67
- oci_cli/help_text_producer/data_files/text/cmdref/dts/physical-appliance.txt +0 -26
- oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/configured.txt +0 -111
- oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/copied.txt +0 -105
- oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/monitored.txt +0 -102
- oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/prepared.txt +0 -104
- oci_cli/help_text_producer/data_files/text/cmdref/dts/verify/shipped.txt +0 -106
- oci_cli/help_text_producer/data_files/text/cmdref/dts/verify.txt +0 -22
- oci_cli/help_text_producer/data_files/text/cmdref/dts.txt +0 -144
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/erratum-summary/list-errata.txt +0 -310
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/erratum-summary.txt +0 -15
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/erratum.txt +0 -14
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/delete-content.txt +0 -113
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/get-content.txt +0 -108
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/get-report.txt +0 -270
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/list-related-events.txt +0 -307
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/list.txt +0 -319
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/update.txt +0 -139
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/event/upload-content.txt +0 -110
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/event.txt +0 -27
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/attach-child.txt +0 -102
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/attach-parent.txt +0 -104
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/detach-child.txt +0 -101
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/detach-parent.txt +0 -102
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/disable-module-stream.txt +0 -138
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/enable-module-stream.txt +0 -139
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-module-profile.txt +0 -141
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-package.txt +0 -123
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-update.txt +0 -123
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/install-windows-update.txt +0 -124
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-packages.txt +0 -142
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-software-sources.txt +0 -141
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-updates.txt +0 -141
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-available-windows-updates.txt +0 -150
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-installed-packages.txt +0 -141
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-installed-windows-updates.txt +0 -142
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-managed-instance-errata.txt +0 -141
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-module-profiles.txt +0 -210
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/list-module-streams.txt +0 -210
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/remove-module-profile.txt +0 -142
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/remove-package.txt +0 -123
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance/switch-module-stream.txt +0 -138
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/attach.txt +0 -102
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/change-compartment.txt +0 -107
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/create.txt +0 -163
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/detach.txt +0 -99
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/get.txt +0 -94
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/install-all-updates.txt +0 -128
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/list.txt +0 -152
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance-group/update.txt +0 -166
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/managed-instance.txt +0 -64
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-profile/get.txt +0 -137
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-profile/list.txt +0 -189
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-profile.txt +0 -16
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-stream/get.txt +0 -132
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-stream/list.txt +0 -188
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/module-stream.txt +0 -16
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/change-compartment.txt +0 -110
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/create.txt +0 -357
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/delete.txt +0 -135
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/get.txt +0 -97
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/list-upcoming.txt +0 -251
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/list.txt +0 -174
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/run-now.txt +0 -106
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/skip-next-execution.txt +0 -106
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job/update.txt +0 -323
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/scheduled-job.txt +0 -30
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/add-packages.txt +0 -111
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/change-compartment.txt +0 -108
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/create.txt +0 -187
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/delete.txt +0 -133
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/get-package.txt +0 -101
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/get.txt +0 -95
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/list-packages.txt +0 -145
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/list.txt +0 -144
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/remove-packages.txt +0 -112
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/search-packages.txt +0 -124
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source/update.txt +0 -187
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/software-source.txt +0 -34
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/update-managed-instance-details/update-managed-instance.txt +0 -107
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/update-managed-instance-details.txt +0 -14
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/windows-update/list.txt +0 -129
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/windows-update.txt +0 -16
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/get.txt +0 -91
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/list-errors.txt +0 -128
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/list-logs.txt +0 -128
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request/list.txt +0 -148
- oci_cli/help_text_producer/data_files/text/cmdref/os-management/work-request.txt +0 -20
- oci_cli/help_text_producer/data_files/text/cmdref/os-management.txt +0 -187
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/change-compartment.txt +0 -143
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/create.txt +0 -187
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/get.txt +0 -103
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/list.txt +0 -150
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy/update.txt +0 -193
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/access-policy.txt +0 -25
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/debug/report.txt +0 -60
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/debug.txt +0 -14
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/change-compartment.txt +0 -143
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/delete.txt +0 -141
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/get.txt +0 -103
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/list.txt +0 -150
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway/update.txt +0 -215
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/change-compartment.txt +0 -147
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/create.txt +0 -197
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/delete.txt +0 -145
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/get.txt +0 -107
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/list.txt +0 -150
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table/update.txt +0 -203
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway-route-table.txt +0 -25
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/ingress-gateway.txt +0 -26
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/mesh/create.txt +0 -190
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/mesh/get.txt +0 -99
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/mesh.txt +0 -27
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/proxy-details/get.txt +0 -79
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/proxy-details.txt +0 -14
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/change-compartment.txt +0 -143
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/create-virtual-deployment-disabled-service-discovery-configuration.txt +0 -204
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/create-virtual-deployment-dns-service-discovery-configuration.txt +0 -209
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/create.txt +0 -215
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/delete.txt +0 -141
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/get.txt +0 -103
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/list.txt +0 -150
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/update-virtual-deployment-disabled-service-discovery-configuration.txt +0 -204
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/update-virtual-deployment-dns-service-discovery-configuration.txt +0 -209
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment/update.txt +0 -215
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-deployment.txt +0 -33
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/delete.txt +0 -139
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/get.txt +0 -101
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service/list.txt +0 -150
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/change-compartment.txt +0 -145
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/create.txt +0 -195
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/delete.txt +0 -143
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/get.txt +0 -105
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/list.txt +0 -150
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table/update.txt +0 -201
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service-route-table.txt +0 -25
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/virtual-service.txt +0 -27
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh/work-request.txt +0 -22
- oci_cli/help_text_producer/data_files/text/cmdref/service-mesh.txt +0 -139
- services/ai_anomaly_detection/src/oci_cli_anomaly_detection/anomalydetection_cli_extended.py +0 -234
- services/ai_anomaly_detection/src/oci_cli_anomaly_detection/generated/anomalydetection_cli.py +0 -2665
- services/ai_anomaly_detection/src/oci_cli_anomaly_detection/generated/client_mappings.py +0 -14
- services/ai_anomaly_detection/tests/__init__.py +0 -4
- services/dts/__init__.py +0 -4
- services/dts/src/__init__.py +0 -4
- services/dts/src/oci_cli_appliance_export_job/__init__.py +0 -4
- services/dts/src/oci_cli_appliance_export_job/applianceexportjob_cli_extended.py +0 -582
- services/dts/src/oci_cli_appliance_export_job/applianceexportjob_constants.py +0 -11
- services/dts/src/oci_cli_appliance_export_job/generated/__init__.py +0 -4
- services/dts/src/oci_cli_appliance_export_job/generated/applianceexportjob_cli.py +0 -428
- services/dts/src/oci_cli_appliance_export_job/generated/client_mappings.py +0 -14
- services/dts/src/oci_cli_appliance_export_job/manifest/__init__.py +0 -3
- services/dts/src/oci_cli_appliance_export_job/manifest/manifest_constants.py +0 -12
- services/dts/src/oci_cli_appliance_export_job/manifest/manifest_iterator.py +0 -86
- services/dts/src/oci_cli_appliance_export_job/manifest/manifest_line_item.py +0 -22
- services/dts/src/oci_cli_appliance_export_job/manifest/manifest_stats.py +0 -93
- services/dts/src/oci_cli_appliance_export_job/manifest/manifest_stats_consumer.py +0 -15
- services/dts/src/oci_cli_appliance_export_job/manifest/manifest_writer.py +0 -117
- services/dts/src/oci_cli_appliance_export_job/manifest/object_uploader.py +0 -124
- services/dts/src/oci_cli_dts/__init__.py +0 -4
- services/dts/src/oci_cli_dts/appliance_auth_manager.py +0 -59
- services/dts/src/oci_cli_dts/appliance_cert_manager.py +0 -51
- services/dts/src/oci_cli_dts/appliance_client_proxy.py +0 -57
- services/dts/src/oci_cli_dts/appliance_config.py +0 -34
- services/dts/src/oci_cli_dts/appliance_config_manager.py +0 -145
- services/dts/src/oci_cli_dts/appliance_config_spec.py +0 -38
- services/dts/src/oci_cli_dts/appliance_constants.py +0 -35
- services/dts/src/oci_cli_dts/appliance_init_auth.py +0 -81
- services/dts/src/oci_cli_dts/appliance_init_auth_spec.py +0 -32
- services/dts/src/oci_cli_dts/base_client.py +0 -102
- services/dts/src/oci_cli_dts/cli_utils.py +0 -131
- services/dts/src/oci_cli_dts/dts_service_cli_extended.py +0 -95
- services/dts/src/oci_cli_dts/dts_transform.py +0 -31
- services/dts/src/oci_cli_dts/generated/__init__.py +0 -4
- services/dts/src/oci_cli_dts/generated/dts_service_cli.py +0 -14
- services/dts/src/oci_cli_dts/nfs_dataset_client_proxy.py +0 -85
- services/dts/src/oci_cli_dts/nfsdataset_cli_extended.py +0 -371
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/__init__.py +0 -3
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/__init__.py +0 -16
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/diagnose_tools_client.py +0 -163
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/diagnose_tools_client_composite_operations.py +0 -24
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/__init__.py +0 -28
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/dataset_seal_status.py +0 -282
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/details.py +0 -66
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_dataset_info.py +0 -191
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_dataset_spec.py +0 -93
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_export_config.py +0 -174
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/nfs_export_details.py +0 -66
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/object_storage_upload_config.py +0 -201
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/passphrase_details.py +0 -66
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/models/physical_transfer_appliance.py +0 -214
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/nfs_dataset_client.py +0 -835
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/nfs_dataset_client_composite_operations.py +0 -24
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/physical_transfer_appliance_client.py +0 -374
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/client/physical_transfer_appliance_client_composite_operations.py +0 -24
- services/dts/src/oci_cli_dts/physical_appliance_control_plane/service_endpoints.py +0 -9
- services/dts/src/oci_cli_dts/physicalappliance_cli_extended.py +0 -590
- services/dts/src/oci_cli_dts/verify_cli_extended.py +0 -494
- services/dts/src/oci_cli_shipping_vendors/__init__.py +0 -4
- services/dts/src/oci_cli_shipping_vendors/generated/__init__.py +0 -4
- services/dts/src/oci_cli_shipping_vendors/generated/client_mappings.py +0 -14
- services/dts/src/oci_cli_shipping_vendors/generated/shippingvendors_cli.py +0 -49
- services/dts/src/oci_cli_transfer_appliance/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_appliance/generated/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_appliance/generated/client_mappings.py +0 -14
- services/dts/src/oci_cli_transfer_appliance/generated/transferappliance_cli.py +0 -364
- services/dts/src/oci_cli_transfer_appliance/transferappliance_cli_extended.py +0 -362
- services/dts/src/oci_cli_transfer_appliance_entitlement/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_appliance_entitlement/generated/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_appliance_entitlement/generated/transferapplianceentitlement_cli.py +0 -155
- services/dts/src/oci_cli_transfer_appliance_entitlement/transferapplianceentitlement_cli_extended.py +0 -66
- services/dts/src/oci_cli_transfer_device/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_device/generated/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_device/generated/client_mappings.py +0 -14
- services/dts/src/oci_cli_transfer_device/generated/transferdevice_cli.py +0 -209
- services/dts/src/oci_cli_transfer_job/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_job/generated/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_job/generated/client_mappings.py +0 -14
- services/dts/src/oci_cli_transfer_job/generated/transferjob_cli.py +0 -368
- services/dts/src/oci_cli_transfer_job/transferjob_cli_extended.py +0 -281
- services/dts/src/oci_cli_transfer_package/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_package/generated/__init__.py +0 -4
- services/dts/src/oci_cli_transfer_package/generated/client_mappings.py +0 -14
- services/dts/src/oci_cli_transfer_package/generated/transferpackage_cli.py +0 -326
- services/dts/tests/__init__.py +0 -4
- services/os_management/__init__.py +0 -4
- services/os_management/src/__init__.py +0 -4
- services/os_management/src/oci_cli_event/__init__.py +0 -4
- services/os_management/src/oci_cli_event/event_cli_extended.py +0 -34
- services/os_management/src/oci_cli_event/generated/__init__.py +0 -4
- services/os_management/src/oci_cli_event/generated/client_mappings.py +0 -14
- services/os_management/src/oci_cli_event/generated/event_cli.py +0 -430
- services/os_management/src/oci_cli_os_management/__init__.py +0 -4
- services/os_management/src/oci_cli_os_management/generated/__init__.py +0 -4
- services/os_management/src/oci_cli_os_management/generated/os_management_service_cli.py +0 -15
- services/os_management/src/oci_cli_os_management/generated/osmanagement_cli.py +0 -4009
- services/os_management/src/oci_cli_os_management/osmanagement_cli_extended.py +0 -244
- services/os_management/tests/__init__.py +0 -4
- services/service_mesh/__init__.py +0 -4
- services/service_mesh/src/__init__.py +0 -4
- services/service_mesh/src/oci_cli_service_mesh/__init__.py +0 -4
- services/service_mesh/src/oci_cli_service_mesh/generated/__init__.py +0 -4
- services/service_mesh/src/oci_cli_service_mesh/generated/client_mappings.py +0 -14
- services/service_mesh/src/oci_cli_service_mesh/generated/servicemesh_cli.py +0 -3306
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_cli_extended.py +0 -57
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/__init__.py +0 -76
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/aggregators/__init__.py +0 -3
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/aggregators/aggregation_orchestrator.py +0 -88
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/bundle_analyser.py +0 -163
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/event.py +0 -43
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/handlers/__init__.py +0 -3
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/handlers/debug_handler.py +0 -209
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/report_orchestrator.py +0 -82
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/task_orchestrator.py +0 -76
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/task_request.py +0 -232
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/__init__.py +0 -3
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/common_worker.py +0 -116
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/csv_worker.py +0 -39
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/file_worker.py +0 -33
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/igd_worker.py +0 -48
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/mesh_report_worker.py +0 -60
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/mesh_resources_worker.py +0 -49
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/namespaces_worker.py +0 -33
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/oci_cli_version_worker.py +0 -34
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/pod_worker.py +0 -112
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/resource_worker.py +0 -75
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/services_worker.py +0 -34
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/task_worker.py +0 -33
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/validate_crds_worker.py +0 -34
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/vdb_worker.py +0 -51
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/webhooks_worker.py +0 -34
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/__init__.py +0 -3
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/bundle_helper.py +0 -154
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/constants.py +0 -137
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/helper.py +0 -12
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/kubectl_command_helper.py +0 -646
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/messages.py +0 -16
- services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/utils/summary.py +0 -222
- services/service_mesh/tests/__init__.py +0 -4
- {oci_cli-3.64.1.dist-info → oci_cli-3.65.1.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.64.1.dist-info → oci_cli-3.65.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.64.1.dist-info → oci_cli-3.65.1.dist-info}/WHEEL +0 -0
- {oci_cli-3.64.1.dist-info → oci_cli-3.65.1.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.64.1.dist-info → oci_cli-3.65.1.dist-info}/top_level.txt +0 -0
services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/report_orchestrator.py
DELETED
|
@@ -1,82 +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
|
-
|
|
5
|
-
import sys
|
|
6
|
-
|
|
7
|
-
import click
|
|
8
|
-
|
|
9
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot import KubeCommandHelper
|
|
10
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.handlers.debug_handler import \
|
|
11
|
-
OcidValidationHandler, TaskHandler, DebugHandler, DebugHandlerRequestType, K8sCheckContextHandler, \
|
|
12
|
-
BundleNameHandler, \
|
|
13
|
-
BundleCompressHandler, BundleCleanupHandler, K8sCheckHandler, ResultStatus
|
|
14
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.utils.bundle_helper import BundleHelper
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
class ReportOrchestrator:
|
|
18
|
-
def __init__(self, ocid=None, k8s_config=None, use_context=None, thread_pool_size=None):
|
|
19
|
-
self.ocid = ocid
|
|
20
|
-
self.k8s_context = (k8s_config, use_context)
|
|
21
|
-
self.thread_pool_size = thread_pool_size
|
|
22
|
-
|
|
23
|
-
def build_report(self):
|
|
24
|
-
k8s_check_handler = K8sCheckHandler()
|
|
25
|
-
k8s_check_context_handler = K8sCheckContextHandler()
|
|
26
|
-
validation_handler = OcidValidationHandler()
|
|
27
|
-
bundle_name_handler = BundleNameHandler()
|
|
28
|
-
task_handler = TaskHandler(self.thread_pool_size)
|
|
29
|
-
bundle_compress_handler = BundleCompressHandler()
|
|
30
|
-
bundle_cleanup_handler = BundleCleanupHandler()
|
|
31
|
-
|
|
32
|
-
k8s_check_handler.set_next(k8s_check_context_handler).\
|
|
33
|
-
set_next(validation_handler).\
|
|
34
|
-
set_next(bundle_name_handler).\
|
|
35
|
-
set_next(task_handler).\
|
|
36
|
-
set_next(bundle_compress_handler).\
|
|
37
|
-
set_next(bundle_cleanup_handler)
|
|
38
|
-
|
|
39
|
-
client_handler = ClientHandler(k8s_check_handler, self.ocid, self.k8s_context)
|
|
40
|
-
return client_handler.handle()
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
class ClientHandler:
|
|
44
|
-
def __init__(self, debug_handler: DebugHandler, ocid, k8s_context):
|
|
45
|
-
self.debug_handler = debug_handler
|
|
46
|
-
self.ocid = ocid
|
|
47
|
-
self.k8s_context = k8s_context
|
|
48
|
-
|
|
49
|
-
def handle(self):
|
|
50
|
-
mesh_bundle_name = BundleHelper.get_bundle_name()
|
|
51
|
-
click.echo('Generating Mesh Bundle: {}'.format(mesh_bundle_name), file=sys.stdout)
|
|
52
|
-
kube_command_helper = KubeCommandHelper(self.k8s_context)
|
|
53
|
-
request_data = {
|
|
54
|
-
'ocid': self.ocid,
|
|
55
|
-
'k8s_context': self.k8s_context,
|
|
56
|
-
'directory_name': BundleHelper.get_home_directory(),
|
|
57
|
-
'bundle_name': mesh_bundle_name
|
|
58
|
-
}
|
|
59
|
-
if self.ocid is None:
|
|
60
|
-
request_types = [DebugHandlerRequestType.K8S_CHECK, DebugHandlerRequestType.K8S_CHECK_CONTEXT,
|
|
61
|
-
DebugHandlerRequestType.BUNDLE_NAME, DebugHandlerRequestType.TASK,
|
|
62
|
-
DebugHandlerRequestType.BUNDLE_COMPRESS,
|
|
63
|
-
DebugHandlerRequestType.BUNDLE_CLEANUP]
|
|
64
|
-
else:
|
|
65
|
-
request_types = [DebugHandlerRequestType.K8S_CHECK, DebugHandlerRequestType.K8S_CHECK_CONTEXT,
|
|
66
|
-
DebugHandlerRequestType.OCID_VALIDATION,
|
|
67
|
-
DebugHandlerRequestType.BUNDLE_NAME, DebugHandlerRequestType.TASK,
|
|
68
|
-
DebugHandlerRequestType.BUNDLE_COMPRESS,
|
|
69
|
-
DebugHandlerRequestType.BUNDLE_CLEANUP]
|
|
70
|
-
|
|
71
|
-
for request_type in request_types:
|
|
72
|
-
request = {
|
|
73
|
-
'type': request_type,
|
|
74
|
-
'data': request_data,
|
|
75
|
-
'kube_command_helper': kube_command_helper
|
|
76
|
-
}
|
|
77
|
-
result = self.debug_handler.handle(request)
|
|
78
|
-
if not result.status == ResultStatus.OK:
|
|
79
|
-
return result.exception
|
|
80
|
-
|
|
81
|
-
click.echo('\nMesh Bundle generated: {}.zip'.format(mesh_bundle_name), file=sys.stdout)
|
|
82
|
-
return None
|
services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/task_orchestrator.py
DELETED
|
@@ -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
|
-
import concurrent.futures
|
|
5
|
-
import multiprocessing
|
|
6
|
-
from typing import List
|
|
7
|
-
|
|
8
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.aggregators.aggregation_orchestrator \
|
|
9
|
-
import AggregationOrchestrator
|
|
10
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.task_request import TaskRequest, \
|
|
11
|
-
TaskRequestType
|
|
12
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.common_worker import CommonTask
|
|
13
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.csv_worker import CsvTask
|
|
14
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.file_worker import FileTask
|
|
15
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.mesh_report_worker import \
|
|
16
|
-
MeshReportTask
|
|
17
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.mesh_resources_worker import \
|
|
18
|
-
MeshResourcesTask
|
|
19
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.namespaces_worker import \
|
|
20
|
-
NamespacesTask
|
|
21
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.oci_cli_version_worker import \
|
|
22
|
-
OciCliVersionTask
|
|
23
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.vdb_worker import \
|
|
24
|
-
VdbTask
|
|
25
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.igd_worker import IgdTask
|
|
26
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.pod_worker import PodTask
|
|
27
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.resource_worker import \
|
|
28
|
-
ResourceTask
|
|
29
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.validate_crds_worker import ValidateCrdsTask
|
|
30
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.webhooks_worker import WebhooksTask
|
|
31
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.services_worker import CheckServicesTask
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
class TaskOrchestrator():
|
|
35
|
-
def __init__(self, ocid, k8s_context=None, thread_pool_size=None):
|
|
36
|
-
self.ocid = ocid
|
|
37
|
-
# Default thread pool size is 25
|
|
38
|
-
self.thread_pool_size = 25 if thread_pool_size is None else thread_pool_size
|
|
39
|
-
self.k8s_context = k8s_context
|
|
40
|
-
self.task_processor_dict = {
|
|
41
|
-
TaskRequestType.POD_PROCESSOR: PodTask(self.k8s_context),
|
|
42
|
-
TaskRequestType.RESOURCE_PROCESSOR: ResourceTask(self.k8s_context),
|
|
43
|
-
TaskRequestType.VDB_PROCESSOR: VdbTask(self.k8s_context),
|
|
44
|
-
TaskRequestType.IGD_PROCESSOR: IgdTask(self.k8s_context),
|
|
45
|
-
TaskRequestType.COMMON_PROCESSOR: CommonTask(self.k8s_context),
|
|
46
|
-
TaskRequestType.NAMESPACES_PROCESSOR: NamespacesTask(self.k8s_context),
|
|
47
|
-
TaskRequestType.OCI_CLI_VERSION_PROCESSOR: OciCliVersionTask(self.k8s_context),
|
|
48
|
-
TaskRequestType.VALIDATE_CRDS_PROCESSOR: ValidateCrdsTask(self.k8s_context),
|
|
49
|
-
TaskRequestType.WEBHOOKS_PROCESSOR: WebhooksTask(self.k8s_context),
|
|
50
|
-
TaskRequestType.SERVICES_PROCESSOR: CheckServicesTask(self.k8s_context),
|
|
51
|
-
TaskRequestType.FILE_PROCESSOR: FileTask(self.k8s_context),
|
|
52
|
-
TaskRequestType.CSV_PROCESSOR: CsvTask(self.k8s_context),
|
|
53
|
-
TaskRequestType.MESH_REPORT_PROCESSOR: MeshReportTask(self.k8s_context),
|
|
54
|
-
TaskRequestType.MESH_RESOURCES_PROCESSOR: MeshResourcesTask(self.k8s_context),
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
def process_task(self, task):
|
|
58
|
-
task_worker = self.task_processor_dict[task.task_request_type]
|
|
59
|
-
return task_worker.execute(task, self.output_events, self.tasks_sm)
|
|
60
|
-
|
|
61
|
-
def process_tasks(self, tasks: List[TaskRequest]):
|
|
62
|
-
futures_list, done, not_done = [], [], []
|
|
63
|
-
m = multiprocessing.Manager()
|
|
64
|
-
self.tasks_sm, self.output_events = m.Queue(), m.Queue()
|
|
65
|
-
self.tasks_sm.put(tasks.pop())
|
|
66
|
-
while not self.tasks_sm.empty() or len(not_done) > 0:
|
|
67
|
-
done, not_done = concurrent.futures.wait(futures_list)
|
|
68
|
-
task_list = []
|
|
69
|
-
while not self.tasks_sm.empty():
|
|
70
|
-
task_list.append(self.tasks_sm.get())
|
|
71
|
-
executor = concurrent.futures.ThreadPoolExecutor(self.thread_pool_size)
|
|
72
|
-
futures = [executor.submit(self.process_task, item) for item in task_list]
|
|
73
|
-
concurrent.futures.wait(futures)
|
|
74
|
-
|
|
75
|
-
aggregation_orchestrator = AggregationOrchestrator(self.ocid)
|
|
76
|
-
aggregation_orchestrator.aggregate_events(self.output_events)
|
|
@@ -1,232 +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 List
|
|
6
|
-
|
|
7
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.utils.summary import PodSummary, MeshData
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class TaskRequestType(Enum):
|
|
11
|
-
OCI_CLI_VERSION_PROCESSOR = 'OCI_CLI_VERSION_PROCESSOR'
|
|
12
|
-
POD_PROCESSOR = 'POD_PROCESSOR'
|
|
13
|
-
RESOURCE_PROCESSOR = 'RESOURCE_PROCESSOR'
|
|
14
|
-
VDB_PROCESSOR = 'VDB_PROCESSOR'
|
|
15
|
-
IGD_PROCESSOR = 'IGD_PROCESSOR'
|
|
16
|
-
OSOK_PROCESSOR = 'OSOK_PROCESSOR'
|
|
17
|
-
OLM_PROCESSOR = 'OLM_PROCESSOR'
|
|
18
|
-
METRICS_PROCESSOR = 'METRICS_PROCESSOR'
|
|
19
|
-
NAMESPACES_PROCESSOR = 'NAMESPACES_PROCESSOR'
|
|
20
|
-
SIDECAR_PROCESSOR = 'SIDECAR_PROCESSOR'
|
|
21
|
-
FILE_PROCESSOR = 'FILE_PROCESSOR'
|
|
22
|
-
CSV_PROCESSOR = 'CSV_PROCESSOR'
|
|
23
|
-
VD_WITHOUT_VDB_PROCESSOR = 'VD_WITHOUT_VDB_PROCESSOR'
|
|
24
|
-
MESH_REPORT_PROCESSOR = 'MESH_REPORT_PROCESSOR'
|
|
25
|
-
MESH_RESOURCES_PROCESSOR = 'MESH_RESOURCES_PROCESSOR'
|
|
26
|
-
COMMON_PROCESSOR = 'COMMON_PROCESSOR'
|
|
27
|
-
CATALOG_PROCESSOR = 'CATALOG_OPERATOR_PROCESSOR'
|
|
28
|
-
INSTALL_PLAN_PROCESSOR = 'INSTALL_PLAN_PROCESSOR'
|
|
29
|
-
CATALOG_SOURCE_PROCESSOR = 'CATALOG_SOURCE_PROCESSOR'
|
|
30
|
-
SUBSCRIPTION_PROCESSOR = 'SUBSCRIPTION_PROCESSOR'
|
|
31
|
-
VALIDATE_CRDS_PROCESSOR = 'VALIDATE_CRDS_PROCESSOR'
|
|
32
|
-
WEBHOOKS_PROCESSOR = 'WEBHOOKS_PROCESSOR'
|
|
33
|
-
SERVICES_PROCESSOR = 'SERVICES_PROCESSOR'
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
class TaskConfiguration(Enum):
|
|
37
|
-
LOGS = 'LOGS'
|
|
38
|
-
CONFIG_DUMP = 'CONFIG_DUMP'
|
|
39
|
-
PROXY_STATS = 'PROXY_STATS'
|
|
40
|
-
STATUS = 'STATUS'
|
|
41
|
-
POD_SUMMARY = 'POD_SUMMARY'
|
|
42
|
-
ACCESS_LOGGING_DISABLED = 'ACCESS_LOGGING_DISABLED'
|
|
43
|
-
PROXY_LOGGING_DISABLED = 'PROXY_LOGGING_DISABLED'
|
|
44
|
-
POD_UPGRADE_DISABLED = 'POD_UPGRADE_DISABLED'
|
|
45
|
-
UNHEALTHY_PROXY = 'UNHEALTHY_PROXY'
|
|
46
|
-
POD_HIERARCHY = 'POD_HIERARCHY'
|
|
47
|
-
CHILD_RESOURCES = 'CHILD_RESOURCES'
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
class TaskRequest(object):
|
|
51
|
-
def __init__(self, task_request_type: TaskRequestType, configurations: List[TaskConfiguration]):
|
|
52
|
-
self.task_request_type = task_request_type
|
|
53
|
-
self.configurations = configurations
|
|
54
|
-
|
|
55
|
-
def get_task_data(self):
|
|
56
|
-
raise NotImplementedError('This should be Implemented')
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
class PodTaskRequest(TaskRequest):
|
|
60
|
-
def __init__(self,
|
|
61
|
-
task_request_type: TaskRequestType,
|
|
62
|
-
configurations: List[TaskConfiguration],
|
|
63
|
-
pod_summary: PodSummary,
|
|
64
|
-
mesh_data: MeshData):
|
|
65
|
-
super(PodTaskRequest, self).__init__(task_request_type, configurations)
|
|
66
|
-
self.pod_summary = pod_summary
|
|
67
|
-
self.mesh_data = mesh_data
|
|
68
|
-
|
|
69
|
-
def get_task_data(self):
|
|
70
|
-
return {'pod_summary': self.pod_summary, 'mesh_data': self.mesh_data}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
class ResourceTaskRequest(TaskRequest):
|
|
74
|
-
def __init__(self, task_request_type: TaskRequestType, configurations: List[TaskConfiguration], resource_id: str):
|
|
75
|
-
super(ResourceTaskRequest, self).__init__(task_request_type, configurations)
|
|
76
|
-
self.resource_id = resource_id
|
|
77
|
-
|
|
78
|
-
def get_task_data(self):
|
|
79
|
-
return {'resource_id': self.resource_id}
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
class MeshReportTaskRequest(TaskRequest):
|
|
83
|
-
def __init__(self,
|
|
84
|
-
task_request_type: TaskRequestType,
|
|
85
|
-
configurations: List[TaskConfiguration],
|
|
86
|
-
mesh_id: str):
|
|
87
|
-
super(MeshReportTaskRequest, self).__init__(task_request_type, configurations)
|
|
88
|
-
self.mesh_id = mesh_id
|
|
89
|
-
|
|
90
|
-
def get_task_data(self):
|
|
91
|
-
return {'mesh_id': self.mesh_id}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
class VdbTaskRequest(TaskRequest):
|
|
95
|
-
def __init__(self,
|
|
96
|
-
task_request_type: TaskRequestType,
|
|
97
|
-
configurations: List[TaskConfiguration],
|
|
98
|
-
mesh_dict: dict,
|
|
99
|
-
vdb_pods_dict: dict):
|
|
100
|
-
super(VdbTaskRequest, self).__init__(task_request_type, configurations)
|
|
101
|
-
self.mesh_dict = mesh_dict
|
|
102
|
-
self.vdb_pods_dict = vdb_pods_dict
|
|
103
|
-
|
|
104
|
-
def get_task_data(self):
|
|
105
|
-
return {'mesh_dict': self.mesh_dict, 'vdb_pods_dict': self.vdb_pods_dict}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
class IgdTaskRequest(TaskRequest):
|
|
109
|
-
def __init__(self,
|
|
110
|
-
task_request_type: TaskRequestType,
|
|
111
|
-
configurations: List[TaskConfiguration],
|
|
112
|
-
mesh_dict: dict,
|
|
113
|
-
igd_pods_dict: dict):
|
|
114
|
-
super(IgdTaskRequest, self).__init__(task_request_type, configurations)
|
|
115
|
-
self.mesh_dict = mesh_dict
|
|
116
|
-
self.igd_pods_dict = igd_pods_dict
|
|
117
|
-
|
|
118
|
-
def get_task_data(self):
|
|
119
|
-
return {'mesh_dict': self.mesh_dict, 'igd_pods_dict': self.igd_pods_dict}
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
class NamespacesTaskRequest(TaskRequest):
|
|
123
|
-
def __init__(self,
|
|
124
|
-
task_request_type: TaskRequestType,
|
|
125
|
-
configurations: List[TaskConfiguration],
|
|
126
|
-
mesh_id: str):
|
|
127
|
-
super(NamespacesTaskRequest, self).__init__(task_request_type, configurations)
|
|
128
|
-
self.mesh_id = mesh_id
|
|
129
|
-
|
|
130
|
-
def get_task_data(self):
|
|
131
|
-
return {'mesh_id': self.mesh_id}
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
class OciCliVersionTaskRequest(TaskRequest):
|
|
135
|
-
def __init__(self,
|
|
136
|
-
task_request_type: TaskRequestType,
|
|
137
|
-
configurations: List[TaskConfiguration],
|
|
138
|
-
mesh_id: str):
|
|
139
|
-
super(OciCliVersionTaskRequest, self).__init__(task_request_type, configurations)
|
|
140
|
-
self.mesh_id = mesh_id
|
|
141
|
-
|
|
142
|
-
def get_task_data(self):
|
|
143
|
-
return {'mesh_id': self.mesh_id}
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
class ValidateCrdsTaskRequest(TaskRequest):
|
|
147
|
-
def __init__(self, task_request_type: TaskRequestType,
|
|
148
|
-
configurations: List[TaskConfiguration],
|
|
149
|
-
mesh_id: str):
|
|
150
|
-
super(ValidateCrdsTaskRequest, self).__init__(task_request_type, configurations)
|
|
151
|
-
self.mesh_id = mesh_id
|
|
152
|
-
|
|
153
|
-
def get_task_data(self):
|
|
154
|
-
return {'mesh_id': self.mesh_id}
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
class WebhooksTaskRequest(TaskRequest):
|
|
158
|
-
def __init__(self, task_request_type: TaskRequestType,
|
|
159
|
-
configurations: List[TaskConfiguration],
|
|
160
|
-
mesh_id: str):
|
|
161
|
-
super(WebhooksTaskRequest, self).__init__(task_request_type, configurations)
|
|
162
|
-
self.mesh_id = mesh_id
|
|
163
|
-
|
|
164
|
-
def get_task_data(self):
|
|
165
|
-
return {'mesh_id': self.mesh_id}
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
class ServicesTaskRequest(TaskRequest):
|
|
169
|
-
def __init__(self, task_request_type: TaskRequestType,
|
|
170
|
-
configurations: List[TaskConfiguration],
|
|
171
|
-
mesh_id: str):
|
|
172
|
-
super(ServicesTaskRequest, self).__init__(task_request_type, configurations)
|
|
173
|
-
self.mesh_id = mesh_id
|
|
174
|
-
|
|
175
|
-
def get_task_data(self):
|
|
176
|
-
return {'mesh_id': self.mesh_id}
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
class FileTaskRequest(TaskRequest):
|
|
180
|
-
def __init__(self,
|
|
181
|
-
task_request_type: TaskRequestType,
|
|
182
|
-
configurations: List[TaskConfiguration],
|
|
183
|
-
relative_path: str,
|
|
184
|
-
file_name: str,
|
|
185
|
-
contents: str):
|
|
186
|
-
super(FileTaskRequest, self).__init__(task_request_type, configurations)
|
|
187
|
-
self.relative_path = relative_path
|
|
188
|
-
self.file_name = file_name
|
|
189
|
-
self.contents = contents
|
|
190
|
-
|
|
191
|
-
def get_task_data(self):
|
|
192
|
-
return {'relative_path': self.relative_path, 'file_name': self.file_name, 'contents': self.contents}
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
class CsvTaskRequest(TaskRequest):
|
|
196
|
-
def __init__(self,
|
|
197
|
-
task_request_type: TaskRequestType,
|
|
198
|
-
configurations: List[TaskConfiguration],
|
|
199
|
-
operator_namespace: str,
|
|
200
|
-
mesh_id: str):
|
|
201
|
-
super(CsvTaskRequest, self).__init__(task_request_type, configurations)
|
|
202
|
-
self.operator_namespace = operator_namespace
|
|
203
|
-
self.mesh_id = mesh_id
|
|
204
|
-
|
|
205
|
-
def get_task_data(self):
|
|
206
|
-
return {'operator_namespace': self.operator_namespace, 'mesh_id': self.mesh_id}
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
class MeshResourcesTaskRequest(TaskRequest):
|
|
210
|
-
def __init__(self,
|
|
211
|
-
task_request_type: TaskRequestType,
|
|
212
|
-
configurations: List[TaskConfiguration],
|
|
213
|
-
mesh_id: str):
|
|
214
|
-
super(MeshResourcesTaskRequest, self).__init__(task_request_type, configurations)
|
|
215
|
-
self.mesh_id = mesh_id
|
|
216
|
-
|
|
217
|
-
def get_task_data(self):
|
|
218
|
-
return {'mesh_id': self.mesh_id}
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
class CommonTaskRequest(TaskRequest):
|
|
222
|
-
def __init__(self,
|
|
223
|
-
task_request_type: TaskRequestType,
|
|
224
|
-
configurations: List[TaskConfiguration],
|
|
225
|
-
mesh_id: str,
|
|
226
|
-
task_request_identifier: TaskRequestType):
|
|
227
|
-
super(CommonTaskRequest, self).__init__(task_request_type, configurations)
|
|
228
|
-
self.mesh_id = mesh_id
|
|
229
|
-
self.task_request_identifier = task_request_identifier
|
|
230
|
-
|
|
231
|
-
def get_task_data(self):
|
|
232
|
-
return {'mesh_id': self.mesh_id, 'task_request_identifier': self.task_request_identifier}
|
|
@@ -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.
|
services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/common_worker.py
DELETED
|
@@ -1,116 +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 click
|
|
5
|
-
|
|
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_request import TaskRequest, \
|
|
9
|
-
TaskRequestType, TaskConfiguration, FileTaskRequest, CsvTaskRequest
|
|
10
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.task_worker import MeshTask
|
|
11
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.utils.bundle_helper import \
|
|
12
|
-
BundleHelper
|
|
13
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.utils.constants import \
|
|
14
|
-
OLM_LABEL, OPERATOR_ANNOTATION, METRICS_SERVER_LABEL, CATALOG_OPERATOR_LABEL
|
|
15
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.utils.summary import MeshData
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
class CommonTask(MeshTask):
|
|
19
|
-
def __init__(self, k8s_context=None):
|
|
20
|
-
super(CommonTask, self).__init__(TaskRequestType.COMMON_PROCESSOR)
|
|
21
|
-
self.k8s_context = k8s_context
|
|
22
|
-
|
|
23
|
-
def do_work(self, task_request: TaskRequest, kube_command_helper):
|
|
24
|
-
tasks, output_events = [], []
|
|
25
|
-
try:
|
|
26
|
-
data = task_request.get_task_data()
|
|
27
|
-
mesh_id = data['mesh_id']
|
|
28
|
-
task_request_identifier = data['task_request_identifier']
|
|
29
|
-
if mesh_id is None:
|
|
30
|
-
relative_path = ""
|
|
31
|
-
else:
|
|
32
|
-
relative_path = MeshData(mesh_id=mesh_id).get_mesh_hierarchy()
|
|
33
|
-
pod_summary = None
|
|
34
|
-
|
|
35
|
-
for task_configuration in task_request.configurations:
|
|
36
|
-
# Queue POD_SUMMARY Event
|
|
37
|
-
if task_configuration == TaskConfiguration.POD_SUMMARY:
|
|
38
|
-
event_type = None
|
|
39
|
-
if task_request_identifier == TaskRequestType.OSOK_PROCESSOR:
|
|
40
|
-
pod_summary = kube_command_helper.get_operator_pod_details(OPERATOR_ANNOTATION)
|
|
41
|
-
event_type = EventType.OSOK
|
|
42
|
-
elif task_request_identifier == TaskRequestType.OLM_PROCESSOR:
|
|
43
|
-
pod_summary = kube_command_helper.get_pod_details_by_label_selector(OLM_LABEL)
|
|
44
|
-
event_type = EventType.OLM
|
|
45
|
-
elif task_request_identifier == TaskRequestType.METRICS_PROCESSOR:
|
|
46
|
-
pod_summary = kube_command_helper.get_pod_details_by_label_selector(METRICS_SERVER_LABEL)
|
|
47
|
-
event_type = EventType.METRICS_SERVER
|
|
48
|
-
elif task_request_identifier == TaskRequestType.CATALOG_PROCESSOR:
|
|
49
|
-
pod_summary = kube_command_helper.get_pod_details_by_label_selector(CATALOG_OPERATOR_LABEL)
|
|
50
|
-
event_type = EventType.CATALOG_OPERATOR
|
|
51
|
-
if pod_summary is not None:
|
|
52
|
-
event = Event(event_type=event_type,
|
|
53
|
-
operations={OperationType.STORE_SINGLE_EVENT},
|
|
54
|
-
data=pod_summary.__dict__,
|
|
55
|
-
identifications={mesh_id: None},
|
|
56
|
-
store={mesh_id})
|
|
57
|
-
output_events.append(event)
|
|
58
|
-
|
|
59
|
-
# Queue CsvTask if OSOK
|
|
60
|
-
if task_request_identifier == TaskRequestType.OSOK_PROCESSOR:
|
|
61
|
-
csv_task_request = CsvTaskRequest(TaskRequestType.CSV_PROCESSOR,
|
|
62
|
-
[],
|
|
63
|
-
pod_summary.namespace,
|
|
64
|
-
mesh_id)
|
|
65
|
-
tasks.append(csv_task_request)
|
|
66
|
-
|
|
67
|
-
# Queue FileTask Event
|
|
68
|
-
if task_configuration == TaskConfiguration.LOGS and pod_summary is not None:
|
|
69
|
-
file_name = None
|
|
70
|
-
if task_request_identifier == TaskRequestType.OSOK_PROCESSOR:
|
|
71
|
-
file_name = BundleHelper.get_osok_log_file_name()
|
|
72
|
-
elif task_request_identifier == TaskRequestType.OLM_PROCESSOR:
|
|
73
|
-
file_name = BundleHelper.get_olm_log_file_name()
|
|
74
|
-
elif task_request_identifier == TaskRequestType.CATALOG_PROCESSOR:
|
|
75
|
-
file_name = BundleHelper.get_catalog_operator_log_file_name()
|
|
76
|
-
if file_name is not None:
|
|
77
|
-
logs = kube_command_helper.get_pod_logs(pod_summary.name, pod_summary.namespace)
|
|
78
|
-
file_task_request = FileTaskRequest(TaskRequestType.FILE_PROCESSOR,
|
|
79
|
-
[],
|
|
80
|
-
relative_path,
|
|
81
|
-
file_name,
|
|
82
|
-
logs)
|
|
83
|
-
tasks.append(file_task_request)
|
|
84
|
-
if pod_summary is not None:
|
|
85
|
-
# Queue install plan
|
|
86
|
-
install_plan = kube_command_helper.get_install_plan(pod_summary.namespace)
|
|
87
|
-
file_task_request = FileTaskRequest(TaskRequestType.FILE_PROCESSOR,
|
|
88
|
-
[],
|
|
89
|
-
relative_path,
|
|
90
|
-
BundleHelper.get_install_plan_name(),
|
|
91
|
-
install_plan)
|
|
92
|
-
tasks.append(file_task_request)
|
|
93
|
-
|
|
94
|
-
# Queue subscription
|
|
95
|
-
subscription = kube_command_helper.get_subscription(pod_summary.namespace)
|
|
96
|
-
file_task_request = FileTaskRequest(TaskRequestType.FILE_PROCESSOR,
|
|
97
|
-
[],
|
|
98
|
-
relative_path,
|
|
99
|
-
BundleHelper.get_subscription_file_name(),
|
|
100
|
-
subscription)
|
|
101
|
-
tasks.append(file_task_request)
|
|
102
|
-
|
|
103
|
-
# Queue catalog_source
|
|
104
|
-
catalog_source = kube_command_helper.get_catalog_source(pod_summary.namespace)
|
|
105
|
-
|
|
106
|
-
file_task_request = FileTaskRequest(TaskRequestType.FILE_PROCESSOR,
|
|
107
|
-
[],
|
|
108
|
-
relative_path,
|
|
109
|
-
BundleHelper.get_catalog_source_file_name(),
|
|
110
|
-
catalog_source)
|
|
111
|
-
|
|
112
|
-
tasks.append(file_task_request)
|
|
113
|
-
|
|
114
|
-
return tasks, output_events
|
|
115
|
-
except Exception as error:
|
|
116
|
-
click.echo('GenericTask Exception: {}'.format(error))
|
services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/csv_worker.py
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
# Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
-
import click
|
|
4
|
-
|
|
5
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.task_request import TaskRequest, \
|
|
6
|
-
TaskRequestType, FileTaskRequest
|
|
7
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.task_worker import MeshTask
|
|
8
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.utils.bundle_helper import \
|
|
9
|
-
BundleHelper
|
|
10
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.utils.summary import MeshData
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
class CsvTask(MeshTask):
|
|
14
|
-
def __init__(self, k8s_context=None):
|
|
15
|
-
super(CsvTask, self).__init__(TaskRequestType.CSV_PROCESSOR)
|
|
16
|
-
self.k8s_context = k8s_context
|
|
17
|
-
|
|
18
|
-
def do_work(self, task_request: TaskRequest, kube_command_helper):
|
|
19
|
-
try:
|
|
20
|
-
output_events, tasks = [], []
|
|
21
|
-
data = task_request.get_task_data()
|
|
22
|
-
operator_namespace = data['operator_namespace']
|
|
23
|
-
mesh_id = data['mesh_id']
|
|
24
|
-
|
|
25
|
-
csv = kube_command_helper.get_csv(operator_namespace)
|
|
26
|
-
|
|
27
|
-
if mesh_id is None:
|
|
28
|
-
relative_path = ""
|
|
29
|
-
else:
|
|
30
|
-
relative_path = MeshData(mesh_id=mesh_id).get_mesh_hierarchy()
|
|
31
|
-
file_task_request = FileTaskRequest(TaskRequestType.FILE_PROCESSOR,
|
|
32
|
-
[],
|
|
33
|
-
relative_path,
|
|
34
|
-
BundleHelper.get_csv_file_name(),
|
|
35
|
-
csv)
|
|
36
|
-
tasks.append(file_task_request)
|
|
37
|
-
return tasks, output_events
|
|
38
|
-
except Exception as error:
|
|
39
|
-
click.echo('CsvTask Exception: {}'.format(error))
|
services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/file_worker.py
DELETED
|
@@ -1,33 +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 click
|
|
5
|
-
|
|
6
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.task_request import TaskRequest, \
|
|
7
|
-
TaskRequestType
|
|
8
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.task_worker import MeshTask
|
|
9
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.utils.bundle_helper import \
|
|
10
|
-
create_directory, BundleHelper
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
class FileTask(MeshTask):
|
|
14
|
-
def __init__(self, k8s_context=None):
|
|
15
|
-
super(FileTask, self).__init__(TaskRequestType.FILE_PROCESSOR)
|
|
16
|
-
self.k8s_context = k8s_context
|
|
17
|
-
|
|
18
|
-
def do_work(self, task_request: TaskRequest, kube_command_helper):
|
|
19
|
-
|
|
20
|
-
try:
|
|
21
|
-
data = task_request.get_task_data()
|
|
22
|
-
relative_path = data['relative_path']
|
|
23
|
-
file_name = data['file_name']
|
|
24
|
-
contents = data['contents']
|
|
25
|
-
directory_path = create_directory(relative_path)
|
|
26
|
-
# Save contents to file
|
|
27
|
-
if '.json' in file_name:
|
|
28
|
-
BundleHelper.save_contents_as_json(directory_path, file_name, contents)
|
|
29
|
-
else:
|
|
30
|
-
BundleHelper.dump_contents_to_file(directory_path, file_name, contents)
|
|
31
|
-
return [], []
|
|
32
|
-
except Exception as error:
|
|
33
|
-
click.echo('FileTask Exception: {}'.format(error))
|
services/service_mesh/src/oci_cli_service_mesh/service_mesh_troubleshoot/tasks/igd_worker.py
DELETED
|
@@ -1,48 +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 click
|
|
5
|
-
|
|
6
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.task_request import TaskRequestType, \
|
|
7
|
-
TaskRequest, PodTaskRequest, TaskConfiguration
|
|
8
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.tasks.task_worker import MeshTask
|
|
9
|
-
from services.service_mesh.src.oci_cli_service_mesh.service_mesh_troubleshoot.utils.summary import MeshData
|
|
10
|
-
|
|
11
|
-
TASK_CONFIGURATIONS = [
|
|
12
|
-
TaskConfiguration.LOGS,
|
|
13
|
-
TaskConfiguration.CONFIG_DUMP,
|
|
14
|
-
TaskConfiguration.POD_SUMMARY,
|
|
15
|
-
TaskConfiguration.PROXY_STATS
|
|
16
|
-
]
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
class IgdTask(MeshTask):
|
|
20
|
-
def __init__(self, k8s_context=None):
|
|
21
|
-
super(IgdTask, self).__init__(TaskRequestType.IGD_PROCESSOR)
|
|
22
|
-
self.k8s_context = k8s_context
|
|
23
|
-
|
|
24
|
-
def do_work(self, task_request: TaskRequest, kube_command_helper):
|
|
25
|
-
tasks, output_events = [], []
|
|
26
|
-
try:
|
|
27
|
-
data = task_request.get_task_data()
|
|
28
|
-
mesh_dict = data['mesh_dict']
|
|
29
|
-
igd_pods_dict = data['igd_pods_dict']
|
|
30
|
-
|
|
31
|
-
# Loop through all the Meshes
|
|
32
|
-
for mesh_id, ig_dict in mesh_dict.items():
|
|
33
|
-
# Loop through all IG under Mesh
|
|
34
|
-
for ig_id, igd_list in ig_dict.items():
|
|
35
|
-
for igd_name in igd_list:
|
|
36
|
-
igd_pods_list = igd_pods_dict.get(igd_name)
|
|
37
|
-
# Iterate through all the pods
|
|
38
|
-
for pod_summary in igd_pods_list:
|
|
39
|
-
# Append the pod_task_request to tasks queue
|
|
40
|
-
mesh_data = MeshData(mesh_id=mesh_id, ig_id=ig_id, igd_key=igd_name)
|
|
41
|
-
pod_task_request = PodTaskRequest(TaskRequestType.POD_PROCESSOR,
|
|
42
|
-
TASK_CONFIGURATIONS,
|
|
43
|
-
pod_summary,
|
|
44
|
-
mesh_data)
|
|
45
|
-
tasks.append(pod_task_request)
|
|
46
|
-
return tasks, output_events
|
|
47
|
-
except Exception as error:
|
|
48
|
-
click.echo('IgdTask Exception: {}'.format(error))
|