Ask Your Question
0

Group flow information successfully written out to the rest interface but it is not being written out to the switch

asked 2014-06-05 15:51:56 -0700

CobyS gravatar image

updated 2014-06-05 16:01:38 -0700

I am trying to write a flow out to a switch that contains a group. The group flow is written successfully to the rest interface and is stored there. However, it is not making it out to the switch. I know for sure that the switch supports Open flow 1.3 and groups.

Here is the rest group information:

<group><group-type>group-ff</group-type><buckets><bucket><watch_group>0</watch_group><watch_port>3</watch_port><weight>0</weight><action><order>0</order><output-action><max-length>65535</max-length><output-node-connector>openflow:956887467521:3</output-node-connector></output-action></action><bucket-id>1</bucket-id></bucket><bucket><watch_group>0</watch_group><watch_port>2</watch_port><weight>0</weight><action><order>0</order><output-action><max-length>65535</max-length><output-node-connector>openflow:956887467521:2</output-node-connector></output-action></action><bucket-id>0</bucket-id></bucket></buckets><group-id>0</group-id></group>

.. and here is the flow which associates the group..

<flow><match><ethernet-match><ethernet-type><type>2048</type></ethernet-type><ethernet-destination>
00:00:00:00:02:01
</ethernet-destination><ethernet-source>
00:00:00:00:01:01
</ethernet-source></ethernet-match><in-port>1</in-port></match><idle-timeout>0</idle-timeout><hard-timeout>0</hard-timeout><flow-name>groupedFlow</flow-name><id>956887467521123</id><instructions><instruction><apply-actions><action><group-action><group-id>0</group-id></group-action><order>0</order></action></apply-actions><order>0</order></instruction></instructions><table_id>0</table_id><out_group>1</out_group><priority>500</priority><flags><buffer_id>0</buffer_id></flags></flow>

tc@box:~$ sudo ovs-ofctl -O OpenFlow13 dump-flows br0 OFPST_FLOW reply (OF1.3) (xid=0x2): tc@box:~$

I am also getting this error in my OSGi console which I am trying to make sense of because I know the switch is running the correct OF version.

PDT [nioEventLoopGroup-11-2] WARN o.o.o.p.impl.core.OFVersionDetector - detected version: 0 - currently not supported 2014-06-05 15:10:50.711 PDT [nioEventLoopGroup-11-2] WARN o.o.o.p.impl.core.OFVersionDetector - detected version: 0 - currently not supported 2014-06-05 15:10:50.711 PDT [nioEventLoopGroup-11-2] WARN o.o.o.p.impl.core.OFVersionDetector - detected version: 46 - currently not supported 2014-06-05 15:10:50.711 PDT [nioEventLoopGroup-11-2] WARN o.o.o.p.impl.core.OFVersionDetector - detected version: 0 - currently not supported 2014-06-05 15:10:50.714 PDT [nioEventLoopGroup-11-2] WARN o.o.o.p.impl.core.OFVersionDetector - detected version: 0 - currently not supported 2014-06-05 15:10:50.714 PDT [nioEventLoopGroup-11-2] WARN o.o.o.p.impl.core.OFVersionDetector - detected version: 51 - currently not supported 2014-06-05 15:10:50.714 PDT [nioEventLoopGroup-11-2] WARN o.o.o.p.impl.core.OFVersionDetector - detected version: 0 - currently not supported 2014-06-05 15:10:50.715 PDT [nioEventLoopGroup-11-2] WARN o.o.o.p.impl.core.OFVersionDetector - detected version: 0 - currently not supported 2014-06-05 15:10:50.715 PDT [nioEventLoopGroup-11-2] WARN o.o.o.p.impl.core.OFVersionDetector - detected version: 56 - currently not supported 2014-06-05 15:10:50.715 PDT [nioEventLoopGroup-11-2] WARN o.o.o.p.impl.core.OFVersionDetector - detected version: 0 - currently not supported 2014-06-05 15:10:50.715 PDT [nioEventLoopGroup-11-2] WARN o.o.o.p.impl.core.OFVersionDetector - detected version: 0 - currently not supported 2014-06-05 15:10:50.715 PDT [nioEventLoopGroup-11-2] WARN o.o.o.p.impl.core.OFVersionDetector - detected version: 61 ... (more)

edit retag flag offensive close merge delete

Comments

Hello, what distribution are you running ? Isn't it hydrogen release distribution ?

Michal Polkorab ( 2014-06-06 05:53:36 -0700 )edit

Hi, It is the distribution provided in the learning switch example on the ODL website. Here is a link to the sample page. https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:MD-SAL_App_Tutorial The distribution is titled "Opendaylight Base Edition snapshot" toward the bottom of the page. Here is the link. http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/distributions-base/ I don't believe it is the hydrogen release distribution but I could be wrong. I am building against the jar versions in this distribution and then adding my jar to the distribution.

CobyS ( 2014-06-08 16:33:13 -0700 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-06-12 09:07:16 -0700

CobyS gravatar image

This issue was resolved by using a later version of the jars. I used version 1.1 instead of 1.0 and the group programming worked.

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

Question Tools

Follow
3 followers

Stats

Asked: 2014-06-05 15:51:56 -0700

Seen: 305 times

Last updated: Jun 12 '14