Interface OspfV2LanIdentifier
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,OspfRouterIdentifier
@Generated("mdsal-binding-generator")
public interface OspfV2LanIdentifier
extends org.opendaylight.yangtools.yang.binding.DataObject, OspfRouterIdentifier
This class represents the following YANG schema fragment defined in module bgp-linkstate
grouping ospf-v2-lan-identifier { uses ospf-router-identifier; leaf ipv4-address { type ipv4-interface-identifier; } }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn ipv4Address, ornull
if it is not present.Class<? extends OspfV2LanIdentifier>
default @NonNull Ipv4InterfaceIdentifier
Return ipv4Address, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.linkstate.rev200120.OspfRouterIdentifier
getOspfRouterId, requireOspfRouterId
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends OspfV2LanIdentifier> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfaceOspfRouterIdentifier
-
getIpv4Address
Ipv4InterfaceIdentifier getIpv4Address()Return ipv4Address, ornull
if it is not present.- Returns:
Ipv4InterfaceIdentifier
ipv4Address, ornull
if it is not present.
-
requireIpv4Address
Return ipv4Address, guaranteed to be non-null.- Returns:
Ipv4InterfaceIdentifier
ipv4Address, guaranteed to be non-null.- Throws:
NoSuchElementException
- if ipv4Address is not present
-