X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=itm%2Fitm-api%2Fsrc%2Fmain%2Fyang%2Fitm-rpc.yang;h=8136d080643b0b643e39a374b32e4eeb2785f575;hb=457492a743696190dddf577c76aabac4d1af4139;hp=866c6e635b413a04c207d54332c337c50c9c6eca;hpb=769edd5c7e8cfa0a13a2f8e442270978f649b83f;p=vpnservice.git diff --git a/itm/itm-api/src/main/yang/itm-rpc.yang b/itm/itm-api/src/main/yang/itm-rpc.yang index 866c6e63..8136d080 100644 --- a/itm/itm-api/src/main/yang/itm-rpc.yang +++ b/itm/itm-api/src/main/yang/itm-rpc.yang @@ -4,7 +4,7 @@ module itm-rpc { import ietf-inet-types { prefix inet; - revision-date "2010-09-24"; + revision-date "2013-07-15"; } import ietf-yang-types { @@ -39,6 +39,11 @@ module itm-rpc { leaf destination-dpid { type uint64; } + leaf tunnel-type { + type identityref { + base odlif:tunnel-type-base; + } + } } output { leaf interface-name { @@ -56,6 +61,11 @@ module itm-rpc { leaf destination-ip { type inet:ip-address; } + leaf tunnel-type { + type identityref { + base odlif:tunnel-type-base; + } + } } output { leaf interface-name { @@ -73,6 +83,11 @@ module itm-rpc { leaf destination-node { type string; } + leaf tunnel-type { + type identityref { + base odlif:tunnel-type-base; + } + } } output { leaf interface-name { @@ -182,6 +197,20 @@ module itm-rpc { } } + 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 { @@ -197,4 +226,18 @@ module itm-rpc { } } -} \ No newline at end of file + 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; + } + } + } +}