Ask Your Question
0

problem getting nic example on wiki working

asked 2015-08-06 04:16:30 -0700

rvdpdotorg gravatar image

I am trying to get this example working:

https://wiki.opendaylight.org/view/Network_Intent_Composition:VTN_Renderer_How_To

Besides odl-nic-renderer-vtn, I installed odl-dlux-all and odl-nic-console. After the two create intent curls "intent:list says "No intents found. Check the logs for more details.". In the dlux yang ui I do see the intens in the config db (not in the oper db), i.e. they show up with GET "/config/intent:intents". There is also no connectivity between the hosts. I am using nic-karaf-1.1.0-SNAPSHOT, built as indicated on the wiki page. What am I doing wrong?

opendaylight-user@root>log:display|grep nic
2015-08-06 13:04:32,541 | INFO  | l for user karaf | FeaturesServiceImpl              | 20 - org.apache.karaf.features.core - 3.0.3 | Installing feature odl-nic-renderer-vtn 1.1.0-SNAPSHOT
2015-08-06 13:04:32,545 | INFO  | l for user karaf | FeaturesServiceImpl              | 20 - org.apache.karaf.features.core - 3.0.3 | Installing feature odl-nic-core 1.1.0-SNAPSHOT
2015-08-06 13:04:36,438 | INFO  | Event Dispatcher | BlueprintContainerImpl           | 15 - org.apache.aries.blueprint.core - 1.4.2 | Bundle org.opendaylight.nic.intentengine-cli is waiting for dependencies [(objectClass=org.opendaylight.nic.api.NicConsoleProvider)]
2015-08-06 13:04:41,796 | INFO  | l for user karaf | FeaturesServiceImpl              | 20 - org.apache.karaf.features.core - 3.0.3 | Installing feature odl-nic-console 1.1.0-SNAPSHOT
2015-08-06 13:04:41,796 | INFO  | l for user karaf | FeaturesServiceImpl              | 20 - org.apache.karaf.features.core - 3.0.3 | Installing feature odl-nic-core 1.1.0-SNAPSHOT
2015-08-06 13:05:05,381 | INFO  | config-pusher    | NicProviderModule                | 230 - org.opendaylight.nic.intentengine-impl - 1.1.0.SNAPSHOT | Creating a new NicProvider instance
2015-08-06 13:05:05,507 | INFO  | config-pusher    | NicProvider                      | 230 - org.opendaylight.nic.intentengine-impl - 1.1.0.SNAPSHOT | initIntentsOperational: operational status populated: Intents [augmentation=[]]
2015-08-06 13:05:05,507 | INFO  | config-pusher    | NicProvider                      | 230 - org.opendaylight.nic.intentengine-impl - 1.1.0.SNAPSHOT | initIntentsConfiguration: default config populated: Intents [augmentation=[]]
2015-08-06 13:05:05,508 | INFO  | config-pusher    | NicProvider                      | 230 - org.opendaylight.nic.intentengine-impl - 1.1.0.SNAPSHOT | Initialization done
2015-08-06 13:05:05,523 | INFO  | CommitFutures-0  | NicProvider                      | 230 - org.opendaylight.nic.intentengine-impl - 1.1.0.SNAPSHOT | initIntentsOperational: transaction succeeded
2015-08-06 13:07:19,117 | INFO  | l for user karaf | NicProvider                      | 230 - org.opendaylight.nic.intentengine-impl - 1.1.0.SNAPSHOT | ListIntentsConfiguration: list of intents retrieved sucessfully
opendaylight-user@root>
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2015-08-13 01:43:13 -0700

rvdpdotorg gravatar image

I was using the git clone master branch. It turns out it just works with Lithium release ( https://www.opendaylight.org/downloads ). With my mininet version (2.2.0) and OVS (2.3.90) I also needed:

# ovs-ofctl --protocols=OpenFlow13 add-flow s1 priority=0,actions=output:CONTROLLER
# ovs-ofctl --protocols=OpenFlow13 add-flow s2 priority=0,actions=output:CONTROLLER
# ovs-ofctl --protocols=OpenFlow13 add-flow s3 priority=0,actions=output:CONTROLLER

So use Lithium release and these three ovs-ofctl commands.

edit flag offensive delete publish link more
0

answered 2015-08-06 09:17:02 -0700

Hi,

If you cannot see the intents in the Operational tree, that means the renderer (in your case vtn-renderer) wasn't able to create the intents. I'm not sure you are doing something wrong, it might be a bug as the intent project is very young.

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

Question Tools

Follow
1 follower

Stats

Asked: 2015-08-06 04:16:30 -0700

Seen: 99 times

Last updated: Aug 13 '15