X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=vpnservice.git;a=blobdiff_plain;f=itm%2Fitm-api%2Fsrc%2Fmain%2Fyang%2Fitm-rpc.yang;fp=itm%2Fitm-api%2Fsrc%2Fmain%2Fyang%2Fitm-rpc.yang;h=2347e6eb055a472dedc967c4e85e9a7a82f73598;hp=69e1ea9bd8e8111ca46a19f7117f02ea7656b48d;hb=de28c9eeb14ae5e5f65bc4621f3802ee4f831d49;hpb=7fd91ca847eaebfa14b0da26e986641be438fdae diff --git a/itm/itm-api/src/main/yang/itm-rpc.yang b/itm/itm-api/src/main/yang/itm-rpc.yang index 69e1ea9b..2347e6eb 100644 --- a/itm/itm-api/src/main/yang/itm-rpc.yang +++ b/itm/itm-api/src/main/yang/itm-rpc.yang @@ -47,6 +47,23 @@ module itm-rpc { } } + rpc get-internal-or-external-interface-name { + description "used to retrieve tunnel interface id with src Dpn and destination ip"; + input { + leaf source-dpid { + type uint64; + } + leaf destination-ip { + type inet:ip-address; + } + } + output { + leaf interface-name { + type string; + } + } + } + rpc get-external-tunnel-interface-name { description "used to retrieve tunnel interface id between Dpns"; input { @@ -111,7 +128,7 @@ module itm-rpc { } } - rpc remove-external-tunnel-endpoint { + rpc remove-external-tunnel-endpoint { description "used for building tunnels between teps on all Dpns and external node"; input { leaf destination-ip { @@ -129,7 +146,7 @@ module itm-rpc { description "used for programming the terminating service actions"; input { leaf dpn-id { - type uint64; + type uint64; } leaf service-id { type uint16; @@ -142,7 +159,7 @@ module itm-rpc { description "used for removing the terminating service actions"; input { leaf dpn-id { - type uint64; + type uint64; } leaf service-id { type uint16;