Interface ElanData
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.DataRoot
public interface ElanData extends org.opendaylight.yangtools.yang.binding.DataRoot
This class represents the following YANG schema fragment defined in module elan
module elan { namespace urn:opendaylight:netvirt:elan; prefix elan; import yang-ext { prefix ext; revision-date 2013-07-09; } import ietf-interfaces { prefix if; } import ietf-inet-types { prefix inet; revision-date 2013-07-15; } import ietf-yang-types { prefix yang; } revision 2015-06-02 { } container elan-instances { list elan-instance { key elan-instance-name; leaf elan-instance-name { type string; } leaf elan-tag { type uint32; } leaf segment-type { type identityref { base segment-type-base; } } leaf segmentation-id { type uint32; } leaf physical-network-name { type string; } leaf external { type boolean; default false; } leaf mac-timeout { type uint32 { range 0..65535; } } leaf description { type string { length 1..254; } } list elan-segments { key segmentation-index; leaf segmentation-index { type uint32; } leaf physical-network-name { type string; } leaf segment-type { type identityref { base segment-type-base; } } leaf segmentation-id { type uint32; } } list external-teps { key tep-ip; leaf tep-ip { type inet:ip-address; } leaf nodeid { type string; } } } } container elan-interfaces { list elan-interface { key name; leaf name { type leafref { path /if:interfaces/if:interface/if:name; } } leaf elan-instance-name { type string; } list static-mac-entries { key mac-address; leaf mac-address { type yang:phys-address; } leaf ip-prefix { type inet:ip-address; } } leaf description { type string { length 1..254; } } } } container elan-state { config false; list elan { key name; leaf name { type string; } leaf-list elan-interfaces { type leafref { path /if:interfaces/if:interface/if:name; } } } } grouping forwarding-entries { list mac-entry { key mac-address; leaf mac-address { type yang:phys-address; } leaf interface { type leafref { path /if:interfaces/if:interface/if:name; } } leaf controllerLearnedForwardingEntryTimestamp { type uint64; } leaf isStaticAddress { type boolean; } leaf ip-prefix { type inet:ip-address; } } } container elan-forwarding-tables { config false; list mac-table { key elan-instance-name; leaf elan-instance-name { type string; } uses forwarding-entries; } } container elan-interface-forwarding-entries { config false; list elan-interface-mac { key elan-interface; leaf elan-interface { type leafref { path /if:interfaces/if:interface/if:name; } } uses forwarding-entries; } } container elan-dpn-interfaces { config false; list elan-dpn-interfaces-list { key elan-instance-name; leaf elan-instance-name { type string; } list dpn-interfaces { key dp-id; leaf dp-id { type uint64; } leaf-list interfaces { type leafref { path /if:interfaces/if:interface/if:name; } } } } } container elan-tag-name-map { config false; list elan-tag-name { key elan-tag; leaf elan-tag { type uint32; } leaf name { type string; } } } augment /elan:elan-instances/elan:elan-instance { ext:augment-identifier evpn-augmentation; leaf evpn-name { type string; } leaf l3vpn-name { type string; } } identity segment-type-base { } identity segment-type-flat { base segment-type-base; } identity segment-type-vlan { base segment-type-base; } identity segment-type-vxlan { base segment-type-base; } identity segment-type-gre { base segment-type-base; } }
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ElanDpnInterfaces
getElanDpnInterfaces()
ElanForwardingTables
getElanForwardingTables()
MAC tables for each elan instanceElanInstances
getElanInstances()
elan instances configuration parameters.ElanInterfaceForwardingEntries
getElanInterfaceForwardingEntries()
ElanInterfaces
getElanInterfaces()
elan is enabled on interfaces.ElanState
getElanState()
operational state of elans.ElanTagNameMap
getElanTagNameMap()
-
-
-
Method Detail
-
getElanInstances
ElanInstances getElanInstances()
elan instances configuration parameters. Elan instances support both the VLAN and VNI based elans.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.elan.rev150602.ElanInstances
elanInstances
, ornull
if not present
-
getElanInterfaces
ElanInterfaces getElanInterfaces()
elan is enabled on interfaces.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.elan.rev150602.ElanInterfaces
elanInterfaces
, ornull
if not present
-
getElanState
ElanState getElanState()
operational state of elans.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.elan.rev150602.ElanState
elanState
, ornull
if not present
-
getElanForwardingTables
ElanForwardingTables getElanForwardingTables()
MAC tables for each elan instance- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.elan.rev150602.ElanForwardingTables
elanForwardingTables
, ornull
if not present
-
getElanInterfaceForwardingEntries
ElanInterfaceForwardingEntries getElanInterfaceForwardingEntries()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.elan.rev150602.ElanInterfaceForwardingEntries
elanInterfaceForwardingEntries
, ornull
if not present
-
getElanDpnInterfaces
ElanDpnInterfaces getElanDpnInterfaces()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.elan.rev150602.ElanDpnInterfaces
elanDpnInterfaces
, ornull
if not present
-
getElanTagNameMap
ElanTagNameMap getElanTagNameMap()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.elan.rev150602.ElanTagNameMap
elanTagNameMap
, ornull
if not present
-
-