2 namespace "urn:opendaylight:netvirt:vpn:rpc";
5 revision "2016-02-01" {
6 description "VPN Service RPC Module";
10 rpc add-static-route {
11 description "Creates a static route in a VPN, creating a new label if needed";
13 leaf vpnInstanceName {
22 description "Ip-address of the nexthop. The RPC will check if this nexthop is the endpoint
23 of a VPN in an InterVpnLink";
28 description "Label for the static route. It can be left empty, in that case a new
29 label will be autogenerated";
35 description "The auto-generated label, if applies";
41 rpc remove-static-route {
42 description "Removes a static route in a VPN, identified by this vpn name, destination and nexthop.
43 Nextop is optional. If specified, the RPC will just remove one of the nexthops in the
44 route (ECMP feature). If not specified, the whole route will be removed";
46 leaf vpnInstanceName {
55 description "Ip-address of the nexthop. If specified, just one nexthop will be removed. Removing
56 the last nexthop in a route, will provoke the removal of the whole route";
62 rpc add-static-route {
63 description "Creates a static route in a VPN, creating a new label if needed";
65 leaf vpnInstanceName {
74 description "Ip-address of the nexthop. The RPC will check if this nexthop is the endpoint
75 of a VPN in an InterVpnLink";
80 description "Label for the static route. It can be left empty, in that case a new
81 label will be autogenerated";
87 description "The auto-generated label, if applies";
93 rpc remove-static-route {
94 description "Removes a static route in a VPN, identified by this vpn name, destination and nexthop.
95 Nextop is optional. If specified, the RPC will just remove one of the nexthops in the
96 route (ECMP feature). If not specified, the whole route will be removed";
98 leaf vpnInstanceName {
107 description "Ip-address of the nexthop. If specified, just one nexthop will be removed. Removing
108 the last nexthop in a route, will provoke the removal of the whole route";
114 rpc generate-vpn-label {
115 description "to generate label for the given ip prefix from the associated VPN";
131 rpc remove-vpn-label {
132 description "to remove label for the given ip prefix from the associated VPN";