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

0

Node not showing in ODL topology UI.

asked 2014-10-02 09:43:56 -0800

anu.nair gravatar image

updated 2014-10-02 14:07:40 -0800

I manually added a node in ODL inventory ( as part of manual discovery) and the same information is added to network topology also. But this node is not showing up in ODL topology. ( does the network topoplogy have to be in operational store always ?? ) .

See the RESTCONF response. GET http://xxxxx:8080/restconf/config/network-topology:network-topology/ { "network-topology": { "topology": [ { "topology-id": "global", "node": [ { "node-id": "MY-Node-Added-1" } ] } ] } }

I see ODL opulates the Node in UI from TopologyManager (TOPOHOSTSDB = "topologymanager.hostsDB";). Do I need to manually add this node there to see in ODL topology.

Where is the network-topology nodes used in UI ?

Update UI call on topology org.opendaylight.controller.topology.web.Topology public Collection<map<string, object="">> getLinkData .. calls Map<node, set<edge="">> nodeEdges = topologyManager.getNodeEdges(); Map<node, set<nodeconnector="">> hostEdges = topologyManager.getNodesWithNodeConnectorHost(); List<switch> nodes = switchManager.getNetworkDevices()</switch></node,></node,></map<string,>

Server

package org.opendaylight.controller.sal.compatibility.topology; TopologyAdapter This is where there is sollicitRefresh() which will do a node edge update

This is called by startup on package org.opendaylight.controller.topologymanager.internal; TopologyManagerImpl Started() {..topoService.sollicitRefresh();}

Note SwitchManager Node is not the Node in network topology model. This is a concrete pojo.

Do I need to put my node in nodeEdges , hostedges or nodes (switch manager) ?? Any inputs appreciated.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-11-14 06:34:13 -0800

Tony Tkacik gravatar image

The UI to which you are referening is AD-SAL UI, which supports only one Openflow topology. From what I deducted in you manually created new topology in MD-SAL with your nodes.

As far as I am aware there is no MD-SAL appliucation supporting manually /user-supplied/ created topologies in Hydrogen and in Helium release.

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

Question Tools

Follow
1 follower

Stats

Asked: 2014-10-02 09:43:56 -0800

Seen: 1,004 times

Last updated: Nov 14 '14