# Which feature supports CONTROLLER:65535 action in Helium Karaf?

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>();


And the flow entry is:

*** s1 ------------------------------------------------------------------------
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.

Thanks,

Yi-Jung

edit retag close merge delete

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

( 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.

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

Sort by » oldest newest most voted

Hi :)

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

Regards, Faizan

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)?

( 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.

( 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.

( 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 :)

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

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.

Yi-Jung

more