-
Notifications
You must be signed in to change notification settings - Fork 103
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Context: https://netlab.tools/module/bgp/#module-bgp-originate
A topology from https://theworldsgonemad.net/2025/lab-as-code-pt2/#topology uses:
ISP:
module: [ bgp ]
provider: libvirt
device: csr
bgp.originate: 0.0.0.0/0
On the dev branch we get:
[ERRORS] Errors found in topology.yml
[VALUE] bgp: attribute 'nodes.ISP.bgp.originate[1]' must be IPv4 prefix outside of reserved ranges
(0.0.0.0/0 is in local range)
In the current code base, the preferred way would be to use the bgp.session plugin and set bgp.default_originate: true
It would be nice if the (arguably) more intuitive bgp.originate: 0.0.0.0/0 would work too, or at least provide a specific error message with a recommended resolution
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working