Ask Your Question
0

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.

thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

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

Comments

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

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: 2016-01-21 01:20:59 -0700

Seen: 19 times

Last updated: Jan 21 '16