[RFE] EVPN-Driver: Get the AS Number from config
Bug #2038820 reported by
Justin Lamp
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ovn-bgp-agent |
New
|
Medium
|
Unassigned |
Bug Description
# Problem Statement
We run an eBGP Setup in our fabric which results in different AS Numbers per Gateway. This makes the current EVPN implementation impractical as one would need to update the AS on the Router Ports on every failover.
# Proposed Solution
I propose that the keyword "dynamic" as the AS external_id would get the AS out of the already defined config option.
```
ovn-nbctl set Logical_Switch_Port $LS 'external_
```
```
int(CONF.bgp_AS) if asn == "dynamic" else int(asn))
```
Changed in ovn-bgp-agent: | |
importance: | Undecided → Medium |
To post a comment you must log in.
How should this be implemented? Do you prefer that the "neutron_bgpvpn:as" should be present in order to use the AS configured in the agent.conf or would it be better to check whether it is absent?