Description
The nd_manage_vpc_pair module rejects vpc_pair_details on all iBGP/eBGP VXLAN fabrics based solely on fabric type. However, Nexus Dashboard accepted vpcPairDetails for the tested ToR pair.
The complete support matrix should be investigated across all supported fabric types and switch-role combinations, then reflected in the module validation and documentation.
Affected Module Name(s):
ND version and ND Platform
- ND 4.2.1, build 4.2.1.10
- Platform: to be confirmed
APIC version and APIC Platform for Site related issues
Collection versions
Output/ Error message
Invalid nd_manage_vpc_pair input: 'vpc_pair_details' is not supported
for iBGP/eBGP VXLAN fabrics.
Expected Behavior
nd_manage_vpc_pair should allow vpc_pair_details for supported combinations of:
- Fabric type
- Switch roles
- Pairing type, such as leaf-to-leaf, ToR-to-ToR, and leaf-to-ToR
Unsupported combinations should produce a precise validation error.
Actual Behavior
The module currently blocks vpc_pair_details for the entire vxlanIbgp or vxlanEbgp fabric before sending the request. The validation does not inspect switch roles.
Other fabric types and role combinations are also not covered by a documented support matrix.
Playbook tasks to Reproduce
- name: Configure ToR vPC pair with vpcPairDetails
cisco.nd.nd_manage_vpc_pair:
fabric_name: nac-msd-fabric1
state: merged
config_actions:
save: false
deploy: false
type: switch
config:
- peer1_switch_id: "10.122.84.197"
peer2_switch_id: "10.122.84.198"
use_virtual_peer_link: false
vpc_pair_details:
type: default
domain_id: 3
switch_keep_alive_local_ip: "10.122.84.197"
peer_switch_keep_alive_local_ip: "10.122.84.198"
keep_alive_vrf: management
keep_alive_hold_timeout: 3
enable_mirror_config: false
is_vpc_plus: false
is_vteps: false
nve_interface: 1
switch_domain_config: "auto-recovery reload-delay 360"
peer_switch_domain_config: "auto-recovery reload-delay 360"
switch_po_id: 1
peer_switch_po_id: 1
switch_member_interfaces:
- Ethernet1/3
peer_switch_member_interfaces:
- Ethernet1/3
po_mode: active
admin_state: true
allowed_vlans: all
Important Factoids
- The OpenAPI schema defines
vpcPairDetails as an optional property of a VPC pairing request.
- The OpenAPI schema does not define restrictions based on fabric type or switch role.
- The tested switches are ToR switches.
- The controller accepted the
vpcPairDetails PUT for 10.122.84.197 and 10.122.84.198.
- The test used
save: false and deploy: false.
- A temporary module bypass was required because of the current blanket fabric-type rejection.
- Fabric types requiring investigation include VXLAN iBGP, VXLAN eBGP, LANClassic, External Connectivity, and ISN.
- Switch-role combinations requiring investigation include leaf-to-leaf, ToR-to-ToR, leaf-to-ToR, border, and border-gateway combinations where applicable.
Proposed Investigation
Build and document a support matrix covering:
- Each supported fabric type.
- Each valid switch-role pairing.
- Whether
vpcPairDetails is accepted.
- Whether default and custom detail templates behave differently.
- Whether save and deploy operations succeed after pairing.
Then update nd_manage_vpc_pair to use that matrix or an authoritative runtime capability check instead of the current blanket restriction.
References
Description
The
nd_manage_vpc_pairmodule rejectsvpc_pair_detailson all iBGP/eBGP VXLAN fabrics based solely on fabric type. However, Nexus Dashboard acceptedvpcPairDetailsfor the tested ToR pair.The complete support matrix should be investigated across all supported fabric types and switch-role combinations, then reflected in the module validation and documentation.
Affected Module Name(s):
ND version and ND Platform
APIC version and APIC Platform for Site related issues
Collection versions
Output/ Error message
Expected Behavior
nd_manage_vpc_pairshould allowvpc_pair_detailsfor supported combinations of:Unsupported combinations should produce a precise validation error.
Actual Behavior
The module currently blocks
vpc_pair_detailsfor the entirevxlanIbgporvxlanEbgpfabric before sending the request. The validation does not inspect switch roles.Other fabric types and role combinations are also not covered by a documented support matrix.
Playbook tasks to Reproduce
Important Factoids
vpcPairDetailsas an optional property of a VPC pairing request.vpcPairDetailsPUT for10.122.84.197and10.122.84.198.save: falseanddeploy: false.Proposed Investigation
Build and document a support matrix covering:
vpcPairDetailsis accepted.Then update
nd_manage_vpc_pairto use that matrix or an authoritative runtime capability check instead of the current blanket restriction.References
vpcPairDetailsrequest schemand_manage_vpc_pairfabric-type validation