Cathy Zhou wrote:

> Yes, that would be a problem. We have to make zoneadm know that this is 
> a VLAN ppa hack name so that it knows to create a VLAN 32 over bge0.

But wouldn't that approach be confusing when using vanity-named vlans?

> I guess I will keep those ioctls as is.

FWIW it might make sense to remove "VLAN" from the name of the ioctls, 
since they are issued for all datalink names.

> [ I vaguely remembered that Nicolas commented long before maybe we 
> should introduce syntax like "physical = bge0 vlanid = 32". I say his 
> point only now. Sign. ]

If we were to go in that direction wouldn't we have to fold all of 
dladm's ability to create datalinks into zonecfg? Not only VLANs but 
also aggregations, vnics, etc?

The direction we took with IP Instances has less of an impact on the 
user I think; we just treat the 'physical' property in zonecfg as 
'datalink name' and let dladm be the focal point for how to create and 
manage datalink names.

    Erik

Reply via email to