MG-SOFT YANG Explorer Professional Edition
Main features and Screen shots
MG-SOFT YANG Explorer Professional Edition is special application that lets you load NETCONF YANG or YIN modules and explore their structure and properties in the intuitive graphical user interface.
The following is a brief list of the main features in MG-SOFT YANG Explorer Professional Edition.
Load and browse YANG and YIN modules|
MG-SOFT YANG Explorer lets you load any set of valid YANG 1.1 and YANG 1 modules (as well as YIN 1.1. and YIN 1 modules) and display their contents in a visual manner, where module elements are represented in a hierarchical tree structure. YANG Explorer also checks the syntax and semantics of every YANG module it loads. The hierarchy of YANG statements may be fully explored and a special property page viewed for each node. The software expands the YANG statement tree defined in the modules into an actual schema tree. This means that all uses statements are replaced with appropriate grouping contents and augment targets actually contain the augmented nodes (screen shot).
Resolve YANG module dependencies|
YANG Explorer automatically scans all new YANG and YIN modules for dependencies (imported and included modules) and lets you scan user-specified locations for the matching modules. The entire information about the "registered" modules and submodules is stored in a single place and can be viewed in the Known Modules window. The latter also enables loading modules that have many dependencies with a single click of a button, as well as keeping and loading different revisions of YANG modules (screen shot).
Exploring cross-references in YANG modules|
(Find Usages, Go to Definition, Find Leafrefs, Find Leafref References, Go to Target, etc.)
YANG Explorer offers a wealth of features that let you effectively explore references between YANG statements within one or more YANG modules and submodules. While exploring YANG modules, it is vital to be able to quickly navigate between a reference of a definition and the definition itself, for example, to be able to select an "if-feature" statement and quickly locate the definition of a matching "feature" statement. YANG Explorer offers such navigation whenever a reference exists. The software also provides a reverse functionality that lets you quickly find all usages of a definition in the loaded YANG/YIN modules, for example, to find all "if-features" that reference a specific "feature" definition. This is supported for "typedef", "grouping", "identity", "feature" and "extension" statements. 'Leafrefs' (YANG statements with the "leafref" type) are also an important concept in YANG, and the software offers a quick way to find all 'leafrefs' and their target schema nodes in a module. Furthermore, you can also select any "leaf" or "leaf-list" node in the YANG tree and search for 'leafrefs' that reference it by using the "Find Referencing Leafrefs" functionality (screen shot 1, screen shot 2).
UML class diagrams|
MG-SOFT YANG Explorer can visualize YANG 1.1 and 1.0 modules in form of a UML (Unified Modeling Language) class diagram. UML class diagram displays different types of YANG nodes as classes, with their attributes, methods and relationships (e.g., dependency, composition, inheritance, etc.). You can explore the classes and their relationships either within the scope of a single or several associated YANG modules. Furthermore, YANG Explorer lets you focus on the desired elements of YANG modules by specifying excludes (excluding specific, user-selected classes) and by setting various display options (to toggle displaying certain types of classes globally, etc.). You can zoom in and out of the UML class diagram, pan the diagram, reposition classes and connections in the diagram, print the diagram to a printer and save it as an image file for external use (screen shot).
Textual data tree view|
Since YANG may be quite complex to read and understand, it is useful to examine the data tree defined by YANG statements in form of a concise textual tree. YANG Explorer provides this functionality by utilizing the notation which is often used in IETF discussions and publications. The contents of this view changes with current selection in the YANG Tree, so you can quickly obtain the textual tree representation of an arbitrary data tree branch (screen shot).
Source file view.|
Besides displaying YANG or YIN modules' contents in a visual manner, where module elements are represented in a hierarchical tree structure, YANG Explorer now also features a view that displays the content of the YANG source file (i.e., YANG code). You can click any node or sub-node in the YANG Tree panel to view the corresponding section of the YANG source file that defines the node/statement. In addition, the built-in Find toolbar lets you quickly find a specified text phrase in the YANG source file (screen shot).
RFC 6110-based NETCONF Content Editor and Validator supporting also YANG 1.1|
The advanced NETCONF Content Editor lets you easily compose any type of NETCONF XML document and validate it using the DSDL schemas, which are automatically generated from selected YANG modules (the DSDL schema validation defined in RFC 6110 has been extended by MG-SOFT to properly support also YANG 1.1 modules). The tool contains templates for composing typical NETCONF document types like RPC requests, in particular <edit-config> request, entire configuration datastores, notifications, etc. In addition to the full-fledged XML Editor with syntax coloring and auto-complete feature (screen shot), NETCONF Content Editor supports also visual editing of XML documents. Simply right-click a node in the tree view and add/remove elements and set their values by choosing commands from the context menu (screen shot). This feature is DSDL schema aware and will offer you to add only those constructs that are valid at the given place in the document.
By default, NETCONF Content Editor automatically validates the document you are editing and displays an easy-to-understand error or warning message if any inconsistency is detected. This way, you can quickly fix all syntax and semantic inconsistencies and save the finished document to an XML file or load it into MG-SOFT NetConf Browser and send it to a NETCONF device.
Efficient Find Nodes functionality|
The Find Nodes feature lets you search through all loaded YANG/YIN modules for nodes of a specific type (e.g., a "container" or "leaf" or "description" or "config" or "base", etc.). Furthermore, you can combine the regular text search condition with the node type search condition to quickly find a node of a certain type whose argument contains a user-specified string (screen shot).
Complete YANG 1.1 and YANG 1 Validation|
YANG Explorer checks the validity of all YANG and YIN modules it loads. In addition to the syntax checking, it also checks the semantics of YANG and YIN modules. The built-in YANG validation engine has been extended to fully support all YANG 1.1 syntax and semantics (besides YANG 1), including the new statements ('action', 'anydata'), new 'XPath' functions, modified rules for 'notifications', changed lexical rules and the new submodule scoping rules, to name some of the more important changes in YANG 1.1. Furthermore, MG-SOFT YANG Explorer goes beyond the 'standard' YANG validation offered by other products on the market and performs a complete validation of XPath expression syntax and semantics in YANG 'must' and 'when' statements (screen shot).
Initial HiDPI support|
YANG Explorer GUI has been revised to properly support large font sizes in order to make the application text easily readable also on modern high pixel density displays (e.g., 4K/UHD). The application text scales properly with the system scaling setting on Windows and one can further tweak the appearance of the text and tables by using several startup parameters.
Runs on every Java(TM) enabled platform|
MG-SOFT YANG Explorer Professional Edition has been designed and developed in Java and as such it runs on every OS that has installed Java runtime environment, for example, on MS Windows, Linux, Mac OS X and Solaris operating systems (screen shot).