Commit 43e9e75
committed
Fix vPC peering default payload
Always render `useVirtualPeerlink` in `ndfc_vpc_peering_pairs.j2`,
defaulting to `false` when `fabric_peering` is omitted.
Previously, omitted `fabric_peering` caused the field to be dropped from
the generated payload. In a fresh fabric, this can result in the vPC pair
not being created/recognized by NDFC; later `dcnm_interface` fails when
creating vPC interfaces with:
Switch '<ip>' is not part of VPC pair, but given I/F 'vpc<N>' is of type VPC
This aligns the template with the documented `dcnm_vpc_pair` default and
existing validation behavior, both of which treat omitted `fabric_peering`
as `false`.1 parent c24dda0 commit 43e9e75
1 file changed
Lines changed: 1 addition & 3 deletions
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
| 9 | + | |
12 | 10 | | |
13 | 11 | | |
0 commit comments