plcapi.git
15 years agomass-renaming 5.0 into 4.3 - db still named planetlab5 and planetlab5.sql PLCAPI-4.3-2
Thierry Parmentelat [Mon, 16 Mar 2009 14:21:11 +0000 (14:21 +0000)]
mass-renaming 5.0 into 4.3 - db still named planetlab5 and planetlab5.sql

15 years agoTagging module PLCAPI - PLCAPI-5.0-2
Thierry Parmentelat [Thu, 27 Nov 2008 14:58:17 +0000 (14:58 +0000)]
Tagging module PLCAPI - PLCAPI-5.0-2
Checkpointing : this version still has interface settings and slice attributes

15 years agoTagging module PLCAPI - PLCAPI-5.0-2
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

15 years agoeventually use the right kernel arg
Thierry Parmentelat [Wed, 26 Nov 2008 08:21:42 +0000 (08:21 +0000)]
eventually use the right kernel arg

15 years agoadd debug to kargs for the no-hangcheck option
Thierry Parmentelat [Wed, 26 Nov 2008 04:43:26 +0000 (04:43 +0000)]
add debug to kargs for the no-hangcheck option

15 years agouse correct variable - hopefully
Thierry Parmentelat [Tue, 25 Nov 2008 15:20:17 +0000 (15:20 +0000)]
use correct variable - hopefully

15 years agofix event logging
Thierry Parmentelat [Tue, 25 Nov 2008 07:54:43 +0000 (07:54 +0000)]
fix event logging

15 years agolog getbootmedium calls
Thierry Parmentelat [Mon, 24 Nov 2008 22:17:52 +0000 (22:17 +0000)]
log getbootmedium calls

15 years agospelling
Thierry Parmentelat [Mon, 24 Nov 2008 20:47:44 +0000 (20:47 +0000)]
spelling

15 years agooops
Thierry Parmentelat [Mon, 24 Nov 2008 20:38:08 +0000 (20:38 +0000)]
oops

15 years agoa tag for test nodes
Thierry Parmentelat [Mon, 24 Nov 2008 20:26:32 +0000 (20:26 +0000)]
a tag for test nodes

15 years agooops
Thierry Parmentelat [Mon, 24 Nov 2008 20:00:19 +0000 (20:00 +0000)]
oops

15 years agooops
Thierry Parmentelat [Mon, 24 Nov 2008 19:26:31 +0000 (19:26 +0000)]
oops

15 years agosupport for the no-hangcheck option
Thierry Parmentelat [Mon, 24 Nov 2008 17:17:15 +0000 (17:17 +0000)]
support for the no-hangcheck option

15 years agocomment
Thierry Parmentelat [Mon, 24 Nov 2008 16:40:42 +0000 (16:40 +0000)]
comment

15 years agostores KEY_RENEWAL_DATE for information in plnode.txt
Thierry Parmentelat [Mon, 24 Nov 2008 16:39:20 +0000 (16:39 +0000)]
stores KEY_RENEWAL_DATE for information in plnode.txt

15 years agoLooks ok to me.
Stephen Soltesz [Mon, 3 Nov 2008 16:14:16 +0000 (16:14 +0000)]
Looks ok to me.

15 years agothe extensions node tag
Thierry Parmentelat [Sun, 2 Nov 2008 03:11:56 +0000 (03:11 +0000)]
the extensions node tag

15 years agosupport for moving across different releases of postgresql
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

15 years agopackage migration script for v4 to v5
Thierry Parmentelat [Sun, 2 Nov 2008 02:53:04 +0000 (02:53 +0000)]
package migration script for v4 to v5

15 years agoembed svn Id keyword
Thierry Parmentelat [Sat, 11 Oct 2008 10:58:18 +0000 (10:58 +0000)]
embed svn Id keyword

15 years agoadd svn keyword
Thierry Parmentelat [Sat, 11 Oct 2008 10:52:14 +0000 (10:52 +0000)]
add svn keyword

15 years agobug fix in Table.sync. Only attempt to fetch/generate next primary key if it isnt...
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

15 years agoadmins can now update the site_id. This should make it easier to move nodes to differ...
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

15 years agofix typo. When sending email notification, use values from plc_config instead of...
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

15 years agoSend user an email when thier account has been disable or enabled. This should help...
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

15 years agooops, missing arg
Thierry Parmentelat [Tue, 23 Sep 2008 18:30:03 +0000 (18:30 +0000)]
oops, missing arg

15 years agoadd a vref accessor for slices
Thierry Parmentelat [Tue, 23 Sep 2008 15:51:12 +0000 (15:51 +0000)]
add a vref accessor for slices

15 years agocentos 5.2 comes with postgresql-8.1
Thierry Parmentelat [Mon, 22 Sep 2008 19:26:04 +0000 (19:26 +0000)]
centos 5.2 comes with postgresql-8.1

15 years agouse consistent default for boot_state
Thierry Parmentelat [Fri, 19 Sep 2008 10:51:10 +0000 (10:51 +0000)]
use consistent default for boot_state

15 years agoclean up the boot states area
Thierry Parmentelat [Fri, 19 Sep 2008 06:52:09 +0000 (06:52 +0000)]
clean up the boot states area

15 years agoTagging module PLCAPI - PLCAPI-5.0-1
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

15 years agoboot states
Thierry Parmentelat [Tue, 9 Sep 2008 05:18:33 +0000 (05:18 +0000)]
boot states

15 years agowarning revised
Thierry Parmentelat [Mon, 8 Sep 2008 13:51:50 +0000 (13:51 +0000)]
warning revised

15 years agorpms keys had extra spce
Thierry Parmentelat [Mon, 8 Sep 2008 13:47:07 +0000 (13:47 +0000)]
rpms keys had extra spce

15 years agoisolate migration scripts in migrations/v4-to-v5
Thierry Parmentelat [Mon, 8 Sep 2008 11:06:46 +0000 (11:06 +0000)]
isolate migration scripts in migrations/v4-to-v5

15 years agomanages nodegroups from user-provided spec
Thierry Parmentelat [Mon, 8 Sep 2008 10:54:48 +0000 (10:54 +0000)]
manages nodegroups from user-provided spec

15 years agofirst draft for migrating DB from v4 to v5 - nodegroups not handled properly yet
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

15 years agouse tags rather than nodegroups for finding out nodefamily when creating bootcd
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

15 years agofixed build & more accessors
Thierry Parmentelat [Fri, 22 Aug 2008 21:12:46 +0000 (21:12 +0000)]
fixed build & more accessors

15 years agomore accessors, and site-local might work now
Thierry Parmentelat [Fri, 22 Aug 2008 18:23:00 +0000 (18:23 +0000)]
more accessors, and site-local might work now

15 years agoquick fix for building - disable site-local accessors
Thierry Parmentelat [Wed, 20 Aug 2008 06:44:26 +0000 (06:44 +0000)]
quick fix for building - disable site-local accessors

15 years agofinetuned and nicer
Thierry Parmentelat [Tue, 19 Aug 2008 21:49:06 +0000 (21:49 +0000)]
finetuned and nicer

15 years agoget/set accessors should now work, e.g.:
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

15 years agorenaming shortcut into accessor
Thierry Parmentelat [Tue, 19 Aug 2008 14:36:06 +0000 (14:36 +0000)]
renaming shortcut into accessor

15 years agocreates tag types on a need-by-need basis
Thierry Parmentelat [Tue, 19 Aug 2008 14:29:01 +0000 (14:29 +0000)]
creates tag types on a need-by-need basis

15 years agonew shortcuts were not packaged
Thierry Parmentelat [Sun, 17 Aug 2008 09:01:30 +0000 (09:01 +0000)]
new shortcuts were not packaged

15 years agofix doc processing
Thierry Parmentelat [Fri, 15 Aug 2008 06:31:00 +0000 (06:31 +0000)]
fix doc processing

15 years agocheckpointing first - non functional - skeleton for shortcut methods
Thierry Parmentelat [Thu, 14 Aug 2008 22:16:40 +0000 (22:16 +0000)]
checkpointing first - non functional - skeleton for shortcut methods

15 years agochanges to the DB are committed at once, rather than once at the end of the job
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

15 years agotimestamped logs
Thierry Parmentelat [Wed, 30 Jul 2008 17:23:06 +0000 (17:23 +0000)]
timestamped logs

15 years agomerged 9820 in trunk
Thierry Parmentelat [Fri, 4 Jul 2008 16:03:45 +0000 (16:03 +0000)]
merged 9820 in trunk

15 years agoPLC/Legacy needs get packaged
Thierry Parmentelat [Tue, 24 Jun 2008 22:05:57 +0000 (22:05 +0000)]
PLC/Legacy needs get packaged

15 years agowrong help message
Thierry Parmentelat [Tue, 24 Jun 2008 22:05:39 +0000 (22:05 +0000)]
wrong help message

15 years agorebuild index
Thierry Parmentelat [Tue, 17 Jun 2008 16:11:29 +0000 (16:11 +0000)]
rebuild index

15 years agoexpose all methods to php
Thierry Parmentelat [Tue, 17 Jun 2008 14:16:41 +0000 (14:16 +0000)]
expose all methods to php

15 years agolegacy methods - this is more an excuse for studying how the API can be
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

15 years agocan sync directly into an ssh-enabled vserver
Thierry Parmentelat [Tue, 17 Jun 2008 13:22:48 +0000 (13:22 +0000)]
can sync directly into an ssh-enabled vserver

15 years agooops, undefined variable
Thierry Parmentelat [Fri, 13 Jun 2008 13:57:01 +0000 (13:57 +0000)]
oops, undefined variable

15 years agofix bug
Tony Mack [Wed, 4 Jun 2008 19:03:01 +0000 (19:03 +0000)]
fix bug

15 years agofix
Thierry Parmentelat [Tue, 3 Jun 2008 06:09:12 +0000 (06:09 +0000)]
fix

15 years agoget the ilinks to work
Thierry Parmentelat [Tue, 3 Jun 2008 05:01:06 +0000 (05:01 +0000)]
get the ilinks to work

15 years agonew method next_id(...) returns next primary key id
Tony Mack [Tue, 3 Jun 2008 02:27:02 +0000 (02:27 +0000)]
new method next_id(...) returns next primary key id

15 years agoobtain integer primary keys by calling nextval() on the sequence instead of quering...
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

15 years agoThis is a lousy hack, but it may help prevent some of the out-of-sync errors
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.

15 years agoa single tag type for slice attributes, iterface settings, node tags and ilinks
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

15 years agoonly log errors if logging is enabled
Tony Mack [Fri, 30 May 2008 18:16:47 +0000 (18:16 +0000)]
only log errors if logging is enabled

15 years agofix
Thierry Parmentelat [Fri, 30 May 2008 13:56:33 +0000 (13:56 +0000)]
fix

15 years agofix for names
Thierry Parmentelat [Fri, 30 May 2008 12:17:47 +0000 (12:17 +0000)]
fix for names

15 years agooops
Thierry Parmentelat [Fri, 30 May 2008 10:52:31 +0000 (10:52 +0000)]
oops

15 years agonodegroups work and are getting tested as part of the plcapi test
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

15 years agocosmetic
Thierry Parmentelat [Thu, 29 May 2008 15:21:45 +0000 (15:21 +0000)]
cosmetic

15 years agomoving PLCAPI unit test script under tests/plcapi
Thierry Parmentelat [Thu, 29 May 2008 13:23:49 +0000 (13:23 +0000)]
moving PLCAPI unit test script under tests/plcapi

15 years agoobsolete node-nodegroup association
Thierry Parmentelat [Thu, 29 May 2008 13:21:45 +0000 (13:21 +0000)]
obsolete node-nodegroup association

15 years agoduplicate with tests/trunk/federation/Test.py
Thierry Parmentelat [Thu, 29 May 2008 13:20:31 +0000 (13:20 +0000)]
duplicate with tests/trunk/federation/Test.py

15 years agomoving refresh-peer.py with MyPLC where it belongs
Thierry Parmentelat [Wed, 28 May 2008 09:16:51 +0000 (09:16 +0000)]
moving refresh-peer.py with MyPLC where it belongs

15 years agooops
Thierry Parmentelat [Wed, 28 May 2008 05:27:15 +0000 (05:27 +0000)]
oops

15 years agorename IlinkType into LinkType as these types will be used for Nlinks as well
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

15 years agofirst draft for ilinks : typed and valued links between interfaces
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

15 years agodrop support for psycopg2 and pycurl
Thierry Parmentelat [Tue, 27 May 2008 12:50:05 +0000 (12:50 +0000)]
drop support for psycopg2 and pycurl

15 years ago...
Thierry Parmentelat [Tue, 27 May 2008 09:40:21 +0000 (09:40 +0000)]
...

15 years agothis should use tags vs nodegroups, but for now we do a quick fix, as it causes an...
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

15 years agodoc generation breaks if an empty list is mentioned as part of accepts
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

15 years agowork in progress - passes simple tests
Thierry Parmentelat [Fri, 23 May 2008 15:17:29 +0000 (15:17 +0000)]
work in progress - passes simple tests

15 years agostep2 : basic functions for handling nodetags and nodegroups - still highly volatile
Thierry Parmentelat [Fri, 23 May 2008 10:25:13 +0000 (10:25 +0000)]
step2 : basic functions for handling nodetags and nodegroups - still highly volatile

15 years agoturns out this is required
Thierry Parmentelat [Thu, 22 May 2008 21:03:39 +0000 (21:03 +0000)]
turns out this is required

15 years agofirst draft for node tags & new node groups:
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

15 years agoBranch 5.0 for module PLCAPI created from tag PLCAPI-4.2-8
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

15 years agoTagging module PLCAPI - 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

15 years agomyplc-docs build from local dtds - more robust, and much faster too
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

15 years agoTagging module PLCAPI - PLCAPI-4.2-7
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

15 years agosyncing both PLCAPI branches
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

15 years agofix3
Thierry Parmentelat [Fri, 9 May 2008 06:38:36 +0000 (06:38 +0000)]
fix3

15 years agoremove other doc building stuff
Thierry Parmentelat [Thu, 8 May 2008 10:51:24 +0000 (10:51 +0000)]
remove other doc building stuff

15 years agofirst draft for the myplc-docs package (cross-module change)
Thierry Parmentelat [Thu, 8 May 2008 09:11:02 +0000 (09:11 +0000)]
first draft for the myplc-docs package (cross-module change)

15 years agoTagging module PLCAPI - PLCAPI-4.2-6
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

15 years agocleaning up
Thierry Parmentelat [Thu, 8 May 2008 06:35:26 +0000 (06:35 +0000)]
cleaning up

15 years agofix bug with conf_file variable in the nodegroup and node conf file update
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

16 years agoTagging module PLCAPI - PLCAPI-4.2-5
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.

16 years agosvn merge -c 8998 ./branches/dummynet-4.2-2 ./trunk/
Thierry Parmentelat [Fri, 11 Apr 2008 08:58:29 +0000 (08:58 +0000)]
svn merge -c 8998 ./branches/dummynet-4.2-2 ./trunk/