plcapi.git
15 years agomass-renaming 5.0 into 4.3 - db still named planetlab5 and planetlab5.sql PLCAPI-4.3-1
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-1
Thierry Parmentelat [Wed, 10 Sep 2008 15:46:24 +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 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/

16 years agoFixed major IDXs, removing WHERE deleted IS FALSE parts cuz it was not indexing the...
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

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

16 years agotake out the code that computes a new key - for use by the dummynet boot medium creat...
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

16 years agodont forget to import SessionAuth from Auth
Tony Mack [Fri, 14 Mar 2008 19:09:11 +0000 (19:09 +0000)]
dont forget to import SessionAuth from Auth

16 years agoaccept SessionAuth
Tony Mack [Fri, 14 Mar 2008 19:06:15 +0000 (19:06 +0000)]
accept SessionAuth

16 years ago* plc-kml.py has now a few options for setting marker icons
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

16 years agousing 'is' rather than '==' is wrong
Thierry Parmentelat [Mon, 25 Feb 2008 11:30:13 +0000 (11:30 +0000)]
using 'is' rather than '==' is wrong

16 years agofixed 'accepts' parameter. accepts lists now
Tony Mack [Tue, 19 Feb 2008 21:51:53 +0000 (21:51 +0000)]
fixed 'accepts' parameter. accepts lists now

16 years agoTagging module PLCAPI - PLCAPI-4.2-3
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)

16 years ago* build.sh completely cleaned wrt serial & -s
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

16 years ago- now that bootcustom.sh has gone, uses a much simpler tree structure
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

16 years ago- fix previously introduced typo
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}

16 years agocombine node-preview and node-floppy
Marc Fiuczynski [Mon, 11 Feb 2008 20:44:51 +0000 (20:44 +0000)]
combine node-preview and node-floppy

16 years agoTagging module PLCAPI -- from PLCAPI-4.2-1 to PLCAPI-4.2-2
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

16 years agorefresh peer logs named after year & month
Thierry Parmentelat [Fri, 1 Feb 2008 14:20:24 +0000 (14:20 +0000)]
refresh peer logs named after year & month

16 years agoTagging module PLCAPI -- from PLCAPI-4.2-0 to PLCAPI-4.2-1
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

16 years agoremove debugging print statement
Tony Mack [Mon, 28 Jan 2008 17:01:44 +0000 (17:01 +0000)]
remove debugging print statement

16 years agoif executing a file, add the file's directory to the path to so that other files...
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

16 years agoevlauate api calls passed in as arguments to plcsh
Tony Mack [Fri, 25 Jan 2008 20:42:27 +0000 (20:42 +0000)]
evlauate api calls passed in as arguments to plcsh

16 years agofix bug that happen when node is the caller
Tony Mack [Fri, 11 Jan 2008 18:12:53 +0000 (18:12 +0000)]
fix bug that happen when node is the caller

16 years agoready for tagging
Thierry Parmentelat [Tue, 8 Jan 2008 11:49:43 +0000 (11:49 +0000)]
ready for tagging
reviewed URLs and %{plrelease}

16 years agoHousekeeping.
Faiyaz Ahmed [Thu, 3 Jan 2008 19:55:29 +0000 (19:55 +0000)]
Housekeeping.

16 years agono longer check if slice is local or peer
Tony Mack [Thu, 3 Jan 2008 19:16:06 +0000 (19:16 +0000)]
no longer check if slice is local or peer

16 years agouse initscript name instead of id
Tony Mack [Wed, 2 Jan 2008 17:07:07 +0000 (17:07 +0000)]
use initscript name instead of id

16 years agoCross module commit for 'diag' and 'disabled' node states.
Stephen Soltesz [Tue, 18 Dec 2007 18:55:52 +0000 (18:55 +0000)]
Cross module commit for 'diag' and 'disabled' node states.

16 years agofix join tables, should be ['pcu_protocol_type']
Tony Mack [Tue, 18 Dec 2007 17:19:43 +0000 (17:19 +0000)]
fix join tables, should be ['pcu_protocol_type']

16 years agoerrmsg needs to be set in any case
Thierry Parmentelat [Mon, 17 Dec 2007 15:31:38 +0000 (15:31 +0000)]
errmsg needs to be set in any case

16 years agotypos & doc
Thierry Parmentelat [Thu, 13 Dec 2007 14:13:53 +0000 (14:13 +0000)]
typos & doc

16 years agobuild libxmlrpc for php on f8
Thierry Parmentelat [Thu, 13 Dec 2007 12:32:09 +0000 (12:32 +0000)]
build libxmlrpc for php on f8