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
description = "the service offering ID used by virtual router provider")
87
+
type = CommandType.UUID,
88
+
entityType = ServiceOfferingResponse.class,
89
+
description = "the service offering ID used by virtual router provider")
85
90
privateLongserviceOfferingId;
86
91
87
92
@Parameter(name = ApiConstants.GUEST_IP_TYPE, type = CommandType.STRING, required = true, description = "guest type of the network offering: Shared or Isolated")
description = "provider to service mapping. If not specified, the provider for the service will be mapped to the default provider on the physical network")
103
+
type = CommandType.MAP,
104
+
description = "provider to service mapping. If not specified, the provider for the service will be mapped to the default provider on the physical network")
100
105
privateMapserviceProviderList;
101
106
102
107
@Parameter(name = ApiConstants.SERVICE_CAPABILITY_LIST, type = CommandType.MAP, description = "desired service capabilities as part of network offering")
103
108
privateMapserviceCapabilitystList;
104
109
105
110
@Parameter(name = ApiConstants.SPECIFY_IP_RANGES,
106
-
type = CommandType.BOOLEAN,
107
-
description = "true if network offering supports specifying ip ranges; defaulted to false if not specified")
111
+
type = CommandType.BOOLEAN,
112
+
description = "true if network offering supports specifying ip ranges; defaulted to false if not specified")
108
113
privateBooleanspecifyIpRanges;
109
114
110
115
@Parameter(name = ApiConstants.IS_PERSISTENT,
111
-
type = CommandType.BOOLEAN,
112
-
description = "true if network offering supports persistent networks; defaulted to false if not specified")
116
+
type = CommandType.BOOLEAN,
117
+
description = "true if network offering supports persistent networks; defaulted to false if not specified")
113
118
privateBooleanisPersistent;
114
119
115
120
@Parameter(name = ApiConstants.FOR_VPC,
@@ -118,26 +123,41 @@ public class CreateNetworkOfferingCmd extends BaseCmd {
118
123
privateBooleanforVpc;
119
124
120
125
@Parameter(name = ApiConstants.DETAILS, type = CommandType.MAP, since = "4.2.0", description = "Network offering details in key/value pairs."
121
-
+ " Supported keys are internallbprovider/publiclbprovider with service provider as a value, and"
122
-
+ " promiscuousmode/macaddresschanges/forgedtransmits with true/false as value to accept/reject the security settings if available for a nic/portgroup")
126
+
+ " Supported keys are internallbprovider/publiclbprovider with service provider as a value, and"
127
+
+ " promiscuousmode/macaddresschanges/forgedtransmits with true/false as value to accept/reject the security settings if available for a nic/portgroup")
description = "true if guest network default egress policy is allow; false if default egress policy is deny")
131
+
type = CommandType.BOOLEAN,
132
+
description = "true if guest network default egress policy is allow; false if default egress policy is deny")
128
133
privateBooleanegressDefaultPolicy;
129
134
130
135
@Parameter(name = ApiConstants.KEEPALIVE_ENABLED,
131
-
type = CommandType.BOOLEAN,
132
-
required = false,
133
-
description = "if true keepalive will be turned on in the loadbalancer. At the time of writing this has only an effect on haproxy; the mode http and httpclose options are unset in the haproxy conf file.")
136
+
type = CommandType.BOOLEAN,
137
+
required = false,
138
+
description = "if true keepalive will be turned on in the loadbalancer. At the time of writing this has only an effect on haproxy; the mode http and httpclose options are unset in the haproxy conf file.")
134
139
privateBooleankeepAliveEnabled;
135
140
136
141
@Parameter(name = ApiConstants.MAX_CONNECTIONS,
137
-
type = CommandType.INTEGER,
138
-
description = "maximum number of concurrent connections supported by the network offering")
142
+
type = CommandType.INTEGER,
143
+
description = "maximum number of concurrent connections supported by the network offering")
139
144
privateIntegermaxConnections;
140
145
146
+
@Parameter(name = ApiConstants.DOMAIN_ID,
147
+
type = CommandType.LIST,
148
+
collectionType = CommandType.UUID,
149
+
entityType = DomainResponse.class,
150
+
description = "the ID of the containing domain(s), null for public offerings")
151
+
privateList<Long> domainIds;
152
+
153
+
@Parameter(name = ApiConstants.ZONE_ID,
154
+
type = CommandType.LIST,
155
+
collectionType = CommandType.UUID,
156
+
entityType = ZoneResponse.class,
157
+
description = "the ID of the containing zone(s), null for public offerings",
@@ -49,7 +56,7 @@ public class UpdateNetworkOfferingCmd extends BaseCmd {
49
56
privateStringdisplayText;
50
57
51
58
@Parameter(name = ApiConstants.AVAILABILITY, type = CommandType.STRING, description = "the availability of network offering."
52
-
+ " Default value is Required for Guest Virtual network offering; Optional for Guest Direct network offering")
59
+
+ " Default value is Required for Guest Virtual network offering; Optional for Guest Direct network offering")
53
60
privateStringavailability;
54
61
55
62
@Parameter(name = ApiConstants.SORT_KEY, type = CommandType.INTEGER, description = "sort key of the network offering, integer")
@@ -59,19 +66,34 @@ public class UpdateNetworkOfferingCmd extends BaseCmd {
59
66
privateStringstate;
60
67
61
68
@Parameter(name = ApiConstants.KEEPALIVE_ENABLED,
62
-
type = CommandType.BOOLEAN,
63
-
required = false,
64
-
description = "if true keepalive will be turned on in the loadbalancer. At the time of writing this has only an effect on haproxy; the mode http and httpclose options are unset in the haproxy conf file.")
69
+
type = CommandType.BOOLEAN,
70
+
required = false,
71
+
description = "if true keepalive will be turned on in the loadbalancer. At the time of writing this has only an effect on haproxy; the mode http and httpclose options are unset in the haproxy conf file.")
65
72
privateBooleankeepAliveEnabled;
66
73
67
74
@Parameter(name = ApiConstants.MAX_CONNECTIONS,
68
-
type = CommandType.INTEGER,
69
-
description = "maximum number of concurrent connections supported by the network offering")
75
+
type = CommandType.INTEGER,
76
+
description = "maximum number of concurrent connections supported by the network offering")
70
77
privateIntegermaxConnections;
71
78
72
79
@Parameter(name = ApiConstants.TAGS, type = CommandType.STRING, description = "the tags for the network offering.", length = 4096)
73
80
privateStringtags;
74
81
82
+
@Parameter(name = ApiConstants.DOMAIN_ID,
83
+
type = CommandType.LIST,
84
+
collectionType = CommandType.UUID,
85
+
entityType = DomainResponse.class,
86
+
description = "the ID of the containing domain(s), null for public offerings")
87
+
privateList<Long> domainIds;
88
+
89
+
@Parameter(name = ApiConstants.ZONE_ID,
90
+
type = CommandType.LIST,
91
+
collectionType = CommandType.UUID,
92
+
entityType = ZoneResponse.class,
93
+
description = "the ID of the containing zone(s), null for public offerings",
0 commit comments