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


Installation of flows fails on HP Switch with OF1.3

asked 2014-08-25 08:45:21 -0700

mario gravatar image

updated 2014-08-26 06:22:58 -0700

Hi there,

I'm having some trouble using Opendaylight with an HP 8206zl switch over Openflow version 1.3.

I've configured the switch to use OF1.3 and started Opendaylight with "opendaylight-base-0.1.1$ ./ -of13"

The switch is detected as "MD_SAL|openflow:774679839286528" but it won't accept any flows. With both, the simpleforwarder and the Web-UI (Flows > Add flow entry) it's not possible to install any flows.

The corresponding error message of the switch for "Add flow entry" (with the Web-UI) should be:

0040:23:23:01.92 OPFL eOFNetTask:RX from tcp: 0: OFPT_FLOW_MOD
   (OF 0x04) (xid=0x4db):

0040:23:23:01.92 OPFL eOFNetTask:TX to tcp: 0 : OFPT_ERROR (OF
   0x04) (xid=0x4db): OFPFMFC_EPERM
(***truncated to 64 bytes from
00000000  04 0e 00 58 00 00 04 db-00 00 00 00 00 00 00 00

Also, the switch shows periodic error messages like this:

0040:23:30:08.26 OPFL eOFNetTask:Instance:TestInstance, Failed to send Packet_Out:LOCAL
0040:23:30:13.26 OPFL eOFNetTask:RX from tcp: 0: OFPT_PACKET_OUT
   (OF 0x04) (xid=0x720): ***decode error: OFPBRC_BAD_LEN***

Any ideas what's wrong? Is is the switch or Opendaylight that's causing trouble; or is it just me, using it wrong? ;-)

Has somebody been able to use Opendaylight with an HP switch over Openflow version 1.3?

Thanks for any help. Mario

p.s. With Openflow version 1.0, Opendaylight and the switch play well together.


I've done some experimenting and, at least for flow programming, I narrowed down the problem:

The HP switch expects flow rules to be put in table 100. But the web interface seems to be limited to table 0. Using the REST interface I was able to create some flows manually.

However, this does not explain the periodic OFPT-PACKET-OUT errors.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2014-08-26 06:10:38 -0700

Madhu gravatar image

I don't think It is you :-) & it is supposed to just work. If it doesn't, we would suggest you to open a bug against openflowjava project under

You will get much faster response / fix once you open a bug with a higher priority on it.

edit flag offensive delete publish link more


Thank you for your help. Please see the update I appended to my question. However, this makes me uncertain whether to file the bug against openflowjava or the web interface..

mario ( 2014-08-26 06:22:03 -0700 )edit

You could check with wireshark if the packet out message is valid or not. If it is, file a bug on HP, if not, on ODL ;-)

Zoltán Lajos Kis ( 2014-08-26 10:41:53 -0700 )edit

Well, I'm not sure whose fault it is if ODL always tries to install rules in table 0 and HP expects the rules to be written into table 100. Does the Openflow specification says anything about that? EDIT: Oh, you meant the packet-out message! Sorry. I will have a look about that.

mario ( 2014-08-27 00:27:01 -0700 )edit
Login/Signup to Answer

Question Tools



Asked: 2014-08-25 08:45:21 -0700

Seen: 444 times

Last updated: Aug 26 '14