Interface BgpNeighborAddPathsConfig
- 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:
Config
,GlobalAddPathsConfig
,GroupAddPathsConfig
,NeighborAddPathsConfig
,State
@Generated("mdsal-binding-generator")
public interface BgpNeighborAddPathsConfig
extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration parameters specfying whether the local system will send or
multiple paths using ADD_PATHS
This class represents the following YANG schema fragment defined in module openconfig-bgp
grouping bgp-neighbor-add-paths_config { leaf receive { type boolean; default false; } leaf send-max { type uint8; } }
-
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 receive, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint8
Return sendMax, ornull
if it is not present.Class<? extends BgpNeighborAddPathsConfig>
default @NonNull Boolean
Return receive, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint8
Return sendMax, 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 BgpNeighborAddPathsConfig> 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
-
getReceive
Boolean getReceive()Return receive, ornull
if it is not present.Enable ability to receive multiple path advertisements for an NLRI from the neighbor or group
- Returns:
Boolean
receive, ornull
if it is not present.
-
requireReceive
Return receive, guaranteed to be non-null.Enable ability to receive multiple path advertisements for an NLRI from the neighbor or group
- Returns:
Boolean
receive, guaranteed to be non-null.- Throws:
NoSuchElementException
- if receive is not present
-
getSendMax
org.opendaylight.yangtools.yang.common.Uint8 getSendMax()Return sendMax, ornull
if it is not present.The maximum number of paths to advertise to neighbors for a single NLRI
- Returns:
Uint8
sendMax, ornull
if it is not present.
-
requireSendMax
default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireSendMax()Return sendMax, guaranteed to be non-null.The maximum number of paths to advertise to neighbors for a single NLRI
- Returns:
Uint8
sendMax, guaranteed to be non-null.- Throws:
NoSuchElementException
- if sendMax is not present
-