Rishi Srivatsavai wrote: > RBridges project is targeting build 124 and we are modifying > the post-install script in SUNWcnetr (and BFU) to detect and add > support for bridging when there are VLAN links with VLAN ID 1 > on the system. We are requesting feedback on changing this code > to work with IPS. For more background on this upgrade code > please see the following thread: > http://markmail.org/message/yliev672n7w3dycd > > The post-install script in SUNCnetr[1] detects VLAN links with ID > set to default PVID (VLAN 1) on the system by reading the entries > in /etc/dladm/datalink.conf file. On detecting such VLAN links > the postinstall script determines the interface of the VLAN link > and updates the default_tag property on the interface to zero. > The update happens by adding the commands to a upgrade script[2] > that is executed on the next re-configure boot by network-physical > SMF service. > > To add similar support in IPS we are considering removing the above > code and implementing one of the following proposals below: > > (1) Modify the existing datalink-management SMF service method to > do the necessary checks on re-configure boot and add the necessary > dladm commands to a upgrade script[2] that runs during network-physical. > > (2) Create a new SMF service that runs late in boot and also only once > on boot after upgrade to perform the PVID update. Please share any pointers > to existing SMF services that are similar and run just once. > > Please let us know if you have any suggestions or comments on the > above approaches or any other proposals. We prefer (2) in introducing > a specific service to handle the update rather than modify an existing > service and as there are no restrictions to run the update early on > during boot and before manifest-import. Rishi,
If (2) depends on running before manifest-import, it may break after early-manifest-import(EMI) is integrated later this year. I am including smf-discuss so that the people working on EMI can say if there will be a way for a service to start before EMI. Antonello > > Thanks, > Rishi > > [1] > http://cr.opensolaris.org/~rishi/rbridges4/usr/src/pkgdefs/SUNWcnetr/postinstall.udiff.html > [2] /var/svc/profile/upgrade_datalink > > _______________________________________________ > pkg-discuss mailing list > pkg-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/pkg-discuss