Allow 4byte ASNs in dynamic routing client

Neutron-dynamic-routing has the bgp_4byte_asn extension which allows
4byte ASNs to be used, increasing the range of valid AS numbers. Since
we cannot easily tell beforehand whether that extension is available,
allow for the maximal interval to be used by clients and let the API
validate the input.

Change-Id: Ib4695272784b4a5ebbcb792cfec82dac3ef6f3cf
This commit is contained in:
Jens Harbott
2020-09-01 13:51:11 +02:00
parent 097106d8fb
commit 9ffa0ac14e
4 changed files with 8 additions and 6 deletions

View File

@@ -15,4 +15,4 @@ BGP_SPEAKER = 'bgp_speaker'
BGP_PEERS = 'bgp_peers'
BGP_PEER = 'bgp_peer'
MIN_AS_NUM = 1
MAX_AS_NUM = 65535
MAX_AS_NUM = 4294967295