5555 */
5656public interface ConfigurationManager {
5757
58- public static final String MESSAGE_CREATE_POD_IP_RANGE_EVENT = "Message.CreatePodIpRange.Event" ;
59- public static final String MESSAGE_DELETE_POD_IP_RANGE_EVENT = "Message.DeletePodIpRange.Event" ;
60- public static final String MESSAGE_CREATE_VLAN_IP_RANGE_EVENT = "Message.CreateVlanIpRange.Event" ;
61- public static final String MESSAGE_DELETE_VLAN_IP_RANGE_EVENT = "Message.DeleteVlanIpRange.Event" ;
62-
58+ String MESSAGE_CREATE_POD_IP_RANGE_EVENT = "Message.CreatePodIpRange.Event" ;
59+ String MESSAGE_DELETE_POD_IP_RANGE_EVENT = "Message.DeletePodIpRange.Event" ;
60+ String MESSAGE_CREATE_VLAN_IP_RANGE_EVENT = "Message.CreateVlanIpRange.Event" ;
61+ String MESSAGE_DELETE_VLAN_IP_RANGE_EVENT = "Message.DeleteVlanIpRange.Event" ;
6362
6463 /**
65- * @param offering
66- * @return
64+ * Is this for a VPC
65+ * @param offering the offering to check
66+ * @return true or false
6767 */
6868 boolean isOfferingForVpc (NetworkOffering offering );
6969
@@ -74,76 +74,12 @@ public interface ConfigurationManager {
7474 /**
7575 * Updates a configuration entry with a new value
7676 *
77- * @param userId
78- * @param name
79- * @param value
8077 */
8178 String updateConfiguration (long userId , String name , String category , String value , String scope , Long id );
8279
83- // /**
84- // * Creates a new service offering
85- // *
86- // * @param name
87- // * @param cpu
88- // * @param ramSize
89- // * @param speed
90- // * @param displayText
91- // * @param localStorageRequired
92- // * @param offerHA
93- // * @param domainId
94- // * @param volatileVm
95- // * @param hostTag
96- // * @param networkRate
97- // * TODO
98- // * @param id
99- // * @param useVirtualNetwork
100- // * @param deploymentPlanner
101- // * @param details
102- // * @param bytesReadRate
103- // * @param bytesWriteRate
104- // * @param iopsReadRate
105- // * @param iopsWriteRate
106- // * @return ID
107- // */
108- // ServiceOfferingVO createServiceOffering(long userId, boolean isSystem, VirtualMachine.Type vm_typeType, String name, int cpu, int ramSize, int speed, String displayText, boolean localStorageRequired,
109- // boolean offerHA, boolean limitResourceUse, boolean volatileVm, String tags, Long domainId, String hostTag, Integer networkRate, String deploymentPlanner, Map<String, String> details,
110- // Long bytesReadRate, Long bytesWriteRate, Long iopsReadRate, Long iopsWriteRate);
111-
112- // /**
113- // * Creates a new disk offering
114- // *
115- // * @param domainId
116- // * @param name
117- // * @param description
118- // * @param numGibibytes
119- // * @param tags
120- // * @param isCustomized
121- // * @param localStorageRequired
122- // * @param isDisplayOfferingEnabled
123- // * @param isCustomizedIops (is admin allowing users to set custom iops?)
124- // * @param minIops
125- // * @param maxIops
126- // * @param bytesReadRate
127- // * @param bytesWriteRate
128- // * @param iopsReadRate
129- // * @param iopsWriteRate
130- // * @return newly created disk offering
131- // */
132- // DiskOfferingVO createDiskOffering(Long domainId, String name, String description, Long numGibibytes, String tags, boolean isCustomized,
133- // boolean localStorageRequired, boolean isDisplayOfferingEnabled, Boolean isCustomizedIops, Long minIops, Long maxIops,
134- // Long bytesReadRate, Long bytesWriteRate, Long iopsReadRate, Long iopsWriteRate);
135-
13680 /**
13781 * Creates a new pod
13882 *
139- * @param userId
140- * @param podName
141- * @param zone
142- * @param gateway
143- * @param cidr
144- * @param startIp
145- * @param endIp
146- * @param allocationState
14783 * @param skipGatewayOverlapCheck
14884 * (true if it is ok to not validate that gateway IP address overlap with Start/End IP of the POD)
14985 * @return Pod
@@ -154,24 +90,12 @@ HostPodVO createPod(long userId, String podName, DataCenter zone, String gateway
15490 /**
15591 * Creates a new zone
15692 *
157- * @param userId
158- * @param zoneName
159- * @param dns1
160- * @param dns2
161- * @param internalDns1
162- * @param internalDns2
163- * @param guestCidr
164- * @param zoneType
165- * @param allocationState
16693 * @param networkDomain
16794 * TODO
16895 * @param isSecurityGroupEnabled
16996 * TODO
17097 * @param ip6Dns1 TODO
17198 * @param ip6Dns2 TODO
172- * @return
173- * @throws
174- * @throws
17599 */
176100 DataCenterVO createZone (long userId , String zoneName , String dns1 , String dns2 , String internalDns1 , String internalDns2 , String guestCidr , String domain ,
177101 Long domainId , NetworkType zoneType , String allocationState , String networkDomain , boolean isSecurityGroupEnabled , boolean isLocalStorageEnabled , String ip6Dns1 ,
@@ -181,8 +105,6 @@ DataCenterVO createZone(long userId, String zoneName, String dns1, String dns2,
181105 * Deletes a VLAN from the database, along with all of its IP addresses. Will not delete VLANs that have allocated
182106 * IP addresses.
183107 *
184- * @param userId
185- * @param vlanDbId
186108 * @param caller TODO
187109 * @return success/failure
188110 */
@@ -194,11 +116,6 @@ DataCenterVO createZone(long userId, String zoneName, String dns1, String dns2,
194116
195117 /**
196118 * Creates a new network offering
197- * @param name
198- * @param displayText
199- * @param trafficType
200- * @param tags
201- * @param specifyVlan
202119 * @param networkRate
203120 * TODO
204121 * @param serviceProviderMap
@@ -209,17 +126,13 @@ DataCenterVO createZone(long userId, String zoneName, String dns1, String dns2,
209126 * TODO
210127 * @param systemOnly
211128 * TODO
212- * @param serviceOfferingId
213129 * @param conserveMode
214130 * ;
215131 * @param specifyIpRanges
216132 * TODO
217133 * @param isPersistent
218134 * ;
219135 * @param details TODO
220- * @param forVpc
221- * @param domainIds
222- * @param zoneIds
223136 * @return network offering object
224137 */
225138
@@ -238,32 +151,21 @@ Vlan createVlanAndPublicIpRange(long zoneId, long networkId, long physicalNetwor
238151 /**
239152 * Release dedicated virtual ip ranges of a domain.
240153 *
241- * @param domainId
242154 * @return success/failure
243155 */
244156 boolean releaseDomainSpecificVirtualRanges (long domainId );
245157
246158 /**
247159 * Release dedicated virtual ip ranges of an account.
248160 *
249- * @param accountId
250161 * @return success/failure
251162 */
252163 boolean releaseAccountSpecificVirtualRanges (long accountId );
253164
254165 /**
255166 * Edits a pod in the database. Will not allow you to edit pods that are being used anywhere in the system.
256167 *
257- * @param id
258- * @param name
259- * @param startIp
260- * @param endIp
261- * @param gateway
262- * @param netmask
263- * @param allocationState
264168 * @return Pod
265- * @throws
266- * @throws
267169 */
268170 Pod editPod (long id , String name , String startIp , String endIp , String gateway , String netmask , String allocationState );
269171
0 commit comments