4 years agoSetting tag plcapi-5.3-9 master plcapi-5.3-9
Thierry Parmentelat [Fri, 26 Jun 2015 05:48:47 +0000]
Setting tag plcapi-5.3-9
new bootstate 'upgrade' is like reinstall but leaves slices intact

4 years agoa slightly clearer version of GetSliceFamily
Thierry Parmentelat [Tue, 2 Jun 2015 15:42:33 +0000]
a slightly clearer version of GetSliceFamily

4 years agocosmetic
Thierry Parmentelat [Fri, 24 Apr 2015 15:17:36 +0000]
cosmetic

4 years agodefine new boot_state 'upgrade'
Thierry Parmentelat [Fri, 24 Apr 2015 15:17:26 +0000]
define new boot_state 'upgrade'

4 years agoSetting tag plcapi-5.3-8 plcapi-5.3-8
Thierry Parmentelat [Fri, 24 Apr 2015 13:12:32 +0000]
Setting tag plcapi-5.3-8
GetBootMedium now keeps logs of created bootCD's in /var/tmp/bootmedium

4 years agoGetBootMedium: when running build.sh, the log used to be trashed, we now keep it...
Thierry Parmentelat [Fri, 24 Apr 2015 10:09:28 +0000]
GetBootMedium: when running build.sh, the log used to be trashed, we now keep it under
/var/tmp/bootmedium/{date}-{nodename}.log
plus, a lot of cosmetic changes that use .format() instead of %, and other styling of that kind

4 years agofixed make sync - use ssh and not lxc-enter-namespace
Thierry Parmentelat [Fri, 24 Apr 2015 09:24:42 +0000]
fixed make sync - use ssh and not lxc-enter-namespace
also properly restart httpd

4 years agoSetting tag plcapi-5.3-7 plcapi-5.3-7
Thierry Parmentelat [Fri, 3 Apr 2015 06:23:40 +0000]
Setting tag plcapi-5.3-7
reviewed logging strategy, no more direct print but use log instead

4 years agoGetBootMedium accepts the 'systemd-debug' option to turn on verbosity for the bootCD...
Thierry Parmentelat [Tue, 3 Mar 2015 15:03:43 +0000]
GetBootMedium accepts the 'systemd-debug' option to turn on verbosity for the bootCD (and probably subsequent boots as well)
tag with the same name 'systemd-debug' would have the same effect

4 years agoclean up Makefile's sync target - we do not own any VS-based PLC host
Thierry Parmentelat [Mon, 2 Mar 2015 16:30:30 +0000]
clean up Makefile's sync target - we do not own any VS-based PLC host

4 years agoreview 'print' statements - make sure to use PLC.Debug.log that gets redirected to...
Thierry Parmentelat [Mon, 2 Mar 2015 16:18:37 +0000]
review 'print' statements - make sure to use PLC.Debug.log that gets redirected to /var/log/httpd/error_log
especially for GetBootMedium that tends to become very long

4 years agoSetting tag plcapi-5.3-6 plcapi-5.3-6
Thierry Parmentelat [Wed, 18 Feb 2015 10:35:29 +0000]
Setting tag plcapi-5.3-6
extensions for the ipv6 feature
DeleteSliceTag can be run with the 'node' auth
xmlrpc-epi-php.c has has a tweak for f21/php-5.6
also SOAPpy is not present in f21 anymore, so drop that dep. with f>=21

4 years agoplcapi stops requiring SOAPpy starting with fedora21 as this rpm is not maintained...
Thierry Parmentelat [Sat, 3 Jan 2015 17:19:06 +0000]
plcapi stops requiring SOAPpy starting with fedora21 as this rpm is not maintained anymore

4 years agopatch in our xmlrpc-php layer for fedora21
Thierry Parmentelat [Fri, 2 Jan 2015 14:08:04 +0000]
patch in our xmlrpc-php layer for fedora21

4 years agoinstrument the email-checking code to expose problematic email address in exception
Thierry Parmentelat [Wed, 5 Nov 2014 08:34:46 +0000]
instrument the email-checking code to expose problematic email address in exception

4 years agoAdded the role 'node' to the DeleteSliceTag method. It makes sense that ipv6
Guilherme Sperb Machado [Tue, 16 Sep 2014 23:57:36 +0000]
Added the role 'node' to the DeleteSliceTag method. It makes sense that
nodes can delete slice tags.

4 years agojust included the ipv6 to the Accessors' init
Guilherme Sperb Machado [Tue, 16 Sep 2014 23:09:48 +0000]
just included the ipv6 to the Accessors' init

4 years agoadded the accessor for the ipv6 support in slices
Guilherme Sperb Machado [Fri, 12 Sep 2014 15:28:39 +0000]
added the accessor for the ipv6 support in slices

5 years agoSetting tag plcapi-5.3-5 plcapi-5.3-5
Thierry Parmentelat [Tue, 19 Aug 2014 13:05:50 +0000]
Setting tag plcapi-5.3-5
allow GetSlices to filter on tags as well

5 years agoallow GetSlices to filter on tags as well
Thierry Parmentelat [Tue, 19 Aug 2014 13:04:49 +0000]
allow GetSlices to filter on tags as well

5 years agoSetting tag plcapi-5.3-4 plcapi-5.3-4
Thierry Parmentelat [Tue, 19 Aug 2014 10:47:01 +0000]
Setting tag plcapi-5.3-4
enable filtering on tags (like hrn) with GetPersons and GetSites

5 years agotags defined on Person and Site were not exposed to Filter, so that e.g.
Thierry Parmentelat [Mon, 18 Aug 2014 17:46:23 +0000]
tags defined on Person and Site were not exposed to Filter, so that e.g.
GetPersons({'hrn':<something>},['email','hrn'])
was failing although the 'hrn' tag is marked as expose_to_api

5 years agoMerge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Fri, 18 Jul 2014 09:55:16 +0000]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi

5 years agomake sync: no /rootfs/ anymore, and using lxc-enter-namespace
Thierry Parmentelat [Fri, 18 Jul 2014 09:53:53 +0000]
make sync: no /rootfs/ anymore, and using lxc-enter-namespace

5 years agoSetting tag plcapi-5.3-3 plcapi-5.3-3
Thierry Parmentelat [Mon, 2 Jun 2014 07:47:38 +0000]
Setting tag plcapi-5.3-3
provide more context in messages from AddPersonToSlice and DeletePersonFromSlice

5 years agoexceptions thrown by AddPersonToSlice and DeletePersonFromSlice show more context
Thierry Parmentelat [Fri, 16 May 2014 07:54:01 +0000]
exceptions thrown by AddPersonToSlice and DeletePersonFromSlice show more context

5 years agoSetting tag plcapi-5.3-2 plcapi-5.3-2
Thierry Parmentelat [Fri, 21 Mar 2014 15:31:33 +0000]
Setting tag plcapi-5.3-2
don't use PyXML that is deprecated in f20, use lxml instead
higher max size for login_base (32 vs 20) and slice name (64 vs 32)

5 years agoincrease max slice_name length to 64 chars
Tony Mack [Tue, 25 Feb 2014 20:24:55 +0000]
increase max slice_name length to 64 chars

5 years agoincrease max login_base length to 32 chars
Tony Mack [Tue, 25 Feb 2014 20:24:05 +0000]
increase max login_base length to 32 chars

5 years agopython-2.7 is now for granted
Thierry Parmentelat [Thu, 9 Jan 2014 12:58:38 +0000]
python-2.7 is now for granted

5 years agonoreal change, just nicer requires
Thierry Parmentelat [Thu, 9 Jan 2014 12:55:33 +0000]
noreal change, just nicer requires

5 years agoRequires: python-lxml
Thierry Parmentelat [Thu, 9 Jan 2014 12:52:21 +0000]
Requires: python-lxml

5 years agoan attempt to reinstate wsdl generation, not such a big deal after all
Thierry Parmentelat [Thu, 9 Jan 2014 11:42:49 +0000]
an attempt to reinstate wsdl generation, not such a big deal after all

5 years agoPLC.GPG (used in slice ticket methods) does not use PyXML anymore, but lxml instead
Thierry Parmentelat [Thu, 9 Jan 2014 11:40:47 +0000]
PLC.GPG (used in slice ticket methods) does not use PyXML anymore, but lxml instead

5 years agobugfix
Thierry Parmentelat [Thu, 9 Jan 2014 10:31:14 +0000]
bugfix

5 years agoturn off wsdl generation for now as this requires PyXML that was dropped in f19
Thierry Parmentelat [Wed, 8 Jan 2014 15:37:03 +0000]
turn off wsdl generation for now as this requires PyXML that was dropped in f19

5 years agoSetting tag plcapi-5.3-1 plcapi-5.3-1
Thierry Parmentelat [Tue, 10 Dec 2013 07:48:21 +0000]
Setting tag plcapi-5.3-1
create accessor 'hrn' for site as well
create accessors 'sfa_created' for site/slice/person
AddSite() and AddSlice() set respectively Site HRN and Slice HRN.
UpdatePerson() updates Person HRN according to updated email.
UpdateSite() updates Site HRN according to updated login_base.
Fix AddPersonToSite().
GetPeerData() ignores Sites/Slices/Persons that have tag sfa_created=='True'
RefreshPeer() manages Site*Person and Person*Role relationships.

5 years agobump version number to 5.3
Thierry Parmentelat [Tue, 10 Dec 2013 07:45:42 +0000]
bump version number to 5.3

5 years agoRefreshPeer now manages Site*Person and Person*Role relationships
Mohamed Larabi [Fri, 6 Dec 2013 19:00:57 +0000]
RefreshPeer now manages Site*Person and Person*Role relationships

5 years agofix GetPeerData()
Mohamed Larabi [Tue, 3 Dec 2013 16:37:52 +0000]
fix GetPeerData()

5 years agohandle peers with old version of myplc that does not support 'hrn' field in Node
Mohamed Larabi [Fri, 29 Nov 2013 17:18:45 +0000]
handle peers with old version of myplc that does not support 'hrn' field in Node

5 years agoGetPeerData() ignores Sites/Slices/Persons that have the tag sfa_created=True, so...
Mohamed Larabi [Fri, 29 Nov 2013 17:11:07 +0000]
GetPeerData() ignores Sites/Slices/Persons that have the tag sfa_created=True, so they dont get treated by RefreshPeer()

5 years agoAddPersonToSite: fix updating person's HRN
Mohamed Larabi [Tue, 26 Nov 2013 11:07:33 +0000]
AddPersonToSite: fix updating person's HRN

5 years agoUpdateSite: check if tagtype HRN exists before setting/updating it
Mohamed Larabi [Mon, 18 Nov 2013 15:10:48 +0000]
UpdateSite: check if tagtype HRN exists before setting/updating it

5 years agoUpdatePerson: fix the part of updating the person HRN tag
Mohamed Larabi [Fri, 15 Nov 2013 16:39:21 +0000]
UpdatePerson: fix the part of updating the person HRN tag

5 years agoUpdateSite: if site tag HRN does not exist then we need to create it
Mohamed Larabi [Fri, 15 Nov 2013 10:38:28 +0000]
UpdateSite: if site tag HRN does not exist then we need to create it

5 years agoUpdate Site HRN when Site's login_base is updated
Mohamed Larabi [Thu, 14 Nov 2013 16:46:52 +0000]
Update Site HRN when Site's login_base is updated

5 years agoUpdate Person HRN when Person's email is updated
Mohamed Larabi [Thu, 14 Nov 2013 16:46:10 +0000]
Update Person HRN when Person's email is updated

5 years agoSet Site/Slice HRN when new Site/Slice is created
Mohamed Larabi [Thu, 14 Nov 2013 16:45:10 +0000]
Set Site/Slice HRN when new Site/Slice is created

5 years agoIdentify objects (Site/Slice/Person) created through SFA using sfa_created tag
Mohamed Larabi [Wed, 13 Nov 2013 16:54:06 +0000]
Identify objects (Site/Slice/Person) created through SFA using sfa_created tag

5 years agocreate an accessor for hrns also for sites
Mohamed Larabi [Thu, 31 Oct 2013 16:27:36 +0000]
create an accessor for hrns also for sites

5 years agoSetting tag plcapi-5.2-10 plcapi-5.2-10 plcapi-5.3-0
Thierry Parmentelat [Thu, 10 Oct 2013 15:44:18 +0000]
Setting tag plcapi-5.2-10
provide a slicename_to_hrn function

5 years agoAdd slicename_to_hrn in order to check slice HRN as well as persons and nodes
Mohamed Larabi [Thu, 10 Oct 2013 14:23:38 +0000]
Add slicename_to_hrn in order to check slice HRN as well as persons and nodes

5 years agoSetting tag plcapi-5.2-9 plcapi-5.2-9
Thierry Parmentelat [Fri, 20 Sep 2013 09:48:48 +0000]
Setting tag plcapi-5.2-9
add an hrn accessor for slice so the SFA code can keep track of the federation-wide name of the slice

5 years agocreate an accessor for hrns also for slices
Thierry Parmentelat [Thu, 12 Sep 2013 08:43:34 +0000]
create an accessor for hrns also for slices

5 years agoSetting tag plcapi-5.2-8 plcapi-5.2-8
Thierry Parmentelat [Wed, 28 Aug 2013 14:39:23 +0000]
Setting tag plcapi-5.2-8
fix for wsgi-based deployments, each thread has its own api()

6 years agofix for WSGI-based PLCAPI, on behalf of Thomas Dreibholz
Thierry Parmentelat [Thu, 25 Jul 2013 19:07:39 +0000]
fix for WSGI-based PLCAPI, on behalf of  Thomas Dreibholz

6 years agoSetting tag plcapi-5.2-7 plcapi-5.2-7
Thierry Parmentelat [Fri, 28 Jun 2013 07:19:31 +0000]
Setting tag plcapi-5.2-7
also cleanup omf-slicemgr initscript

6 years agoMerge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Fri, 28 Jun 2013 07:18:31 +0000]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi

6 years agoremove plc.d/omf-slicemgr as well
Thierry Parmentelat [Fri, 28 Jun 2013 07:18:22 +0000]
remove plc.d/omf-slicemgr as well

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

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

6 years agomkdir var/log
Thierry Parmentelat [Thu, 27 Jun 2013 18:29:37 +0000]
mkdir var/log

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

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

6 years agohave ResolveSlices return 'expires' too
Thierry Parmentelat [Thu, 27 Jun 2013 13:06:57 +0000]
have ResolveSlices return 'expires' too

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

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

6 years agoadd filtering on node to RetrieveSliceSshKeys
Thierry Parmentelat [Wed, 26 Jun 2013 11:02:22 +0000]
add filtering on node to RetrieveSliceSshKeys

6 years agobugfix
Thierry Parmentelat [Wed, 26 Jun 2013 11:01:39 +0000]
bugfix

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

6 years agorename GetSliceSshKeys into RetrieveSliceSshKeys
Thierry Parmentelat [Wed, 26 Jun 2013 07:28:57 +0000]
rename GetSliceSshKeys into RetrieveSliceSshKeys

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

6 years agoadd support for netconfig aspect
smbaker [Mon, 27 May 2013 21:59:27 +0000]
add support for netconfig aspect

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

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

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

6 years agoAdd notification plugin support to AddSliceToNodes and DeleteSliceFromNodes
smbaker [Thu, 25 Apr 2013 05:07:02 +0000]
Add notification plugin support to AddSliceToNodes and DeleteSliceFromNodes

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

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

6 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]
when computing hrns, try to use SFA code first, otherwise resort to a local version

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

6 years agoSetting tag plcapi-5.2-1 plcapi-5.2-1
Thierry Parmentelat [Fri, 8 Mar 2013 07:48:12 +0000]
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

6 years agoremove debug statement
Thierry Parmentelat [Fri, 8 Mar 2013 07:38:44 +0000]
remove debug statement

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

6 years agobump major to 5.2
Thierry Parmentelat [Wed, 27 Feb 2013 06:31:46 +0000]
bump major to 5.2

6 years agobugfix
Thierry Parmentelat [Wed, 27 Feb 2013 06:28:20 +0000]
bugfix

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

6 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]
GetNodeFlavour exposes 'virt' based on node's 'virt' tag, or on PLC_FLAVOUR_VIRT_MAP

6 years agocosmetic / comment on standard accessors
Thierry Parmentelat [Sat, 23 Feb 2013 14:52:47 +0000]
cosmetic / comment on standard accessors

6 years agoremove 'type' accessor - only vserver has been supported so far, and
Thierry Parmentelat [Sat, 23 Feb 2013 14:52:11 +0000]
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

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

6 years agowhen creating slices trough SFA we're getting
Thierry Parmentelat [Thu, 21 Feb 2013 10:42:40 +0000]
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

6 years agofix typos
Thierry Parmentelat [Thu, 21 Feb 2013 08:45:44 +0000]
fix typos

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

6 years agocleaup
Thierry Parmentelat [Sat, 16 Feb 2013 12:58:57 +0000]
cleaup

6 years agoprovide PLCAPI
Thierry Parmentelat [Fri, 15 Feb 2013 17:22:27 +0000]
provide PLCAPI

6 years agothis was intended as part of the previous move too
Thierry Parmentelat [Fri, 15 Feb 2013 16:40:58 +0000]
this was intended as part of the previous move too
(nasty magit has been playing with me)

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

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