sfa.git
13 years agofix Xrn init
Barış Metin [Tue, 19 Oct 2010 15:46:49 +0000 (17:46 +0200)]
fix Xrn init

13 years agocomment-out test007
Barış Metin [Tue, 19 Oct 2010 15:36:14 +0000 (17:36 +0200)]
comment-out test007

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Tue, 19 Oct 2010 14:14:33 +0000 (17:14 +0300)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

Conflicts:
tests/testXrn.py

13 years agotentatively package unittests in rpm sfa-tests, for the nightlies
Thierry Parmentelat [Tue, 19 Oct 2010 14:02:50 +0000 (17:02 +0300)]
tentatively package unittests in rpm sfa-tests, for the nightlies

13 years ago* Xrn object is initialized with a single non-optional xrn string. hrn/urn is detecte...
Barış Metin [Tue, 19 Oct 2010 13:18:59 +0000 (15:18 +0200)]
* Xrn object is initialized with a single non-optional xrn string. hrn/urn is detected automatically.
* fixed tests for plxrn attributes.

13 years agooops, forgot that one
Thierry Parmentelat [Tue, 19 Oct 2010 11:07:40 +0000 (14:07 +0300)]
oops, forgot that one

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Tue, 19 Oct 2010 11:01:54 +0000 (14:01 +0300)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

Conflicts:
sfa/managers/aggregate_manager_max.py
sfa/util/xrn.py

13 years agonamespace module is gone, plxrn provides PL-specific translations
Thierry Parmentelat [Tue, 19 Oct 2010 10:53:00 +0000 (13:53 +0300)]
namespace module is gone, plxrn provides PL-specific translations
helper functions re-implemented on top of (pl)xrn - temporarily

13 years agoremove refrences to legacy methods
Tony Mack [Mon, 18 Oct 2010 22:34:38 +0000 (18:34 -0400)]
remove refrences to legacy methods

13 years agoremove refrence to legacy 'list' method
Tony Mack [Mon, 18 Oct 2010 22:28:35 +0000 (18:28 -0400)]
remove refrence to legacy 'list' method

13 years agofixed issues with sub authority cert signing. Added documentation
Tony Mack [Mon, 18 Oct 2010 22:19:33 +0000 (18:19 -0400)]
fixed issues with sub authority cert signing. Added documentation

13 years agodeprecated sfa.util.misc (duplicate for namespace)
Thierry Parmentelat [Mon, 18 Oct 2010 16:58:02 +0000 (19:58 +0300)]
deprecated sfa.util.misc (duplicate for namespace)

13 years agosimpler and hopefully less error-prone way to init Xrn
Barış Metin [Mon, 18 Oct 2010 14:46:49 +0000 (16:46 +0200)]
simpler and hopefully less error-prone way to init Xrn

13 years agobe more flexible in the accepted inputs
Thierry Parmentelat [Mon, 18 Oct 2010 14:06:12 +0000 (16:06 +0200)]
be more flexible in the accepted inputs

13 years agofor wsdl again
Thierry Parmentelat [Sun, 17 Oct 2010 15:50:00 +0000 (17:50 +0200)]
for wsdl again

13 years agotry to make wsdl generator happy
Thierry Parmentelat [Sun, 17 Oct 2010 15:48:42 +0000 (17:48 +0200)]
try to make wsdl generator happy

13 years agocosmetic
Thierry Parmentelat [Fri, 15 Oct 2010 16:05:00 +0000 (18:05 +0200)]
cosmetic

13 years agosfa/methods/__init__.py should be maintained with 'make index'
Thierry Parmentelat [Fri, 15 Oct 2010 13:17:46 +0000 (15:17 +0200)]
sfa/methods/__init__.py should be maintained with 'make index'

13 years agoremoved duplicate
Thierry Parmentelat [Fri, 15 Oct 2010 13:15:20 +0000 (15:15 +0200)]
removed duplicate

13 years agocheckpointing - in the middle of the move towards xrn vs namespace
Thierry Parmentelat [Thu, 14 Oct 2010 16:46:34 +0000 (18:46 +0200)]
checkpointing - in the middle of the move towards xrn vs namespace

13 years agotweak for syncing onto f12 or other arch flavours
Thierry Parmentelat [Thu, 14 Oct 2010 15:09:54 +0000 (17:09 +0200)]
tweak for syncing onto f12 or other arch flavours

13 years agofirst draft of the Xrn class, designed to replace sfa.util.namespace
Thierry Parmentelat [Thu, 14 Oct 2010 15:07:15 +0000 (17:07 +0200)]
first draft of the Xrn class, designed to replace sfa.util.namespace

13 years agoplease avoid import * as far as possible
Thierry Parmentelat [Thu, 14 Oct 2010 15:06:20 +0000 (17:06 +0200)]
please avoid import * as far as possible

13 years agofix typo
Thierry Parmentelat [Thu, 14 Oct 2010 15:05:49 +0000 (17:05 +0200)]
fix typo

13 years agocosmetic - drop svn keywords
Thierry Parmentelat [Thu, 14 Oct 2010 15:05:35 +0000 (17:05 +0200)]
cosmetic - drop svn keywords

13 years agomore helpful error message on wrong usage (list and show for now)
Thierry Parmentelat [Thu, 14 Oct 2010 15:04:28 +0000 (17:04 +0200)]
more helpful error message on wrong usage (list and show for now)

13 years agoadded username with '-' in it in the namespace unittest
Thierry Parmentelat [Wed, 13 Oct 2010 17:39:09 +0000 (19:39 +0200)]
added username with '-' in it in the namespace unittest

13 years agobump taglevel manually after the tagging hiccup
Thierry Parmentelat [Wed, 13 Oct 2010 16:27:46 +0000 (18:27 +0200)]
bump taglevel manually after the tagging hiccup

13 years agoresolve conflict manually
Barış Metin [Wed, 13 Oct 2010 14:56:24 +0000 (16:56 +0200)]
resolve conflict manually

13 years agofix missing import of determine_rights
Thierry Parmentelat [Wed, 13 Oct 2010 12:34:47 +0000 (14:34 +0200)]
fix missing import of determine_rights

13 years agobugfix/typo
Thierry Parmentelat [Wed, 13 Oct 2010 10:05:00 +0000 (12:05 +0200)]
bugfix/typo

13 years agoMerge commit 'origin/jktest6' sfa-geni-gec9
Tony Mack [Tue, 12 Oct 2010 19:02:52 +0000 (15:02 -0400)]
Merge commit 'origin/jktest6'

13 years agoFixed default credential time in credential.py to two weeks
Josh Karlin [Tue, 12 Oct 2010 18:47:30 +0000 (14:47 -0400)]
Fixed default credential time in credential.py to two weeks

13 years agoimport sfa.trust.gid.GID
Tony Mack [Tue, 12 Oct 2010 18:20:14 +0000 (14:20 -0400)]
import sfa.trust.gid.GID

13 years agoremoving api-dev
Tony Mack [Tue, 12 Oct 2010 17:39:22 +0000 (13:39 -0400)]
removing api-dev

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Tue, 12 Oct 2010 17:23:36 +0000 (19:23 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

13 years agosfadump more usable
Thierry Parmentelat [Tue, 12 Oct 2010 17:23:30 +0000 (19:23 +0200)]
sfadump more usable
add filename in *.dump for tracking the filesystem
cleanup imports of namespace

13 years agoone more fix to renewsliver sfa-1.0-4
Josh Karlin [Mon, 11 Oct 2010 19:33:53 +0000 (15:33 -0400)]
one more fix to renewsliver

13 years agoone more fix to renewsliver
Josh Karlin [Mon, 11 Oct 2010 18:47:43 +0000 (14:47 -0400)]
one more fix to renewsliver

13 years agoone more fix to renewsliver
Josh Karlin [Mon, 11 Oct 2010 18:46:34 +0000 (14:46 -0400)]
one more fix to renewsliver

13 years agoFixed renewsliver arguments in slice manager. Fixed a bug in namespace
Josh Karlin [Mon, 11 Oct 2010 18:23:37 +0000 (14:23 -0400)]
Fixed renewsliver arguments in slice manager.  Fixed a bug in namespace

13 years agoooops. last commit was wrong
Giovanni Gherdovich [Mon, 11 Oct 2010 11:21:50 +0000 (13:21 +0200)]
ooops. last commit was wrong

13 years agothe config file resulted to be /root/.sfi//sfi_config
Giovanni Gherdovich [Mon, 11 Oct 2010 10:53:10 +0000 (12:53 +0200)]
the config file resulted to be /root/.sfi//sfi_config

13 years agoSetting tag sfa-1.0-2 sfa-1.0-2
Thierry Parmentelat [Mon, 11 Oct 2010 07:54:48 +0000 (09:54 +0200)]
Setting tag sfa-1.0-2
deprecated old methods (e.g. List/list, and GetCredential/get_credential)
NOTE:  get_(self_)credential both have type and hrn swapped when moving to Get(Self)Credential
hrn-urn translations tweaked
fixed 'service sfa status'
sfa-nuke-plc has a -f/--file-system option to clean up /var/lib/authorities (exp.)
started to repair sfadump - although not usable yet
trust objects now have dump_string method that dump() actually prints
unit tests under review
logging cleanup ongoing (always safe to use sfalogging.sfa_logger())
binaries now support -v or -vv to increase loglevel
trashed obsolete sfa.util.client

13 years agoMerge commit 'origin/jktest4'
Tony Mack [Sat, 9 Oct 2010 22:04:16 +0000 (18:04 -0400)]
Merge commit 'origin/jktest4'

13 years agoescape all non alpha numeric characters in the hrn
Tony Mack [Sat, 9 Oct 2010 22:02:10 +0000 (18:02 -0400)]
escape all non alpha numeric characters in the hrn

13 years agofilled out AM and SM create_slice functions
Josh Karlin [Fri, 8 Oct 2010 18:43:31 +0000 (14:43 -0400)]
filled out AM and SM create_slice functions

13 years agochanged credential set_lifetime to be in absolute time, not relative. Fixed registry...
Josh Karlin [Fri, 8 Oct 2010 15:14:48 +0000 (11:14 -0400)]
changed credential set_lifetime to be in absolute time, not relative.  Fixed registry_manager_pl to set credential expiration time on GetCredential

13 years agostarted to repair sfadump
Thierry Parmentelat [Fri, 8 Oct 2010 14:19:35 +0000 (16:19 +0200)]
started to repair sfadump
dumps can return strings

13 years agocosmetic
Thierry Parmentelat [Fri, 8 Oct 2010 08:23:30 +0000 (10:23 +0200)]
cosmetic

13 years agofix typo
Thierry Parmentelat [Fri, 8 Oct 2010 07:23:40 +0000 (09:23 +0200)]
fix typo

13 years agoMerge commit 'origin/jktest' into jktest3
Josh Karlin [Thu, 7 Oct 2010 20:12:44 +0000 (16:12 -0400)]
Merge commit 'origin/jktest' into jktest3

13 years agosmall fixes to make renewsliver work
Josh Karlin [Thu, 7 Oct 2010 19:48:59 +0000 (15:48 -0400)]
small fixes to make renewsliver work

13 years agoreview logging again; code that runs in client and/or server now logs in the right...
Thierry Parmentelat [Thu, 7 Oct 2010 16:15:18 +0000 (18:15 +0200)]
review logging again; code that runs in client and/or server now logs in the right place

13 years agoCertificate can now read protogeni style pems which have some text at the top of...
Josh Karlin [Thu, 7 Oct 2010 14:20:00 +0000 (10:20 -0400)]
Certificate can now read protogeni style pems which have some text at the top of the file

13 years agofix "service sfa status"
Thierry Parmentelat [Thu, 7 Oct 2010 13:17:58 +0000 (15:17 +0200)]
fix "service sfa status"

13 years agofixing email and added a necessary import to credential
Josh Karlin [Wed, 6 Oct 2010 20:44:13 +0000 (16:44 -0400)]
fixing email and added a necessary import to credential

13 years agoMerge commit 'origin/jktest'
Tony Mack [Wed, 6 Oct 2010 18:44:18 +0000 (14:44 -0400)]
Merge commit 'origin/jktest'

13 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Wed, 6 Oct 2010 18:30:19 +0000 (14:30 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

13 years agomerged namespace
Josh Karlin [Wed, 6 Oct 2010 17:47:49 +0000 (13:47 -0400)]
merged namespace

13 years agonew unittest testNamespace
Thierry Parmentelat [Wed, 6 Oct 2010 13:14:09 +0000 (15:14 +0200)]
new unittest testNamespace

13 years agoxmlrpc calls traced with logger.debug
Thierry Parmentelat [Wed, 6 Oct 2010 08:10:52 +0000 (10:10 +0200)]
xmlrpc calls traced with logger.debug
use /var/log/sfa.log for servers and stderr for clients

13 years agonot sure if this is still current but the names have changed
Thierry Parmentelat [Wed, 6 Oct 2010 08:00:22 +0000 (10:00 +0200)]
not sure if this is still current but the names have changed

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Wed, 6 Oct 2010 07:56:02 +0000 (09:56 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

13 years agomissing methods in __init__
Thierry Parmentelat [Wed, 6 Oct 2010 07:54:43 +0000 (09:54 +0200)]
missing methods in __init__
arguments to Get(Self)Credential (from get_credential, need to swap hrn and type)
renamed RightList into just Rights

13 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Tue, 5 Oct 2010 16:10:35 +0000 (12:10 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

13 years agostring replace doesn't modify the string in-place
Barış Metin [Tue, 5 Oct 2010 14:52:20 +0000 (16:52 +0200)]
string replace doesn't modify the string in-place

13 years agosmall fix for verbose output
Barış Metin [Tue, 5 Oct 2010 14:33:07 +0000 (16:33 +0200)]
small fix for verbose output

13 years agoupdate tags locally
Thierry Parmentelat [Tue, 5 Oct 2010 11:19:52 +0000 (13:19 +0200)]
update tags locally

13 years agofixed module contents
Thierry Parmentelat [Tue, 5 Oct 2010 10:59:11 +0000 (12:59 +0200)]
fixed module contents

13 years agofixed comment - this one is NOT deprecated
Thierry Parmentelat [Tue, 5 Oct 2010 10:58:58 +0000 (12:58 +0200)]
fixed comment - this one is NOT deprecated

13 years agoremoved obsolete util/client.py
Thierry Parmentelat [Tue, 5 Oct 2010 10:58:34 +0000 (12:58 +0200)]
removed obsolete util/client.py

13 years agodismantle legacy scaffolding - 2
Thierry Parmentelat [Tue, 5 Oct 2010 08:55:38 +0000 (10:55 +0200)]
dismantle legacy scaffolding - 2

13 years agodismantle legacy scaffolding - 1
Thierry Parmentelat [Tue, 5 Oct 2010 07:48:12 +0000 (09:48 +0200)]
dismantle legacy scaffolding - 1

13 years agoMerge branch 'master' of git.onelab.eu:/git/sfa
Barış Metin [Mon, 4 Oct 2010 16:19:35 +0000 (18:19 +0200)]
Merge branch 'master' of git.onelab.eu:/git/sfa

Conflicts:
sfa/client/sfi.py

13 years agoon client (sfi.py), when verbose flag is given print xml-rpc method calls.
Barış Metin [Mon, 4 Oct 2010 16:17:24 +0000 (18:17 +0200)]
on client (sfi.py), when verbose flag is given print xml-rpc method calls.

13 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Mon, 4 Oct 2010 16:09:25 +0000 (12:09 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

13 years agocleaned up globals - except in the foreign plugins for eucalyptus and MAX
Thierry Parmentelat [Mon, 4 Oct 2010 15:42:11 +0000 (17:42 +0200)]
cleaned up globals - except in the foreign plugins for eucalyptus and MAX

13 years agoSetting tag sfa-1.0-1 sfa-1.0-1
Thierry Parmentelat [Mon, 4 Oct 2010 14:49:18 +0000 (16:49 +0200)]
Setting tag sfa-1.0-1
various bugfixes and cleanup, improved/harmonized logging

13 years agouse console_logger (stderr) for messages other than expected output
Thierry Parmentelat [Mon, 4 Oct 2010 13:32:17 +0000 (15:32 +0200)]
use console_logger (stderr) for messages other than expected output
attach local data to instances, not to class

13 years agotweaked logging
Thierry Parmentelat [Mon, 4 Oct 2010 12:28:27 +0000 (14:28 +0200)]
tweaked logging

13 years agothis doesn't looks good, but seems like giving a None hrn to checkCredentials will...
Barış Metin [Mon, 4 Oct 2010 10:32:51 +0000 (12:32 +0200)]
this doesn't looks good, but seems like giving a None hrn to checkCredentials will do the trick.

13 years agotry fixing all name errors in slice_manager_pl.py
Barış Metin [Mon, 4 Oct 2010 10:17:35 +0000 (12:17 +0200)]
try fixing  all name errors in slice_manager_pl.py

13 years agodon't know how to fix fix this one - just reverted as my attempt was incorrect
Thierry Parmentelat [Sat, 2 Oct 2010 18:57:35 +0000 (20:57 +0200)]
don't know how to fix fix this one - just reverted as my attempt was incorrect

13 years agoconsole has a different formatter
Thierry Parmentelat [Sat, 2 Oct 2010 06:54:16 +0000 (08:54 +0200)]
console has a different formatter

13 years agofixes
Thierry Parmentelat [Sat, 2 Oct 2010 06:53:28 +0000 (08:53 +0200)]
fixes

13 years agofix log
Barış Metin [Fri, 1 Oct 2010 08:34:55 +0000 (10:34 +0200)]
fix log

13 years agoadd .gitignore
Barış Metin [Fri, 1 Oct 2010 08:21:17 +0000 (10:21 +0200)]
add .gitignore

13 years agofinish cleaning with util.report
Thierry Parmentelat [Fri, 1 Oct 2010 07:10:06 +0000 (09:10 +0200)]
finish cleaning with util.report

13 years agoops (don't know what I was thinking)...
Barış Metin [Thu, 30 Sep 2010 20:22:49 +0000 (22:22 +0200)]
ops (don't know what I was thinking)...

13 years agouse sfaImporter.logger.info
Barış Metin [Thu, 30 Sep 2010 20:05:11 +0000 (22:05 +0200)]
use sfaImporter.logger.info

13 years agoconsole_logger defined for the client side
Thierry Parmentelat [Thu, 30 Sep 2010 16:06:33 +0000 (18:06 +0200)]
console_logger defined for the client side
turn on verbosity if SFA_API_DEBUG is set

13 years agoadd 'OPTIONS=-v' in your /etc/sfa/sfa_config to get debug messages in log files
Thierry Parmentelat [Thu, 30 Sep 2010 12:45:58 +0000 (14:45 +0200)]
add 'OPTIONS=-v' in your /etc/sfa/sfa_config to get debug messages in log files

13 years ago* tried to put some sense in the way things get logged, at least on server-side for now
Thierry Parmentelat [Thu, 30 Sep 2010 12:36:19 +0000 (14:36 +0200)]
* tried to put some sense in the way things get logged, at least on server-side for now
/var/log/sfa.log
/var/log/sfa_import.log
/var/log/htppd/sfa_access_log
* please use sfalogging objects as far as possible, deprecated sfa.util.debug and sfa.util.report

13 years agofixed up the names of new site names/slices to be more PLC compatible
Josh Karlin [Wed, 29 Sep 2010 18:13:40 +0000 (14:13 -0400)]
fixed up the names of new site names/slices to be more PLC compatible

13 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Tue, 28 Sep 2010 20:58:30 +0000 (16:58 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

13 years agourn_to_hrn() is no longer lossy. urn_to_hrn() escapes '.' instead of replacing it...
Tony Mack [Tue, 28 Sep 2010 20:57:52 +0000 (16:57 -0400)]
urn_to_hrn() is no longer lossy. urn_to_hrn() escapes '.' instead of replacing it. Made hrn_to_urn() conversion consistent. hrn_to_urn() unescapes any escaped '.'. hrn_to_pl_*() methods completely remove escaped '.'

13 years agourn_to_hrn() is no longer lossy. urn_to_hrn() escapes '.' instead of replacing it...
Tony Mack [Tue, 28 Sep 2010 20:56:05 +0000 (16:56 -0400)]
urn_to_hrn() is no longer lossy. urn_to_hrn() escapes '.' instead of replacing it. Made hrn_to_urn() conversion consistent. hrn_to_urn() unescapes any escaped '.'. hrn_to_pl_*() methods completely remove escaped '.'

13 years agoimprove server-side logging of exceptions
Thierry Parmentelat [Tue, 28 Sep 2010 16:07:13 +0000 (18:07 +0200)]
improve server-side logging of exceptions

13 years agopreun scriplets more robust, otherwise may prevent uninstall
Thierry Parmentelat [Tue, 28 Sep 2010 12:11:15 +0000 (14:11 +0200)]
preun scriplets more robust, otherwise may prevent uninstall