Ask Your Question
0

How to get the topology information with the edges between switches and hosts using REST API?

asked 2014-07-31 17:52:46 -0700

anonymous user

Anonymous

If I use the following URL:

http://localhost:8080/controller/nb/v2/topology/default/

The topology information returned consists of only the edges between switches, but not any edge between a switch and a host.

Is there another REST API that can use to get those edges (between host and switch)?

Thanks!

Yiliang

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-07-31 20:55:49 -0700

Madhu gravatar image

Yes. You can use the HostTracker REST APIs :

https://jenkins.opendaylight.org/controller/job/controller-merge/lastSuccessfulBuild/artifact/opendaylight/northbound/hosttracker/target/site/wsdocs/resource_HostTrackerNorthbound.html

The Examples in the above URL will give enough info on what to expect and how to parse the data.

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: 2014-07-31 17:52:46 -0700

Seen: 238 times

Last updated: Jul 31 '14