for (NetTrafficType type : netNamesInfo.keySet()) {
netConfigs.put(type, new ArrayList<NetConfigInfo>());
for (String name : netNamesInfo.get(type)) {
String pg = networkMgr.getNetworkEntityByName(name).getPortGroup();
NetConfigInfo netConfig = new NetConfigInfo(type, name, pg);
netConfigs.get(type).add(netConfig);
if (!port2names.containsKey(pg)) {
port2names.put(pg, new HashSet<String>());
}