Thierry Parmentelat [Wed, 10 Sep 2008 15:46:18 +0000 (15:46 +0000)]
Tagging module PLCAPI - PLCAPI-5.0-1
first iteration with taggable nodes/interfaces/slices
embryo for ilinks
cleaned up boot states
migration script moslty complete
Thierry Parmentelat [Tue, 9 Sep 2008 05:18:33 +0000 (05:18 +0000)]
boot states
Thierry Parmentelat [Mon, 8 Sep 2008 13:51:50 +0000 (13:51 +0000)]
warning revised
Thierry Parmentelat [Mon, 8 Sep 2008 13:47:07 +0000 (13:47 +0000)]
rpms keys had extra spce
Thierry Parmentelat [Mon, 8 Sep 2008 11:06:46 +0000 (11:06 +0000)]
isolate migration scripts in migrations/v4-to-v5
Thierry Parmentelat [Mon, 8 Sep 2008 10:54:48 +0000 (10:54 +0000)]
manages nodegroups from user-provided spec
Thierry Parmentelat [Fri, 5 Sep 2008 15:04:49 +0000 (15:04 +0000)]
first draft for migrating DB from v4 to v5 - nodegroups not handled properly yet
Thierry Parmentelat [Mon, 1 Sep 2008 15:04:02 +0000 (15:04 +0000)]
use tags rather than nodegroups for finding out nodefamily when creating bootcd
Thierry Parmentelat [Fri, 22 Aug 2008 21:12:46 +0000 (21:12 +0000)]
fixed build & more accessors
Thierry Parmentelat [Fri, 22 Aug 2008 18:23:00 +0000 (18:23 +0000)]
more accessors, and site-local might work now
Thierry Parmentelat [Wed, 20 Aug 2008 06:44:26 +0000 (06:44 +0000)]
quick fix for building - disable site-local accessors
Thierry Parmentelat [Tue, 19 Aug 2008 21:49:06 +0000 (21:49 +0000)]
finetuned and nicer
Thierry Parmentelat [Tue, 19 Aug 2008 18:03:55 +0000 (18:03 +0000)]
get/set accessors should now work, e.g.:
SetNodeArch(hostname,'x86_64')
GetNodeArch(node_id)
==
The set of accessors is split into 2 python files:
(*) Accessors/Accessors_standard.py
where the tags used by the core software should be defined
(*) Accessors/Accessors_site.py
where local admins can add custom accessors (see .in for an example)
this is not overwritten by upgrades of myplc-native (for chroot ?)
==
I have only defined G/SetNodeArch for now
The template for site accessors shows how to define G/SetInterfaceVlan
Thierry Parmentelat [Tue, 19 Aug 2008 14:36:06 +0000 (14:36 +0000)]
renaming shortcut into accessor
Thierry Parmentelat [Tue, 19 Aug 2008 14:29:01 +0000 (14:29 +0000)]
creates tag types on a need-by-need basis
Thierry Parmentelat [Sun, 17 Aug 2008 09:01:30 +0000 (09:01 +0000)]
new shortcuts were not packaged
Thierry Parmentelat [Fri, 15 Aug 2008 06:31:00 +0000 (06:31 +0000)]
fix doc processing
Thierry Parmentelat [Thu, 14 Aug 2008 22:16:40 +0000 (22:16 +0000)]
checkpointing first - non functional - skeleton for shortcut methods
Thierry Parmentelat [Fri, 1 Aug 2008 19:27:24 +0000 (19:27 +0000)]
changes to the DB are committed at once, rather than once at the end of the job
Thierry Parmentelat [Wed, 30 Jul 2008 17:23:06 +0000 (17:23 +0000)]
timestamped logs
Thierry Parmentelat [Fri, 4 Jul 2008 16:03:45 +0000 (16:03 +0000)]
merged 9820 in trunk
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