@@ -146,14 +146,14 @@ private boolean hostHasCpuMemoryCapacity(long hostId, List<Long> vmOnHost, VMIns
146146 so = _offeringDao .findById (userVm .getServiceOfferingId ());
147147 } else if (vm .getType () == VirtualMachine .Type .ConsoleProxy ) {
148148 so = new ServiceOfferingVO ("Fake Offering For DomP" , 1 ,
149- _proxyRamSize , 0 , 0 , 0 , false , null , NetworkOffering .GuestIpType .Virtualized , false , true , null );
149+ _proxyRamSize , 0 , 0 , 0 , false , null , NetworkOffering .GuestIpType .Virtualized , false , true , null , null );
150150 } else if (vm .getType () == VirtualMachine .Type .SecondaryStorageVm ) {
151- so = new ServiceOfferingVO ("Fake Offering For Secondary Storage VM" , 1 , _secStorageVmRamSize , 0 , 0 , 0 , false , null , NetworkOffering .GuestIpType .Virtualized , false , true , null );
151+ so = new ServiceOfferingVO ("Fake Offering For Secondary Storage VM" , 1 , _secStorageVmRamSize , 0 , 0 , 0 , false , null , NetworkOffering .GuestIpType .Virtualized , false , true , null , null );
152152 } else if (vm .getType () == VirtualMachine .Type .DomainRouter ) {
153- so = new ServiceOfferingVO ("Fake Offering For DomR" , 1 , _routerRamSize , 0 , 0 , 0 , false , null , NetworkOffering .GuestIpType .Virtualized , false , true , null );
153+ so = new ServiceOfferingVO ("Fake Offering For DomR" , 1 , _routerRamSize , 0 , 0 , 0 , false , null , NetworkOffering .GuestIpType .Virtualized , false , true , null , null );
154154 } else {
155155 assert (false ) : "Unsupported system vm type" ;
156- so = new ServiceOfferingVO ("Fake Offering For unknow system VM" , 1 , 128 , 0 , 0 , 0 , false , null , NetworkOffering .GuestIpType .Virtualized , false , true , null );
156+ so = new ServiceOfferingVO ("Fake Offering For unknow system VM" , 1 , 128 , 0 , 0 , 0 , false , null , NetworkOffering .GuestIpType .Virtualized , false , true , null , null );
157157 }
158158
159159 long usedMemory = calcHostAllocatedCpuMemoryCapacity (vmOnHost , CapacityVO .CAPACITY_TYPE_MEMORY );
@@ -243,14 +243,14 @@ private long calcHostAllocatedCpuMemoryCapacity(List<Long> vmOnHost, short capac
243243 so = _offeringDao .findById (userVm .getServiceOfferingId ());
244244 } else if (vm .getType () == VirtualMachine .Type .ConsoleProxy ) {
245245 so = new ServiceOfferingVO ("Fake Offering For DomP" , 1 ,
246- _proxyRamSize , 0 , 0 , 0 , false , null , NetworkOffering .GuestIpType .Virtualized , false , true , null );
246+ _proxyRamSize , 0 , 0 , 0 , false , null , NetworkOffering .GuestIpType .Virtualized , false , true , null , null );
247247 } else if (vm .getType () == VirtualMachine .Type .SecondaryStorageVm ) {
248- so = new ServiceOfferingVO ("Fake Offering For Secondary Storage VM" , 1 , _secStorageVmRamSize , 0 , 0 , 0 , false , null , NetworkOffering .GuestIpType .Virtualized , false , true , null );
248+ so = new ServiceOfferingVO ("Fake Offering For Secondary Storage VM" , 1 , _secStorageVmRamSize , 0 , 0 , 0 , false , null , NetworkOffering .GuestIpType .Virtualized , false , true , null , null );
249249 } else if (vm .getType () == VirtualMachine .Type .DomainRouter ) {
250- so = new ServiceOfferingVO ("Fake Offering For DomR" , 1 , _routerRamSize , 0 , 0 , 0 , false , null , NetworkOffering .GuestIpType .Virtualized , false , true , null );
250+ so = new ServiceOfferingVO ("Fake Offering For DomR" , 1 , _routerRamSize , 0 , 0 , 0 , false , null , NetworkOffering .GuestIpType .Virtualized , false , true , null , null );
251251 } else {
252252 assert (false ) : "Unsupported system vm type" ;
253- so = new ServiceOfferingVO ("Fake Offering For unknow system VM" , 1 , 128 , 0 , 0 , 0 , false , null , NetworkOffering .GuestIpType .Virtualized , false , true , null );
253+ so = new ServiceOfferingVO ("Fake Offering For unknow system VM" , 1 , 128 , 0 , 0 , 0 , false , null , NetworkOffering .GuestIpType .Virtualized , false , true , null , null );
254254 }
255255
256256 if (capacityType == CapacityVO .CAPACITY_TYPE_MEMORY ) {
0 commit comments