>>> On 8/19/2016 at 10:59 AM, Mark Pace <[email protected]> wrote: 
> Trying to dynamically add a network port.
> Granted linux access to the vswitch
> 
> set vswitch vswbpic grant sles001
> Command complete
> 
> Then defined the virtual nic to linux
> sles001:~ # vmcp define nic 3d00 type qdio dev 3
> NIC 3D00 is created; devices 3D00-3D02 defined
> sles001:~ # vmcp couple 3d00 system vswbpic
> NIC 3D00 is connected to VSWITCH SYSTEM VSWBPIC
> 
> When I try to bring the nic online.
> sles001:~ # chccwdev -e 0.0.3d00-0.0.3d02
> Setting device 0.0.3d00 online
> Failed (Invalid argument)
> Failed
> 
> Not sure what I am missing, or what the Invalid argument is.

Try using qeth_configure:
qeth_configure 0.0.3d00 0.0.3d01 0.0.3d02 1

This has the added benefit of writing out the udev rules to make the NIC 
persistent across reboots.


Mark Post

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to