def Run(self, args): """Issues requests necessary to wait until stable on a MIG.""" holder = base_classes.ComputeApiHolder(self.ReleaseTrack()) client = holder.client group_ref = self.CreateGroupReference(client, holder.resources, args) wait_utils.WaitForIgmState( client, group_ref, wait_utils.IgmState.STABLE, args.timeout)
def Run(self, args): """Issues requests necessary to wait until stable on a MIG.""" holder = base_classes.ComputeApiHolder(self.ReleaseTrack()) client = holder.client group_ref = self.CreateGroupReference(client, holder.resources, args) igm_state = (wait_utils.IgmState.STABLE if args.stable else wait_utils.IgmState.VERSION_TARGET_REACHED) wait_utils.WaitForIgmState(client, group_ref, igm_state, args.timeout)