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


PICA8 OVS Switch - Unable to see any hosts or switches on ODL DLUX

asked 2015-07-23 16:16:37 -0800

molamola gravatar image

updated 2015-07-23 16:32:03 -0800

Hi all,

I'm currently trying to connect ODL controller to a pica8 OVS switch. I am using Lithium DLUX and the topology screen shows nothing, only a white screen.

For the OVS switch I have set the controller IP to the address of the computer with ODL lithium running using ovs-vsctl set-manager tcp: ovs-vsctl set-controller br0 tcp:

Using ovs-vsctl show, I can see "is_connected: true", and using ovs-vsctl list controller, I can see that the controller status is "state=ACTIVE".

However, I go on and no hosts or switches are shown, and if I perform a REST GET request with it says

<errors xmlns="urn:ietf:params:xml:ns:yang:ietf-restconf"> <error> <error-type>application</error-type> <error-tag>data-missing</error-tag> <error-message>Request could not be completed because the relevant data model content does not exist </error-message> </error> </errors>

If I try , I get

<network-topology xmlns="urn:TBD:params:xml:ns:yang:network-topology"> <topology> <topology-id>flow:1</topology-id> </topology> </network-topology>

Can anyone help me able to get ODL to detect the nodes in the network properly?

Thank you!

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-07-23 19:14:14 -0800


I have played a little with Pica8 switches and ODL. I remember that I had to update the switch software in order to make it work and I had problems with OF 1.4 so I downgraded to 1.3.

Also, I notice your port is 6653, do you mind trying with 6633 ?

You will not see the OF node in the network-topology, but you should in inventory. You might want to verify theses are accurate when checking for the OF nodes:

1st one (list the OF nodes):

Method: GET
URL: http://CONTROLLERIP:8181/restconf/operational/opendaylight-inventory:nodes/
Content-Type: application/xml
Accept: application/xml

2nd one (adding a flow):

Method: PUT
URL: http://CONTROLLERIP:8181/restconf/config/opendaylight-inventory:nodes/node/openflow:xxxxxxxxxxxxxx/table/0/flow/1
Content-Type: application/xml
Accept: application/xml
edit flag offensive delete publish link more

answered 2015-07-24 09:59:09 -0800

molamola gravatar image


Just figured it out. I think your clue about having trouble with OF 1.4 was the same problem I faced. I did

clear Bridge br0 protocols ovs-vsctl set Bridge br0 protocols=OpenFlow13

and now the switch shows up on DLUX.


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


Asked: 2015-07-23 16:16:37 -0800

Seen: 4,087 times

Last updated: Jul 24 '15