Ask Your Question
0

Problem with DLUX interface

asked 2015-02-05 07:52:24 -0700

Luca gravatar image

Hi, I'm using Opendaylight Helium controller and I'd like to add some new flows. I'm able to access the DLUX interface and see the topology that I created with mininet. Can anyone explain me the steps to add a flow ?

Thanks, Luca

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
0

answered 2015-02-24 10:58:45 -0700

Nuno gravatar image

See if this helps

https://ask.opendaylight.org/question/2198/dlux-gui-issue-adddelete-flows/?answer=2574#post-id-2574

Regards, Nuno B.

edit flag offensive delete publish link more
0

answered 2015-03-16 07:39:03 -0700

Luca gravatar image

Yes, thank you Nuno, now I can add/delete flows in my network

Luca

edit flag offensive delete publish link more

Comments

Glad I could help. Regards, Nuno B.

Nuno ( 2015-03-16 08:32:08 -0700 )edit
0

answered 2015-03-19 04:19:42 -0700

heena gravatar image

while trying to

feature:install odl-adsal-all Error executing command: Error resolving artifact org.apache.aries.transaction:org.apache.aries.transaction.blueprint:jar:1.0.1: Could not transfer artifact org.apache.aries.transaction:org.apache.aries.transaction.blueprint:jar:1.0.1 from/to central ( http://repo1.maven.org/maven2/ ): Error transferring file: Connection timed out opendaylight-user@root>feature:install odl-adsal-northbound Error executing command: Error resolving artifact org.apache.aries.transaction:org.apache.aries.transaction.blueprint:jar:1.0.1: Could not transfer artifact org.apache.aries.transaction:org.apache.aries.transaction.blueprint:jar:1.0.1 from/to central ( http://repo1.maven.org/maven2/ ): Error transferring file: Connection timed out

edit flag offensive delete publish link more

Comments

@Luca any idea what is rest API to get shortest path between two switches?

heena ( 2015-03-25 03:36:11 -0700 )edit

Hi Heena, no I din't tried that, by now I don't know in which way you can find it, sorry. Luca

Luca ( 2015-03-26 03:36:17 -0700 )edit
0

answered 2015-03-19 04:27:20 -0700

heena gravatar image

updated 2015-03-19 04:30:36 -0700

@Luca

i am using mozzila Rest Client pluggin to add flow in switches created using mininet. Below is Request xml used on URL http://10.19.10.194:8181/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/0/flow/1 -

<flow xmlns="urn:opendaylight:flow:inventory"> <priority>32</priority> <flow-name>neha</flow-name> <match> <ethernet-match> <ethernet-type> <type>2048</type> </ethernet-type> </ethernet-match> <ipv4-destination>10.0.10.2/24</ipv4-destination> </match> <id>1</id> <table_id>0</table_id> <instructions> <instruction> <order>0</order> <apply-actions> <action> <order>0</order> <dec-nw-ttl> </dec-nw-ttl></action> </apply-actions> </instruction> </instructions> </flow>

While post the request i ma getting below error -

<errors xmlns="urn:ietf:params:xml:ns:yang:ietf-restconf"> <error> <error-type>protocol</error-type> <error-tag>invalid-value</error-tag> <error-message>Data schema node was not found for flow</error-message> </error> </errors>

Can you please help me with Request xml/json parameters, i am struggling even in creating a simple flow.

Regards, Neha Wadhawan

edit flag offensive delete publish link more

Comments

Hi Neha, your request seems to be correct. I encountered some problems using chrome/mozilla plugins so I'm using "curl" to add/delete flows. Try to send the same request with curl, it should work. Regards, Luca

Luca ( 2015-03-19 07:13:49 -0700 )edit

@Luca its working for me now with Java Code, Postman pluggin in chrome, curl command. thanks.

heena ( 2015-03-25 03:34:28 -0700 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Stats

Asked: 2015-02-05 07:52:24 -0700

Seen: 291 times

Last updated: Mar 19 '15