2 namespace "urn:opendaylight:vpnservice:itm:rpcs";
5 import ietf-inet-types {
7 revision-date "2010-09-24";
10 import ietf-yang-types {
14 import ietf-interfaces {
15 prefix if; revision-date 2014-05-08;
18 import odl-interface {
20 revision-date "2015-03-31";
23 revision "2015-12-17" {
24 description "ODL Specific Itm Manager Rpcs Module";
29 rpc get-tunnel-interface-name {
30 description "used to retrieve tunnel interface id between Dpns";
35 leaf destination-dpid {
46 rpc get-external-tunnel-interface-name {
47 description "used to retrieve tunnel interface id between Dpns";
63 rpc build-external-tunnel-from-dpns {
64 description "used for building tunnels between a Dpn and external node";
74 base odlif:tunnel-type-base;
80 rpc add-external-tunnel-endpoint {
81 description "used for building tunnels between teps on all Dpns and external node";
88 base odlif:tunnel-type-base;
93 rpc remove-external-tunnel-from-dpns {
94 description "used for building tunnels between a Dpn and external node";
100 type inet:ip-address;
104 base odlif:tunnel-type-base;
110 rpc remove-external-tunnel-endpoint {
111 description "used for building tunnels between teps on all Dpns and external node";
113 leaf destination-ip {
114 type inet:ip-address;
118 base odlif:tunnel-type-base;