/**
* Computes the list of configured interfaces with a VLAN Id.
*
* @return the interfaces grouped by vlan id
*/
protected SetMultimap<VlanId, ConnectPoint> getConfigCPoints() {
log.debug("Checking interface configuration");
SetMultimap<VlanId, ConnectPoint> confCPointsByVlan =
HashMultimap.create();
interfaceService.getInterfaces()
.stream()
.filter(intf -> intf.ipAddressesList().isEmpty())
.forEach(intf -> confCPointsByVlan.put(intf.vlan(),
intf.connectPoint()));
return confCPointsByVlan;
}
Vpls.java 文件源码
java
阅读 30
收藏 0
点赞 0
评论 0
项目:athena
作者:
评论列表
文章目录