If the end result of the 7.4.15. Create Guest nic RESTAPI can be changed to something like the following:
NICDEF 1000 TYPE QDIO LAN SYSTEM VSW1 PORTTYPE ACCESS VLAN 100
This would have the result of coupling a virtual nic with vdev 1000 to the vsw1 vswitch and have an access port in vlan 100
For the same result in the current setup we need to do three API calls:
Create a Nic using 7.4.15. Create Guest nic
Grant the user to a vswitch using 7.7.4. Grant user to vswitch
And set a vlanID using 7.7.6. Set user VLANID to vswitch
When using the 7.4.15. Create Guest nic RESTAPI the result is an NICDEF definition in the dirmaint user direct
the exact result is like this
NICDEF 1000 TYPE QDIO DEVICES 3
However the NICDEF statements can also be used to replace the grant vswitch and couple commands see: /www.ibm. com/support/ knowledgecenter /en/SSB27U_ 7.1.0/com. ibm.zvm. v710.hcpa5/ dnicdef. htm
https:/
If the end result of the 7.4.15. Create Guest nic RESTAPI can be changed to something like the following:
NICDEF 1000 TYPE QDIO LAN SYSTEM VSW1 PORTTYPE ACCESS VLAN 100
This would have the result of coupling a virtual nic with vdev 1000 to the vsw1 vswitch and have an access port in vlan 100
For the same result in the current setup we need to do three API calls:
Create a Nic using 7.4.15. Create Guest nic
Grant the user to a vswitch using 7.7.4. Grant user to vswitch
And set a vlanID using 7.7.6. Set user VLANID to vswitch
I hope this clears it up a bit