Ask Your Question
0

default flow entries in Helium vs Lithium

asked 2015-10-15 00:28:27 -0700

senthil_tata gravatar image

Hi Experts, Please tell me for what purpose there is difference in flow entries (note: differences highlighted) in Helium and Lithium as below.

My OVS switch configuration in Both Helium and Lithuim (Used Mininet to create this configuration) sw1 | | SW2 SW3 | | | | h1 h2 h3 h4

- LITHIUM (SR1) DEFAULT FLOW ENTRIES WHEN OVS SWITCHES GET CONNECTED TO CONTROLLER

sudo ovs-ofctl dump-flows s1 -O Openflow13 (SWITCH1)

OFPSTFLOW reply (OF1.3) (xid=0x2): cookie=0x2b00000000000047, duration=6.931s, table=0, npackets=40, nbytes=7342, priority=0 actions=drop cookie=0x2b00000000000047, duration=0.957s, table=0, npackets=1, nbytes=315, priority=2,inport=1 actions=output:2 cookie=0x2b00000000000046, duration=0.957s, table=0, npackets=1, nbytes=315, priority=2,inport=2 actions=output:1 cookie=0x2b00000000000047, duration=6.926s, table=0, npackets=4, nbytes=340, priority=100,dltype=0x88cc actions=CONTROLLER:65535

sudo ovs-ofctl dump-flows s2 -O Openflow13 (SWITCH2)

OFPSTFLOW reply (OF1.3) (xid=0x2): cookie=0x2b00000000000046, duration=11.053s, table=0, npackets=31, nbytes=4569, priority=0 actions=drop cookie=0x2b00000000000041, duration=5.076s, table=0, npackets=10, nbytes=1808, priority=2,inport=3 actions=output:2,output:1 cookie=0x2b00000000000042, duration=5.076s, table=0, npackets=1, nbytes=70, priority=2,inport=1 actions=output:2,output:3,CONTROLLER:65535 cookie=0x2b00000000000040, duration=5.076s, table=0, npackets=1, nbytes=70, priority=2,inport=2 actions=output:3,output:1,CONTROLLER:65535 cookie=0x2b00000000000045, duration=11.058s, table=0, npackets=3, nbytes=255, priority=100,dl_type=0x88cc actions=CONTROLLER:65535

sudo ovs-ofctl dump-flows s3 -O Openflow13 (SWITCH3)

OFPSTFLOW reply (OF1.3) (xid=0x2): cookie=0x2b00000000000043, duration=13.958s, table=0, npackets=33, nbytes=4962, priority=0 actions=drop cookie=0x2b00000000000045, duration=7.970s, table=0, npackets=9, nbytes=1493, priority=2,inport=3 actions=output:2,output:1 cookie=0x2b00000000000044, duration=7.970s, table=0, npackets=1, nbytes=70, priority=2,inport=1 actions=output:2,output:3,CONTROLLER:65535 cookie=0x2b00000000000043, duration=7.970s, table=0, npackets=1, nbytes=70, priority=2,inport=2 actions=output:1,output:3,CONTROLLER:65535 cookie=0x2b00000000000043, duration=13.970s, table=0, npackets=3, nbytes=255, priority=100,dl_type=0x88cc actions=CONTROLLER:65535

- HELIUM (SR3) DEFAULT FLOW ENTRIES WHEN OVS SWITCHES GET CONNECTED TO CONTROLLER

sudo ovs-ofctl dump-flows s1 -O Openflow13 (SWITCH1)

OFPSTFLOW reply (OF1.3) (xid=0x2): cookie=0x2b00000000000047, duration=6.931s, table=0, npackets=40, nbytes=7342, priority=0 actions=drop cookie=0x2b00000000000047, duration=0.957s, table=0, npackets=1, nbytes=315, priority=2,inport=1 actions=output:2,CONTROLLER:65535

cookie=0x2b00000000000046, duration=0.957s, table=0, npackets=1, nbytes=315, priority=2,inport=2 actions=output:1,CONTROLLER:65535

cookie=0x2b00000000000047, duration=6.926s, table=0, npackets=4, nbytes=340, priority=100,dltype=0x88cc actions=CONTROLLER:65535

sudo ovs-ofctl dump-flows s2 -O Openflow13 (SWITCH2)

OFPSTFLOW reply (OF1.3) (xid=0x2): cookie=0x2b00000000000046, duration=11.053s, table=0, npackets=31, nbytes=4569, priority=0 actions=drop cookie=0x2b00000000000041, duration=5.076s, table=0, npackets=10, nbytes=1808, priority=2,inport=3 ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-04-05 17:30:57 -0700

saisujithreddy gravatar image

It seems Heilum is only pushing only on eaction, but where as Lithium code base pushes two actions. The second action in helium involves in sending packet to controller also.

Two actions example :-

<action> <order>0</order> <output-action> <output-node-connector>openflow:1:2</output-node-connector> </output-action> </action> <action> <order>1</order> <output-action> <output-node-connector>CONTROLLER</output-node-connector> <max-length>65535</max-length> </output-action> </action>

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-10-15 00:28:27 -0700

Seen: 100 times

Last updated: Apr 05 '16