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 generate-vpn-label {
63 description "to generate label for the given ip prefix from the associated VPN";
79 rpc remove-vpn-label {
80 description "to remove label for the given ip prefix from the associated VPN";
91 rpc apply-arp-config {
92 description "To apply ARP/GARP related configuration per PL";
94 leaf enable-arp-learning {
95 description "Enable (or) Disable arp based learning dynamically";
100 leaf enable-arp-learning {