You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Description
Adds granular route-leaking option to VPC profiles so that deployment
can configure certain VPCs to leak more than just default-route from the
underlay into the VPC VRF.
There are user-friendly options for leaking tenant routes to the
underlay and for leaking a default-route from the underlay into tenant
overlays, but some use-cases need more control over leaking from default
VRF to tenant VRF.
Specifically, users who plan to run a very large number of number of
anycast announcements for a single IP might exceed the limits of ECMP
groups in HBN and even cumulus.
The work-around is leaking those routes to the underlay and allowing the
ingress path to such VIPs to take the underlay. On the "client" side,
those VIPs routes would need to be leaked into the tenant VRF from the
default VRF to prevent the client traffic from taking a default route in
the overlay and hair-pinning at a border device VRF, or possibly getting
dropped completely.
## Type of Change
<!-- Check one that best describes this PR -->
- [x] **Add** - New feature or capability
- [ ] **Change** - Changes in existing functionality
- [ ] **Fix** - Bug fixes
- [ ] **Remove** - Removed features or deprecated functionality
- [ ] **Internal** - Internal changes (refactoring, tests, docs, etc.)
## Related Issues (Optional)
<!-- If applicable, provide GitHub Issue. -->
## Breaking Changes
- [ ] This PR contains breaking changes
<!-- If checked above, describe the breaking changes and migration steps
-->
## Testing
<!-- How was this tested? Check all that apply -->
- [x] Unit tests added/updated
- [ ] Integration tests added/updated
- [ ] Manual testing performed
- [ ] No testing required (docs, internal refactor, etc.)
## Additional Notes
Satisfies NVIDIA#1313
|`admin_vpc`|`Option<AdminFnnConfig>`| — | FNN configuration for the admin network VPC. |
261
261
|`common_internal_route_target`|`Option<RouteTargetConfig>`| — | Double-tag for internal tenant routes (consumed by the network infrastructure). |
262
262
|`additional_route_target_imports`|`Vec<RouteTargetConfig>`|`[]`| Extra route targets imported on DPU VRFs. |
263
-
|`routing_profiles`|`HashMap<String, FnnRoutingProfileConfig>`|`{}`| Named per-VPC routing profiles. |
263
+
|`routing_profiles`|`HashMap<String, FnnRoutingProfileConfig>`|`{}`| Named per-VPC routing profiles (see [FnnRoutingProfileConfig](#fnnroutingprofileconfig)). |
264
+
265
+
### `FnnRoutingProfileConfig`
266
+
267
+
| Field | Type | Default | Description |
268
+
|-------|------|---------|-------------|
269
+
|`route_target_imports`|`Vec<RouteTargetConfig>`|`[]`| Route targets imported into DPU VRFs for VPC routes. |
270
+
|`route_targets_on_exports`|`Vec<RouteTargetConfig>`|`[]`| Route targets added to routes exported by the DPU. |
271
+
|`internal`|`bool`|`false`| Whether the profile uses internal VNI allocation. |
272
+
|`leak_default_route_from_underlay`|`bool`|`false`| Leak the default route from the underlay/default VRF into tenant VRFs. |
273
+
|`leak_tenant_host_routes_to_underlay`|`bool`|`false`| Leak tenant host routes into the underlay/default VRF. |
274
+
|`tenant_leak_communities_accepted`|`bool`|`false`| Honor route-leak communities sent by the tenant host OS. |
275
+
|`accepted_leaks_from_underlay`|`Vec<PrefixFilterPolicyEntry>`|`[]`| Specific underlay/default VRF prefixes allowed to leak into tenant VRFs. Routing only; does not affect ACLs. |
0 commit comments