nvazquez commented on code in PR #11193:
URL: https://github.com/apache/cloudstack/pull/11193#discussion_r4424157467
##########
plugins/hypervisors/xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/wrapper/xenbase/CitrixSetupCommandWrapper.java:
##########
@@ -104,14 +104,14 @@ public Answer execute(final SetupCommand command, final
CitrixResourceBase citri
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) {
Review Comment:
@DaanHoogland I think this makes sense
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]