"configured");
return null;
}
// Extract private vlan entries for the virtual switch
VMwareDVSConfigInfo dvsConfigInfo = (VMwareDVSConfigInfo) contrailDvs.getConfig();
if (dvsConfigInfo == null) {
s_logger.error("dvSwitch: " + contrailDvSwitchName +
" Datacenter: " + contrailDC.getName() + " ConfigInfo " +
"is empty");
return null;
}
if (!(dvsConfigInfo instanceof VMwareDVSConfigInfo)) {
s_logger.error("dvSwitch: " + contrailDvSwitchName +
" Datacenter: " + contrailDC.getName() + " ConfigInfo " +
"isn't instanceof VMwareDVSConfigInfo");
return null;
}
VMwareDVSPvlanMapEntry[] pvlanMapArray = dvsConfigInfo.getPvlanConfig();
if (pvlanMapArray == null) {
s_logger.error("dvSwitch: " + contrailDvSwitchName +
" Datacenter: " + contrailDC.getName() + " Private VLAN NOT" +
"configured");
return null;