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


Which feature supports CONTROLLER:65535 action in Helium Karaf?

asked 2015-02-11 02:25:47 -0800

yijung0325 gravatar image

updated 2015-02-11 17:58:19 -0800

Dear experts,

My ODL version is Helium-SR2, and the features I have already installed are odl-openflowplugin-all, odl-adsal-all, odl-adsal-compatibility-all, and odl-nsf-all. I am trying to port my bundle from Helium base (i.e., Equinox) to Helium Karaf. My bundle could successfully work in Helium base of "controller" project, and my code is implemented by AD-SAL. Here is part of my code:

List<Action> actions = new LinkedList<Action>();
actions.add(new Controller());
actions.add(new Output(port1));

And the flow entry is:

*** s1 ------------------------------------------------------------------------
NXST_FLOW reply (xid=0x4): 
cookie=0x0, duration=1.233s, table=0, n_packets=0, n_bytes=0, idle_age=1, priority=10,ip, actions=output:2

I find that the CONTROLLER:65535 is not written to the flow table of my OVS even though actions.add(new Controller()) is included in my code. Could you experts kindly tell me which feature I should install to support the CONTROLLER:65535 action? If you need some other information, such as log, please let me know.



edit retag flag offensive close merge delete


@faizen I am so sorry about annoying you because of the discussion under your post.

yijung0325 ( 2015-02-11 02:27:42 -0800 )edit

Not an issue really :) It just good practice to post solutions as answer and quarries in commants.

faizan ( 2015-02-11 08:41:18 -0800 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2015-02-11 08:41:02 -0800

faizan gravatar image

Hi :)

try, feature:install odl-flow-services and feature:install odl-flow-model too.

Regards, Faizan

edit flag offensive delete publish link more


Thanks @faizan, but the two features are already installed (they might be included in odl-openflowplugin-all). Should I modify my code or install other feature(s)?

yijung0325 ( 2015-02-11 18:06:33 -0800 )edit

@yijung0325 Hi, Sry for late reply, It is hard to tell where is the problem, my first guess was that your flow is not able to reach to swtich because of some missing bundles/features install. This seems it need debugging.

faizan ( 2015-02-15 21:12:07 -0800 )edit

Thanks @faizan. So, do you have any idea how to debug? Or could you give me a hint to let me try your idea and then I immediately report ODL logs or wireshark logs to you? Thanks again.

yijung0325 ( 2015-02-15 22:53:07 -0800 )edit

If i am correct you wanted to push a flow on a switch ? Did you create FlowEntry ?? and installFlowEntry ?? I recommend put some Log/prints in your code and see if you are getting expected values inside your code flow. Good luck :)

faizan ( 2015-02-15 23:23:24 -0800 )edit

answered 2015-02-15 23:51:51 -0800

yijung0325 gravatar image

Thanks @faizan. Yes, you're right. I want to push a flow to an OVS, and everything is good except the CONTROLLER:65535 action. As shown in my question, the match field is correct, and the action should include "CONTROLLER" and "OUTPUT;" however, I don't find the CONTROLLER action. In my ODL log, there is an error msg, and I don't know if it matters.

2015-02-16 14:56:43,585 | INFO  | 5/ODL_EXE/deploy | bundle                           | 276 - org.apache.aries.spifly.dynamic.bundle - 1.0.0 | No 'SPI-Provider' Manifest header. Skipping bundle: org.opendaylight.controller.myapp

2015-02-16 14:56:47,952 | INFO  | nerImpl@3497ab9a | OSGI2SLF4J                       | 260 - org.opendaylight.controller.logging.bridge - 0.4.4.Helium-SR2 | Bundle:org.apache.aries.spifly.dynamic.bundle Message:No 'SPI-Provider' Manifest header. Skipping bundle: org.opendaylight.controller.switchmanager.implementation

The error msg said No SPI-Provider Manifest header. Skipping bundle. Does it matter and might it be the root cause? Thanks again.


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

Question Tools

1 follower


Asked: 2015-02-11 02:25:47 -0800

Seen: 1,348 times

Last updated: Feb 15 '15