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


input a mac in opendaylight

asked 2016-01-21 01:20:59 -0700

pameligo gravatar image

hey all

i want to write a programm which will take an input of a mac address and then will search if this mac exists in opendaylight inventory.I want to ask if there is any easy way to give an input to opendaylight without write a yang.


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-01-21 07:24:13 -0700

karthik330 gravatar image

I think without Yang you cannot fetch details from MD-SAL data store (Operational/config). In your case ,If you dont want to write any yang , but you need to check the mac , the option which i guess is "Get the topology details from the controller using restonf" and you can easily check the mac with the topology whether it is existing or not .

edit flag offensive delete publish link more


yes, unless you need something internal (e.g., java app) you can write an external app polling restconf operational and searching the response for your mac address. There are even ways to register a listener externally and receive notifications if you don't want to poll

jamoluhrsen ( 2016-01-21 15:05:00 -0700 )edit
Login/Signup to Answer


Asked: 2016-01-21 01:20:59 -0700

Seen: 22 times

Last updated: Jan 21 '16