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

rvdpdotorg's profile - activity

2015-11-04 11:01:44 -0800 received badge  Famous Question (source)
2015-10-07 10:37:42 -0800 answered a question Lithium: see/add/remove flow rules dlux

I install the features odl-dlux-all and odl-openflowplugin-flow-services-ui

You should see the Yang UI in dlux now. Expand the opendaylight-inventory menu. For configuring expand the config menu. For retrieving information use the operational menu.

An easy way to test if this is working for you is to retrieve node information. Navigate to / click on operational -> nodes

Below in path you'll see:

/operational/opendaylight-inventory:nodes

GET is selected. Click on send. You should see a list of your openflow switches returned.

Configuring a flow is more tricky. You need to get all fields correct. Navigate to:

config -> nodes -> node {id} -> table {id} -> flow {id}

Fill in your openflow switch name for node, 0 for table and choose a flow (sequence) number, e.g. 5 (must be unique for each entry). You should select PUT now. Click on + (add item). Expand match. Fill in a number for in-port, e.g. 42. At the bottom you need to insert the table number again (table_id). Click put and you should see a flow entry like:

cookie=0x0, duration=7.384s, table=0, npackets=n/a, nbytes=0, in_port=42 actions=drop

This interface is useful to explore flow syntax. When you have figured out the correct syntax, you can use the "Show preview" to look at the json string. This string can be used with any REST client, e.g. curl or postman. For postman: as URL you need to use:

IP-adres:8181/restconf/config/opendaylight-inventory:nodes/node/openflow:1/flow-node-inventory:table/0/flow/5

Content-type: application/json

Accept: application/json

Basic Auth: admin/admin

Use JSON and paste the string in the body part. Clicking send should do the trick now. Hope this helps you get started.

2015-08-13 09:53:12 -0800 received badge  Teacher (source)
2015-08-13 09:53:12 -0800 received badge  Self-Learner (source)
2015-08-13 09:52:41 -0800 received badge  Notable Question (source)
2015-08-13 01:43:13 -0800 answered a question problem getting nic example on wiki working

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.

2015-08-10 10:24:02 -0800 received badge  Popular Question (source)
2015-08-06 04:16:30 -0800 asked a question problem getting nic example on wiki working

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>