2 namespace "urn:opendaylight:netvirt:elan:etree";
5 import elan {prefix elan;}
7 import yang-ext {prefix ext; revision-date "2013-07-09";}
9 import hwvtep {prefix hwvtep;}
11 import network-topology {prefix "topo"; revision-date "2013-10-21"; }
13 revision "2016-06-14" {
14 description "etree module";
17 typedef etree-leaf-tag {
19 description "Unique identifier across all the tenants for the ETREE's leafs.
20 Each ETree instance has 2 unique tags: elan-tag for roots and etree-leaf-tag for leafs.";
23 augment "/elan:elan-interfaces/elan:elan-interface" {
24 ext:augment-identifier "etree-interface";
25 leaf etree-interface-type {
30 description "Etree's type of the interface - Leaf or Root.";
34 augment "/elan:elan-instances/elan:elan-instance" {
35 ext:augment-identifier "etree-instance";
36 leaf etree-leaf-tag-val {
41 augment "/elan:elan-tag-name-map/elan:elan-tag-name" {
42 ext:augment-identifier "etree-leaf-tag-name";
48 container etree-logical-switches {
49 description "logical switch entity in a L2GW device which belongs to the etree network";
50 list etree-logical-switch {
52 max-elements "unbounded";
56 path "/hwvtep:hwvtep-global-attributes/hwvtep:logical-switches/hwvtep:hwvtep-node-name";
59 leaf switch-interfaces-type {
64 description "The type of the etree interfaces behind the logical switch. Leaves or Roots.";