sfa.git
13 years agoSetting tag sfa-1.0-7 sfa-1.0-7
Thierry Parmentelat [Fri, 22 Oct 2010 13:57:51 +0000 (15:57 +0200)]
Setting tag sfa-1.0-7
fix GetVersion code_tag and add code_url

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Fri, 22 Oct 2010 13:56:29 +0000 (15:56 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

13 years agofixed GetVersion's tag (now code_tag) and add code_url
Thierry Parmentelat [Fri, 22 Oct 2010 13:56:20 +0000 (15:56 +0200)]
fixed GetVersion's tag (now code_tag) and add code_url

13 years agoUSE SCMURL
Thierry Parmentelat [Fri, 22 Oct 2010 13:41:00 +0000 (15:41 +0200)]
USE SCMURL

13 years agoSetting tag sfa-1.0-6 sfa-1.0-6
Thierry Parmentelat [Fri, 22 Oct 2010 13:12:50 +0000 (15:12 +0200)]
Setting tag sfa-1.0-6
extend GetVersion towards minimum federation introspection, and expose local tag

13 years agosfi.py resources outputs rspec only if no file specified
Thierry Parmentelat [Fri, 22 Oct 2010 10:50:02 +0000 (12:50 +0200)]
sfi.py resources outputs rspec only if no file specified

13 years agoignore emacs backup files
Thierry Parmentelat [Fri, 22 Oct 2010 10:39:24 +0000 (12:39 +0200)]
ignore emacs backup files

13 years agoextend GetVersion to expose:
Thierry Parmentelat [Fri, 22 Oct 2010 10:38:52 +0000 (12:38 +0200)]
extend GetVersion to expose:
* interface :
    registry | slicemgr | aggregate | component
* peers (registry and slicemgr only)
    dictionary of (hrn => URL)
    for supporting introspection
* hrn : well, the hrn associated with this server (registry and slicemgr only)
* tag : the git tag
* hostname :

Example:
~/.sfi-vplc $  sfi.py -d . version -R
peers               : {'plc': 128.112.139.90:12345'}
hostname            : vplc10.pl.sophia.inria.fr
tag                 : sfa-1.0-6
hrn                 : ple
interface           : registry
geni_api            : 1
sfa                 : 1

13 years agocosmetic
Thierry Parmentelat [Fri, 22 Oct 2010 08:36:01 +0000 (10:36 +0200)]
cosmetic

13 years agofix NameError in create_slice()
Tony Mack [Wed, 20 Oct 2010 16:30:34 +0000 (12:30 -0400)]
fix NameError in create_slice()

13 years agofix sub authority signing issues
Tony Mack [Wed, 20 Oct 2010 16:03:13 +0000 (12:03 -0400)]
fix sub authority signing issues

13 years agoSetting tag sfa-1.0-5 sfa-1.0-5
Thierry Parmentelat [Wed, 20 Oct 2010 08:04:59 +0000 (10:04 +0200)]
Setting tag sfa-1.0-5
fixed some legacy issues (list vs List)
deprecated sfa.util.namespace for xrn and plxrn
unit tests ship as the sfa-tests rpm

13 years agomanually fixed taglevel
Thierry Parmentelat [Wed, 20 Oct 2010 07:43:23 +0000 (09:43 +0200)]
manually fixed taglevel

13 years ago..
Thierry Parmentelat [Tue, 19 Oct 2010 22:00:58 +0000 (01:00 +0300)]
..

13 years agofix positon of port number when generating interface url
Tony Mack [Tue, 19 Oct 2010 17:46:45 +0000 (13:46 -0400)]
fix positon of port number when generating interface url

13 years agofix url generated by get_server()
Tony Mack [Tue, 19 Oct 2010 17:38:16 +0000 (13:38 -0400)]
fix url generated by get_server()

13 years agoattempt to use the user's gid before generating a self signed cert when establishing...
Tony Mack [Tue, 19 Oct 2010 17:10:03 +0000 (13:10 -0400)]
attempt to use the user's gid before generating a self signed cert when establishing the connection

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