Hi John,
Just a heads up, it seems your makefiles and IPS manifests are not
in agreement as to file names they deliver; I think a nightly(1) should
help identify this.
I found install-installadm.mf needed changed and
usr/src/cmd/installadm/Makefile. One other nit but usually it's common to
alphabetize lines and items too -- at least I've had people ask that of me
in the past.
As I can start testing with your latest bits you've sent, I
updated the build bits in my Multihomed work. If you just want to
copy-n-paste or see what I've done (sorry it's got all of my Multihomed
bits to wade through too):
http://cr.opensolaris.org/~clayb/aimdns_example_build
Thank you,
Clay
On Thu, 28 Oct 2010, John Fischer wrote:
All,
I have addressed an issue raised by Clay. The issue was around the SMF
multihomed properties networks and exclude_networks. I have posted a
new webrev and differential webrev at:
http://cr.opensolaris.org/~johnfisc/aimdns-6977107
http://cr.opensolaris.org/~johnfisc/aimdns-6977107-diff
http://cr.opensolaris.org/~johnfisc/aimdns-6977107.orig
Only aimdns.py and test_aimdns.py are effected by this change.
Thanks,
John
On 10/27/10 10:17 AM, John Fischer wrote:
All,
One other thing.... Special thanks to Clay for his pre-webrev
review and help with the test_aimdns.py script. You Rock
Dude!!
Thanks,
John
On 10/27/10 10:11 AM, John Fischer wrote:
All,
I need to do a phased change set for CR 6977107:
usage of dns-sd needs to be replaced within install
as Clay's multihomed project needs to integrate before
I make infrastructure changes to installadm but the
multihomed project needs the dns-sd replacement
(aka aimdns).
So this webrev only includes the changes necessary
to integrate aimdns into slim_source. I have ran the
code through pep8 v0.6.1, pylint v0.18.0 and hg nits.
The webrev is located at:
http://cr.opensolaris.org/~johnfisc/aimdns-6977107/
aimdns uses pybonjour to make mDNS registrations,
browse and lookups for the service records. It consists
of a class and then a python script that uses the class.
I have 2 helper libraries libaimdns.so and netif.so. I
use 2 libraries because the netif.so functionality may be
in a future release of python but the libaimdns.so code
is specific to my needs.
netif.so is a wrapper for the if_nametoindex(3SOCKET)
functions of if_nametoindex(), if_indextoname() and
if_nameindex(). if_nametoindex() specifically is needed
to get the interface index number to pass to pybonjour.
libaimdns.so is a wrapper for getifaddrs(3SOCKET) and
getting various SMF properties via SCF function calls.
There are tests for aimdns, netif.so and libaimdns.so.
I expect to make additional changes to aimdns.py,
probably the tests and the infrastructure within installadm
in phase II (i.e., this isn't the last change set before code
complete).
Feedback appreciated,
John
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss