Interface BgpNeighborAsPathOptionsConfig
-
- 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 BgpNeighborAsPathOptionsConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration parameters allowing manipulation of the AS_PATH attributeThis class represents the following YANG schema fragment defined in module openconfig-bgp
grouping bgp-neighbor-as-path-options_config { leaf allow-own-as { type uint8; default 0; } leaf replace-peer-as { type boolean; default false; } }
The schema path to identify an instance is openconfig-bgp/bgp-neighbor-as-path-options_config
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description org.opendaylight.yangtools.yang.common.Uint8
getAllowOwnAs()
Return allowOwnAs, ornull
if it is not present.Boolean
getReplacePeerAs()
Return replacePeerAs, ornull
if it is not present.Class<? extends BgpNeighborAsPathOptionsConfig>
implementedInterface()
default Boolean
isReplacePeerAs()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
implementedInterface
Class<? extends BgpNeighborAsPathOptionsConfig> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getAllowOwnAs
org.opendaylight.yangtools.yang.common.Uint8 getAllowOwnAs()
Return allowOwnAs, ornull
if it is not present.Specify the number of occurrences of the local BGP speaker's AS that can occur within the AS_PATH before it is rejected.
- Returns:
org.opendaylight.yangtools.yang.common.Uint8
allowOwnAs, ornull
if it is not present.
-
getReplacePeerAs
Boolean getReplacePeerAs()
Return replacePeerAs, ornull
if it is not present.Replace occurrences of the peer's AS in the AS_PATH with the local autonomous system number
- Returns:
java.lang.Boolean
replacePeerAs, ornull
if it is not present.
-
isReplacePeerAs
@Deprecated(forRemoval=true) default Boolean isReplacePeerAs()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-