mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Revert "CLOUDSTACK-6967 merge problem resolution"
This reverts commit 4610c76fa9178ca056ad523cdf980a7ee3533ef2.
This commit is contained in:
parent
d69e14323a
commit
91e300eb82
@ -23,13 +23,13 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.apache.cloudstack</groupId>
|
<groupId>org.apache.cloudstack</groupId>
|
||||||
<artifactId>cloudstack-plugins</artifactId>
|
<artifactId>cloudstack-plugins</artifactId>
|
||||||
<version>4.5.0-SNAPSHOT</version>
|
<version>4.4.0-SNAPSHOT</version>
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.java.dev.vcc.thirdparty</groupId>
|
<groupId>org.apache.cloudstack</groupId>
|
||||||
<artifactId>xen-api</artifactId>
|
<artifactId>xapi</artifactId>
|
||||||
<version>${cs.xapi.version}</version>
|
<version>${cs.xapi.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|||||||
@ -1868,7 +1868,7 @@ public class Ovm3ResourceBase implements ServerResource, HypervisorResource,
|
|||||||
s_logger.debug("VM " + vm.getKey() + " state: " + vm.getValue()
|
s_logger.debug("VM " + vm.getKey() + " state: " + vm.getValue()
|
||||||
+ ":" + convertStateToPower(vm.getValue()));
|
+ ":" + convertStateToPower(vm.getValue()));
|
||||||
vmStates.put(vm.getKey(), new HostVmStateReportEntry(
|
vmStates.put(vm.getKey(), new HostVmStateReportEntry(
|
||||||
convertStateToPower(vm.getValue()), c.getIp()));
|
convertStateToPower(vm.getValue()), c.getIp(), null));
|
||||||
}
|
}
|
||||||
return vmStates;
|
return vmStates;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -327,7 +327,7 @@ public class ManagementServerMock {
|
|||||||
_znet = _networkService.getPhysicalNetwork(id);
|
_znet = _networkService.getPhysicalNetwork(id);
|
||||||
List<PhysicalNetworkVO> nets = _physicalNetworkDao.listByZoneAndTrafficType(_zone.getId(), TrafficType.Public);
|
List<PhysicalNetworkVO> nets = _physicalNetworkDao.listByZoneAndTrafficType(_zone.getId(), TrafficType.Public);
|
||||||
if (nets == null || nets.isEmpty()) {
|
if (nets == null || nets.isEmpty()) {
|
||||||
_networkService.addTrafficTypeToPhysicalNetwork(_znet.getId(), TrafficType.Public.toString(), "vlan", null, null, null, null, null, null, null);
|
_networkService.addTrafficTypeToPhysicalNetwork(_znet.getId(), TrafficType.Public.toString(), "vlan", null, null, null, null, null, null);
|
||||||
}
|
}
|
||||||
} catch (InvalidParameterValueException e) {
|
} catch (InvalidParameterValueException e) {
|
||||||
List<String> isolationMethods = new ArrayList<String>();
|
List<String> isolationMethods = new ArrayList<String>();
|
||||||
@ -337,7 +337,7 @@ public class ManagementServerMock {
|
|||||||
"znet");
|
"znet");
|
||||||
List<PhysicalNetworkVO> nets = _physicalNetworkDao.listByZoneAndTrafficType(_zone.getId(), TrafficType.Public);
|
List<PhysicalNetworkVO> nets = _physicalNetworkDao.listByZoneAndTrafficType(_zone.getId(), TrafficType.Public);
|
||||||
if (nets == null || nets.isEmpty()) {
|
if (nets == null || nets.isEmpty()) {
|
||||||
_networkService.addTrafficTypeToPhysicalNetwork(_znet.getId(), TrafficType.Public.toString(), "vlan", null, null, null, null, null, null, null);
|
_networkService.addTrafficTypeToPhysicalNetwork(_znet.getId(), TrafficType.Public.toString(), "vlan", null, null, null, null, null, null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_znet.getState() != PhysicalNetwork.State.Enabled) {
|
if (_znet.getState() != PhysicalNetwork.State.Enabled) {
|
||||||
@ -353,7 +353,7 @@ public class ManagementServerMock {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!found) {
|
if (!found) {
|
||||||
_networkService.addTrafficTypeToPhysicalNetwork(_znet.getId(), TrafficType.Guest.toString(), "vlan", null, null, null, null, null, null, null);
|
_networkService.addTrafficTypeToPhysicalNetwork(_znet.getId(), TrafficType.Guest.toString(), "vlan", null, null, null, null, null, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
Pair<List<? extends PhysicalNetworkServiceProvider>, Integer> providers =
|
Pair<List<? extends PhysicalNetworkServiceProvider>, Integer> providers =
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user