Thanks for the reply. I use hmc_command as you suggested.
I wonder if I should suggest this as a new feature on GitHub. It's not something that's done often, but when it is, it's usually on a large number of IBM Power/VIOS systems at once. It would be really useful in my work.
------------------------------
Kamil P
------------------------------
Original Message:
Sent: Fri February 21, 2025 04:43 AM
From: Andrey Klyachkin
Subject: Adding/Remove VLAN to SEA on VIOS
Hi Kamil,
I didn't try it, but to add a VLAN to SEA on VIOS, you must first change the VIOS LPAR configuration-add VLAN to a Virtual Ethernet adapter or add a new Virtual Ethernet adapter. For this operation, you need HMC. The second part of the task is to reconfigure SEA on VIOS in case you added a new Virtual Ethernet adapter.
There are no ready-to-use modules to complete the task. As far as I see, the only way to do it is to use the hmc_command module.
------------------------------
Andrey Klyachkin
https://www.power-devops.com
Original Message:
Sent: Thu February 20, 2025 04:26 AM
From: Kamil P
Subject: Adding/Remove VLAN to SEA on VIOS
Hi,
Is it possible to add a vlan to SEA on VIOS using any of the ansible collections for IBM Power? Or can it only be done from the HMC collection using the command module?
I would like to do what is here https://www.ibm.com/docs/en/power9/9040-MR9?topic=networks-dynamically-adding-removing-vlans-virtual-io-server
Has anyone tried doing something like this? I'm looking and can't find it in the available AIX, VIOS, HMC collections.
------------------------------
Kamil P
------------------------------