Interface BgpAfiSafiConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator") public interface BgpAfiSafiConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration parameters used for all BGP AFI-SAFIsThis class represents the following YANG schema fragment defined in module openconfig-bgp-multiprotocol
grouping bgp-afi-safi_config { leaf afi-safi-name { type identityref { base afi-safi-type; } } leaf enabled { type boolean; default false; } }
-
-
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 Class<? extends AfiSafiType>
getAfiSafiName()
Return afiSafiName, ornull
if it is not present.Boolean
getEnabled()
Return enabled, ornull
if it is not present.Class<? extends BgpAfiSafiConfig>
implementedInterface()
default @NonNull Class<? extends AfiSafiType>
requireAfiSafiName()
Return afiSafiName, guaranteed to be non-null.default @NonNull Boolean
requireEnabled()
Return enabled, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends BgpAfiSafiConfig> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getAfiSafiName
Class<? extends AfiSafiType> getAfiSafiName()
Return afiSafiName, ornull
if it is not present.AFI,SAFI
- Returns:
Class<? extends AfiSafiType>
afiSafiName, ornull
if it is not present.
-
requireAfiSafiName
default @NonNull Class<? extends AfiSafiType> requireAfiSafiName()
Return afiSafiName, guaranteed to be non-null.AFI,SAFI
- Returns:
Class<? extends AfiSafiType>
afiSafiName, guaranteed to be non-null.- Throws:
NoSuchElementException
- if afiSafiName is not present
-
getEnabled
Boolean getEnabled()
Return enabled, ornull
if it is not present.This leaf indicates whether the IPv4 Unicast AFI,SAFI is enabled for the neighbour or group
- Returns:
Boolean
enabled, ornull
if it is not present.
-
requireEnabled
default @NonNull Boolean requireEnabled()
Return enabled, guaranteed to be non-null.This leaf indicates whether the IPv4 Unicast AFI,SAFI is enabled for the neighbour or group
- Returns:
Boolean
enabled, guaranteed to be non-null.- Throws:
NoSuchElementException
- if enabled is not present
-
-