On 12/01/08 16:41, Erik Nordmark wrote: > Kais Belgaied wrote: >> Here's what the project team (work done by Eric & Mike Cc'ed) >> implemented to address the upgrade : >> >> In both bfu and the postinstall script of SUNWcnetr: >> - We parse /etc/hostname*.* and come up with list of linknames & VIDs >> configured in the global zone. >> - From the output of zonecfg info net of each configured zone, we get >> the liist of PPA hack VLANs for the zones. > > Please verify that you can run zonecfg info for an alternate root > which is a different OS release than what is currently booted. > I just verified this with our latest crossbow build running zonecfg against an alternate root with a pre-ip-instances zone.
ns-t2000-17: crossbow nemo2: s10 (01/2005) with zone1 # zonecfg -z zone1 -R /net/nemo2 info zonepath zonepath: /net/nemo2/export/zone1 # zonecfg -z zone1 -R /net/nemo2 info ip-type ip-type: shared -Mike >> - With these two lists, we add the appropriate dladm create-vlan >> commands to /var/svc/profile/upgrade_datalink >> Upon reboot, the right vlan data links get created. >> >> I'll capture that in the section 4.3 of the opinion. > > Makes sense in the opinion. Project team needs to work out the > implementation detail above. > > Erik
