A few changes to improve upon the script:
authorMarc Fiuczynski <mef@cs.princeton.edu>
Tue, 6 May 2008 02:55:18 +0000 (02:55 +0000)
committerMarc Fiuczynski <mef@cs.princeton.edu>
Tue, 6 May 2008 02:55:18 +0000 (02:55 +0000)
commit0a8be8151bb0c598591a0c35efcdeb91faac155a
treef0a9ff9b59c2c03ebb11614073bfc833fb2510b2
parentf57be1fc42063f4d629275e5bf2bdac841e6f657
A few changes to improve upon the script:

- try to make it stand alone python script
  - uses xmlrpc directly; no longer needs to import plc module

- fetches nodenetworks for all hosts and caches it locally
  to avoid having to invoke the API n times (where n is the
  # of nodes at the PLC).

Still needs:

- a proper help/usage message printed

- a way to export full functionality (e.g., delete)

- a way to specify XMLRPC_SERVER as a command line option, as
  now it by default assumes www.planet-lab.org/PLCAPI
getsshkeys.py