Bump versions by 0.1.0 for next dev cycle
[vpnservice.git] / vpnmanager / vpnmanager-api / src / main / yang / vpn-rpc.yang
1 module vpn-rpc {\r
2     namespace "urn:opendaylight:vpnservice:vpn:rpc";\r
3     prefix "vpn-rpc";\r
4 \r
5     revision "2016-02-01" {\r
6         description "VPN Service RPC Module";\r
7     }\r
8 \r
9     /* RPCs */\r
10 \r
11     rpc generate-vpn-label {\r
12         description "to generate label for the given ip prefix from the associated VPN";\r
13         input {\r
14             leaf vpn-name {\r
15                 type string;\r
16             }\r
17             leaf ip-prefix {\r
18                 type string;\r
19             }\r
20         }\r
21         output {\r
22             leaf label {\r
23                 type uint32;\r
24             }\r
25         }\r
26     }\r
27 \r
28     rpc remove-vpn-label {\r
29         description "to remove label for the given ip prefix from the associated VPN";\r
30         input {\r
31             leaf vpn-name {\r
32                 type string;\r
33             }\r
34             leaf ip-prefix {\r
35                 type string;\r
36             }\r
37         }\r
38     }\r
39 }