use of org.onosproject.kubevirtnetworking.api.Constants.STAT_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);
});
}
use of org.onosproject.kubevirtnetworking.api.Constants.STAT_INBOUND_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