Skip to content

Add attach and detach NIC support for NetH VMs - #994

Open
Rachana-Kodal wants to merge 1 commit into
openmainframeproject:masterfrom
Rachana-Kodal:neth_attach/detach_nic
Open

Rachana-Kodal wants to merge 1 commit into
openmainframeproject:masterfrom
Rachana-Kodal:neth_attach/detach_nic

Conversation

@Rachana-Kodal

@Rachana-Kodal Rachana-Kodal commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

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:
Pasted Graphic 8

Picked PCIF:
Pasted Graphic 10

Attaching the PCIF to the port and attach the nic to the VM
Pasted Graphic 11

Logs for attach nic:
Pasted Graphic 12

Verification of attach:
Pasted Graphic 13

Verification of attached PCIF:
Pasted Graphic 14

Interface attach verification:
Pasted Graphic 15

Test 2: Attach flat without a PCIF (auto-pick)

Removing the pcif property from the instance:
Pasted Graphic 16

Attach nic and verification:
Pasted Graphic 19

Logs for attach:
Pasted Graphic 18

PCIF attach verification:
Pasted Graphic 20

Interface verification:
Pasted Graphic 21

Test 3: Detach a nic (vlan one)

Detach NIC and verification:
Pasted Graphic 23

Logs for detach:
Pasted Graphic 22

PCIF detach verification:
Pasted Graphic 24

Interface detach verification:
Pasted Graphic 25

@Rachana-Kodal
Rachana-Kodal force-pushed the neth_attach/detach_nic branch 3 times, most recently from 3ad367e to d2028e5 Compare November 16, 2026 14:17
Signed-off-by: Rachana Kodal <rachana.kodal@ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant