Menu

Tree [331ac6] master 0.8 /
 History

HTTPS access


File Date Author Commit
 glade 2015-02-07 Luis Galdos Luis Galdos [02d8fc] windows: Added support of input parameters for ...
 .gitignore 2014-11-13 Luis Galdos Luis Galdos [db2278] gitignore: Added Vim swap files to ignore
 COPYING 2014-11-08 Luis Galdos Luis Galdos [5432ca] copying: Changed incorret file permissions mode
 ChangeLog 2014-11-22 Luis Galdos Luis Galdos [93da1a] ChangeLog: Added last modifications in Settings...
 README 2014-10-19 Luis Galdos Luis Galdos [ecc99f] readme: Updated about first steps
 README.windows 2014-11-19 Luis Galdos Luis Galdos [063e92] Added Py2exec setup script for Windows binary c...
 TODO 2014-10-25 Luis Galdos Luis Galdos [55c1a0] todo: Updated with last committed changes
 create_package.sh 2014-11-08 Luis Galdos Luis Galdos [64829d] create_package: Added script for creating versi...
 dialogs.py 2015-02-07 Luis Galdos Luis Galdos [02d8fc] windows: Added support of input parameters for ...
 helper.py 2015-01-23 Luis Galdos Luis Galdos [19791c] dialogs: Added support for creating list items ...
 main.py 2015-02-07 Luis Galdos Luis Galdos [4195a3] main: Set debug flag of main module
 netconf.py 2015-02-07 Luis Galdos Luis Galdos [02d8fc] windows: Added support of input parameters for ...
 netconf_client.py 2015-02-07 Luis Galdos Luis Galdos [02d8fc] windows: Added support of input parameters for ...
 settings.py 2014-11-26 Luis Galdos Luis Galdos [49b774] settings: Expand '~' in configuration path
 settings.xml 2014-10-25 Luis Galdos Luis Galdos [5969c2] settings: Added editor tag
 setup.py 2014-11-19 Luis Galdos Luis Galdos [063e92] Added Py2exec setup script for Windows binary c...
 test.yang 2015-02-07 Luis Galdos Luis Galdos [3668f9] windows: Check for "mandatory" when creating su...
 windows.py 2015-02-07 Luis Galdos Luis Galdos [331ac6] windows: Prepared code for printing keys in tex...
 xmltree.py 2015-01-24 Luis Galdos Luis Galdos [84b603] netconf: Added method "action" for actionpoints

Read Me

README
------

This a PyGtk2 application for displaying a Yang model as a GtkTreeView.
It also allows to use a Netconf client (see [1]) for sending requests
to a remote target and displaying the response. For creating the XML
tree is required to have Pyang [2] installed on your system.

The first step is to create own application settings, you can copy the
below lines to a xml file like "settings.xml"

<?xml version="1.0" ?>
<yang_xml_settings>
  <pyang>/bin/pyang</pyang>
  <paths>/usr/include</paths>
  <netconf>/bin/netconf-console</netconf>
  <target>192.168.1.2</target>
</yang_xml_settings>

These settings can be modified with the graphical interface too, for
an initial start it doesn't matter if the values are wrong.

Now, start the application with the following line:

$ python main.py -s settings.xml &

Now with the Open button of the menubar can display a Yang model.

The two below widgets have own purposes:

left: display the status/response of Netconf requests. A request can be
sent on two different ways: Double click on the model treeview or using
the right list

right: this is a list of leafs/lists than is filled per drag&drop with
rows from the model treeview.

[1] https://github.com/tail-f-systems/JNC/blob/master/examples/2-junos/netconf-console
[2] https://code.google.com/p/pyang/

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.