Philip Kirk - Solaris Sustaining wrote:

Hi Darren,

I have a couple of comments. Firstly there seems no way of finding out what zone a logical interface is associated with. If bge0:1 is associated with zone1 then I'd
like a way of getting this information.


At present this project has no plans for how it should interact
with zone information associated with a network interface.

Also if the zoneid changes then I'd like to
be informed of this event.


With these two requests, it sounds like you're after something like this:
zoneid_t net_getlifzoneid(phy_if_t, lif_if_t)

and in addition add a cred_t pointer to the hook_nic_event_t structure,
allowing you to use crgetzoneid() to retrieve the zone information.
I'd prefer to go that route as it provides a mechanism to access any
other cred_t data, at a later stage, without disrupting the structure.

Do you have any other suggestions on where zone information for network
interfaces or events related to zones and network interfaces could be useful?

Secondly I assume that devices such as aggregations and
vlans that are shown in ifconfig, but for which there is no real physical device will be supported. You mention lo0 but I didn't see mention of other types of devices. Is that
correct?


We intend to support all network interfaces in Solaris.

Darren

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to