How to get link information with different latencies set for the links in mininet.

asked 2016-08-21 00:08:47 -0700

knv gravatar image

Hi all, When we get the links present in operational data store using topology instance identifier, the link has src node and dest node , src tp and dst tp but if we simulate a mininet topology of links having different bandwidth or latencies for each links, then is it possible to get that information into our application using topology instance identifier and getLinks function from the obtained topology or something else is to be done. The md sal link definition used by default is as per given in https://github.com/opendaylight/mdsal... .

Any help would be of great help. Thank you,

edit retag flag offensive close merge delete

Comments

I don't think that would be useful. AFAIK, the mininet bandwidths are actually from OVS, and do not represent actual link speed.

lori ( 2016-08-22 05:44:06 -0700 )edit

but I am developing an app and it is required to get the weighted graph of the network topology, but using instance identifier the openflow plugin I am able to get links without the weight informationo

knv ( 2016-08-22 06:25:25 -0700 )edit

@knv As of now, Opendaylight only has the link parameters- src node and dest node , src tp and dst tp. If you want to have other information as per your requirement then develop a corresponding YANG and the implementation to load the data into datastore.

bhavesh07 ( 2016-08-25 00:14:27 -0700 )edit

@bhavesh07 , the implementation should be done as part of the openflow plugin project right, can you be more specific of what files are to be edited or how a new project for this is to be done, how to access switch info in my project and take information as per my requirement.

knv ( 2016-08-25 07:30:05 -0700 )edit