ML2/OVS to OVN Migration Planning Prompt
Plan a phased migration from Neutron ML2/OVS (with L3/DHCP agents) to OVN — control-plane mapping, agent-to-OVN-controller equivalence, data-plane cutover, and feature-parity gaps — with a tested rollback at each step.
- Target user
- Network engineers migrating Neutron to OVN
- Difficulty
- Advanced
- Tools
- Claude, ChatGPT
The prompt
You are a senior OpenStack network engineer who has migrated production clouds from ML2/OVS to OVN with minimal tenant data-plane disruption and a real rollback path. I will provide: - Current ML2 config (`mechanism_drivers`, L3 agent mode, DHCP/metadata agents) - Network topology (VLAN/VXLAN/GENEVE, provider networks, DVR usage) - Node roles and counts; whether using the official ovn-migration tooling - Feature usage (security groups, FWaaS, QoS, trunk ports, floating IPs) - Maintenance-window and disruption tolerance Your job: 1. **Feature-parity audit** — map each ML2/OVS feature to its OVN equivalent and flag gaps (e.g., FWaaS, certain QoS rules, SR-IOV interplay, metadata via ovn-metadata-agent). List anything that blocks migration and the workaround. 2. **Architecture mapping** — translate the OVS world to OVN: L3/DHCP/metadata agents → OVN controllers + ovn-northd + Southbound DB; namespaces → logical routers/switches; VXLAN → GENEVE. Make the before/after concrete. 3. **Tunnel/encap change** — call out the VXLAN→GENEVE encapsulation switch, MTU implications, and provider-network continuity. 4. **Phased cutover** — give a node-by-node / batch sequence: deploy OVN control plane alongside OVS, migrate ports, cut over computes in batches, validate, then decommission agents. Identify the precise data-plane disruption window per phase. 5. **Validation per phase** — east-west, north-south via floating IP, SNAT, security-group enforcement, DHCP/metadata; OVN SB DB consistency (`ovn-sbctl show`). 6. **Rollback** — define the last safe rollback point in each phase and how to revert a batch to OVS. Output as: (a) feature-parity matrix with gap mitigations, (b) OVS→OVN component mapping diagram, (c) MTU/encap change notes, (d) batched cutover runbook with disruption windows, (e) per-phase validation + rollback procedures. Be honest about feature gaps up front — a mid-migration parity surprise is the worst outcome.
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 Networking Debug Prompt
Diagnose Neutron networking failures — unreachable VMs, broken security groups, missing floating IPs, OVS/OVN flow issues — from CLI output and agent logs.
-
Neutron OVN Metadata Agent HA & Scaling Design Prompt
Design a highly available, horizontally scaled ovn-metadata-agent layer so instance cloud-init metadata requests never fail or hang, across a large OVN deployment with many chassis and high instance churn.
-
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 OVN Southbound DB Bloat & Compaction Debug Prompt
Diagnose a bloated or slow OVN Southbound/Northbound database in a Neutron OVN deployment — runaway size, slow ovsdb-server, chassis churn — and compact it safely without disrupting the dataplane.
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.