diff --git a/samples/vmc/draas/deploy_additional_instance.py b/samples/vmc/draas/deploy_additional_instance.py index 32e75dc8..c2570664 100644 --- a/samples/vmc/draas/deploy_additional_instance.py +++ b/samples/vmc/draas/deploy_additional_instance.py @@ -14,14 +14,13 @@ """ __author__ = 'VMware, Inc.' -from samples.vmc.helpers.sample_cli import parser, optional_args - -from vmware.vapi.vmc.client import create_vmc_client -from com.vmware.vmc.draas.model_client import ProvisionSrmConfig -from com.vmware.vmc.draas.model_client import ErrorResponse - from com.vmware.vapi.std.errors_client import InvalidRequest +from com.vmware.vmc.draas.model_client import ErrorResponse +from com.vmware.vmc.draas.model_client import ProvisionSrmConfig +from vmware.vapi.vmc.client import create_vmc_client + from samples.vmc.draas.helpers.draas_task_helper import wait_for_task +from samples.vmc.helpers.sample_cli import parser, optional_args class DeployAdditionalInstance(object): diff --git a/samples/vmc/draas/site_recovery_activation_ops.py b/samples/vmc/draas/site_recovery_activation_ops.py index 9d5a4565..31296a2a 100644 --- a/samples/vmc/draas/site_recovery_activation_ops.py +++ b/samples/vmc/draas/site_recovery_activation_ops.py @@ -14,12 +14,12 @@ """ __author__ = 'VMware, Inc.' -from vmware.vapi.vmc.client import create_vmc_client -from com.vmware.vmc.draas.model_client import ErrorResponse from com.vmware.vapi.std.errors_client import InvalidRequest +from com.vmware.vmc.draas.model_client import ErrorResponse +from vmware.vapi.vmc.client import create_vmc_client -from samples.vmc.helpers.sample_cli import parser, optional_args from samples.vmc.draas.helpers.draas_task_helper import wait_for_task +from samples.vmc.helpers.sample_cli import parser, optional_args class SiteRecoveryActivationOperations(object): diff --git a/samples/vmc/draas/site_recovery_info.py b/samples/vmc/draas/site_recovery_info.py index 81a3f096..125ff664 100644 --- a/samples/vmc/draas/site_recovery_info.py +++ b/samples/vmc/draas/site_recovery_info.py @@ -13,10 +13,10 @@ * NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. """ -from samples.vmc.helpers.sample_cli import parser - from vmware.vapi.vmc.client import create_vmc_client +from samples.vmc.helpers.sample_cli import parser + class VmcSiteRecoveryInfo(object): """