Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

1

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

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

davidmichaelkarr gravatar image

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

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?

Update:

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
0

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

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

Comments

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 -0800 )edit
Login/Signup to Answer

Question Tools

Follow
2 followers

Stats

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

Seen: 178 times

Last updated: Aug 12 '15