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 {
50 rpc get-internal-or-external-interface-name {
51 description "used to retrieve tunnel interface id with src Dpn and destination ip";
67 rpc get-external-tunnel-interface-name {
68 description "used to retrieve tunnel interface id between Dpns";
84 rpc build-external-tunnel-from-dpns {
85 description "used for building tunnels between a Dpn and external node";
95 base odlif:tunnel-type-base;
101 rpc add-external-tunnel-endpoint {
102 description "used for building tunnels between teps on all Dpns and external node";
104 leaf destination-ip {
105 type inet:ip-address;
109 base odlif:tunnel-type-base;
114 rpc remove-external-tunnel-from-dpns {
115 description "used for building tunnels between a Dpn and external node";
120 leaf destination-ip {
121 type inet:ip-address;
125 base odlif:tunnel-type-base;
131 rpc remove-external-tunnel-endpoint {
132 description "used for building tunnels between teps on all Dpns and external node";
134 leaf destination-ip {
135 type inet:ip-address;
139 base odlif:tunnel-type-base;
145 rpc create-terminating-service-actions {
146 description "used for programming the terminating service actions";
154 uses offlow:instruction-list;
158 rpc remove-terminating-service-actions {
159 description "used for removing the terminating service actions";