__init__(self,
start_prefix,
range_type,
count)
(Constructor)
|
|
Create the range tuple (Start L3 Unicast Prefix, Range Type, Count)
used for filtering.
If range type is EQUAL_OR_LARGER, then the range indicates Count
routes starting with the prefix equal or lexically larger than Start
Prefix.
If range type is ROUTING_ROUTE_RANGE_LARGER, then the filter indicates
Count routes starting with the prefix lexically larger than Start
Prefix.
If count is 0, it is treated as no count limit and all routes matching
the (Start L3 Unicast Prefix, Range Type) are included.
- Parameters:
start_prefix (NetworkPrefix) - The starting prefix reference of the range.
range_type (RouteRange.RangeType) - Indicate if the range include the start prefix.
count (int ) - Maximum number of route the range should cover. A count of 0
means no limit.
- Overrides:
object.__init__
|