Interface BgpNeighborAsPathOptionsConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
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 Modifier and Type Method Description @Nullable org.opendaylight.yangtools.yang.common.Uint8
getAllowOwnAs()
Specify the number of occurrences of the local BGP speaker's AS that can occur within the AS_PATH before it is rejected.Class<? extends BgpNeighborAsPathOptionsConfig>
implementedInterface()
@Nullable Boolean
isReplacePeerAs()
Replace occurrences of the peer's AS in the AS_PATH with the local autonomous system number
-
-
-
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
@Nullable org.opendaylight.yangtools.yang.common.Uint8 getAllowOwnAs()
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 not present
-
isReplacePeerAs
@Nullable Boolean isReplacePeerAs()
Replace occurrences of the peer's AS in the AS_PATH with the local autonomous system number- Returns:
java.lang.Boolean
replacePeerAs
, ornull
if not present
-
-