Skip to content
Pravin Gohite edited this page Oct 4, 2015 · 2 revisions

Yang Explorer Wiki

Overview

Yang Explorer is an open source web application which provides a web based user interface to

  • Browse yang data models
  • Create netconf rpc payload
  • Execute netconf RPCs
  • Save RPCs to collections

User interface is written in Apache Flex while server is implemented using python based Django web framework.

License

Copyright 2015, Cisco Systems, Inc

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

System Requirements

  • OS: Mac OS, Linux
  • Python 2.7.x
  • Browser with latest flash plugin (Recommended: google chrome)

Installation

#####Installing prerequisite:

   git clone https://github.com/mbj4668/pyang.git
   cd pyang
   [sudo] python setup.py install
  • virtualenv
   Ubuntu: sudo apt-get install virtualenv
   MAC: sudo pip install virtualenv

#####Installing yang-explorer:

   git clone https://github.com/CiscoDevNet/yang-explorer.git
   cd yang-explorer
   bash setup.sh
   If you get installation error for missing python.h or xmlversion.h try installing
   dependency packages:
   
   Ubuntu: sudo apt-get install libxml2-dev libxslt1-dev python-dev

Running YangExplorer

#####Start Server:

   cd <install-root>/yang-explorer
   ./start.sh

#####Start Explorer:

   http://localhost:8088/static/YangExplorer.html

Developers Guide

TBD