Peter K. Lee | f4d38d3 | 2016-07-23 02:47:38 -0700 | [diff] [blame] | 1 | module corenova-node { |
| 2 | namespace "urn:corenova:node"; |
| 3 | prefix node; |
| 4 | |
| 5 | organization |
| 6 | "Corenova Technologies, Inc."; |
| 7 | |
| 8 | contact |
| 9 | "Peter K. Lee <peter@corenova.com>"; |
| 10 | |
| 11 | description |
| 12 | "This module defines extensions to dynamically control schema node |
| 13 | display and access overlay controls"; |
| 14 | |
| 15 | feature corenova-node { |
| 16 | description |
| 17 | "this is to indicate the agent supports dynamic schema node |
Peter K. Lee | 4302f47 | 2016-07-28 03:51:39 -0700 | [diff] [blame] | 18 | link and view constraints."; |
Peter K. Lee | f4d38d3 | 2016-07-23 02:47:38 -0700 | [diff] [blame] | 19 | } |
| 20 | |
| 21 | extension link { |
| 22 | description |
Peter K. Lee | 4302f47 | 2016-07-28 03:51:39 -0700 | [diff] [blame] | 23 | "Links a new 'link-name' element to an alternate data node element in |
| 24 | the schema data tree referenced by the 'path' sub statement. It |
| 25 | can be used within 'container' or 'list' type data element to |
| 26 | hold one or more such 'links' as part of its configuration data |
| 27 | tree. The new link element becomes a 'mirror' instance of the |
| 28 | target node found in the path expression."; |
| 29 | argument link-name { |
Peter K. Lee | f4d38d3 | 2016-07-23 02:47:38 -0700 | [diff] [blame] | 30 | yin-element true; |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | extension view { |
| 35 | description |
| 36 | "Informs the interface layers that only the data nodes referenced |
| 37 | within the value argument should be made visible to the |
| 38 | consumer."; |
| 39 | argument value; |
| 40 | } |
| 41 | } |