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-external-tunnel-interface-name {
51 description "used to retrieve tunnel interface id between Dpns";
67 rpc build-external-tunnel-from-dpns {
68 description "used for building tunnels between a Dpn and external node";
78 base odlif:tunnel-type-base;
84 rpc add-external-tunnel-endpoint {
85 description "used for building tunnels between teps on all Dpns and external node";
92 base odlif:tunnel-type-base;
97 rpc remove-external-tunnel-from-dpns {
98 description "used for building tunnels between a Dpn and external node";
103 leaf destination-ip {
104 type inet:ip-address;
108 base odlif:tunnel-type-base;
114 rpc remove-external-tunnel-endpoint {
115 description "used for building tunnels between teps on all Dpns and external node";
117 leaf destination-ip {
118 type inet:ip-address;
122 base odlif:tunnel-type-base;
128 rpc create-terminating-service-actions {
129 description "used for programming the terminating service actions";
137 uses offlow:instruction-list;
141 rpc remove-terminating-service-actions {
142 description "used for removing the terminating service actions";