+ leaf destination-ip {
+ type inet:ip-address;
+ }
+ leaf tunnel-type {
+ type identityref {
+ base odlif:tunnel-type-base;
+ }
+ }
+ }
+ }
+ rpc remove-external-tunnel-from-dpns {
+ description "used for building tunnels between a Dpn and external node";
+ input {
+ leaf-list dpn-id {
+ type uint64;
+ }
+ leaf destination-ip {
+ type inet:ip-address;
+ }
+ leaf tunnel-type {
+ type identityref {
+ base odlif:tunnel-type-base;
+ }
+ }
+ }
+ }
+
+ rpc remove-external-tunnel-endpoint {
+ description "used for building tunnels between teps on all Dpns and external node";
+ input {
+ leaf destination-ip {
+ type inet:ip-address;
+ }
+ leaf tunnel-type {
+ type identityref {
+ base odlif:tunnel-type-base;
+ }