[Planetlab-devel] Replacing planet.cnf and updating downloadconf.php

Stephen Soltesz soltesz at CS.Princeton.EDU
Fri Jun 29 10:06:04 EDT 2007


All,

I'd like to be sure that I'm proceeding in the right way.  It doesn't look 
like there is a direct replacement for the old API function 
AdmGenerateNodeConfFile().  The comments in the implementation of this call 
indicate that it should be possible to implement it with:

GetNodes()
GetNodeNetworks()
UpdateNode()

And, I think I see how.  The only point of clarification I'm looking for is 
whether the value of the node['key'] is at all special.  It looks like it is 
just some random characters shared between PLC and the node to seed the hmac 
authentication for BootManager.  Do I need to take any additional care 
making it up?

Thank you,
Stephen.

Marc E. Fiuczynski wrote:
>  > Only bootmanager usese planet.cnf/plnode.txt.  Its a one line change
>  > to get rid of it.
> 
> Well, the bootcd 3.x scripts look for plnode.txt and planet.cnf.  The 
> bootcd 2.x scripts only look for planet.cnf.  Since we've declared 2.x 
> bootcd as dead, we should just get rid of the support to look for 
> planet.cnf in the 3.x bootcd, as well as in the bootmanager.
> 
> We also need to change the php script that is used to generate config 
> file to return plnode.txt rather than planet.cnf.  That's a one line 
> change except that the same php script also uses the older Adm* API, 
> which should be updated, too.
> 
> Marc



More information about the Devel mailing list