Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

click to hide/show revision 1
initial version

SFCOFL2 Tutorial define classifiers

Hello everyone!

I 'm trying to deploy the SFCOFL2 Tutorial which is placed in the user-guide of berrylium.

I have made it in Lithium release (because in Beryllium a RuntimeException in processRenderedServicePath was raised) and I could take the correct flows using these commands on mininet VM:

sudo ovs-ofctl -O OpenFlow13 dump-flows s2 sudo ovs-ofctl -O OpenFlow13 dump-flows s3

The mininet topology is this: sudo mn --topo linear,4 --mac --controller remote,ip=<ip>,port=<port> --switch ovsk,protocols=OpenFlow13

I think that this tutorial is missing some extra things, because the bridges s1 and s4 have no flows. As the result of this the traffic from h1 is not trasported to anyone.

I 'm using the sfcofl2 module with mpls and vlans instead of NSH encapsulation, because the NSH is not integrated yet with OVS and hence its not stable. In addition, I don't know the state of sfc_proxy because the I think it's too hard to make the services NSH aware.

Am I wrong in my opinions?

Have anyone managed to make a sfc complte demo without nsh encapsoulation, testing it with traffic?

I have seen the link:demostration of ericsson, but they are adding manualy some flows:

sudo ovs-vsctl set bridge $NODE protocols=OpenFlow10,OpenFlow11,OpenFlow12,OpenFlow13 sudo ovs-ofctl -O Openflow13 add-flow $NODE "table=0,priority=10,inport=1,dltype=0x0800,nwproto=6,tpdst=80,actions=move:NXMOFETHDST[0..31]->NXMNXREG0[],move:NXMOFETHDST[32..47]->NXMNXREG1[0..15],move:NXMOFETHSRC[]->NXMOFETHDST[],move:NXMNXREG0[0..31]->NXMOFETHSRC[0..31],move:NXMNXREG1[0..15]->NXMOFETHSRC[32..47],inport" sudo ovs-ofctl -O Openflow13 add-flow $NODE "table=0,priority=10,inport=1,dltype=0x0800,nwproto=6,tpsrc=80,actions=move:NXMOFETHDST[0..31]->NXMNXREG0[],move:NXMOFETHDST[32..47]->NXMNXREG1[0..15],move:NXMOFETHSRC[]->NXMOFETHDST[],move:NXMNXREG0[0..31]->NXMOFETHSRC[0..31],move:NXMNXREG1[0..15]->NXMOFETHSRC[32..47],inport" sudo ovs-ofctl -O Openflow13 add-flow $NODE "table=0,priority=1,actions=drop"

The flows above are using NSH encapsulation, as I understand.

Is there any problem with the Services Functions which are not NSH aware?

I 'm litle bit confused.. :(

Any help would be appreciated! Regards

SFCOFL2 Tutorial define classifiers

Hello everyone!

I 'm trying to deploy the SFCOFL2 Tutorial which is placed in the user-guide of berrylium.

I have made it in Lithium release (because in Beryllium a RuntimeException in processRenderedServicePath was raised) and I could take the correct flows using these commands on mininet VM:

sudo ovs-ofctl -O OpenFlow13 dump-flows s2 sudo ovs-ofctl -O OpenFlow13 dump-flows s3

The mininet topology is this: sudo mn --topo linear,4 --mac --controller remote,ip=<ip>,port=<port> --switch ovsk,protocols=OpenFlow13

I think that this tutorial is missing some extra things, because the bridges s1 and s4 have no flows. As the result of this the traffic from h1 is not trasported to anyone.

I 'm using the sfcofl2 module with mpls and vlans instead of NSH encapsulation, because the NSH is not integrated yet with OVS and hence its not stable. In addition, I don't know the state of sfc_proxy because the I think it's too hard to make the services NSH aware.

Am I wrong in my opinions?

Have anyone managed to make a sfc complte demo without nsh encapsoulation, testing it with traffic?

I have seen the link:demostration of ericsson, but they are adding manualy some flows:

sudo ovs-vsctl set bridge $NODE protocols=OpenFlow10,OpenFlow11,OpenFlow12,OpenFlow13 sudo ovs-ofctl -O Openflow13 add-flow $NODE "table=0,priority=10,inport=1,dltype=0x0800,nwproto=6,tpdst=80,actions=move:NXMOFETHDST[0..31]->NXMNXREG0[],move:NXMOFETHDST[32..47]->NXMNXREG1[0..15],move:NXMOFETHSRC[]->NXMOFETHDST[],move:NXMNXREG0[0..31]->NXMOFETHSRC[0..31],move:NXMNXREG1[0..15]->NXMOFETHSRC[32..47],inport" sudo ovs-ofctl -O Openflow13 add-flow $NODE "table=0,priority=10,inport=1,dltype=0x0800,nwproto=6,tpsrc=80,actions=move:NXMOFETHDST[0..31]->NXMNXREG0[],move:NXMOFETHDST[32..47]->NXMNXREG1[0..15],move:NXMOFETHSRC[]->NXMOFETHDST[],move:NXMNXREG0[0..31]->NXMOFETHSRC[0..31],move:NXMNXREG1[0..15]->NXMOFETHSRC[32..47],inport" sudo ovs-ofctl -O Openflow13 add-flow $NODE "table=0,priority=1,actions=drop"

The flows above are using NSH encapsulation, as I understand.

Is there any problem with the Services Functions which are not NSH aware?

I 'm litle bit confused.. :(

Any help would be appreciated! Regards