sfa.git
13 years agoignore version.py, master is version.py.in
Thierry Parmentelat [Tue, 4 Jan 2011 09:23:10 +0000 (10:23 +0100)]
ignore version.py, master is version.py.in

13 years agothis fix should work on any version of python
Thierry Parmentelat [Tue, 4 Jan 2011 09:21:30 +0000 (10:21 +0100)]
this fix should work on any version of python

13 years agofix URL
Thierry Parmentelat [Tue, 4 Jan 2011 09:15:37 +0000 (10:15 +0100)]
fix URL

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Thu, 30 Dec 2010 20:47:29 +0000 (21:47 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

13 years agothis was intended to be part of previous commit..
Thierry Parmentelat [Thu, 30 Dec 2010 20:47:08 +0000 (21:47 +0100)]
this was intended to be part of previous commit..

13 years agotry again to use httplib.HTTPSConnection instead of deprecated httplib.HTTPS
Thierry Parmentelat [Thu, 30 Dec 2010 20:46:41 +0000 (21:46 +0100)]
try again to use httplib.HTTPSConnection instead of deprecated httplib.HTTPS

13 years agoadded optional urn element under the node element in the rsepc
Tony Mack [Mon, 27 Dec 2010 21:36:40 +0000 (16:36 -0500)]
added optional urn element under the node element in the rsepc

13 years agoadded 'urn' field as an attribute for the 'node' element in the rspec
Tony Mack [Mon, 27 Dec 2010 21:30:38 +0000 (16:30 -0500)]
added 'urn' field as an attribute for the 'node' element in the rspec

13 years agoadded hostname_to_urn() method
Tony Mack [Mon, 27 Dec 2010 21:00:01 +0000 (16:00 -0500)]
added hostname_to_urn() method

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Sat, 18 Dec 2010 15:25:49 +0000 (16:25 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

13 years agoSfi can be created without options at all
Thierry Parmentelat [Sat, 18 Dec 2010 15:25:42 +0000 (16:25 +0100)]
Sfi can be created without options at all

13 years agothe germ for a tool that scans the federation given entry points
Thierry Parmentelat [Sat, 18 Dec 2010 15:15:07 +0000 (16:15 +0100)]
the germ for a tool that scans the federation given entry points
goal is to draw a picture about how the various parts are configured

13 years agothe Sfi class is more easily re-usable from the outside
Thierry Parmentelat [Sat, 18 Dec 2010 15:13:50 +0000 (16:13 +0100)]
the Sfi class is more easily re-usable from the outside

13 years agoSetting tag sfa-1.0-11 sfa-1.0-11
Thierry Parmentelat [Thu, 16 Dec 2010 22:50:17 +0000 (23:50 +0100)]
Setting tag sfa-1.0-11
undo broken attempt for python-2.7

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Thu, 16 Dec 2010 22:48:14 +0000 (23:48 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

13 years agoundo attempts made for python-2.7 as they're broken
Thierry Parmentelat [Thu, 16 Dec 2010 22:48:05 +0000 (23:48 +0100)]
undo attempts made for python-2.7 as they're broken

13 years agoSetting tag sfa-1.0-10 sfa-1.0-10
Thierry Parmentelat [Wed, 15 Dec 2010 21:48:52 +0000 (22:48 +0100)]
Setting tag sfa-1.0-10
SMs avoid duplicates for when call graph has dags;
just based on network's name, when a duplicate occurs, one is just dropped
does not try to merge/aggregate 2 networks
also reviewed logging with the hope to fix the sfa startup msg:
TypeError: not all arguments converted during string formatting

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Wed, 15 Dec 2010 15:55:43 +0000 (16:55 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

13 years agomerging rspecs avoid duplicated networks
Thierry Parmentelat [Wed, 15 Dec 2010 15:55:29 +0000 (16:55 +0100)]
merging rspecs avoid duplicated networks
slice manager to use the helper function for merging for get_rspecs as well

13 years agoreviewed error msg formatting - fixed a couple glitches
Thierry Parmentelat [Wed, 15 Dec 2010 11:41:51 +0000 (12:41 +0100)]
reviewed error msg formatting - fixed a couple glitches

13 years agoinit test with right parameters
Barış Metin [Fri, 10 Dec 2010 10:42:01 +0000 (11:42 +0100)]
init test with right parameters

13 years agotry using HTTPSConnection instead of the old HTTPS compatibility class
Barış Metin [Thu, 9 Dec 2010 11:32:38 +0000 (12:32 +0100)]
try using HTTPSConnection instead of the old HTTPS compatibility class
from 1.5. HTTPSConnection practically have the same interface for our
use and xmlrpclib from python 2.7 requires the additional methods it
provides.

13 years agoSetting tag sfa-1.0-9 sfa-1.0-9
Thierry Parmentelat [Tue, 7 Dec 2010 18:52:04 +0000 (19:52 +0100)]
Setting tag sfa-1.0-9
verify credentials against xsd schema
Fix SM to SM communication
Fix bug in sfa.util.sfalogging, sfa-import.py now logs to sfa_import.log
new setting session_key_path

13 years agosig.xsd is required for verifying credential schema
Tony Mack [Tue, 7 Dec 2010 12:53:57 +0000 (07:53 -0500)]
sig.xsd is required for verifying credential schema

13 years agosig.xsd is required for verifying credential schema
Tony Mack [Tue, 7 Dec 2010 12:52:01 +0000 (07:52 -0500)]
sig.xsd is required for verifying credential schema

13 years agoreturn False in {SliceTag,TagType}.permit_update() (we will fix this later
Tony Mack [Mon, 6 Dec 2010 16:23:06 +0000 (11:23 -0500)]
return False in {SliceTag,TagType}.permit_update() (we will fix this later

13 years agoverify credential against xsd schema
Tony Mack [Sat, 4 Dec 2010 01:45:25 +0000 (20:45 -0500)]
verify credential against xsd schema

13 years agoadded 'session_key_path' config parameter
Tony Mack [Fri, 3 Dec 2010 22:16:52 +0000 (17:16 -0500)]
added 'session_key_path' config parameter

13 years agoMerge commit 'origin/master'
root [Thu, 2 Dec 2010 16:47:29 +0000 (11:47 -0500)]
Merge commit 'origin/master'

13 years agofix typo
Barış Metin [Thu, 2 Dec 2010 16:20:12 +0000 (17:20 +0100)]
fix typo

13 years agoin sfa_loger_goes_to_import() _logger should be _the_logger
Tony Mack [Wed, 1 Dec 2010 21:04:49 +0000 (16:04 -0500)]
in sfa_loger_goes_to_import() _logger should be _the_logger

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

13 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

13 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 '_'

13 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

13 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

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

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

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

13 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

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

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

13 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

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

13 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

13 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

13 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

13 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

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