Package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.multiprotocol.rev180329
Interface BgpTableType
- 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
- All Known Subinterfaces:
AddressFamilies
,AfiSafi
,AfiSafiGaugeTlv
,BgpAddPathTableType
,BGPBestPathSelection
,MpReachNlri
,MpUnreachNlri
,MultiprotocolCapability
,PerAfiSafiAdjRibInTlv
,PerAfiSafiLocRibTlv
,RouteRefresh
,RouteRefreshRequestInput
,RrMsgArgs
,SupportedTables
,Tables
,Tables
,Tables
- All Known Implementing Classes:
BgpTableTypeImpl
@Generated("mdsal-binding-generator")
public interface BgpTableType
extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module bgp-multiprotocol
grouping bgp-table-type { leaf afi { type identityref { base address-family; } } leaf safi { type identityref { base subsequent-address-family; } } }
-
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 TypeMethodDescriptiongetAfi()
Return afi, ornull
if it is not present.getSafi()
Return safi, ornull
if it is not present.Class<? extends BgpTableType>
default @NonNull AddressFamily
Return afi, guaranteed to be non-null.default @NonNull SubsequentAddressFamily
Return safi, guaranteed to be non-null.
-
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 BgpTableType> 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
-
getAfi
AddressFamily getAfi()Return afi, ornull
if it is not present.- Returns:
AddressFamily
afi, ornull
if it is not present.
-
requireAfi
Return afi, guaranteed to be non-null.- Returns:
AddressFamily
afi, guaranteed to be non-null.- Throws:
NoSuchElementException
- if afi is not present
-
getSafi
SubsequentAddressFamily getSafi()Return safi, ornull
if it is not present.- Returns:
SubsequentAddressFamily
safi, ornull
if it is not present.
-
requireSafi
Return safi, guaranteed to be non-null.- Returns:
SubsequentAddressFamily
safi, guaranteed to be non-null.- Throws:
NoSuchElementException
- if safi is not present
-