@@ -108,36 +108,22 @@ public interface ConfigurationService {
108108 /**
109109 * Updates a service offering
110110 *
111- * @param serviceOfferingId
112- * @param userId
113- * @param name
114- * @param displayText
115- * @param offerHA
116- * @param useVirtualNetwork
117- * @param tags
118111 * @return updated service offering
119112 */
120113 ServiceOffering updateServiceOffering (UpdateServiceOfferingCmd cmd );
121114
122115 /**
123116 * Deletes a service offering
124- *
125- * @param userId
126- * @param serviceOfferingId
127117 */
128118 boolean deleteServiceOffering (DeleteServiceOfferingCmd cmd );
129119
130120 /**
131121 * Retrieve ID of domains for a service offering
132- *
133- * @param serviceOfferingId
134122 */
135123 List <Long > getServiceOfferingDomains (Long serviceOfferingId );
136124
137125 /**
138126 * Retrieve ID of domains for a service offering
139- *
140- * @param serviceOfferingId
141127 */
142128 List <Long > getServiceOfferingZones (Long serviceOfferingId );
143129
@@ -147,7 +133,6 @@ public interface ConfigurationService {
147133 * @param cmd
148134 * - the command specifying diskOfferingId, name, description, tags
149135 * @return updated disk offering
150- * @throws
151136 */
152137 DiskOffering updateDiskOffering (UpdateDiskOfferingCmd cmd );
153138
@@ -157,34 +142,22 @@ public interface ConfigurationService {
157142 * @param cmd
158143 * - the command specifying disk offering id
159144 * @return true or false
160- * @throws
161145 */
162146 boolean deleteDiskOffering (DeleteDiskOfferingCmd cmd );
163147
164148 /**
165149 * Creates a new disk offering
166- *
167- * @param domainId
168- * @param name
169- * @param description
170- * @param numGibibytes
171- * @param mirrored
172- * @param size
173150 * @return ID
174151 */
175152 DiskOffering createDiskOffering (CreateDiskOfferingCmd cmd );
176153
177154 /**
178155 * Retrieve ID of domains for a disk offering
179- *
180- * @param diskOfferingId
181156 */
182157 List <Long > getDiskOfferingDomains (Long diskOfferingId );
183158
184159 /**
185160 * Retrieve ID of domains for a disk offering
186- *
187- * @param diskOfferingId
188161 */
189162 List <Long > getDiskOfferingZones (Long diskOfferingId );
190163
@@ -207,8 +180,6 @@ public interface ConfigurationService {
207180 * TODO
208181 * @param storageAccessGroups
209182 * @return the new pod if successful, null otherwise
210- * @throws
211- * @throws
212183 */
213184 Pod createPod (long zoneId , String name , String startIp , String endIp , String gateway , String netmask , String allocationState , List <String > storageAccessGroups );
214185
@@ -228,8 +199,7 @@ public interface ConfigurationService {
228199 /**
229200 * Updates a mutually exclusive IP range in the pod.
230201 * @param cmd - The command specifying pod ID, current Start IP, current End IP, new Start IP, new End IP.
231- * @throws com.cloud.exception.ConcurrentOperationException
232- * @return Success
202+ * @throws com.cloud.exception.ConcurrentOperationException when this pod is already being accessed
233203 */
234204 void updatePodIpRange (UpdatePodManagementNetworkIpRangeCmd cmd ) throws ConcurrentOperationException ;
235205
@@ -250,9 +220,6 @@ public interface ConfigurationService {
250220
251221 /**
252222 * Edits a pod in the database. Will not allow you to edit pods that are being used anywhere in the system.
253- *
254- * @param UpdatePodCmd
255- * api command
256223 */
257224 Pod editPod (UpdatePodCmd cmd );
258225
@@ -262,17 +229,12 @@ public interface ConfigurationService {
262229 * @param cmd
263230 * - the command containing podId
264231 * @return true or false
265- * @throws ,
266232 */
267233 boolean deletePod (DeletePodCmd cmd );
268234
269235 /**
270236 * Creates a new zone
271- *
272- * @param cmd
273237 * @return the zone if successful, null otherwise
274- * @throws
275- * @throws
276238 */
277239 DataCenter createZone (CreateZoneCmd cmd );
278240
@@ -295,22 +257,7 @@ public interface ConfigurationService {
295257 * Adds a VLAN to the database, along with an IP address range. Can add three types of VLANs: (1) zone-wide VLANs on
296258 * the
297259 * virtual public network (2) pod-wide direct attached VLANs (3) account-specific direct attached VLANs
298- *
299- * @param userId
300- * @param vlanType
301- * - either "DomR" (VLAN for a virtual public network) or "DirectAttached" (VLAN for IPs that will be
302- * directly
303- * attached to UserVMs)
304- * @param zoneId
305- * @param accountId
306- * @param podId
307- * @param add
308- * @param vlanId
309- * @param gateway
310- * @param startIP
311- * @param endIP
312260 * @throws ResourceAllocationException TODO
313- * @throws
314261 * @return The new Vlan object
315262 */
316263 Vlan createVlanAndPublicIpRange (CreateVlanIpRangeCmd cmd ) throws InsufficientCapacityException , ConcurrentOperationException , ResourceUnavailableException ,
@@ -325,9 +272,6 @@ Vlan updateVlanAndPublicIpRange(UpdateVlanIpRangeCmd cmd) throws ConcurrentOpera
325272 /**
326273 * Marks the account with the default zone-id.
327274 *
328- * @param accountName
329- * @param domainId
330- * @param defaultZoneId
331275 * @return The new account object
332276 */
333277 Account markDefaultZone (String accountName , long domainId , long defaultZoneId );
@@ -349,14 +293,12 @@ Vlan updateVlanAndPublicIpRange(UpdateVlanIpRangeCmd cmd) throws ConcurrentOpera
349293 /**
350294 * Retrieve ID of domains for a network offering
351295 *
352- * @param networkOfferingId
353296 */
354297 List <Long > getNetworkOfferingDomains (Long networkOfferingId );
355298
356299 /**
357300 * Retrieve ID of domains for a network offering
358301 *
359- * @param networkOfferingId
360302 */
361303 List <Long > getNetworkOfferingZones (Long networkOfferingId );
362304
0 commit comments