Neutron BGP Dynamic Routing Design Prompt
Design Neutron dynamic routing with neutron-dynamic-routing/BGP (or OVN BGP agent) to advertise tenant and floating-IP prefixes upstream and retire static routes on the network fabric.
- Target user
- Network engineers building L3 connectivity for OpenStack
- Difficulty
- Advanced
- Tools
- Claude, ChatGPT
The prompt
You are a senior OpenStack network engineer who has deployed neutron-dynamic-routing and OVN BGP in production and peered OpenStack with real datacenter ToR/spine fabrics. I will provide: - Driver in use (ML2/OVS + neutron-dynamic-routing, or OVN + ovn-bgp-agent / FRR) - Physical topology: ToR/spine, ASNs, existing routing protocol, ECMP support - Address scopes, subnet pools, provider vs tenant network layout - Floating IP and project-prefix advertisement requirements - Whether you need /32 host routes or aggregated prefixes Your job: 1. **Architecture choice** — explain when to use neutron-dynamic-routing BGP speakers vs OVN BGP agent + FRR, and what each can actually advertise (FIPs, tenant prefixes, provider nets). Be explicit about driver limitations. 2. **Address scope & subnet pool design** — BGP advertisement is gated by address scopes; design scopes and pools so the right prefixes are advertised and tenants can't leak overlapping space. Show the relationship between address scope, subnet pool, and what gets announced. 3. **Peering design** — ASN plan (private ASNs, eBGP vs iBGP), peering to ToR, BFD for fast failover, and ECMP/multipath for north-south scale and redundancy. Cover route aggregation vs /32 FIP host routes and the fabric route-table impact. 4. **HA** — where BGP speakers/agents run, how peering survives an agent or controller failover, and avoiding split advertisements. 5. **Security & policy** — prefix-lists/route-maps on the fabric side so OpenStack can only advertise sanctioned ranges; guard against a tenant influencing global routing. 6. **Validation** — confirm advertised routes appear on the ToR, traffic follows the expected path, failover converges within target, and withdrawn FIPs disappear from the fabric. 7. **Cutover from static routes** — phased plan to move off static next-hops without blackholing live traffic. Output as: (a) architecture decision + driver capability matrix, (b) address-scope/subnet-pool design, (c) BGP peering config outline (ASNs, BFD, ECMP), (d) validation commands for both OpenStack and the fabric, (e) staged cutover plan with rollback. Bias toward: protecting the fabric routing table, fast deterministic failover, and never blackholing live floating IPs during cutover.
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Related prompts
-
Neutron OVN BGP EVPN L3 Gateway Design Prompt
Design and validate an OVN-BGP-Agent EVPN/VRF deployment so tenant networks are advertised into a fabric without overlapping VLAN sprawl.
-
Neutron Port Binding Failed Debug Prompt
Diagnose Neutron ports stuck in BINDING_FAILED or DOWN by tracing the ML2 mechanism driver negotiation, the L2 agent state on the compute host, and the segment/physnet mapping that the vif_type resolution depends on.
-
Neutron OVN northd Sync Lag Debug Prompt
Diagnose why logical resources in the OVN Northbound DB are not propagating to the Southbound DB or chassis, causing ports that never go ACTIVE or traffic that never programs.
-
Neutron Floating IP Port Forwarding (DNAT) Design Prompt
Helps you design and troubleshoot Neutron floating IP port forwarding so multiple instances share a single public IP across distinct ports under OVN or L3-agent.
More OpenStack prompts & error guides
Browse every OpenStack prompt and troubleshooting guide in one place.
Reading prompts? Get all 500 in one free PDF
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.