Interface ElanInterfaces
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<ElanInterfaces>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<ElanData>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
public interface ElanInterfaces extends org.opendaylight.yangtools.yang.binding.ChildOf<ElanData>, org.opendaylight.yangtools.yang.binding.Augmentable<ElanInterfaces>
elan is enabled on interfaces.This class represents the following YANG schema fragment defined in module elan
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; } } } }
The schema path to identify an instance is elan/elan-interfacesTo create instances of this class use
ElanInterfacesBuilder
.- See Also:
ElanInterfacesBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable java.util.Map<ElanInterfaceKey,ElanInterface>
getElanInterface()
default java.lang.Class<ElanInterfaces>
implementedInterface()
default @NonNull java.util.Map<ElanInterfaceKey,ElanInterface>
nonnullElanInterface()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<ElanInterfaces> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getElanInterface
@Nullable java.util.Map<ElanInterfaceKey,ElanInterface> getElanInterface()
- Returns:
java.util.Map
elanInterface
, ornull
if not present
-
nonnullElanInterface
default @NonNull java.util.Map<ElanInterfaceKey,ElanInterface> nonnullElanInterface()
- Returns:
java.util.Map
elanInterface
, or an empty list if it is not present
-
-