--- /dev/null
+module vpn-rpc {\r
+ namespace "urn:opendaylight:vpnservice:vpn:rpc";\r
+ prefix "vpn-rpc";\r
+\r
+ revision "2016-02-01" {\r
+ description "VPN Service RPC Module";\r
+ }\r
+\r
+ /* RPCs */\r
+\r
+ rpc generate-vpn-label {\r
+ description "to generate label for the given ip prefix from the associated VPN";\r
+ input {\r
+ leaf vpn-name {\r
+ type string;\r
+ }\r
+ leaf ip-prefix {\r
+ type string;\r
+ }\r
+ }\r
+ output {\r
+ leaf label {\r
+ type uint32;\r
+ }\r
+ }\r
+ }\r
+\r
+ rpc remove-vpn-label {\r
+ description "to remove label for the given ip prefix from the associated VPN";\r
+ input {\r
+ leaf vpn-name {\r
+ type string;\r
+ }\r
+ leaf ip-prefix {\r
+ type string;\r
+ }\r
+ }\r
+ }\r
+}
\ No newline at end of file