Thierry Parmentelat [Thu, 21 Feb 2013 08:45:44 +0000 (09:45 +0100)]
fix typos
soltesz@opentechinstitute.org [Wed, 20 Feb 2013 22:25:18 +0000 (17:25 -0500)]
adding some common, default slice & interface tagtypes for new installations
Thierry Parmentelat [Sat, 16 Feb 2013 12:58:57 +0000 (13:58 +0100)]
cleaup
Thierry Parmentelat [Fri, 15 Feb 2013 17:22:27 +0000 (18:22 +0100)]
provide PLCAPI
Thierry Parmentelat [Fri, 15 Feb 2013 16:40:58 +0000 (17:40 +0100)]
this was intended as part of the previous move too
(nasty magit has been playing with me)
Thierry Parmentelat [Fri, 15 Feb 2013 16:14:10 +0000 (17:14 +0100)]
this was intended to be part of the previous commit
Thierry Parmentelat [Fri, 15 Feb 2013 16:13:04 +0000 (17:13 +0100)]
review packaging: usable with both mod_wsgi and mod_python
Thierry Parmentelat [Wed, 6 Feb 2013 06:19:12 +0000 (07:19 +0100)]
our code is now entirely for mod_wsgi
Thierry Parmentelat [Tue, 5 Feb 2013 12:02:14 +0000 (13:02 +0100)]
...
Thierry Parmentelat [Tue, 5 Feb 2013 11:37:26 +0000 (12:37 +0100)]
oops
Thierry Parmentelat [Tue, 5 Feb 2013 09:45:25 +0000 (10:45 +0100)]
review packaging - isolate wsgi in a subdir
this needs changes in myplc that are only ongoing
Thierry Parmentelat [Tue, 5 Feb 2013 08:27:03 +0000 (09:27 +0100)]
require mod_wsgi *OR* mod_python
Thierry Parmentelat [Tue, 5 Feb 2013 08:26:29 +0000 (09:26 +0100)]
remove inactive svn keywords
Thierry Parmentelat [Thu, 31 Jan 2013 19:28:14 +0000 (20:28 +0100)]
package ModWSGI.wsgi
Thierry Parmentelat [Thu, 31 Jan 2013 11:35:00 +0000 (12:35 +0100)]
stupid me
Thierry Parmentelat [Thu, 31 Jan 2013 10:55:02 +0000 (11:55 +0100)]
mod_python was retired in f18, rely on mod_wsgi?
Thierry Parmentelat [Wed, 30 Jan 2013 15:32:30 +0000 (16:32 +0100)]
patch our local xmlrpc lib (for supporting allow_none=True) with php5.4
Thierry Parmentelat [Wed, 19 Dec 2012 07:15:32 +0000 (08:15 +0100)]
Setting tag plcapi-5.1-6
implement PLC_VSYS_DEFAULTS in AddSlice
Thierry Parmentelat [Tue, 18 Dec 2012 08:34:49 +0000 (09:34 +0100)]
better parsing of PLC_VSYS_DEFAULTS
Thierry Parmentelat [Mon, 17 Dec 2012 10:02:44 +0000 (11:02 +0100)]
first rough implementation of PLC_VSYS_DEFAULTS at slice-creation time
Thierry Parmentelat [Wed, 12 Dec 2012 11:41:41 +0000 (12:41 +0100)]
Setting tag plcapi-5.1-5
add hrn tag to persons, managed by AddPerson and AddPersonToSite
AddPerson and UpdatePerson are now tag-aware
as a side-effect AddPerson is more picky and rejects invalid fields
which results in a requirement to use sfa-2.1-22 with this tag
marginal improvement on the xml doc on tags
Thierry Parmentelat [Wed, 12 Dec 2012 08:16:12 +0000 (09:16 +0100)]
add support for tags in UpdatePerson
Thierry Parmentelat [Wed, 12 Dec 2012 08:15:42 +0000 (09:15 +0100)]
fix db bootstrap scripts - AddPerson/UpdatePerson won't let you set person_id anymore
Thierry Parmentelat [Wed, 12 Dec 2012 08:03:20 +0000 (09:03 +0100)]
cosmetic
Thierry Parmentelat [Tue, 11 Dec 2012 14:25:59 +0000 (15:25 +0100)]
persons & tags : allow tags to be passed to AddPerson, and update
'hrn' upon AddPersonToSite
Thierry Parmentelat [Tue, 11 Dec 2012 13:09:49 +0000 (14:09 +0100)]
add a note about filtering on tags, and the need to mention them in
the returned columns
Thierry Parmentelat [Tue, 11 Dec 2012 10:58:32 +0000 (11:58 +0100)]
accessors GetPersonHrn and SetPersonHrn
Thierry Parmentelat [Fri, 23 Nov 2012 08:09:26 +0000 (09:09 +0100)]
Setting tag plcapi-5.1-4
tweak omf_slicemgr for smaller logs, split per month for easier cleaning
reset_xmpp_pubsub_nodes now hos options and usage
new Accessors for vicci
smbaker [Tue, 16 Oct 2012 15:54:41 +0000 (08:54 -0700)]
Merge branch 'master' of ssh://bakers@git.planet-lab.org/git/plcapi
smbaker [Tue, 16 Oct 2012 15:54:05 +0000 (08:54 -0700)]
check in Vicci accessors
Thierry Parmentelat [Fri, 12 Oct 2012 12:21:37 +0000 (14:21 +0200)]
added options so the reset script can run in verbose mode, or on
selected slices
Thierry Parmentelat [Fri, 12 Oct 2012 12:20:18 +0000 (14:20 +0200)]
take some burden off the xmpp log, too much nonsense
smbaker [Fri, 5 Oct 2012 03:03:40 +0000 (20:03 -0700)]
include vicci accessors for advanced mode
Thierry Parmentelat [Fri, 31 Aug 2012 17:38:36 +0000 (19:38 +0200)]
Setting tag plcapi-5.1-3
fixed imports for tags management with sites and persons
add predefined 'cpu_freezable' tag
Thierry Parmentelat [Tue, 28 Aug 2012 15:02:25 +0000 (17:02 +0200)]
fix broken imports for tags management on site & person
smbaker [Wed, 1 Aug 2012 22:04:44 +0000 (15:04 -0700)]
add cpu_freezable tag
Thierry Parmentelat [Mon, 9 Jul 2012 09:34:31 +0000 (11:34 +0200)]
Setting tag plcapi-5.1-2
tweaks in interface initialization
has 'vsys_vnet' as a predefined tagtype
bugfix: prevent DeleteSliceFromNodes from messing with foreign slices
bugfix: GetSlivers & nodegroups
bugfix: in jabber groups management
Andy Bavier [Wed, 27 Jun 2012 15:16:08 +0000 (11:16 -0400)]
Fixed bug with slice tag handling for nodegroups
Thierry Parmentelat [Thu, 14 Jun 2012 14:32:07 +0000 (17:32 +0300)]
predefine vsys_vnet slice tag
Thierry Parmentelat [Mon, 21 May 2012 11:08:25 +0000 (13:08 +0200)]
DeleteSliceFromNodes: check that slice is local (like AddSliceToNodes does)
Thierry Parmentelat [Mon, 21 May 2012 11:07:19 +0000 (13:07 +0200)]
cosmetic
Tony Mack [Thu, 19 Apr 2012 00:48:42 +0000 (20:48 -0400)]
ipv6 addresses only require ip address and gateway
Thierry Parmentelat [Tue, 17 Apr 2012 18:59:45 +0000 (20:59 +0200)]
fix runtime error in pubsub group reset
Thierry Parmentelat [Mon, 16 Apr 2012 14:28:00 +0000 (16:28 +0200)]
Setting tag plcapi-5.1-1
fix gpg-authentication for Persons (thanks Jordan)
PostgreSQL.quote reviewed for f16/postgresql9 (used deprecated internal helper)
ip address/network check: v4 or v6
customized DB Message survive upgrade
make sync works in lxc-hosted tests
no svn keywords anymore
Thierry Parmentelat [Wed, 11 Apr 2012 16:27:21 +0000 (18:27 +0200)]
fix broken target make sync
Thierry Parmentelat [Wed, 11 Apr 2012 16:14:35 +0000 (18:14 +0200)]
revert _quote to marco's version
Thierry Parmentelat [Mon, 2 Apr 2012 15:50:08 +0000 (17:50 +0200)]
oops
Thierry Parmentelat [Mon, 2 Apr 2012 15:36:46 +0000 (17:36 +0200)]
use latest output of run export for lxc or vs
Thierry Parmentelat [Mon, 2 Apr 2012 15:15:51 +0000 (17:15 +0200)]
review make sync to push code on a vplc that is lxc-hosted
Thierry Parmentelat [Mon, 2 Apr 2012 15:08:04 +0000 (17:08 +0200)]
fix quoting - was totally wrong on f16
Thierry Parmentelat [Fri, 30 Mar 2012 12:19:56 +0000 (14:19 +0200)]
bump release to 5.1
Thierry Parmentelat [Tue, 27 Mar 2012 12:51:12 +0000 (14:51 +0200)]
rename reload from plc.d/functions into plc_reload
to avoid confusion with builtin /sbin/reload
Thierry Parmentelat [Tue, 27 Mar 2012 12:30:37 +0000 (14:30 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Tue, 27 Mar 2012 11:01:36 +0000 (13:01 +0200)]
get rid of svn keywords once and for good
Thierry Parmentelat [Tue, 27 Mar 2012 10:41:36 +0000 (12:41 +0200)]
rewrite PostgreSQL.quote for f14/f16 reusing pgdb as much as possible
Thierry Parmentelat [Tue, 27 Mar 2012 10:17:55 +0000 (12:17 +0200)]
review use of d.quote: use [ ] instead of deprecated map
Thierry Parmentelat [Tue, 27 Mar 2012 09:59:13 +0000 (11:59 +0200)]
make tags skips .git
Tony Mack [Sun, 25 Mar 2012 20:03:02 +0000 (16:03 -0400)]
fix syntax error
Tony Mack [Sun, 25 Mar 2012 19:52:25 +0000 (15:52 -0400)]
support validating ipv6 addresses
Thierry Parmentelat [Thu, 15 Mar 2012 21:08:26 +0000 (14:08 -0700)]
remove svn kwds
Thierry Parmentelat [Thu, 15 Mar 2012 21:07:11 +0000 (14:07 -0700)]
don't overwite messages already in the db
Marco Yuen [Tue, 6 Mar 2012 17:44:24 +0000 (12:44 -0500)]
Port _quote() from old version of pgdb. Simpliy code.
Marco Yuen [Wed, 29 Feb 2012 20:27:17 +0000 (15:27 -0500)]
Directly call reload() instead of relying on initscript reload.
Thierry Parmentelat [Fri, 24 Feb 2012 10:34:22 +0000 (11:34 +0100)]
fixed error format
Thierry Parmentelat [Fri, 24 Feb 2012 10:30:47 +0000 (11:30 +0100)]
oops
Thierry Parmentelat [Fri, 24 Feb 2012 10:22:23 +0000 (11:22 +0100)]
missing import
Thierry Parmentelat [Fri, 24 Feb 2012 10:19:31 +0000 (11:19 +0100)]
fix GPGAtuh for users
Thierry Parmentelat [Fri, 24 Feb 2012 09:12:15 +0000 (10:12 +0100)]
Setting tag plcapi-5.0-37
fix sorting for methods list in docs
untested but needed tweak for postgres startup in f16
Tony Mack [Thu, 23 Feb 2012 19:34:16 +0000 (14:34 -0500)]
reverting
Thierry Parmentelat [Thu, 23 Feb 2012 10:28:31 +0000 (11:28 +0100)]
add todo note for f16
Thierry Parmentelat [Thu, 23 Feb 2012 10:28:18 +0000 (11:28 +0100)]
cosmetic
Thierry Parmentelat [Thu, 23 Feb 2012 10:25:28 +0000 (11:25 +0100)]
make sure the methods get sorted in the xml doc output
Tony Mack [Thu, 23 Feb 2012 00:50:33 +0000 (19:50 -0500)]
use tabs instead of spaces
Tony Mack [Tue, 21 Feb 2012 21:42:16 +0000 (16:42 -0500)]
Only manage access rules for MyPLC databses (planetlab5 and drupal). Ignore access rules for other database instances
Thierry Parmentelat [Wed, 15 Feb 2012 13:33:54 +0000 (14:33 +0100)]
service postgresql initdb not available with systemd
systemctl is yet broken anyways, at least in current test&build
vserver-based infrastructure
Thierry Parmentelat [Mon, 28 Nov 2011 08:28:18 +0000 (09:28 +0100)]
Setting tag plcapi-5.0-36
tweaks in postgresql setup - in line with sfa
Thierry Parmentelat [Sun, 27 Nov 2011 21:58:01 +0000 (22:58 +0100)]
oops
Thierry Parmentelat [Wed, 23 Nov 2011 17:59:42 +0000 (18:59 +0100)]
separate postgresql launching and checking
Thierry Parmentelat [Mon, 26 Sep 2011 14:20:51 +0000 (16:20 +0200)]
Setting tag plcapi-5.0-35
slight tweaks in Persons.py
Tony Mack [Wed, 7 Sep 2011 18:33:18 +0000 (14:33 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/plcapi
Tony Mack [Wed, 7 Sep 2011 18:33:11 +0000 (14:33 -0400)]
fix bug that prevented certain users from being deleted
Thierry Parmentelat [Tue, 6 Sep 2011 15:09:21 +0000 (17:09 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Tue, 6 Sep 2011 15:09:07 +0000 (17:09 +0200)]
open up visibility amob people on a same site
pis and techs can see all users on their site, regardless of roles
formerly people with admin role were artificially hidden
Thierry Parmentelat [Wed, 31 Aug 2011 09:42:27 +0000 (11:42 +0200)]
Setting tag plcapi-5.0-34
GetSession has support for more than one day sessions
reset_xmpp_pubsub_nodes is much more efficient
reset_xmpp_pubsub_nodes uses the config instead of localhost:5053
bugfix - deleting a person in the middle of the signup process
Tony Mack [Tue, 2 Aug 2011 12:20:54 +0000 (08:20 -0400)]
remove verification_expires from person before deleting
Tony Mack [Mon, 25 Jul 2011 18:07:34 +0000 (14:07 -0400)]
can now delete accounts that still have a pending verification
Baris Metin [Thu, 7 Jul 2011 18:36:01 +0000 (14:36 -0400)]
fix typo
Thierry Parmentelat [Thu, 7 Jul 2011 10:29:08 +0000 (12:29 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Thu, 7 Jul 2011 10:29:00 +0000 (12:29 +0200)]
much faster reset_xmpp_pubsub_nodes - one single API call
to retrieve nodes
Stephen Soltesz [Fri, 17 Jun 2011 00:01:49 +0000 (20:01 -0400)]
Add an optional 'expires' argument to GetSession() to allow longer expirations
Thierry Parmentelat [Tue, 7 Jun 2011 12:02:23 +0000 (14:02 +0200)]
Setting tag plcapi-5.0-33
ratelimit aspects
cache getslivers per node if PLC_GET_SIVERS_CACHE is enabled
requires Django for cache_utils
attempt to expose 'pldistro' to sfa
last_time_spent_online, last_time_spent_offline: new fields in Node
new slice tags 'isolate_loopback' and 'cpu_cores'
refresh-peer federation logs dump exceptions
modpython logs have a timestamp
more verbose/accurate php error reporting
postgresql listens on PLC_DB_HOST+localhost instead of 0.0.0.0
AddNode, UpdateNode: manage tags directly rather than through another method
BootUpdateNode: only update once
GetPersons: techs can access the list of persons on their site
GetSlices and GetSliceTags: techs can see slices on their nodes
GetSlivers: isrootonsite tag; cacheable
Thierry Parmentelat [Tue, 7 Jun 2011 12:00:53 +0000 (14:00 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Tue, 7 Jun 2011 12:00:27 +0000 (14:00 +0200)]
reviewed comments - no change
Tony Mack [Wed, 1 Jun 2011 17:09:15 +0000 (13:09 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/plcapi
Tony Mack [Wed, 1 Jun 2011 17:08:46 +0000 (13:08 -0400)]
fix NameError
Stephen Soltesz [Fri, 27 May 2011 21:12:22 +0000 (17:12 -0400)]
Add two new fields to Nodes & DB to track last run-time and last down-time
add fields: last_time_spent_online & last_time_spent_offline
make BootUpdateNode conditional on parameters passed so these values are
calculated only once per boot.
bootmanager was also updated to enforce this limit in a separate patch.
Tony Mack [Thu, 19 May 2011 01:34:46 +0000 (21:34 -0400)]
techs can view all the users at their site
Tony Mack [Thu, 19 May 2011 00:08:59 +0000 (20:08 -0400)]
Techs can view slices that are running on nodes at their site
Tony Mack [Thu, 19 May 2011 00:06:58 +0000 (20:06 -0400)]
Techs can view slices that are running on nodes at their site
Thierry Parmentelat [Mon, 16 May 2011 09:13:24 +0000 (11:13 +0200)]
tweak the way postgresql.conf defines listen_addresses
now mention PLC_DB_HOST and localhost
in some setups, when run inside a vserver, localhost was found to not
be bound