Thierry Parmentelat [Tue, 24 Jun 2008 22:05:57 +0000 (22:05 +0000)]
PLC/Legacy needs get packaged
Thierry Parmentelat [Tue, 24 Jun 2008 22:05:39 +0000 (22:05 +0000)]
wrong help message
Thierry Parmentelat [Tue, 17 Jun 2008 16:11:29 +0000 (16:11 +0000)]
rebuild index
Thierry Parmentelat [Tue, 17 Jun 2008 14:16:41 +0000 (14:16 +0000)]
expose all methods to php
Thierry Parmentelat [Tue, 17 Jun 2008 13:25:53 +0000 (13:25 +0000)]
legacy methods - this is more an excuse for studying how the API can be
reorganized into several parts
Thierry Parmentelat [Tue, 17 Jun 2008 13:22:48 +0000 (13:22 +0000)]
can sync directly into an ssh-enabled vserver
Thierry Parmentelat [Fri, 13 Jun 2008 13:57:01 +0000 (13:57 +0000)]
oops, undefined variable
Tony Mack [Wed, 4 Jun 2008 19:03:01 +0000 (19:03 +0000)]
fix bug
Thierry Parmentelat [Tue, 3 Jun 2008 06:09:12 +0000 (06:09 +0000)]
fix
Thierry Parmentelat [Tue, 3 Jun 2008 05:01:06 +0000 (05:01 +0000)]
get the ilinks to work
Tony Mack [Tue, 3 Jun 2008 02:27:02 +0000 (02:27 +0000)]
new method next_id(...) returns next primary key id
Tony Mack [Tue, 3 Jun 2008 02:25:07 +0000 (02:25 +0000)]
obtain integer primary keys by calling nextval() on the sequence instead of quering the table's oids
Stephen Soltesz [Mon, 2 Jun 2008 21:26:34 +0000 (21:26 +0000)]
This is a lousy hack, but it may help prevent some of the out-of-sync errors
reported by users that try to (for instance) add a node, but get no indication
of failure b/c the operation has timed out, but later the node will be added,
but without a node network.
Thierry Parmentelat [Mon, 2 Jun 2008 18:59:30 +0000 (18:59 +0000)]
a single tag type for slice attributes, iterface settings, node tags and ilinks
Tony Mack [Fri, 30 May 2008 18:16:47 +0000 (18:16 +0000)]
only log errors if logging is enabled
Thierry Parmentelat [Fri, 30 May 2008 13:56:33 +0000 (13:56 +0000)]
fix
Thierry Parmentelat [Fri, 30 May 2008 12:17:47 +0000 (12:17 +0000)]
fix for names
Thierry Parmentelat [Fri, 30 May 2008 10:52:31 +0000 (10:52 +0000)]
oops
Thierry Parmentelat [Thu, 29 May 2008 15:24:14 +0000 (15:24 +0000)]
nodegroups work and are getting tested as part of the plcapi test
Thierry Parmentelat [Thu, 29 May 2008 15:21:45 +0000 (15:21 +0000)]
cosmetic
Thierry Parmentelat [Thu, 29 May 2008 13:23:49 +0000 (13:23 +0000)]
moving PLCAPI unit test script under tests/plcapi
Thierry Parmentelat [Thu, 29 May 2008 13:21:45 +0000 (13:21 +0000)]
obsolete node-nodegroup association
Thierry Parmentelat [Thu, 29 May 2008 13:20:31 +0000 (13:20 +0000)]
duplicate with tests/trunk/federation/Test.py
Thierry Parmentelat [Wed, 28 May 2008 09:16:51 +0000 (09:16 +0000)]
moving refresh-peer.py with MyPLC where it belongs
Thierry Parmentelat [Wed, 28 May 2008 05:27:15 +0000 (05:27 +0000)]
oops
Thierry Parmentelat [Wed, 28 May 2008 04:58:00 +0000 (04:58 +0000)]
rename IlinkType into LinkType as these types will be used for Nlinks as well
Thierry Parmentelat [Tue, 27 May 2008 15:18:55 +0000 (15:18 +0000)]
first draft for ilinks : typed and valued links between interfaces
e.g.
AddIlinkType ('dummynet')
AddIlink (interface_id_src, interface_id_dst, 'dummynet', 'a value if that makes sense')
TODO: clean up ilinks when nodes or interfaces get deleted
Thierry Parmentelat [Tue, 27 May 2008 12:50:05 +0000 (12:50 +0000)]
drop support for psycopg2 and pycurl
Thierry Parmentelat [Tue, 27 May 2008 09:40:21 +0000 (09:40 +0000)]
...
Thierry Parmentelat [Mon, 26 May 2008 08:29:48 +0000 (08:29 +0000)]
this should use tags vs nodegroups, but for now we do a quick fix, as it causes an exception at runtime
Thierry Parmentelat [Mon, 26 May 2008 07:08:11 +0000 (07:08 +0000)]
doc generation breaks if an empty list is mentioned as part of accepts
Thierry Parmentelat [Fri, 23 May 2008 15:17:29 +0000 (15:17 +0000)]
work in progress - passes simple tests
Thierry Parmentelat [Fri, 23 May 2008 10:25:13 +0000 (10:25 +0000)]
step2 : basic functions for handling nodetags and nodegroups - still highly volatile
Thierry Parmentelat [Thu, 22 May 2008 21:03:39 +0000 (21:03 +0000)]
turns out this is required
Thierry Parmentelat [Thu, 22 May 2008 15:40:21 +0000 (15:40 +0000)]
first draft for node tags & new node groups:
* assuming the database name & version is reset to planetlab5 (5,) - migrations cleaned
* 'nodenetwork' renamed into 'interface'
* ongoing work - this is known to be still broken, as some objects and methods still need changes
Thierry Parmentelat [Tue, 20 May 2008 10:07:02 +0000 (10:07 +0000)]
Branch 5.0 for module PLCAPI created from tag PLCAPI-4.2-8
Thierry Parmentelat [Wed, 14 May 2008 12:50:40 +0000 (12:50 +0000)]
Tagging module PLCAPI - PLCAPI-4.2-8
fixed doc build by locating locally installed DTDs at build-time
Thierry Parmentelat [Wed, 14 May 2008 01:44:39 +0000 (01:44 +0000)]
myplc-docs build from local dtds - more robust, and much faster too
Thierry Parmentelat [Fri, 9 May 2008 10:02:33 +0000 (10:02 +0000)]
Tagging module PLCAPI - PLCAPI-4.2-7
no more doc packaged outside of myplc-docs - doc/ cleaned up
enhancements in doc on filters
bootcd-aware GetBootMedium merged from onelab
Thierry Parmentelat [Fri, 9 May 2008 09:46:04 +0000 (09:46 +0000)]
syncing both PLCAPI branches
* bootcd-aware GetBootMedium for planetlab
* doc/ area cleaned up and fixed in dummynet branch for onelab
Thierry Parmentelat [Fri, 9 May 2008 06:38:36 +0000 (06:38 +0000)]
fix3
Thierry Parmentelat [Thu, 8 May 2008 10:51:24 +0000 (10:51 +0000)]
remove other doc building stuff
Thierry Parmentelat [Thu, 8 May 2008 09:11:02 +0000 (09:11 +0000)]
first draft for the myplc-docs package (cross-module change)
Thierry Parmentelat [Thu, 8 May 2008 07:29:48 +0000 (07:29 +0000)]
Tagging module PLCAPI - PLCAPI-4.2-6
checkpoint while the new myplc-docs package is underway
bugfix: GetSlivers & conf files
doc: removed target files
Thierry Parmentelat [Thu, 8 May 2008 06:35:26 +0000 (06:35 +0000)]
cleaning up
Marc Fiuczynski [Wed, 7 May 2008 21:25:36 +0000 (21:25 +0000)]
fix bug with conf_file variable in the nodegroup and node conf file update
Stephen Soltesz [Wed, 23 Apr 2008 21:54:03 +0000 (21:54 +0000)]
Tagging module PLCAPI - PLCAPI-4.2-5
Removed conditions on the persons, site, and nodes indexes. previsouly only
the non-deleted fields were index, resulting in massivly slow queries.
Thierry Parmentelat [Fri, 11 Apr 2008 08:58:29 +0000 (08:58 +0000)]
svn merge -c 8998 ./branches/dummynet-4.2-2 ./trunk/
Reed Moran [Wed, 9 Apr 2008 17:48:33 +0000 (17:48 +0000)]
Fixed major IDXs, removing WHERE deleted IS FALSE parts cuz it was not indexing the whole table due to those
Thierry Parmentelat [Wed, 26 Mar 2008 10:12:34 +0000 (10:12 +0000)]
Tagging module PLCAPI - PLCAPI-4.2-4
plcsh: better handling of options when running as a shell script
getbootmedium exports compute_key
tweaks for accepted args in GetPCUTypes and BootNotifyOwners
Thierry Parmentelat [Thu, 20 Mar 2008 11:59:45 +0000 (11:59 +0000)]
take out the code that computes a new key - for use by the dummynet boot medium creation method
Tony Mack [Fri, 14 Mar 2008 19:09:11 +0000 (19:09 +0000)]
dont forget to import SessionAuth from Auth
Tony Mack [Fri, 14 Mar 2008 19:06:15 +0000 (19:06 +0000)]
accept SessionAuth
Thierry Parmentelat [Wed, 12 Mar 2008 12:32:33 +0000 (12:32 +0000)]
* plc-kml.py has now a few options for setting marker icons
* this required a tweak in plcsh, that did not handle the command line
very nicely when invoking another script file.
it is now possible to
* write a script foo.py and mention in 1st line: #!/usr/bin/env plcsh
* invoke foo.py with options and args like this
$ foo.py [plcsh-options] -- foo-options and args
* rightly get foo.py's help by running
$ foo.py --help
this is still not perfect as I'd rather remove the need for the extra --
but it's already better than before
Thierry Parmentelat [Mon, 25 Feb 2008 11:30:13 +0000 (11:30 +0000)]
using 'is' rather than '==' is wrong
Tony Mack [Tue, 19 Feb 2008 21:51:53 +0000 (21:51 +0000)]
fixed 'accepts' parameter. accepts lists now
Thierry Parmentelat [Thu, 14 Feb 2008 15:11:47 +0000 (15:11 +0000)]
Tagging module PLCAPI - PLCAPI-4.2-3
GetBootMedium support for build.sh full options, incl. serial & console_spec
GetBootMedium simpler, cleaner and safer use of tmpdirs in (dated from bootcustom.sh)
Thierry Parmentelat [Wed, 13 Feb 2008 10:38:33 +0000 (10:38 +0000)]
* build.sh completely cleaned wrt serial & -s
- can specify either -s <> or serial anywhere in the type
- supports -s default
- output filenames fixed, does not mention the console characteristics when default is used, duplicate serial fixed
* build.sh supports a new -o option, so the caller can specify the output
* GetBootMedium uses this new -o option
* GetBootMedium now has 3 known options serial[:console] cramfs partition
* GetBootMedium cowardly refuses options when deailng with floppy or generic images
haven't looked into planetlab's www module - so long as the web only supports iso/usb this should run fine
Thierry Parmentelat [Tue, 12 Feb 2008 20:19:25 +0000 (20:19 +0000)]
- now that bootcustom.sh has gone, uses a much simpler tree structure
basically evrything goes into /var/tmp/bootmedium/
hopefully no more access right issues due to both apache and root running it
- specifying a console with the 'console:xxx' option - actions restored to the fixed 6 keywords
this version does not work well with options yet - this is due to the naming scheme that
bootcd/build.sh uses, will have to implement a simpler output option for that purpose
Marc Fiuczynski [Tue, 12 Feb 2008 03:44:10 +0000 (03:44 +0000)]
- fix previously introduced typo
- support for serial line console info passed in as part of node-{iso,usb}
Marc Fiuczynski [Mon, 11 Feb 2008 20:44:51 +0000 (20:44 +0000)]
combine node-preview and node-floppy
Thierry Parmentelat [Fri, 1 Feb 2008 14:25:49 +0000 (14:25 +0000)]
Tagging module PLCAPI -- from PLCAPI-4.2-1 to PLCAPI-4.2-2
refresh peer script to use a month-dependent logfile
tracking the starting point for UniPi integration of the dummynet boxes
Thierry Parmentelat [Fri, 1 Feb 2008 14:20:24 +0000 (14:20 +0000)]
refresh peer logs named after year & month
Thierry Parmentelat [Thu, 31 Jan 2008 15:37:49 +0000 (15:37 +0000)]
Tagging module PLCAPI -- from PLCAPI-4.2-0 to PLCAPI-4.2-1
plcsh adds its own path to sys.path
fix so GetNodes can be called from a Node
Tony Mack [Mon, 28 Jan 2008 17:01:44 +0000 (17:01 +0000)]
remove debugging print statement
Tony Mack [Mon, 28 Jan 2008 16:59:37 +0000 (16:59 +0000)]
if executing a file, add the file's directory to the path to so that other files from the directory can be imported
Tony Mack [Fri, 25 Jan 2008 20:42:27 +0000 (20:42 +0000)]
evlauate api calls passed in as arguments to plcsh
Tony Mack [Fri, 11 Jan 2008 18:12:53 +0000 (18:12 +0000)]
fix bug that happen when node is the caller
Thierry Parmentelat [Tue, 8 Jan 2008 11:49:43 +0000 (11:49 +0000)]
ready for tagging
reviewed URLs and %{plrelease}
Faiyaz Ahmed [Thu, 3 Jan 2008 19:55:29 +0000 (19:55 +0000)]
Housekeeping.
Tony Mack [Thu, 3 Jan 2008 19:16:06 +0000 (19:16 +0000)]
no longer check if slice is local or peer
Tony Mack [Wed, 2 Jan 2008 17:07:07 +0000 (17:07 +0000)]
use initscript name instead of id
Stephen Soltesz [Tue, 18 Dec 2007 18:55:52 +0000 (18:55 +0000)]
Cross module commit for 'diag' and 'disabled' node states.
Tony Mack [Tue, 18 Dec 2007 17:19:43 +0000 (17:19 +0000)]
fix join tables, should be ['pcu_protocol_type']
Thierry Parmentelat [Mon, 17 Dec 2007 15:31:38 +0000 (15:31 +0000)]
errmsg needs to be set in any case
Thierry Parmentelat [Thu, 13 Dec 2007 14:13:53 +0000 (14:13 +0000)]
typos & doc
Thierry Parmentelat [Thu, 13 Dec 2007 12:32:09 +0000 (12:32 +0000)]
build libxmlrpc for php on f8
Thierry Parmentelat [Sat, 8 Dec 2007 13:23:45 +0000 (13:23 +0000)]
first draft of an about page
Thierry Parmentelat [Sat, 8 Dec 2007 12:58:22 +0000 (12:58 +0000)]
still for fc4 - the fix this morning was not enough
Thierry Parmentelat [Sat, 8 Dec 2007 09:04:05 +0000 (09:04 +0000)]
pycurl & psycopg2 were made but not installed on fc4
Thierry Parmentelat [Thu, 6 Dec 2007 08:55:20 +0000 (08:55 +0000)]
(*) groups distro-dependent files in build/config.<distro>
(*) renamed .lst files into .pkgs (lst suffix commonly used for other/tmp purposes)
(*) distro-dependent files are (mostly) optional, defaults to planetlab
(*) mkfedora accepts new -f argument : to pass a pkgs file rather than -p .. -g ..
(*) mkfedora supports junk: and precious: in pkgs file
this is from the former bootcd/prep.sh - to reduce footprint
Notes.
(*) this is untested
(*) mkfedora still supports -x (exclude) on the command line and in pkgs file
however I suspect this feature is never used
(*) mkfedora is still a separate command - could/should be merged into buld.common
(*) myplc/build.functions could/should be merged into build.common as well
Daniel Hokka Zakrisson [Wed, 5 Dec 2007 21:29:01 +0000 (21:29 +0000)]
Fix typo.
Daniel Hokka Zakrisson [Thu, 29 Nov 2007 23:05:46 +0000 (23:05 +0000)]
Support cramfs and serial images.
Daniel Hokka Zakrisson [Thu, 29 Nov 2007 22:25:18 +0000 (22:25 +0000)]
Run xmlrpclib.Transport's __init__ too (required on F7).
Daniel Hokka Zakrisson [Thu, 29 Nov 2007 04:44:07 +0000 (04:44 +0000)]
Use the new bootcd's build.sh script, which does not need root.
Daniel Hokka Zakrisson [Wed, 28 Nov 2007 22:29:14 +0000 (22:29 +0000)]
Tabs vs. spaces.
Daniel Hokka Zakrisson [Tue, 27 Nov 2007 22:05:24 +0000 (22:05 +0000)]
Make DNS optional as well for non-primary static networks.
Tony Mack [Mon, 26 Nov 2007 15:50:22 +0000 (15:50 +0000)]
ports > 254 accepted
Thierry Parmentelat [Mon, 26 Nov 2007 12:58:07 +0000 (12:58 +0000)]
oops
Thierry Parmentelat [Mon, 26 Nov 2007 12:48:14 +0000 (12:48 +0000)]
review policy for building our pycurl/psycopg2 or not - based on fedora distrib
Tony Mack [Wed, 21 Nov 2007 20:28:21 +0000 (20:28 +0000)]
allow static network without a gateway as long it isnt a primary network
Thierry Parmentelat [Wed, 21 Nov 2007 19:39:17 +0000 (19:39 +0000)]
organizing the tests area
Thierry Parmentelat [Wed, 21 Nov 2007 18:45:29 +0000 (18:45 +0000)]
organizing the tests area
Tony Mack [Tue, 20 Nov 2007 20:19:05 +0000 (20:19 +0000)]
-fix bug: users can properly update slice description/url if slice has none
Stephen Soltesz [Mon, 19 Nov 2007 15:40:41 +0000 (15:40 +0000)]
Added person['enabled'] check to the notify_owners() function. This will
prevent the bug where disabled persons with the tech-contact role are notified of boot notifications.
Thierry Parmentelat [Mon, 19 Nov 2007 09:41:46 +0000 (09:41 +0000)]
missing oids in the conf_files table causes fc6 myplc to fail in /etc/plc.d/db
Tony Mack [Thu, 15 Nov 2007 23:51:55 +0000 (23:51 +0000)]
fix documentation
Thierry Parmentelat [Wed, 14 Nov 2007 13:10:50 +0000 (13:10 +0000)]
from onelab subversion repo
Tony Mack [Tue, 13 Nov 2007 22:47:15 +0000 (22:47 +0000)]
reverse changes
Tony Mack [Tue, 13 Nov 2007 22:44:18 +0000 (22:44 +0000)]
reverse changes