Thierry Parmentelat [Thu, 18 Dec 2008 20:56:15 +0000 (20:56 +0000)]
update
Thierry Parmentelat [Thu, 18 Dec 2008 20:50:46 +0000 (20:50 +0000)]
an example using regular python
Marta Carbone [Wed, 17 Dec 2008 11:15:34 +0000 (11:15 +0000)]
Added dummynet accessors.
Added UpdateEmulationLink method, used to
create a connection between a node and a dummynet box.
Still need to delete dummynet box related tags when
deleting a dummynet box.
Marta Carbone [Wed, 17 Dec 2008 10:31:27 +0000 (10:31 +0000)]
Create a function used to build che command line according
the node_type and added the 'dummynet' type support.
Added usage comments.
Marta Carbone [Wed, 17 Dec 2008 09:36:14 +0000 (09:36 +0000)]
Moved handle_filename code in a function.
Added the allowed action tables according the node_type and related checks.
Added comments.
Generic node generation will always check for node existence.
Thierry Parmentelat [Thu, 11 Dec 2008 18:29:31 +0000 (18:29 +0000)]
Slice tags can be managed from AddSlice/UpdateSlice/GetSlices
SliceTags now can access the slice name
Set accessors occurences logged in Events
Other minor improvements in some log messages (show names rather than ids as often as possible)
Thierry Parmentelat [Thu, 11 Dec 2008 16:24:35 +0000 (16:24 +0000)]
Interfaces can handle tags through Add/Get/Update
Interfaces can be referenced from their ip rather than just on interface_id
removed remaining references to 'node networks' in text/comment
Thierry Parmentelat [Thu, 11 Dec 2008 16:19:31 +0000 (16:19 +0000)]
cosmetic
Thierry Parmentelat [Thu, 11 Dec 2008 11:08:41 +0000 (11:08 +0000)]
documented tag-based access methods and nodegroup new model
Thierry Parmentelat [Thu, 11 Dec 2008 07:54:15 +0000 (07:54 +0000)]
cleanup - make node/interface/slice similar
Thierry Parmentelat [Wed, 10 Dec 2008 20:58:29 +0000 (20:58 +0000)]
define tags exposed to the API in the Accessors area
Thierry Parmentelat [Tue, 9 Dec 2008 13:35:48 +0000 (13:35 +0000)]
again
Thierry Parmentelat [Tue, 9 Dec 2008 13:04:37 +0000 (13:04 +0000)]
oops
Thierry Parmentelat [Tue, 9 Dec 2008 10:33:20 +0000 (10:33 +0000)]
fix
Thierry Parmentelat [Tue, 9 Dec 2008 08:52:08 +0000 (08:52 +0000)]
keep things simple, use 'value' rather than 'tagvalue' everywhere
GetBootMedium fetches tags through Nodes
Thierry Parmentelat [Sat, 6 Dec 2008 23:15:29 +0000 (23:15 +0000)]
AddNode/UpdateNode/GetNodes should no be 100% tag-friendly
Thierry Parmentelat [Sat, 6 Dec 2008 15:50:19 +0000 (15:50 +0000)]
accepts tags in getnodes filters
Thierry Parmentelat [Sat, 6 Dec 2008 13:43:51 +0000 (13:43 +0000)]
auto init for row classes
Thierry Parmentelat [Sat, 6 Dec 2008 09:21:53 +0000 (09:21 +0000)]
dont print tagvalue - breaks stress test
Thierry Parmentelat [Fri, 5 Dec 2008 19:53:39 +0000 (19:53 +0000)]
boot manager assumes the tagname is identical to the initscript conventions
Thierry Parmentelat [Fri, 5 Dec 2008 08:33:10 +0000 (08:33 +0000)]
defining view_name in the Row class does not work, as Table does not know about its Row class
Thierry Parmentelat [Fri, 5 Dec 2008 08:26:18 +0000 (08:26 +0000)]
node_type can be provided at AddNode time
Thierry Parmentelat [Fri, 5 Dec 2008 08:10:30 +0000 (08:10 +0000)]
node_type object and methods
Thierry Parmentelat [Thu, 4 Dec 2008 22:18:57 +0000 (22:18 +0000)]
nodes have a node_type (NodeType object and api calls still missing)
nodes tags might be exposed through GetNodes (implicit initializations still missing)
cannot filter on tags yet & very ilghtly tested
Thierry Parmentelat [Thu, 4 Dec 2008 22:10:09 +0000 (22:10 +0000)]
svn keywords yet again
Thierry Parmentelat [Thu, 4 Dec 2008 22:09:48 +0000 (22:09 +0000)]
svn keywords yet again
Thierry Parmentelat [Thu, 4 Dec 2008 12:05:43 +0000 (12:05 +0000)]
layout
Thierry Parmentelat [Thu, 4 Dec 2008 09:07:27 +0000 (09:07 +0000)]
syncs plcsh too - useful when debugging a broken api
Thierry Parmentelat [Tue, 2 Dec 2008 14:14:37 +0000 (14:14 +0000)]
cosmetic
Thierry Parmentelat [Tue, 2 Dec 2008 13:18:25 +0000 (13:18 +0000)]
svn kwds
Thierry Parmentelat [Tue, 2 Dec 2008 13:16:51 +0000 (13:16 +0000)]
typo
Thierry Parmentelat [Fri, 28 Nov 2008 14:54:49 +0000 (14:54 +0000)]
scrunch
Thierry Parmentelat [Fri, 28 Nov 2008 14:36:02 +0000 (14:36 +0000)]
renaming SliceAttribute into SliceTag and InterfaceSetting into InterfaceTag
Thierry Parmentelat [Thu, 27 Nov 2008 14:58:04 +0000 (14:58 +0000)]
Tagging module PLCAPI - PLCAPI-5.0-2
Checkpointing : this version still has interface settings and slice attributes
Thierry Parmentelat [Wed, 26 Nov 2008 08:21:42 +0000 (08:21 +0000)]
eventually use the right kernel arg
Thierry Parmentelat [Wed, 26 Nov 2008 04:43:26 +0000 (04:43 +0000)]
add debug to kargs for the no-hangcheck option
Thierry Parmentelat [Tue, 25 Nov 2008 15:20:17 +0000 (15:20 +0000)]
use correct variable - hopefully
Thierry Parmentelat [Tue, 25 Nov 2008 07:54:43 +0000 (07:54 +0000)]
fix event logging
Thierry Parmentelat [Mon, 24 Nov 2008 22:17:52 +0000 (22:17 +0000)]
log getbootmedium calls
Thierry Parmentelat [Mon, 24 Nov 2008 20:47:44 +0000 (20:47 +0000)]
spelling
Thierry Parmentelat [Mon, 24 Nov 2008 20:38:08 +0000 (20:38 +0000)]
oops
Thierry Parmentelat [Mon, 24 Nov 2008 20:26:32 +0000 (20:26 +0000)]
a tag for test nodes
Thierry Parmentelat [Mon, 24 Nov 2008 20:00:19 +0000 (20:00 +0000)]
oops
Thierry Parmentelat [Mon, 24 Nov 2008 19:26:31 +0000 (19:26 +0000)]
oops
Thierry Parmentelat [Mon, 24 Nov 2008 17:17:15 +0000 (17:17 +0000)]
support for the no-hangcheck option
Thierry Parmentelat [Mon, 24 Nov 2008 16:40:42 +0000 (16:40 +0000)]
comment
Thierry Parmentelat [Mon, 24 Nov 2008 16:39:20 +0000 (16:39 +0000)]
stores KEY_RENEWAL_DATE for information in plnode.txt
Stephen Soltesz [Mon, 3 Nov 2008 16:14:16 +0000 (16:14 +0000)]
Looks ok to me.
Thierry Parmentelat [Sun, 2 Nov 2008 03:11:56 +0000 (03:11 +0000)]
the extensions node tag
Thierry Parmentelat [Sun, 2 Nov 2008 02:55:48 +0000 (02:55 +0000)]
support for moving across different releases of postgresql
(typical use will be from f8/pgsql-8.2 down to centos5/pgsql-8.1)
to this end, pull planetlab4 database through a pgsql client
Thierry Parmentelat [Sun, 2 Nov 2008 02:53:04 +0000 (02:53 +0000)]
package migration script for v4 to v5
Thierry Parmentelat [Sat, 11 Oct 2008 10:58:18 +0000 (10:58 +0000)]
embed svn Id keyword
Thierry Parmentelat [Sat, 11 Oct 2008 10:52:14 +0000 (10:52 +0000)]
add svn keyword
Tony Mack [Fri, 10 Oct 2008 17:50:44 +0000 (17:50 +0000)]
bug fix in Table.sync. Only attempt to fetch/generate next primary key if it isnt included
Tony Mack [Mon, 6 Oct 2008 18:45:40 +0000 (18:45 +0000)]
admins can now update the site_id. This should make it easier to move nodes to different sites
Tony Mack [Mon, 6 Oct 2008 18:12:29 +0000 (18:12 +0000)]
fix typo. When sending email notification, use values from plc_config instead of hardcoded ones
Tony Mack [Mon, 6 Oct 2008 17:48:19 +0000 (17:48 +0000)]
Send user an email when thier account has been disable or enabled. This should help to resolve some registration/verification confusion
Thierry Parmentelat [Tue, 23 Sep 2008 18:30:03 +0000 (18:30 +0000)]
oops, missing arg
Thierry Parmentelat [Tue, 23 Sep 2008 15:51:12 +0000 (15:51 +0000)]
add a vref accessor for slices
Thierry Parmentelat [Mon, 22 Sep 2008 19:26:04 +0000 (19:26 +0000)]
centos 5.2 comes with postgresql-8.1
Thierry Parmentelat [Fri, 19 Sep 2008 10:51:10 +0000 (10:51 +0000)]
use consistent default for boot_state
Thierry Parmentelat [Fri, 19 Sep 2008 06:52:09 +0000 (06:52 +0000)]
clean up the boot states area
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