Quoting John Fischer, who wrote the following on Thu, 16 Sep 2010:
Sue,
Wait..... What happens if the IPv4 address is something like 10.0.2.15?
import osol_install.auto_install.AI_database as AIdb
AIdb.formatValue('MINipv4', '10000002015')
I think that will return 10..2.15.
How about:
+ ret = str(int(svalue[0:3])) + "." + \
+ str(int(svalue[3:6])) + "." + \
+ str(int(svalue[6:9])) + "." + \
+ str(int(svalue[9:12]))
instead of the strips?
--S
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss