Skip to content
Pravin Gohite edited this page Oct 4, 2015 · 1 revision

Admin Tasks

Admin page provides user interface to create user accounts, device profiles and collections.

Creating User Account (optional):

Creating user account is optional as you can use default guest/guest login, however creating user account can be userful if you have a shared yang-explorer installtion.

  • Click Admin button in YangExplorer
  • Login as admin (user: admin, password: admin)
  • On admin page, click Users link
  • On User Profiles page, click Add user link (top-right)
  • Add user account info and click Save (Warning: passwords are transmitted in plaintext)
Creating Device Profiles:

Device profiles can be created to quickly populate device info from drop-down list in yang-explorer.

Note: You can use default user login (guest/guest)

  • Click Admin button in YangExplorer
  • Login login as guest or your own login
  • On admin page, click Device profiles link
  • On User Profiles page, click Add device profiles link (top-right)
  • Add device credentials (device login info is not secured)
    • Add netconf credentials (Required for connecting to netconf server)
    • Add restconf credentials (Not used currently)
  • click Save
Creating Collection:

Collections can be used to save user generated RPCs on the server so that saved RPCs can be re-used.

Note: You can use default user login (guest/guest)

  • Click Admin button in YangExplorer
  • Login login as guest or your own login
  • On admin page, click Collections link
  • On User Profiles page, click Add collection link (top-right)
    • Provide collection name
    • Select User from drop-down box
    • Provide description for this collection
  • click Save

Work Flow

Login:

YangExplorer uses user accounts to manage workspaces. You can create a user account using admin page (See 5.2.1 Creating User Account)

You can use guest login (guest/guest) or newly created account. alt tag

Exploring Models:
Adding/Deleing Yang Models:

alt tag

  • Click Manage tab
  • Click Upload button
    • Click Browse and select models to upload
    • Click Upload
    • Clear button can be used clear models in upload window
  • Click Subscribe & Un-subscribe buttons to make selected models visible/invisible in exploerer area
  • Click Delete button to delete selected models from user account
Creating RPCs:

You can explore yang models in explorer area (left pane) using tree navigation: alt tag

  • Value and Operation columns in explorer area are editable.
  • Explore model in explorer area by navigating model tree
  • Click value cell next to data node (leaf, container etc)
  • Edit values
    • Select <get> and <get-config> for get, get-config netconf operations
    • Select <rpc> for RPCs
    • Enter data values for edit-config operation
    • Use Reset button on top-right bar to reset data in the model tree
  • Click RPC button
Executing RPCs:
  • Create RPC using 5.3.4
  • Populate Device info in Device Settings Tab
  • Click Run
Saving RPCs to Collection:
  • Create RPC using 5.3.4
  • Click Save
Loading saved RPC:
  • Click Collections Tab
  • Double click on the RPCs title you want to load.