mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-11-04 00:02:37 +01:00 
			
		
		
		
	fix test / build failure
This commit is contained in:
		
							parent
							
								
									9d9c334bd2
								
							
						
					
					
						commit
						56861e1f36
					
				@ -214,6 +214,7 @@ public interface ConfigurationManager {
 | 
			
		||||
     * @param isPersistent       ;
 | 
			
		||||
     * @param details            TODO
 | 
			
		||||
     * @param forVpc
 | 
			
		||||
     * @param forTungsten
 | 
			
		||||
     * @param forNsx
 | 
			
		||||
     * @param domainIds
 | 
			
		||||
     * @param zoneIds
 | 
			
		||||
@ -224,7 +225,7 @@ public interface ConfigurationManager {
 | 
			
		||||
                                            Integer networkRate, Map<Service, Set<Provider>> serviceProviderMap, boolean isDefault, Network.GuestType type, boolean systemOnly, Long serviceOfferingId,
 | 
			
		||||
                                            boolean conserveMode, Map<Service, Map<Capability, String>> serviceCapabilityMap, boolean specifyIpRanges, boolean isPersistent,
 | 
			
		||||
                                            Map<NetworkOffering.Detail, String> details, boolean egressDefaultPolicy, Integer maxconn, boolean enableKeepAlive, Boolean forVpc,
 | 
			
		||||
                                            Boolean forTungsten, boolean forNsx, List<Long> domainIds, List<Long> zoneIds, boolean enableOffering, final NetUtils.InternetProtocol internetProtocol);
 | 
			
		||||
                                            Boolean forTungsten, Boolean forNsx, List<Long> domainIds, List<Long> zoneIds, boolean enableOffering, final NetUtils.InternetProtocol internetProtocol);
 | 
			
		||||
 | 
			
		||||
    Vlan createVlanAndPublicIpRange(long zoneId, long networkId, long physicalNetworkId, boolean forVirtualNetwork, boolean forSystemVms, Long podId, String startIP, String endIP,
 | 
			
		||||
        String vlanGateway, String vlanNetmask, String vlanId, boolean bypassVlanOverlapCheck, Domain domain, Account vlanOwner, String startIPv6, String endIPv6, String vlanIp6Gateway, String vlanIp6Cidr)
 | 
			
		||||
 | 
			
		||||
@ -27,18 +27,14 @@ import com.cloud.exception.InvalidParameterValueException;
 | 
			
		||||
import com.cloud.host.Host;
 | 
			
		||||
import com.cloud.resource.ServerResource;
 | 
			
		||||
import com.cloud.utils.exception.CloudRuntimeException;
 | 
			
		||||
import com.vmware.nsx.EdgeClusters;
 | 
			
		||||
import com.vmware.nsx.model.EdgeCluster;
 | 
			
		||||
import com.vmware.nsx_policy.infra.Segments;
 | 
			
		||||
import com.vmware.nsx_policy.infra.Tier1s;
 | 
			
		||||
import com.vmware.nsx_policy.infra.segments.ServiceSegments;
 | 
			
		||||
import com.vmware.nsx_policy.infra.tier_0s.LocaleServices;
 | 
			
		||||
import com.vmware.nsx_policy.model.ApiError;
 | 
			
		||||
import com.vmware.nsx_policy.model.ChildLocaleServices;
 | 
			
		||||
import com.vmware.nsx_policy.model.LocaleServicesListResult;
 | 
			
		||||
import com.vmware.nsx_policy.model.Segment;
 | 
			
		||||
import com.vmware.nsx_policy.model.SegmentSubnet;
 | 
			
		||||
import com.vmware.nsx_policy.model.ServiceSegmentListResult;
 | 
			
		||||
import com.vmware.nsx_policy.model.Tier1;
 | 
			
		||||
import com.vmware.vapi.bindings.Service;
 | 
			
		||||
import com.vmware.vapi.std.errors.Error;
 | 
			
		||||
 | 
			
		||||
@ -17,7 +17,6 @@
 | 
			
		||||
package org.apache.cloudstack.service;
 | 
			
		||||
 | 
			
		||||
import com.vmware.vapi.client.ApiClient;
 | 
			
		||||
import org.apache.log4j.Logger;
 | 
			
		||||
 | 
			
		||||
public class NsxApi {
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -74,7 +74,6 @@ import java.util.List;
 | 
			
		||||
import java.util.Map;
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
import java.util.Set;
 | 
			
		||||
import java.util.function.Function;
 | 
			
		||||
import java.util.function.LongFunction;
 | 
			
		||||
 | 
			
		||||
@Component
 | 
			
		||||
 | 
			
		||||
@ -6348,7 +6348,7 @@ public class ConfigurationManagerImpl extends ManagerBase implements Configurati
 | 
			
		||||
                                                   final Long serviceOfferingId,
 | 
			
		||||
                                                   final boolean conserveMode, final Map<Service, Map<Capability, String>> serviceCapabilityMap, final boolean specifyIpRanges, final boolean isPersistent,
 | 
			
		||||
                                                   final Map<Detail, String> details, final boolean egressDefaultPolicy, final Integer maxconn, final boolean enableKeepAlive, Boolean forVpc,
 | 
			
		||||
                                                   Boolean forTungsten, boolean forNsx, final List<Long> domainIds, final List<Long> zoneIds, final boolean enableOffering, final NetUtils.InternetProtocol internetProtocol) {
 | 
			
		||||
                                                   Boolean forTungsten, Boolean forNsx, final List<Long> domainIds, final List<Long> zoneIds, final boolean enableOffering, final NetUtils.InternetProtocol internetProtocol) {
 | 
			
		||||
 | 
			
		||||
        String servicePackageUuid;
 | 
			
		||||
        String spDescription = null;
 | 
			
		||||
@ -6509,7 +6509,7 @@ public class ConfigurationManagerImpl extends ManagerBase implements Configurati
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        offeringFinal.setForTungsten(Objects.requireNonNullElse(forTungsten, false));
 | 
			
		||||
        offeringFinal.setForNsx(Objects.requireNonNullElse(forTungsten, false));
 | 
			
		||||
        offeringFinal.setForNsx(Objects.requireNonNullElse(forNsx, false));
 | 
			
		||||
 | 
			
		||||
        if (enableOffering) {
 | 
			
		||||
            offeringFinal.setState(NetworkOffering.State.Enabled);
 | 
			
		||||
 | 
			
		||||
@ -548,7 +548,7 @@ public class MockConfigurationManagerImpl extends ManagerBase implements Configu
 | 
			
		||||
                                                   Integer networkRate, Map<Service, Set<Provider>> serviceProviderMap, boolean isDefault, GuestType type, boolean systemOnly, Long serviceOfferingId,
 | 
			
		||||
                                                   boolean conserveMode, Map<Service, Map<Capability, String>> serviceCapabilityMap, boolean specifyIpRanges, boolean isPersistent,
 | 
			
		||||
                                                   Map<NetworkOffering.Detail, String> details, boolean egressDefaultPolicy, Integer maxconn, boolean enableKeepAlive, Boolean forVpc,
 | 
			
		||||
                                                   Boolean forTungsten, boolean forNsx, List<Long> domainIds, List<Long> zoneIds, boolean enableOffering, NetUtils.InternetProtocol internetProtocol) {
 | 
			
		||||
                                                   Boolean forTungsten, Boolean forNsx, List<Long> domainIds, List<Long> zoneIds, boolean enableOffering, NetUtils.InternetProtocol internetProtocol) {
 | 
			
		||||
        // TODO Auto-generated method stub
 | 
			
		||||
        return null;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@ -72,4 +72,5 @@
 | 
			
		||||
    <bean id="PassphraseDaoImpl" class="org.apache.cloudstack.secret.dao.PassphraseDaoImpl" />
 | 
			
		||||
    <bean id="configurationGroupDaoImpl" class="org.apache.cloudstack.framework.config.dao.ConfigurationGroupDaoImpl" />
 | 
			
		||||
    <bean id="configurationSubGroupDaoImpl" class="org.apache.cloudstack.framework.config.dao.ConfigurationSubGroupDaoImpl" />
 | 
			
		||||
    <bean id="nsxControllerDaoImpl" class="com.cloud.network.dao.NsxProviderDaoImpl" />
 | 
			
		||||
</beans>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user