use of org.onosproject.kubevirtnetworking.api.Constants.VTAP_INBOUND_TABLE in project onos by opennetworkinglab.
the class KubevirtFlowRuleManager method initializeWorkerNodePipeline.
protected void initializeWorkerNodePipeline(KubevirtNode kubevirtNode) {
DeviceId deviceId = kubevirtNode.intgBridge();
// for inbound table transition
connectTables(deviceId, STAT_INBOUND_TABLE, VTAP_INBOUND_TABLE);
connectTables(deviceId, VTAP_INBOUND_TABLE, DHCP_TABLE);
// for DHCP and ARP table transition
connectTables(deviceId, DHCP_TABLE, ARP_TABLE);
// for ARP table and ACL egress table transition
connectTables(deviceId, ARP_TABLE, ACL_EGRESS_TABLE);
// for setting up default ARP table behavior
setupArpTable(deviceId);
// for setting up default Forwarding table behavior which is NORMAL
setupNormalTable(deviceId, FORWARDING_TABLE);
kubevirtNode.phyIntfs().stream().filter(intf -> intf.physBridge() != null).forEach(phyIntf -> {
setupNormalTable(phyIntf.physBridge(), STAT_INBOUND_TABLE);
});
}
Aggregations