Khen Nursimulu | f8abbc9 | 2016-11-04 19:56:45 -0400 | [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 |
| 18 | link and view constraints."; |
| 19 | } |
| 20 | |
| 21 | extension link { |
| 22 | description |
| 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 { |
| 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 | } |