plcapi.git
10 years agoSetting tag plcapi-5.2-6 plcapi-5.2-6
Thierry Parmentelat [Fri, 28 Jun 2013 06:01:03 +0000 (08:01 +0200)]
Setting tag plcapi-5.2-6
tear down omf-related aspects as this is no longer needed with omfv6

10 years agosecond pass of cleanup for omf aspects
Thierry Parmentelat [Thu, 27 Jun 2013 19:24:30 +0000 (21:24 +0200)]
second pass of cleanup for omf aspects

10 years agomkdir var/log
Thierry Parmentelat [Thu, 27 Jun 2013 18:29:37 +0000 (20:29 +0200)]
mkdir var/log

10 years agotear down omf aspects as this is not needed any more with OMFv6
Thierry Parmentelat [Thu, 27 Jun 2013 18:21:13 +0000 (20:21 +0200)]
tear down omf aspects as this is not needed any more with OMFv6

10 years agoSetting tag plcapi-5.2-5 plcapi-5.2-5
Thierry Parmentelat [Thu, 27 Jun 2013 18:12:15 +0000 (20:12 +0200)]
Setting tag plcapi-5.2-5
also expose 'expires' in ResolveSlices

10 years agohave ResolveSlices return 'expires' too
Thierry Parmentelat [Thu, 27 Jun 2013 13:06:57 +0000 (15:06 +0200)]
have ResolveSlices return 'expires' too

10 years agoSetting tag plcapi-5.2-4 plcapi-5.2-4
Thierry Parmentelat [Wed, 26 Jun 2013 14:51:58 +0000 (16:51 +0200)]
Setting tag plcapi-5.2-4
drop GetSliceSshKeys, new RetrieveSlicePersonKeys and RetrieveSliceSliverKeys

10 years agofinal names RetrieveSliceSliverKeys and RetrieveSlicePersonKeys
Thierry Parmentelat [Wed, 26 Jun 2013 12:32:27 +0000 (14:32 +0200)]
final names RetrieveSliceSliverKeys and RetrieveSlicePersonKeys
reasonable draft

10 years agoadd filtering on node to RetrieveSliceSshKeys
Thierry Parmentelat [Wed, 26 Jun 2013 11:02:22 +0000 (13:02 +0200)]
add filtering on node to RetrieveSliceSshKeys

10 years agobugfix
Thierry Parmentelat [Wed, 26 Jun 2013 11:01:39 +0000 (13:01 +0200)]
bugfix

10 years agofix make sync, back to using /vservers/ as the root for all containers
Thierry Parmentelat [Wed, 26 Jun 2013 10:55:56 +0000 (12:55 +0200)]
fix make sync, back to using /vservers/ as the root for all containers

10 years agorename GetSliceSshKeys into RetrieveSliceSshKeys
Thierry Parmentelat [Wed, 26 Jun 2013 07:28:57 +0000 (09:28 +0200)]
rename GetSliceSshKeys into RetrieveSliceSshKeys

10 years agoSetting tag plcapi-5.2-3 plcapi-5.2-3
Thierry Parmentelat [Wed, 29 May 2013 10:40:06 +0000 (12:40 +0200)]
Setting tag plcapi-5.2-3
enable netconfig aspects if PLC_NETCONFIG_ENABLED

10 years agoadd support for netconfig aspect
smbaker [Mon, 27 May 2013 21:59:27 +0000 (14:59 -0700)]
add support for netconfig aspect

10 years agoreverting change about wsgi, that would have required an additional dependency
Thierry Parmentelat [Sun, 26 May 2013 19:52:50 +0000 (21:52 +0200)]
reverting change about wsgi, that would have required an additional dependency

10 years agoreverting Scott's change - he is to use aspects instead
Thierry Parmentelat [Sat, 25 May 2013 17:52:19 +0000 (19:52 +0200)]
reverting Scott's change - he is to use aspects instead

10 years agoan attempt at diagnosing wsgi issues more accurately
Thierry Parmentelat [Fri, 24 May 2013 07:38:45 +0000 (09:38 +0200)]
an attempt at diagnosing wsgi issues more accurately

11 years agoAdd notification plugin support to AddSliceToNodes and DeleteSliceFromNodes
smbaker [Thu, 25 Apr 2013 05:07:02 +0000 (22:07 -0700)]
Add notification plugin support to AddSliceToNodes and DeleteSliceFromNodes

11 years agoSetting tag plcapi-5.2-2 plcapi-5.2-2
Thierry Parmentelat [Wed, 24 Apr 2013 13:36:56 +0000 (15:36 +0200)]
Setting tag plcapi-5.2-2
use SFA code for computing hrn's when available

11 years agoremove comment about broken bootcd as this is now fixed
Thierry Parmentelat [Wed, 24 Apr 2013 13:35:17 +0000 (15:35 +0200)]
remove comment about broken bootcd as this is now fixed

11 years agowhen computing hrns, try to use SFA code first, otherwise resort to a local version
Thierry Parmentelat [Tue, 23 Apr 2013 11:48:08 +0000 (13:48 +0200)]
when computing hrns, try to use SFA code first, otherwise resort to a local version

11 years agoadded comment on missing version number in bootcd image names
Thierry Parmentelat [Fri, 12 Apr 2013 10:10:30 +0000 (12:10 +0200)]
added comment on missing version number in bootcd image names

11 years agoSetting tag plcapi-5.2-1 plcapi-5.2-1
Thierry Parmentelat [Fri, 8 Mar 2013 07:48:12 +0000 (08:48 +0100)]
Setting tag plcapi-5.2-1
new slice tag 'interface' for configuring a virtual interface
new builtin 030-interface_tags
new node accessor and tag 'virt' for mixing lxc & vs nodes
also exposed in GetNodeFlavour based on fcdistro and PLC_FLAVOUR_VIRT_MAP
moved ModPypthon and plc.wsgi in the apache/ subdir
renamed PLCAPI.spec into plcapi.spec
removed old and unused tag 'type' on slices(!) - original intention seemed like virt
support for php-5.4

11 years agoremove debug statement
Thierry Parmentelat [Fri, 8 Mar 2013 07:38:44 +0000 (08:38 +0100)]
remove debug statement

11 years agodo not save the virt tag from GetNodeFlavour in the node
Thierry Parmentelat [Thu, 7 Mar 2013 07:54:29 +0000 (08:54 +0100)]
do not save the virt tag from GetNodeFlavour in the node

11 years agobump major to 5.2
Thierry Parmentelat [Wed, 27 Feb 2013 06:31:46 +0000 (07:31 +0100)]
bump major to 5.2

11 years agobugfix
Thierry Parmentelat [Wed, 27 Feb 2013 06:28:20 +0000 (07:28 +0100)]
bugfix

11 years agotweak roles for tag virt to 'all_roles' as bootmanager needs to tweak
Thierry Parmentelat [Tue, 26 Feb 2013 23:30:06 +0000 (00:30 +0100)]
tweak roles for tag virt to 'all_roles' as bootmanager needs to tweak
that too when calling GetNodeFlavour

11 years agoGetNodeFlavour exposes 'virt' based on node's 'virt' tag, or on PLC_FLAVOUR_VIRT_MAP
Thierry Parmentelat [Tue, 26 Feb 2013 16:10:28 +0000 (17:10 +0100)]
GetNodeFlavour exposes 'virt' based on node's 'virt' tag, or on PLC_FLAVOUR_VIRT_MAP

11 years agocosmetic / comment on standard accessors
Thierry Parmentelat [Sat, 23 Feb 2013 14:52:47 +0000 (15:52 +0100)]
cosmetic / comment on standard accessors

11 years agoremove 'type' accessor - only vserver has been supported so far, and
Thierry Parmentelat [Sat, 23 Feb 2013 14:52:11 +0000 (15:52 +0100)]
remove 'type' accessor - only vserver has been supported so far, and
it's more on nodes than on slices anyways
we'll make sure this is unused, and re-introduce something else for
vs/lxc later on

11 years agoallow vsys to be set by all persons - for PLC_VSYS_DEFAULTS
Thierry Parmentelat [Sat, 23 Feb 2013 14:50:02 +0000 (15:50 +0100)]
allow vsys to be set by all persons - for PLC_VSYS_DEFAULTS

11 years agowhen creating slices trough SFA we're getting
Thierry Parmentelat [Thu, 21 Feb 2013 10:42:40 +0000 (11:42 +0100)]
when creating slices trough SFA we're getting
AddSliceTag: Permission denied: Cannot write slice tag vsys
which is odd, so for now I add a debug statement to get more info on
the caller

11 years agofix typos
Thierry Parmentelat [Thu, 21 Feb 2013 08:45:44 +0000 (09:45 +0100)]
fix typos

11 years agoadding some common, default slice & interface tagtypes for new installations
soltesz@opentechinstitute.org [Wed, 20 Feb 2013 22:25:18 +0000 (17:25 -0500)]
adding some common, default slice & interface tagtypes for new installations

11 years agocleaup
Thierry Parmentelat [Sat, 16 Feb 2013 12:58:57 +0000 (13:58 +0100)]
cleaup

11 years agoprovide PLCAPI
Thierry Parmentelat [Fri, 15 Feb 2013 17:22:27 +0000 (18:22 +0100)]
provide PLCAPI

11 years agothis was intended as part of the previous move too
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)

11 years agothis was intended to be part of the previous commit
Thierry Parmentelat [Fri, 15 Feb 2013 16:14:10 +0000 (17:14 +0100)]
this was intended to be part of the previous commit

11 years agoreview packaging: usable with both mod_wsgi and mod_python
Thierry Parmentelat [Fri, 15 Feb 2013 16:13:04 +0000 (17:13 +0100)]
review packaging: usable with both mod_wsgi and mod_python

11 years agoour code is now entirely for mod_wsgi
Thierry Parmentelat [Wed, 6 Feb 2013 06:19:12 +0000 (07:19 +0100)]
our code is now entirely for mod_wsgi

11 years ago...
Thierry Parmentelat [Tue, 5 Feb 2013 12:02:14 +0000 (13:02 +0100)]
...

11 years agooops
Thierry Parmentelat [Tue, 5 Feb 2013 11:37:26 +0000 (12:37 +0100)]
oops

11 years agoreview packaging - isolate wsgi in a subdir
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

11 years agorequire mod_wsgi *OR* mod_python
Thierry Parmentelat [Tue, 5 Feb 2013 08:27:03 +0000 (09:27 +0100)]
require mod_wsgi *OR* mod_python

11 years agoremove inactive svn keywords
Thierry Parmentelat [Tue, 5 Feb 2013 08:26:29 +0000 (09:26 +0100)]
remove inactive svn keywords

11 years agopackage ModWSGI.wsgi
Thierry Parmentelat [Thu, 31 Jan 2013 19:28:14 +0000 (20:28 +0100)]
package ModWSGI.wsgi

11 years agostupid me
Thierry Parmentelat [Thu, 31 Jan 2013 11:35:00 +0000 (12:35 +0100)]
stupid me

11 years agomod_python was retired in f18, rely on mod_wsgi?
Thierry Parmentelat [Thu, 31 Jan 2013 10:55:02 +0000 (11:55 +0100)]
mod_python was retired in f18, rely on mod_wsgi?

11 years agopatch our local xmlrpc lib (for supporting allow_none=True) with php5.4
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

11 years agoSetting tag plcapi-5.1-6 plcapi-5.1-6 plcapi-5.2-0
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

11 years agobetter parsing of PLC_VSYS_DEFAULTS
Thierry Parmentelat [Tue, 18 Dec 2012 08:34:49 +0000 (09:34 +0100)]
better parsing of PLC_VSYS_DEFAULTS

11 years agofirst rough implementation of PLC_VSYS_DEFAULTS at slice-creation time
Thierry Parmentelat [Mon, 17 Dec 2012 10:02:44 +0000 (11:02 +0100)]
first rough implementation of PLC_VSYS_DEFAULTS at slice-creation time

11 years agoSetting tag plcapi-5.1-5 plcapi-5.1-5
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

11 years agoadd support for tags in UpdatePerson
Thierry Parmentelat [Wed, 12 Dec 2012 08:16:12 +0000 (09:16 +0100)]
add support for tags in UpdatePerson

11 years agofix db bootstrap scripts - AddPerson/UpdatePerson won't let you set person_id anymore
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

11 years agocosmetic
Thierry Parmentelat [Wed, 12 Dec 2012 08:03:20 +0000 (09:03 +0100)]
cosmetic

11 years agopersons & tags : allow tags to be passed to AddPerson, and update
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

11 years agoadd a note about filtering on tags, and the need to mention them in
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

11 years agoaccessors GetPersonHrn and SetPersonHrn
Thierry Parmentelat [Tue, 11 Dec 2012 10:58:32 +0000 (11:58 +0100)]
accessors GetPersonHrn and SetPersonHrn

11 years agoSetting tag plcapi-5.1-4 plcapi-5.1-4
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

11 years agoMerge branch 'master' of ssh://bakers@git.planet-lab.org/git/plcapi
smbaker [Tue, 16 Oct 2012 15:54:41 +0000 (08:54 -0700)]
Merge branch 'master' of ssh://bakers@git.planet-lab.org/git/plcapi

11 years agocheck in Vicci accessors
smbaker [Tue, 16 Oct 2012 15:54:05 +0000 (08:54 -0700)]
check in Vicci accessors

11 years agoadded options so the reset script can run in verbose mode, or on
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

11 years agotake some burden off the xmpp log, too much nonsense
Thierry Parmentelat [Fri, 12 Oct 2012 12:20:18 +0000 (14:20 +0200)]
take some burden off the xmpp log, too much nonsense

11 years agoinclude vicci accessors for advanced mode
smbaker [Fri, 5 Oct 2012 03:03:40 +0000 (20:03 -0700)]
include vicci accessors for advanced mode

11 years agoSetting tag plcapi-5.1-3 plcapi-5.1-3
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

11 years agofix broken imports for tags management on site & person
Thierry Parmentelat [Tue, 28 Aug 2012 15:02:25 +0000 (17:02 +0200)]
fix broken imports for tags management on site & person

11 years agoadd cpu_freezable tag
smbaker [Wed, 1 Aug 2012 22:04:44 +0000 (15:04 -0700)]
add cpu_freezable tag

11 years agoSetting tag plcapi-5.1-2 plcapi-5.1-2
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

11 years agoFixed bug with slice tag handling for nodegroups
Andy Bavier [Wed, 27 Jun 2012 15:16:08 +0000 (11:16 -0400)]
Fixed bug with slice tag handling for nodegroups

11 years agopredefine vsys_vnet slice tag
Thierry Parmentelat [Thu, 14 Jun 2012 14:32:07 +0000 (17:32 +0300)]
predefine vsys_vnet slice tag

11 years agoDeleteSliceFromNodes: check that slice is local (like AddSliceToNodes does)
Thierry Parmentelat [Mon, 21 May 2012 11:08:25 +0000 (13:08 +0200)]
DeleteSliceFromNodes: check that slice is local (like AddSliceToNodes does)

11 years agocosmetic
Thierry Parmentelat [Mon, 21 May 2012 11:07:19 +0000 (13:07 +0200)]
cosmetic

12 years agoipv6 addresses only require ip address and gateway
Tony Mack [Thu, 19 Apr 2012 00:48:42 +0000 (20:48 -0400)]
ipv6 addresses only require ip address and gateway

12 years agofix runtime error in pubsub group reset
Thierry Parmentelat [Tue, 17 Apr 2012 18:59:45 +0000 (20:59 +0200)]
fix runtime error in pubsub group reset

12 years agoSetting tag plcapi-5.1-1 plcapi-5.1-1
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

12 years agofix broken target make sync
Thierry Parmentelat [Wed, 11 Apr 2012 16:27:21 +0000 (18:27 +0200)]
fix broken target make sync

12 years agorevert _quote to marco's version
Thierry Parmentelat [Wed, 11 Apr 2012 16:14:35 +0000 (18:14 +0200)]
revert _quote to marco's version

12 years agooops
Thierry Parmentelat [Mon, 2 Apr 2012 15:50:08 +0000 (17:50 +0200)]
oops

12 years agouse latest output of run export for lxc or vs
Thierry Parmentelat [Mon, 2 Apr 2012 15:36:46 +0000 (17:36 +0200)]
use latest output of run export for lxc or vs

12 years agoreview make sync to push code on a vplc that is lxc-hosted
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

12 years agofix quoting - was totally wrong on f16
Thierry Parmentelat [Mon, 2 Apr 2012 15:08:04 +0000 (17:08 +0200)]
fix quoting - was totally wrong on f16

12 years agobump release to 5.1
Thierry Parmentelat [Fri, 30 Mar 2012 12:19:56 +0000 (14:19 +0200)]
bump release to 5.1

12 years agorename reload from plc.d/functions into plc_reload
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

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Tue, 27 Mar 2012 12:30:37 +0000 (14:30 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi

12 years agoget rid of svn keywords once and for good
Thierry Parmentelat [Tue, 27 Mar 2012 11:01:36 +0000 (13:01 +0200)]
get rid of svn keywords once and for good

12 years agorewrite PostgreSQL.quote for f14/f16 reusing pgdb as much as possible
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

12 years agoreview use of d.quote: use [ ] instead of deprecated map
Thierry Parmentelat [Tue, 27 Mar 2012 10:17:55 +0000 (12:17 +0200)]
review use of d.quote: use [ ] instead of deprecated map

12 years agomake tags skips .git
Thierry Parmentelat [Tue, 27 Mar 2012 09:59:13 +0000 (11:59 +0200)]
make tags skips .git

12 years agofix syntax error
Tony Mack [Sun, 25 Mar 2012 20:03:02 +0000 (16:03 -0400)]
fix syntax error

12 years agosupport validating ipv6 addresses
Tony Mack [Sun, 25 Mar 2012 19:52:25 +0000 (15:52 -0400)]
support validating ipv6 addresses

12 years agoremove svn kwds
Thierry Parmentelat [Thu, 15 Mar 2012 21:08:26 +0000 (14:08 -0700)]
remove svn kwds

12 years agodon't overwite messages already in the db
Thierry Parmentelat [Thu, 15 Mar 2012 21:07:11 +0000 (14:07 -0700)]
don't overwite messages already in the db

12 years agoPort _quote() from old version of pgdb. Simpliy code.
Marco Yuen [Tue, 6 Mar 2012 17:44:24 +0000 (12:44 -0500)]
Port _quote() from old version of pgdb. Simpliy code.

12 years agoDirectly call reload() instead of relying on initscript reload.
Marco Yuen [Wed, 29 Feb 2012 20:27:17 +0000 (15:27 -0500)]
Directly call reload() instead of relying on initscript reload.

12 years agofixed error format
Thierry Parmentelat [Fri, 24 Feb 2012 10:34:22 +0000 (11:34 +0100)]
fixed error format

12 years agooops
Thierry Parmentelat [Fri, 24 Feb 2012 10:30:47 +0000 (11:30 +0100)]
oops

12 years agomissing import
Thierry Parmentelat [Fri, 24 Feb 2012 10:22:23 +0000 (11:22 +0100)]
missing import

12 years agofix GPGAtuh for users
Thierry Parmentelat [Fri, 24 Feb 2012 10:19:31 +0000 (11:19 +0100)]
fix GPGAtuh for users