Ask Your Question
0

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

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

molamola gravatar image

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

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:128.59.87.124:6653 ovs-vsctl set-controller br0 tcp:128.59.87.124:6653

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 http://128.59.87.124:8181/index.html#/topology and no hosts or switches are shown, and if I perform a REST GET request with http://128.59.87.124:8181/restconf/config/opendaylight-inventory:nodes 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 http://128.59.87.124:8181/restconf/operational/network-topology:network-topology , 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
0

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

Hello,

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/
HEADER:
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
HEADER:
Content-Type: application/xml
Accept: application/xml
edit flag offensive delete publish link more
0

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

molamola gravatar image

Hi,

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.

Thanks.

edit flag offensive delete publish link more

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-07-23 16:16:37 -0700

Seen: 1,210 times

Last updated: Jul 24 '15