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 import opendaylight-action-types {prefix action;revision-date "2013-11-12";}
24 import opendaylight-flow-types {prefix offlow;revision-date "2013-10-26";}
27 revision "2015-12-17" {
28 description "ODL Specific Itm Manager Rpcs Module";
33 rpc get-tunnel-interface-name {
34 description "used to retrieve tunnel interface id between Dpns";
39 leaf destination-dpid {
44 base odlif:tunnel-type-base;
55 rpc get-internal-or-external-interface-name {
56 description "used to retrieve tunnel interface id with src Dpn and destination ip";
66 base odlif:tunnel-type-base;
77 rpc get-external-tunnel-interface-name {
78 description "used to retrieve external tunnel interface id between Dpns/TORs";
83 leaf destination-node {
88 base odlif:tunnel-type-base;
99 rpc build-external-tunnel-from-dpns {
100 description "used for building tunnels between a Dpn and external node";
105 leaf destination-ip {
106 type inet:ip-address;
110 base odlif:tunnel-type-base;
116 rpc add-external-tunnel-endpoint {
117 description "used for building tunnels between teps on all Dpns and external node";
119 leaf destination-ip {
120 type inet:ip-address;
124 base odlif:tunnel-type-base;
129 rpc remove-external-tunnel-from-dpns {
130 description "used for building tunnels between a Dpn and external node";
135 leaf destination-ip {
136 type inet:ip-address;
140 base odlif:tunnel-type-base;
146 rpc remove-external-tunnel-endpoint {
147 description "used for building tunnels between teps on all Dpns and external node";
149 leaf destination-ip {
150 type inet:ip-address;
154 base odlif:tunnel-type-base;
160 rpc create-terminating-service-actions {
161 description "used for programming the terminating service actions";
169 uses offlow:instruction-list;
173 rpc remove-terminating-service-actions {
174 description "used for removing the terminating service actions";
185 rpc add-l2-gw-device {
186 description "used for building tunnels between teps on all Dpns and hwVtep";
195 type inet:ip-address;
200 rpc add-l2-gw-mlag-device {
201 description "used for building tunnels between teps on all Dpns and hwVtep";
210 type inet:ip-address;
214 rpc delete-l2-gw-device {
215 description "used for deleting tunnels between teps on all Dpns and hwVtep";
224 type inet:ip-address;
229 rpc delete-l2-gw-mlag-device {
230 description "used for deleting tunnels between teps on all Dpns and hwVtep";
239 type inet:ip-address;