}
leaf physical-network-name {
type string;
- description "Optional. The name of the phyiscal network attached to the ELAN.";
+ description "Optional. The name of the physical network attached to the ELAN.";
}
leaf mac-timeout {
type uint32 {
length "1..254";
}
}
+ list elan-segments {
+ description "List of provider network(s) associated with this ELAN.";
+ key segmentation-index;
+ leaf segmentation-index {
+ description "A hidden counter to act as a key, because segmentation id
+ is not required.";
+ type uint32;
+ }
+ leaf physical-network-name {
+ description "Optional. The name of the physical network attached to the ELAN.";
+ type string;
+ }
+ leaf segment-type {
+ description "Optional. Network segment type. It's mandatory when there are external
+ devices participating in the ELAN";
+ type identityref {
+ base segment-type-base;
+ }
+ }
+ leaf segmentation-id {
+ description "Optional. Isolated segment on the physical network. For example,
+ if segment-type is vlan, this ID is a vlan identifier. If segment-type
+ is vxlan, this ID is a vni";
+ type uint32;
+ }
+ }
}
}