Diagnose port bindings
A logical port that never realizes on a chassis is one of the most common OVN problems. Northwatch's debug endpoints make the broken link explicit: a Northbound Logical_Switch_Port exists (intent) but the Southbound Port_Binding has no chassis (no realization).
These endpoints are part of the debug capability, which is on by default.
Find unhealthy ports
The port-diagnostics endpoint runs per-port checks across all logical ports, covering unbound VIFs, binding mismatches and down-but-bound interfaces. It reports each port with its check messages and an overall severity, plus summary counts:
curl -s http://localhost:8080/api/v1/debug/port-diagnosticsThe list accepts ?severity=healthy|warning|error to filter and ?limit=<n> to cap the returned ports (the summary counts stay totals); an invalid value returns 400. Diagnose a single port by UUID:
curl -s http://localhost:8080/api/v1/debug/port-diagnostics/<uuid>In the lab, make lab-unbind removes the chassis binding from every seeded VIF so you can see these light up, and make lab-bind clears them again.
Check connectivity between two ports
The connectivity checker analyses the expected path between two logical ports and flags blocking ACLs or missing routes:
curl -s 'http://localhost:8080/api/v1/debug/connectivity?<parameters>'See the parameter names in the interactive API reference at http://localhost:8080/api/v1/docs.
Check next-hop MAC resolution
For routing problems, the nexthop-mac report correlates every static route's next hop with its cached MAC_Binding state and flags the conditions that can blackhole traffic: a learned MAC with no aging configured (never refreshed), an entry older than the configured aging threshold, a static binding that contradicts the learned MAC, and next hops with no binding at all. It takes no parameters; it is a fleet-wide health report, not a per-destination lookup:
curl -s http://localhost:8080/api/v1/debug/nexthop-macDetect stale entries
Old MAC_Binding / FDB rows and orphaned bindings show up here:
curl -s http://localhost:8080/api/v1/debug/stale-entriesRelated
- Find the port first: Search with Omnisearch.
- The correlation model behind "intent vs realization": Correlation & search.
- The full debug surface: Capabilities.