What's Changed
🚀 New Features
Comprehensive Logical Router Metrics
Added complete metrics support for OVN logical routers, providing full L3 network topology visibility alongside existing L2 (logical switch) metrics.
New Metrics:
ovn_logical_router_info- Basic information about each logical routerovn_logical_router_external_id- External IDs and metadata for routersovn_logical_router_ports- Number of ports connected to each routerovn_logical_router_static_routes- Number of static routes configuredovn_logical_router_nat_rules- Number of NAT rules configuredovn_logical_router_load_balancers- Number of load balancers associatedovn_logical_router_policies- Number of routing policies configured
Benefits
- Complete L3 Visibility: Monitor your entire Layer 3 routing infrastructure
- Resource Tracking: Track router resource utilization (ports, routes, NAT rules)
- Load Balancer Monitoring: Visibility into load balancer associations
- Policy Management: Monitor routing policy configurations
- External Metadata: Track external IDs for integration with orchestration systems
Technical Details
- Implemented local
GetLogicalRouters()method to query the Northbound database - Queries the
Logical_Routertable with all relevant columns - Follows the same pattern as existing logical switch metrics
- Includes proper error handling and request counting
Full Changelog: v2.1.2...v2.2.0