Scientific Programming / 2018 / Article / Tab 3 / Research Article
SDN Programming for Heterogeneous Switches with Flow Table Pipelining Table 3 Flow table pipeline and forwarding rules generated by Maple++ for Switch 2. For concreteness, MAC address 00:00:00:00:00:xx is represented as :xx in the table.
ā Pri Match Action Table-0 0 srcMac = (:03-:04) reg0 = 1; goto Table-1 0 srcMac = (:01-:02) reg0 = 2; goto Table-2 0 srcMac = (:05ā:08) reg0 = 2; goto Table-2 0 Otherwise Punt Table-1 0 dstMac = (:01-:02) reg1 = 1; goto Table-ACTION 0 dstMac = :03 reg1 = 2; goto Table-ACTION 0 dstMac = :04 reg1 = 3; goto Table-ACTION 0 dstMac = :05 reg1 = 4; goto Table-ACTION 0 dstMac = :06 reg1 = 5; goto Table-ACTION 0 dstMac = (:07-:08) reg1 = 6; goto Table-ACTION 0 Otherwise Punt Table-2 0 dstMac = :03 reg2 = 1; goto Table-ACTION 0 dstMac = :04 reg2 = 2; goto Table-ACTION 0 Otherwise Punt Table-ACTION 0 reg0 == 1 && reg1 == 1 To port 3 (secure path) 0 reg0 == 1 && reg1 == 2 To port 0 0 reg0 == 1 && reg1 == 3 To port 1 0 reg0 == 1 && reg1 == 4 To port 2 (shortest path) 0 reg0 == 1 && reg1 == 5 DROP 0 reg0 == 1 && reg1 == 6 To port 2 (shortest path) 0 reg0 == 2 && reg2 == 1 To port 0 0 reg0 == 2 && reg2 == 2 To port 1 0 Otherwise Punt