--- /dev/null
+module fib-rpc {\r
+ namespace "urn:opendaylight:vpnservice:fib:rpc";\r
+ prefix "fib-rpc";\r
+\r
+ import ietf-inet-types {\r
+ prefix inet;\r
+ revision-date "2010-09-24";\r
+ }\r
+\r
+ import opendaylight-flow-types {\r
+ prefix offlow;\r
+ revision-date "2013-10-26";\r
+ }\r
+\r
+ revision "2016-01-21" {\r
+ description "FIB Servicer RPC Module";\r
+ }\r
+\r
+ /* RPCs */\r
+\r
+ rpc create-fib-entry {\r
+ description "to install FIB/LFIB/TST routes on specified dpn with given instructions";\r
+ input {\r
+ leaf source-dpid {\r
+ type uint64;\r
+ }\r
+ leaf vpn-name {\r
+ type string;\r
+ }\r
+ leaf service-id {\r
+ type uint32;\r
+ }\r
+ leaf ip-address {\r
+ type string;\r
+ }\r
+ uses offlow:instruction-list;\r
+ }\r
+ }\r
+\r
+ rpc remove-fib-entry {\r
+ description "to remove FIB/LFIB/TST routes from specified dpn";\r
+ input {\r
+ leaf source-dpid {\r
+ type uint64;\r
+ }\r
+ leaf vpn-name {\r
+ type string;\r
+ }\r
+ leaf service-id {\r
+ type uint32;\r
+ }\r
+ leaf ip-address {\r
+ type string;\r
+ }\r
+ }\r
+ }\r
+}
\ No newline at end of file