sfa.git
13 years agovalidate credential against XSD schema instead of RelaxNG
Tony Mack [Tue, 30 Nov 2010 16:39:40 +0000 (11:39 -0500)]
validate credential against XSD schema instead of RelaxNG

13 years agovalidate credential against XSD schema instead of RelaxNG
Tony Mack [Tue, 30 Nov 2010 16:39:03 +0000 (11:39 -0500)]
validate credential against XSD schema instead of RelaxNG

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Mon, 29 Nov 2010 17:14:38 +0000 (18:14 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

13 years agothe tag system does not have min_role_id anymore
Thierry Parmentelat [Mon, 29 Nov 2010 17:10:14 +0000 (18:10 +0100)]
the tag system does not have min_role_id anymore
avoid tough crash for now, but needs further fix

13 years agocreds may be a single cred or list of creds
Tony Mack [Wed, 24 Nov 2010 21:50:41 +0000 (16:50 -0500)]
creds may be a single cred or list of creds

13 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Wed, 24 Nov 2010 21:03:21 +0000 (16:03 -0500)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

13 years agoremove print statement
Tony Mack [Wed, 24 Nov 2010 21:00:44 +0000 (16:00 -0500)]
remove print statement

13 years agoimport faults for MissingAuthority
Barış Metin [Wed, 24 Nov 2010 14:17:18 +0000 (15:17 +0100)]
import faults for MissingAuthority

13 years agoadd credential schema rng files
Tony Mack [Mon, 22 Nov 2010 21:08:18 +0000 (16:08 -0500)]
add credential schema rng files

13 years agoadd credential schema rng files
Tony Mack [Mon, 22 Nov 2010 21:06:19 +0000 (16:06 -0500)]
add credential schema rng files

13 years agouse generice email address for each PG slice
Tony Mack [Mon, 22 Nov 2010 19:56:03 +0000 (14:56 -0500)]
use generice email address for each PG slice

13 years agomerge from jktest7
Tony Mack [Mon, 22 Nov 2010 18:18:49 +0000 (13:18 -0500)]
merge from jktest7

13 years agomerge from jktest7
Tony Mack [Mon, 22 Nov 2010 18:17:25 +0000 (13:17 -0500)]
merge from jktest7

13 years agovalidate credential against RelaxNG schema
Tony Mack [Mon, 22 Nov 2010 17:12:01 +0000 (12:12 -0500)]
validate credential against RelaxNG schema

13 years agovalidate credential against RelaxNG schema
Tony Mack [Mon, 22 Nov 2010 17:07:19 +0000 (12:07 -0500)]
validate credential against RelaxNG schema

14 years agoallow Xrn class to be instantiated with None
Tony Mack [Fri, 12 Nov 2010 21:11:52 +0000 (16:11 -0500)]
allow Xrn class to be instantiated with None

14 years agoSetting tag sfa-1.0-8 sfa-1.0-8
Thierry Parmentelat [Tue, 9 Nov 2010 08:13:44 +0000 (09:13 +0100)]
Setting tag sfa-1.0-8
fix registry credential regeneration and handle expiration
support for setting slice tags (min_role=user)
client can display its own version: sfi.py version --local
GetVersion to provide urn in addition to hrn
more code uses plxrn vs previous helper functions
import replaces '+' in email addresses with '_'

14 years agosfi.py version --local shows version for client
Thierry Parmentelat [Tue, 2 Nov 2010 20:37:01 +0000 (16:37 -0400)]
sfi.py version --local shows version for client

14 years agoplus sign (+) in user login converted into underscore (_) to get the hrn
Giovanni Gherdovich [Tue, 2 Nov 2010 11:01:36 +0000 (12:01 +0100)]
plus sign (+) in user login converted into underscore (_) to get the hrn

14 years agoMerge commit 'origin/master'
root [Sun, 31 Oct 2010 23:08:01 +0000 (00:08 +0100)]
Merge commit 'origin/master'

14 years agospecify 'authority' type
Tony Mack [Sun, 31 Oct 2010 23:17:31 +0000 (19:17 -0400)]
specify 'authority' type

14 years agospecify 'authority' type
Tony Mack [Sun, 31 Oct 2010 23:16:10 +0000 (19:16 -0400)]
specify 'authority' type

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

14 years agoupdated
Tony Mack [Tue, 26 Oct 2010 20:57:36 +0000 (16:57 -0400)]
updated

14 years agoMerge commit 'origin/master'
root [Tue, 26 Oct 2010 20:50:05 +0000 (22:50 +0200)]
Merge commit 'origin/master'

14 years agofix bug in the code that generated the credential for the registry interface. Creds...
Tony Mack [Tue, 26 Oct 2010 20:49:56 +0000 (16:49 -0400)]
fix bug in the code that generated the credential for the registry interface. Creds no longer have parents unless they are delegated. Refatored getCredential() code for interfaces requesting credentials

14 years agouse (pl)xrn only
Thierry Parmentelat [Tue, 26 Oct 2010 11:33:57 +0000 (13:33 +0200)]
use (pl)xrn only

14 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Tue, 26 Oct 2010 11:29:50 +0000 (13:29 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

14 years agoGetVersion to expose urn together with hrn
Thierry Parmentelat [Tue, 26 Oct 2010 11:29:36 +0000 (13:29 +0200)]
GetVersion to expose urn together with hrn

14 years agoAllow user role to set attributes via the SFA
Andy Bavier [Mon, 25 Oct 2010 21:00:54 +0000 (17:00 -0400)]
Allow user role to set attributes via the SFA

14 years agoattempt to use gid before generating a self signed cert
Tony Mack [Fri, 22 Oct 2010 16:28:47 +0000 (12:28 -0400)]
attempt to use gid before generating a self signed cert

14 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

14 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

14 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

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

14 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

14 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

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

14 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

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

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

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

14 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

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

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

14 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

14 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()

14 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

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

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

14 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

14 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

14 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.

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

14 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

14 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

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

14 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

14 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

14 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)

14 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

14 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

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

14 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

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

14 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'

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

14 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

14 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

14 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

14 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

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

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

14 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)

14 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

14 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

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

14 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

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

14 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'

14 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

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

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

14 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

14 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

14 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

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

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

14 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

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

14 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

14 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

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

14 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

14 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

14 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

14 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

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

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

14 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