[Pure Storage] Fix issue with VLAN LACP bond ports

If a LACP bond port is defined as part of a VLAN, the FlashArray
will retag this port as a VIF rather than an LACP_BOND.

This patch adds in an extra check to find ports of type
VIF.

Closes-Bug: #2112566
Change-Id: Ib31ef5ea318332124abcf2dda2ed74f1ba0df840
This commit is contained in:
Simon Dodsley
2025-05-16 16:10:17 -04:00
parent d23a17da67
commit fcb18c5c40
2 changed files with 8 additions and 1 deletions

View File

@@ -3561,7 +3561,8 @@ class PureBaseVolumeDriver(san.SanDriver):
)
lacps = list(
array.get_network_interfaces(
filter="eth.subtype='lacp_bond'"
filter=("eth.subtype='lacp_bond'" or
"eth.subtype='vif'")
).items
)
if lacps:

View File

@@ -0,0 +1,6 @@
---
fixes:
- |
[Pure Storage] Resolved issue where LACP bonds are being
defined as part of a VLAN, resulting in target ports
not being correctly identified.