Skip to content

Fix issue clearing IPv4 interface#911

Open
sdodsley wants to merge 1 commit intoPure-Storage-Ansible:masterfrom
sdodsley:network_clear
Open

Fix issue clearing IPv4 interface#911
sdodsley wants to merge 1 commit intoPure-Storage-Ansible:masterfrom
sdodsley:network_clear

Conversation

@sdodsley
Copy link
Member

@sdodsley sdodsley commented Jan 30, 2026

SUMMARY

A change in the meaning of None for an IPv4 netmask in the py-pure-client SDK caused failures in clearing IPv4-based interfaces.
Need to change from None to "".
This did not affect IPv6-based interfaces, however, pre-empthin this potential change in IPv6 as well, both protocols are updated to use "".
Adds additonal check to ensure selected interface data is collected.
Closes #907
Closes #905

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

purefa_network.py

@sdodsley sdodsley self-assigned this Jan 30, 2026
@sdodsley sdodsley added the bug Something isn't working label Jan 30, 2026
@sdodsley sdodsley force-pushed the network_clear branch 2 times, most recently from e733410 to 9906aeb Compare January 30, 2026 15:20
@sdodsley sdodsley marked this pull request as ready for review January 30, 2026 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

purefa_network: IPv4 address + MTU reset fails when MTU=9000 purefa_network fails when setting IP address on vir1

1 participant