Download Visual YANG Designer - MG
Transcript
MG-SOFT YANG Designer User Manual Introduction TABLE OF CONTENTS 1 Introduction .............................................................................................................7 1.1 2 Product Description.........................................................................................................7 Install Visual YANG Designer Professional Edition .............................................9 2.1 Requirements..................................................................................................................9 2.1.1 2.1.2 2.1.3 2.2 Installing Visual YANG Designer ..................................................................................10 2.2.1 2.2.2 2.2.3 3 Windows Operating System ..................................................................................................9 Linux Operating System ........................................................................................................9 Mac OS X Operating System ..............................................................................................10 Windows Operating System ................................................................................................10 Linux Operating System ......................................................................................................11 Mac OS X Operating System ..............................................................................................12 Start Visual YANG Designer Professional Edition .............................................13 3.1 Starting Visual YANG Designer ....................................................................................13 3.1.1 3.1.2 3.1.3 3.2 Windows Operating System ................................................................................................13 Linux Operating System ......................................................................................................13 Mac OS X Operating System ..............................................................................................13 Visual YANG Designer Desktop ...................................................................................14 3.2.1 Two Modes of Operation: Design Mode and Source Mode ................................................14 Design Mode ................................................................................................................................ 15 Source Mode ................................................................................................................................ 16 4 Apply License Key ................................................................................................19 5 Design New YANG Module in Design Mode ....................................................... 20 5.1 Creating a New Module ................................................................................................20 5.1.1 Adding Nodes to a New Module ..........................................................................................25 Filtering Components in the Components Panel (Components Tab) ............................................. 26 Building a YANG Schema Tree..................................................................................................... 28 5.2 Importing Modules ........................................................................................................32 5.2.1 5.2.2 5.3 Creating a Submodule ..................................................................................................39 5.3.1 5.4 6 Adding Nodes to a Submodule............................................................................................41 Saving Modules ...........................................................................................................42 Design New YANG Module in Source Mode ....................................................... 43 6.1 6.2 6.3 Switching to Source Mode ............................................................................................43 Creating a New Module in Source Mode ......................................................................43 Using YANG Source Editor...........................................................................................44 6.3.1 6.3.2 6.3.3 6.3.4 6.3.5 6.3.6 6.3.7 6.3.8 6.3.9 7 Using Nodes from Imported Modules ..................................................................................35 Copying Nodes from Imported Modules..............................................................................38 Syntax Coloring and Pretty Print Formatting .......................................................................44 Writing YANG Code and Using Auto-Complete Feature.....................................................45 Using Undo/Redo and Go to Last Edit Location Functions.................................................46 Committing Changes ...........................................................................................................47 Saving Changes ..................................................................................................................47 Inserting Comments ............................................................................................................49 Using Find Usages Feature.................................................................................................50 Using Go to Definition Feature ............................................................................................51 Using the Find/Replace Text Feature..................................................................................53 Open Existing YANG Modules for Editing ..........................................................56 3