simplifying user flow
This commit is contained in:
@@ -70,7 +70,7 @@ def main():
|
||||
# Step 1: Create a ZVMLClient instance
|
||||
logging.info(f"Initializing ZVMLClient for ZVM at {ZVM_HOST}")
|
||||
parser = argparse.ArgumentParser(description='Create VPG and add specified VMs')
|
||||
parser.add_argument('--vm-name', required=True,
|
||||
parser.add_argument('--vm-name', default="CRM-3",
|
||||
help='VM name to add to the VPG')
|
||||
parser.add_argument('--vpg-name', default="Test-VPG-Python",
|
||||
help='Name of the VPG to create (default: Test-VPG-Python)')
|
||||
|
||||
@@ -92,7 +92,7 @@ def main():
|
||||
# TODO: Add code to parse arguments
|
||||
# HINT: Use this syntax:
|
||||
parser = argparse.ArgumentParser(description='Create VPG and add specified VMs')
|
||||
parser.add_argument('--vm-name', required=True,
|
||||
parser.add_argument('--vm-name', default="CRM-3",
|
||||
help='VM name to add to the VPG')
|
||||
parser.add_argument('--vpg-name', default="Test-VPG-Python",
|
||||
help='Name of the VPG to create (default: Test-VPG-Python)')
|
||||
|
||||
@@ -65,7 +65,7 @@ def main():
|
||||
try:
|
||||
# Step 1: Parse command line arguments
|
||||
parser = argparse.ArgumentParser(description='Perform failover test on a VPG')
|
||||
parser.add_argument('--vpg-name', required=True,
|
||||
parser.add_argument('--vpg-name', default="CRM",
|
||||
help='Name of the VPG to test')
|
||||
args = parser.parse_args()
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@ def main():
|
||||
# TODO: Add code to get sites and site identifiers
|
||||
# HINT: Use this syntax:
|
||||
# parser = argparse.ArgumentParser(description='Perform failover test on a VPG')
|
||||
# parser.add_argument('--vpg-name', required=True,
|
||||
# parser.add_argument('--vpg-name', default="CRM",
|
||||
# help='Name of the VPG to test')
|
||||
# args = parser.parse_args()
|
||||
# ← ADD YOUR CODE HERE
|
||||
|
||||
Reference in New Issue
Block a user