use of org.onosproject.kubevirtnetworking.api.Constants.GW_DROP_TABLE in project onos by opennetworkinglab.
the class KubevirtFlowRuleManager method initializeGatewayNodePipeline.
protected void initializeGatewayNodePipeline(KubevirtNode kubevirtNode) {
DeviceId deviceId = kubevirtNode.intgBridge();
// for inbound to gateway entry table transition
connectTables(deviceId, STAT_INBOUND_TABLE, GW_ENTRY_TABLE);
// for gateway entry to gateway drop table transition
connectTables(deviceId, GW_ENTRY_TABLE, GW_DROP_TABLE);
// for setting up default gateway drop table
setupGatewayNodeDropTable(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