Merge "BUG-692 Replace strings with ModifyAction enum"
[controller.git] / opendaylight / md-sal / sal-test-model / src / main / yang / opendaylight-test-routed-rpc.yang
1 module opendaylight-test-routed-rpc {
2     yang-version 1;
3     namespace "urn:opendaylight:params:xml:ns:yang:controller:md:sal:test:rpc:routing";
4     prefix "rpc";
5     import yang-ext { prefix ext; }
6
7     description
8         "Test model for testing of registering rpc service on binding independent mount point 
9         and retrieving rpc service via binding aware mount point.";
10
11     revision "2014-07-01" {
12         description
13             "Initial revision";
14     }
15
16     identity test-context {
17         description "Test Context";
18     }
19     
20     typedef encapsulated-route {
21         type instance-identifier;
22     }
23     
24     grouping route-in-grouping {
25         leaf route {
26             type instance-identifier;
27             ext:context-reference test-context;
28         }
29     }
30     
31     grouping encapsulated-route-in-grouping {
32         leaf route {
33             type encapsulated-route;
34             ext:context-reference test-context;
35         }
36     }
37
38     rpc routed-simple-route {
39         input {
40             leaf route {
41                 type instance-identifier;
42                 ext:context-reference test-context;
43             }
44         }
45     }
46 }