+
+ 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;
+ }
+ }
+ }
+ }
+
+ rpc create-terminating-service-actions {
+ description "used for programming the terminating service actions";
+ input {
+ leaf dpn-id {
+ type uint64;
+ }
+ leaf service-id {
+ type uint16;
+ }
+ uses offlow:instruction-list;
+ }
+ }
+
+ rpc remove-terminating-service-actions {
+ description "used for removing the terminating service actions";
+ input {
+ leaf dpn-id {
+ type uint64;
+ }
+ leaf service-id {
+ type uint16;
+ }
+ }
+ }
+
+ rpc add-l2-gw-device {
+ description "used for building tunnels between teps on all Dpns and hwVtep";
+ input {
+ leaf topology-id {
+ type string;
+ }
+ leaf node-id {
+ type string;
+ }
+ leaf ip-address {
+ type inet:ip-address;
+ }
+ }
+ }
+
+ rpc add-l2-gw-mlag-device {
+ description "used for building tunnels between teps on all Dpns and hwVtep";
+ input {
+ leaf topology-id {
+ type string;
+ }
+ leaf-list node-id {
+ type string;
+ }
+ leaf ip-address {
+ type inet:ip-address;
+ }
+ }
+ }
+ rpc delete-l2-gw-device {
+ description "used for deleting tunnels between teps on all Dpns and hwVtep";
+ input {
+ leaf topology-id {
+ type string;
+ }
+ leaf node-id {
+ type string;
+ }
+ leaf ip-address {
+ type inet:ip-address;
+ }
+ }
+ }
+
+ rpc delete-l2-gw-mlag-device {
+ description "used for deleting tunnels between teps on all Dpns and hwVtep";
+ input {
+ leaf topology-id {
+ type string;
+ }
+ leaf-list node-id {
+ type string;
+ }
+ leaf ip-address {
+ type inet:ip-address;
+ }
+ }
+ }
+}