Interface BgpNeighborAddPathsConfig
-
- All Superinterfaces:
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_PATHSThis 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
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 Boolean
getReceive()
Return receive, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint8
getSendMax()
Return sendMax, ornull
if it is not present.Class<? extends BgpNeighborAddPathsConfig>
implementedInterface()
default @NonNull Boolean
requireReceive()
Return receive, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint8
requireSendMax()
Return sendMax, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends BgpNeighborAddPathsConfig> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.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
default @NonNull Boolean 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
-
-