Repository navigation
Add attach and detach NIC support for NetH VMs - #994
Open
Rachana-Kodal wants to merge 1 commit into
Open
Rachana-Kodal wants to merge 1 commit into
Rachana-Kodal wants to merge 1 commit into
Conversation
Rachana-Kodal
force-pushed
the
neth_attach/detach_nic
branch
3 times, most recently
from
November 16, 2026 14:17
3ad367e to
d2028e5
Compare
Signed-off-by: Rachana Kodal <rachana.kodal@ibm.com>
Rachana-Kodal
force-pushed
the
neth_attach/detach_nic
branch
from
November 24, 2026 11:27
d2028e5 to
197166f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
NetH devices map directly to PCI functions (COMMAND ATTACH PCIF * AS ). This change enables dynamic hotplug and offline attach/detach of NetH interfaces to z/VM guests, configures/cleans guest network files, and ensures proper cleanup of user directory entries and database mappings.
Result:
Test 1: Attach vlan with PCIF specified
Before attach:

Picked PCIF:



Attaching the PCIF to the port and attach the nic to the VM
Logs for attach nic:

Verification of attach:




Verification of attached PCIF:

Interface attach verification:
Test 2: Attach flat without a PCIF (auto-pick)
Removing the pcif property from the instance:

Attach nic and verification:


Logs for attach:
PCIF attach verification:



Interface verification:

Test 3: Detach a nic (vlan one)
Detach NIC and verification:

Logs for detach:

PCIF detach verification:

Interface detach verification:
