mirror of https://github.com/apache/cloudstack.git
Commit for https://reviews.apache.org/r/6928/
This commit is contained in:
parent
edc6b4c6da
commit
4c5f41bfeb
|
|
@ -230,25 +230,31 @@ public class VmwareManagerImpl implements VmwareManager, VmwareStorageMount, Lis
|
||||||
_privateNetworkVSwitchName = configDao.getValue(Config.VmwarePrivateNetworkVSwitch.key());
|
_privateNetworkVSwitchName = configDao.getValue(Config.VmwarePrivateNetworkVSwitch.key());
|
||||||
|
|
||||||
if (_privateNetworkVSwitchName == null) {
|
if (_privateNetworkVSwitchName == null) {
|
||||||
_privateNetworkVSwitchName = "vSwitch0";
|
if (_nexusVSwitchActive) {
|
||||||
} else {
|
_privateNetworkVSwitchName = "privateEthernetPortProfile";
|
||||||
_privateNetworkVSwitchName = "privateEthernetPortProfile";
|
} else {
|
||||||
|
_privateNetworkVSwitchName = "vSwitch0";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
_publicNetworkVSwitchName = configDao.getValue(Config.VmwarePublicNetworkVSwitch.key());
|
_publicNetworkVSwitchName = configDao.getValue(Config.VmwarePublicNetworkVSwitch.key());
|
||||||
|
|
||||||
if (_publicNetworkVSwitchName == null) {
|
if (_publicNetworkVSwitchName == null) {
|
||||||
_publicNetworkVSwitchName = "vSwitch0";
|
if (_nexusVSwitchActive) {
|
||||||
} else {
|
_publicNetworkVSwitchName = "publicEthernetPortProfile";
|
||||||
_publicNetworkVSwitchName = "publicEthernetPortProfile";
|
} else {
|
||||||
|
_publicNetworkVSwitchName = "vSwitch0";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
_guestNetworkVSwitchName = configDao.getValue(Config.VmwareGuestNetworkVSwitch.key());
|
_guestNetworkVSwitchName = configDao.getValue(Config.VmwareGuestNetworkVSwitch.key());
|
||||||
|
|
||||||
if (_guestNetworkVSwitchName == null) {
|
if (_guestNetworkVSwitchName == null) {
|
||||||
_guestNetworkVSwitchName = "vSwitch0";
|
if (_nexusVSwitchActive) {
|
||||||
} else {
|
_guestNetworkVSwitchName = "guestEthernetPortProfile";
|
||||||
_guestNetworkVSwitchName = "guestEthernetPortProfile";
|
} else {
|
||||||
|
_guestNetworkVSwitchName = "vSwitch0";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
_serviceConsoleName = configDao.getValue(Config.VmwareServiceConsole.key());
|
_serviceConsoleName = configDao.getValue(Config.VmwareServiceConsole.key());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue