cdc8c69c4b05b51499327a41f12103d1863a4137
[netconf.git] / restconf / restconf-nb-bierman02 / src / test / resources / datastore-and-scope-specification / sal-remote-augment.yang
1 module sal-remote-augment {
2
3     yang-version 1;
4     namespace "urn:sal:restconf:event:subscription";
5     prefix "salrmt-aug-ev-subscr";
6
7     import sal-remote {prefix salrmt; revision-date "2014-01-14";}
8
9     description
10         "Added input parameters to rpc create-data-change-event-subscription";
11
12     revision "2014-07-08" {
13     }
14
15     augment "/salrmt:create-data-change-event-subscription/salrmt:input" {
16         leaf datastore {
17             type enumeration {
18                 enum OPERATIONAL;
19                 enum CONFIGURATION;
20             }
21         }
22         leaf scope {
23             type enumeration {
24                 enum BASE;
25                 enum ONE;
26                 enum SUBTREE;
27             }
28         }
29         leaf notification-output-type {
30             type enumeration {
31                 enum JSON;
32                 enum XML;
33             }
34             default "XML";
35             description "Input parameter which type of output will be parsed on notification";
36         }
37     }
38
39 }