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


Need help with yangui wrt Ed Warnicke's ODL summit tutorial

asked 2015-08-11 15:53:27 -0700

davidmichaelkarr gravatar image

updated 2015-08-12 15:00:44 -0700

I was at the ODL Summit last month, and I attended Ed Warnicke's all-day ODL tutorial session. I was able to get through everything that was covered, although I remembered that manipulating the yangui interface to exercise the sample was not an obvious process.

I'm now trying to finish the exercise steps from the tutorial wiki that Ed wasn't able to get to, and part of the verification is exercising yangui again. I'm now finding that I can't remember the non-obvious steps I went through to exercise the sample, like registering custom greetings for a particular user name.

The wiki page for yangui doesn't really help.

In addition, to help my understanding of the underlying machinery, it would be great if I could somehow enumerate the REST API the sample plugin is providing, like what you see with a JAX-RS WADL. Does ODL provide any way to generate that?


Ed's answer helped, but I'll add some more info.

This is what I see when I navigate to "greeting-registry-entry":

image description

It seems reasonable at this point to click on the "+" next to "greeting-registry-entry list". I get the following with that:

image description

I then entered "Joe" and "Hello Joseph", and changed the operation type to PUT, and then clicked Send:

image description

That said "Request sent successfully", and then I navigated to "operations" and "hello-world", entered "Joe" in the "name" field, set the operation type to "POST":

image description

That produces the expected:

image description

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-08-12 14:31:37 -0700

hagbard gravatar image

From memory, its roughly: Browse to 'hello' -> 'config' -> 'greeting-registery' -> 'greeting-registry-entry'

And fill out the 'name' and 'greeting'. Select 'PUT' from the command list and click 'Send'.

They when you do a 'GET" against 'greeting-registry' you should see your entry.

edit flag offensive delete publish link more


Looks fine. I was doing this, but I'm guessing I must have been using POST instead. I updated the question with screenshots showing the results.

davidmichaelkarr ( 2015-08-12 15:01:49 -0700 )edit
Login/Signup to Answer

Question Tools



Asked: 2015-08-11 15:53:27 -0700

Seen: 196 times

Last updated: Aug 12 '15