mirror of https://github.com/apache/cloudstack.git
Merge 7c1bbfba99 into b7d4df0a11
This commit is contained in:
commit
1f59aa2ba7
|
|
@ -104,14 +104,14 @@ public final class CitrixSetupCommandWrapper extends CommandWrapper<SetupCommand
|
|||
for (final PIF pif : hostPifs) {
|
||||
final PIF.Record rec = pif.getRecord(conn);
|
||||
if (rec.management) {
|
||||
if (rec.VLAN != null && rec.VLAN != -1) {
|
||||
if (host.getAPIVersionMajor(conn) < 8 && rec.VLAN != null && rec.VLAN != -1) {
|
||||
final String msg =
|
||||
new StringBuilder("Unsupported configuration. Management network is on a VLAN. host=").append(citrixResourceBase.getHost().getUuid())
|
||||
.append("; pif=")
|
||||
.append(rec.uuid)
|
||||
.append("; vlan=")
|
||||
.append(rec.VLAN)
|
||||
.toString();
|
||||
.append("; pif=")
|
||||
.append(rec.uuid)
|
||||
.append("; vlan=")
|
||||
.append(rec.VLAN)
|
||||
.toString();
|
||||
logger.warn(msg);
|
||||
return new SetupAnswer(command, msg);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue