Interface OspfV2LanIdentifier
-
- All Superinterfaces:
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
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
YANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Ipv4InterfaceIdentifier
getIpv4Address()
Return ipv4Address, ornull
if it is not present.Class<? extends OspfV2LanIdentifier>
implementedInterface()
default @NonNull Ipv4InterfaceIdentifier
requireIpv4Address()
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
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends OspfV2LanIdentifier> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.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
default @NonNull Ipv4InterfaceIdentifier requireIpv4Address()
Return ipv4Address, guaranteed to be non-null.- Returns:
Ipv4InterfaceIdentifier
ipv4Address, guaranteed to be non-null.- Throws:
NoSuchElementException
- if ipv4Address is not present
-
-