X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=vpnintent%2Fapi%2Fsrc%2Fmain%2Fyang%2Fvpnintent.yang;fp=vpnintent%2Fapi%2Fsrc%2Fmain%2Fyang%2Fvpnintent.yang;h=f0884e4d6521d0c838d85308677014e8c5be9875;hb=35b858a5b9f14e52a8dfe28a22dae2e15a10b51a;hp=e9a971db1e976e08dd30de6e2778efbc0b514e71;hpb=4640d73e6e16aa7ddc6ed7293e3cc0bffd9993e4;p=vpnservice.git diff --git a/vpnintent/api/src/main/yang/vpnintent.yang b/vpnintent/api/src/main/yang/vpnintent.yang index e9a971db..f0884e4d 100644 --- a/vpnintent/api/src/main/yang/vpnintent.yang +++ b/vpnintent/api/src/main/yang/vpnintent.yang @@ -88,5 +88,46 @@ module vpnintent { container mpls-labels { uses labels; - } + } + + rpc add-vpn-endpoint{ + description + "Add VPN endpoint."; + input { + leaf vpn-name { + type string; + description "VPN name"; + mandatory true; + } + uses endpoint-fields; + } + } + + rpc remove-vpn-endpoint{ + description + "Remove VPN endpoint."; + input { + leaf vpn-name { + type string; + description "VPN name"; + mandatory true; + } + leaf site-name{ + type string; + description "VPN member site name."; + } + } + } + + rpc remove-vpn{ + description + "Remove VPN and its endpoints."; + input { + leaf vpn-name { + type string; + description "VPN name"; + mandatory true; + } + } + } }