On Wednesday, 01/19/2011 at 09:41 EST, PHILIP TULLY
<[email protected]> wrote:
> I was looking for a place within Linux that the vswitch name is stored
> for each virtual nic.
>
> I can query the nic information.
> # vmcp q v nic
> Adapter 0350.P00 Type: QDIO      Name: osatest     Devices: 3
> MAC: 02-00-06-00-00-C5         VSWITCH: SYSTEM ESNET1
>
> If you look at the data in this list, all of it is stored under
> /sys/bus/ccwgroup/drivers/qeth
> the only info I can't find is the vswitch name.
>
> Does anyone know if it is stored with linux?

Phil, why would you want Linux to have that info?  You really don't want
to (IMO) build operational dependencies on VSWITCH names.  I have one
called DEVQA that has access to a Development VLAN and a QA VLAN.  If I
add a management VLAN to it, I'm going to change the VSWITCH name to
DEVQAMGTto reflect that, but I don't want the Linux guests to care. That's
something that I manage at the z/VM level.

That other stuff is architecturally part of the OSA and Linux is entitled
to know it.  Imagine a world where the virtual machine has only enough
authority to get Linux booted up and running, and its device drivers
operational.  No other DIAGNOSE functions or CP commands allowed.   From a
security point of view, very similar to LPAR.  Ah, Paradise!   (Oh,
waiter!  The umbrella in my glass fell out.  Please bring me a fresh
drink.)

Alan Altmark

z/VM and Linux on System z Consultant
IBM System Lab Services and Training
ibm.com/systems/services/labservices
office: 607.429.3323
[email protected]
IBM Endicott

----------------------------------------------------------------------
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