You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fad0cfc
Browse filesBrowse the repository at this point in the historyBrowse files
Alena Prokharchyk
committed
Added new paramerer "start" to createVPC command. When false is passed in, VPC won't be started (its VPC VR won't get implemented) till the point when the first netwotrk gets implemented in the VPC.
The parameter is optional and true by default to preserve the original behavior
Conflicts:
api/src/org/apache/cloudstack/api/command/user/vpc/CreateVPCCmd.java
engine/orchestration/src/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java
@Parameter(name = ApiConstants.ACCOUNT, type = CommandType.STRING, description = "the account associated with the VPC. "
51
-
+"Must be used with the domainId parameter.")
49
+
@Parameter(name = ApiConstants.ACCOUNT, type = CommandType.STRING, description = "the account associated with the VPC. " +
50
+
"Must be used with the domainId parameter.")
52
51
privateStringaccountName;
53
52
54
-
@Parameter(name = ApiConstants.DOMAIN_ID, type = CommandType.UUID, entityType = DomainResponse.class, description = "the domain ID associated with the VPC. "
55
-
+ "If used with the account parameter returns the VPC associated with the account for the specified domain.")
53
+
@Parameter(name = ApiConstants.DOMAIN_ID, type = CommandType.UUID, entityType = DomainResponse.class,
54
+
description = "the domain ID associated with the VPC. " +
55
+
"If used with the account parameter returns the VPC associated with the account for the specified domain.")
56
56
privateLongdomainId;
57
57
58
-
@Parameter(name = ApiConstants.PROJECT_ID, type = CommandType.UUID, entityType = ProjectResponse.class, description = "create VPC for the project")
58
+
@Parameter(name = ApiConstants.PROJECT_ID, type = CommandType.UUID, entityType = ProjectResponse.class,
59
+
description = "create VPC for the project")
59
60
privateLongprojectId;
60
61
61
-
@Parameter(name = ApiConstants.ZONE_ID, type = CommandType.UUID, entityType = ZoneResponse.class, required = true, description = "the ID of the availability zone")
62
+
@Parameter(name = ApiConstants.ZONE_ID, type = CommandType.UUID, entityType = ZoneResponse.class,
63
+
required = true, description = "the ID of the availability zone")
62
64
privateLongzoneId;
63
65
64
66
@Parameter(name = ApiConstants.NAME, type = CommandType.STRING, required = true, description = "the name of the VPC")
65
67
privateStringvpcName;
66
68
67
-
@Parameter(name = ApiConstants.DISPLAY_TEXT, type = CommandType.STRING, required = true, description = "the display text of " + "the VPC")
69
+
@Parameter(name = ApiConstants.DISPLAY_TEXT, type = CommandType.STRING, required = true, description = "the display text of " +
70
+
"the VPC")
68
71
privateStringdisplayText;
69
72
70
-
@Parameter(name = ApiConstants.CIDR, type = CommandType.STRING, required = true, description = "the cidr of the VPC. All VPC "
71
-
+"guest networks' cidrs should be within this CIDR")
73
+
@Parameter(name = ApiConstants.CIDR, type = CommandType.STRING, required = true, description = "the cidr of the VPC. All VPC " +
74
+
"guest networks' cidrs should be within this CIDR")
72
75
privateStringcidr;
73
76
74
-
@Parameter(name = ApiConstants.VPC_OFF_ID,
75
-
type = CommandType.UUID,
76
-
entityType = VpcOfferingResponse.class,
77
-
required = true,
78
-
description = "the ID of the VPC offering")
77
+
@Parameter(name = ApiConstants.VPC_OFF_ID, type = CommandType.UUID, entityType = VpcOfferingResponse.class,
78
+
required = true, description = "the ID of the VPC offering")
79
79
privateLongvpcOffering;
80
80
81
-
@Parameter(name = ApiConstants.NETWORK_DOMAIN, type = CommandType.STRING, description = "VPC network domain. All networks inside the VPC will belong to this domain")
81
+
@Parameter(name = ApiConstants.NETWORK_DOMAIN, type = CommandType.STRING,
82
+
description = "VPC network domain. All networks inside the VPC will belong to this domain")
0 commit comments