Interface Interfaces
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
GetMacInput
,SendArpRequestInput
public interface Interfaces extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module odl-arputil
grouping interfaces { list interface-address { key interface; leaf interface { type leafref { path /if:interfaces/if:interface/if:name; } } leaf ip-address { type inet:ip-address; } leaf macaddress { type yang:phys-address; } } }
The schema path to identify an instance is odl-arputil/interfaces
-
-
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<InterfaceAddressKey,InterfaceAddress>
getInterfaceAddress()
java.lang.Class<? extends Interfaces>
implementedInterface()
default @NonNull java.util.Map<InterfaceAddressKey,InterfaceAddress>
nonnullInterfaceAddress()
-
-
-
Method Detail
-
implementedInterface
java.lang.Class<? extends Interfaces> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getInterfaceAddress
@Nullable java.util.Map<InterfaceAddressKey,InterfaceAddress> getInterfaceAddress()
- Returns:
java.util.Map
interfaceAddress
, ornull
if not present
-
nonnullInterfaceAddress
default @NonNull java.util.Map<InterfaceAddressKey,InterfaceAddress> nonnullInterfaceAddress()
- Returns:
java.util.Map
interfaceAddress
, or an empty list if it is not present
-
-