How to do it...
Perform the following steps:
- Start your OpenDaylight distribution using the karaf script. Using this client will give you access to the Karaf CLI:
$ ./bin/karaf
- Install the user-facing feature responsible to pull in all dependencies needed to use YANGUI:
opendaylight-user@root>feature:install odl-dlux-yangui
It might take a minute or so to complete the installation.
- Navigate to http://localhost:8181/index.html#/yangui/index:
- Username: admin
- Password: admin
Once logged in, all modules will be loaded until you see this message at the bottom of the screen:
Loading completed successfully
You should see the API tab listing all YANG models in the following format:
<module-name> rev.<revision-date>
For instance:
- cluster-admin rev.2015-10-13
- config rev.2013-04-05
- credential-store rev.2015-02-26
By default, there isn't much you can do with the provided YANG models. So let's connect an OpenFlow switch to better understand how to use this YANGUI. To do so, please refer to the first recipe, Connecting OpenFlow switches, step 2.
Once done, refresh your web page to load newly added modules.
- Look for opendaylight-inventory rev.2013-08-19 and select the operational tab, as nothing will yet be in the config data store. Then click on nodes and you'll see a request bar at the bottom of the page with multiple options.
You can either copy the request to the clipboard to use it in your browser, send it, show a preview of it, or define a custom API request.
For now, we will only send the request.
You should see Request sent successfully and under this message should be the retrieved data. As we only have one switch connected, there is only one node. All the switch operational information is now printed on your screen.
- Learning Single:page Web Application Development
- INSTANT MinGW Starter
- 編程與類型系統(tǒng)
- 零基礎(chǔ)學(xué)C語言第2版
- Angular應(yīng)用程序開發(fā)指南
- scikit-learn Cookbook(Second Edition)
- Scrapy網(wǎng)絡(luò)爬蟲實戰(zhàn)
- Mastering ASP.NET Core 2.0
- INSTANT PLC Programming with RSLogix 5000
- 系統(tǒng)分析師UML用例實戰(zhàn)
- Getting Started with Hazelcast
- A/B 測試:創(chuàng)新始于試驗
- 程序員超強大腦
- Hadoop MapReduce v2 Cookbook(Second Edition)
- Mastering VMware Horizon 6