Interface AllAfiSafiCommonPrefixLimitConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
public interface AllAfiSafiCommonPrefixLimitConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration parameters relating to prefix-limits for an AFI-SAFIThis class represents the following YANG schema fragment defined in module openconfig-bgp-multiprotocol
grouping all-afi-safi-common-prefix-limit_config { leaf max-prefixes { type uint32; } leaf shutdown-threshold-pct { type oc-types:percentage; } leaf restart-timer { type decimal64 { fraction-digits 2; } units seconds; } }
The schema path to identify an instance is openconfig-bgp-multiprotocol/all-afi-safi-common-prefix-limit_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 org.opendaylight.yangtools.yang.common.Uint32
getMaxPrefixes()
Maximum number of prefixes that will be accepted from the neighbourBigDecimal
getRestartTimer()
Time interval in seconds after which the BGP session is re-established after being torn down due to exceeding the max-prefix limit.Percentage
getShutdownThresholdPct()
Threshold on number of prefixes that can be received from a neighbour before generation of warning messages or log entries.Class<? extends AllAfiSafiCommonPrefixLimitConfig>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
Class<? extends AllAfiSafiCommonPrefixLimitConfig> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getMaxPrefixes
org.opendaylight.yangtools.yang.common.Uint32 getMaxPrefixes()
Maximum number of prefixes that will be accepted from the neighbour- Returns:
org.opendaylight.yangtools.yang.common.Uint32
maxPrefixes
, ornull
if not present
-
getShutdownThresholdPct
Percentage getShutdownThresholdPct()
Threshold on number of prefixes that can be received from a neighbour before generation of warning messages or log entries. Expressed as a percentage of max-prefixes- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.openconfig.types.rev151009.Percentage
shutdownThresholdPct
, ornull
if not present
-
getRestartTimer
BigDecimal getRestartTimer()
Time interval in seconds after which the BGP session is re-established after being torn down due to exceeding the max-prefix limit.- Returns:
java.math.BigDecimal
restartTimer
, ornull
if not present
-
-