Tony Mack [Fri, 28 Jan 2011 23:25:50 +0000 (18:25 -0500)]
make sure cert is v3 so certifcate can support extension
Tony Mack [Mon, 24 Jan 2011 22:32:25 +0000 (17:32 -0500)]
send type to registry_manager if only querying for one record
Tony Mack [Mon, 24 Jan 2011 22:05:40 +0000 (17:05 -0500)]
remove comments
Tony Mack [Mon, 24 Jan 2011 22:05:10 +0000 (17:05 -0500)]
filter result of resolve() if type if specified in urn
Tony Mack [Mon, 24 Jan 2011 21:34:51 +0000 (16:34 -0500)]
preserve nodes full hostname in hrn/urn
Tony Mack [Fri, 21 Jan 2011 00:48:53 +0000 (19:48 -0500)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Fri, 21 Jan 2011 00:48:40 +0000 (19:48 -0500)]
update test cases
Marco Yuen [Wed, 19 Jan 2011 21:55:04 +0000 (16:55 -0500)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Wed, 19 Jan 2011 21:23:54 +0000 (16:23 -0500)]
test
Tony Mack [Wed, 19 Jan 2011 21:19:39 +0000 (16:19 -0500)]
test
Marco Yuen [Wed, 19 Jan 2011 21:15:07 +0000 (16:15 -0500)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Wed, 19 Jan 2011 21:09:46 +0000 (16:09 -0500)]
test
Marco Yuen [Wed, 19 Jan 2011 20:45:54 +0000 (15:45 -0500)]
Public keys are passed to the instances.
Public keys for a slice will be passed to the instances as metadata.
The instances can then add those keys to the authorized_key file.
Tony Mack [Wed, 19 Jan 2011 20:01:53 +0000 (15:01 -0500)]
preserve node's full hostname in urn/hrn
Tony Mack [Wed, 19 Jan 2011 18:42:48 +0000 (13:42 -0500)]
type may be None
Tony Mack [Tue, 18 Jan 2011 23:04:13 +0000 (18:04 -0500)]
support differnt authority types
Tony Mack [Tue, 18 Jan 2011 17:16:50 +0000 (12:16 -0500)]
fix bug
Tony Mack [Tue, 18 Jan 2011 17:11:15 +0000 (12:11 -0500)]
create unique registry record for each SFA interface
Tony Mack [Fri, 14 Jan 2011 23:00:45 +0000 (18:00 -0500)]
create unique registry record for each SFA interface
Tony Mack [Thu, 13 Jan 2011 21:11:10 +0000 (16:11 -0500)]
added 'lenient' argument to get_results()
Tony Mack [Wed, 5 Jan 2011 19:48:44 +0000 (14:48 -0500)]
exempt federated sites from monitor policies
Tony Mack [Tue, 4 Jan 2011 22:30:48 +0000 (17:30 -0500)]
fix bug in optional urn section of rspec schema
Thierry Parmentelat [Tue, 4 Jan 2011 09:23:10 +0000 (10:23 +0100)]
ignore version.py, master is version.py.in
Thierry Parmentelat [Tue, 4 Jan 2011 09:21:30 +0000 (10:21 +0100)]
this fix should work on any version of python
Thierry Parmentelat [Tue, 4 Jan 2011 09:15:37 +0000 (10:15 +0100)]
fix URL
Thierry Parmentelat [Thu, 30 Dec 2010 20:47:29 +0000 (21:47 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Thu, 30 Dec 2010 20:47:08 +0000 (21:47 +0100)]
this was intended to be part of previous commit..
Thierry Parmentelat [Thu, 30 Dec 2010 20:46:41 +0000 (21:46 +0100)]
try again to use httplib.HTTPSConnection instead of deprecated httplib.HTTPS
Tony Mack [Mon, 27 Dec 2010 21:36:40 +0000 (16:36 -0500)]
added optional urn element under the node element in the rsepc
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
Tony Mack [Mon, 27 Dec 2010 21:00:01 +0000 (16:00 -0500)]
added hostname_to_urn() method
Thierry Parmentelat [Sat, 18 Dec 2010 15:25:49 +0000 (16:25 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Sat, 18 Dec 2010 15:25:42 +0000 (16:25 +0100)]
Sfi can be created without options at all
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
Thierry Parmentelat [Sat, 18 Dec 2010 15:13:50 +0000 (16:13 +0100)]
the Sfi class is more easily re-usable from the outside
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
Thierry Parmentelat [Thu, 16 Dec 2010 22:48:14 +0000 (23:48 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Thu, 16 Dec 2010 22:48:05 +0000 (23:48 +0100)]
undo attempts made for python-2.7 as they're broken
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
Thierry Parmentelat [Wed, 15 Dec 2010 15:55:43 +0000 (16:55 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa
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
Thierry Parmentelat [Wed, 15 Dec 2010 11:41:51 +0000 (12:41 +0100)]
reviewed error msg formatting - fixed a couple glitches
Barış Metin [Fri, 10 Dec 2010 10:42:01 +0000 (11:42 +0100)]
init test with right parameters
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.
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
Tony Mack [Tue, 7 Dec 2010 12:53:57 +0000 (07:53 -0500)]
sig.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
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
Tony Mack [Sat, 4 Dec 2010 01:45:25 +0000 (20:45 -0500)]
verify credential against xsd schema
Tony Mack [Fri, 3 Dec 2010 22:16:52 +0000 (17:16 -0500)]
added 'session_key_path' config parameter
root [Thu, 2 Dec 2010 16:47:29 +0000 (11:47 -0500)]
Merge commit 'origin/master'
Barış Metin [Thu, 2 Dec 2010 16:20:12 +0000 (17:20 +0100)]
fix typo
Tony Mack [Wed, 1 Dec 2010 21:04:49 +0000 (16:04 -0500)]
in sfa_loger_goes_to_import() _logger should be _the_logger
Tony Mack [Tue, 30 Nov 2010 16:39:40 +0000 (11:39 -0500)]
validate 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
Thierry Parmentelat [Mon, 29 Nov 2010 17:14:38 +0000 (18:14 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa
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
Tony Mack [Wed, 24 Nov 2010 21:50:41 +0000 (16:50 -0500)]
creds may be a single cred or list of creds
Tony Mack [Wed, 24 Nov 2010 21:03:21 +0000 (16:03 -0500)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Wed, 24 Nov 2010 21:00:44 +0000 (16:00 -0500)]
remove print statement
Barış Metin [Wed, 24 Nov 2010 14:17:18 +0000 (15:17 +0100)]
import faults for MissingAuthority
Tony Mack [Mon, 22 Nov 2010 21:08:18 +0000 (16:08 -0500)]
add credential schema rng files
Tony Mack [Mon, 22 Nov 2010 21:06:19 +0000 (16:06 -0500)]
add credential schema rng files
Tony Mack [Mon, 22 Nov 2010 19:56:03 +0000 (14:56 -0500)]
use generice email address for each PG slice
Tony Mack [Mon, 22 Nov 2010 18:18:49 +0000 (13:18 -0500)]
merge from jktest7
Tony Mack [Mon, 22 Nov 2010 18:17:25 +0000 (13:17 -0500)]
merge from jktest7
Tony Mack [Mon, 22 Nov 2010 17:12:01 +0000 (12:12 -0500)]
validate credential against RelaxNG schema
Tony Mack [Mon, 22 Nov 2010 17:07:19 +0000 (12:07 -0500)]
validate credential against RelaxNG schema
Tony Mack [Fri, 12 Nov 2010 21:11:52 +0000 (16:11 -0500)]
allow Xrn class to be instantiated with None
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 '_'
Thierry Parmentelat [Tue, 2 Nov 2010 20:37:01 +0000 (16:37 -0400)]
sfi.py version --local shows version for client
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
root [Sun, 31 Oct 2010 23:08:01 +0000 (00:08 +0100)]
Merge commit 'origin/master'
Tony Mack [Sun, 31 Oct 2010 23:17:31 +0000 (19:17 -0400)]
specify 'authority' type
Tony Mack [Sun, 31 Oct 2010 23:16:10 +0000 (19:16 -0400)]
specify 'authority' type
Tony Mack [Tue, 26 Oct 2010 20:58:42 +0000 (16:58 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Tue, 26 Oct 2010 20:57:36 +0000 (16:57 -0400)]
updated
root [Tue, 26 Oct 2010 20:50:05 +0000 (22:50 +0200)]
Merge commit 'origin/master'
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
Thierry Parmentelat [Tue, 26 Oct 2010 11:33:57 +0000 (13:33 +0200)]
use (pl)xrn only
Thierry Parmentelat [Tue, 26 Oct 2010 11:29:50 +0000 (13:29 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Tue, 26 Oct 2010 11:29:36 +0000 (13:29 +0200)]
GetVersion to expose urn together with hrn
Andy Bavier [Mon, 25 Oct 2010 21:00:54 +0000 (17:00 -0400)]
Allow user role to set attributes via the SFA
Tony Mack [Fri, 22 Oct 2010 16:28:47 +0000 (12:28 -0400)]
attempt to use gid before generating a self signed cert
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
Thierry Parmentelat [Fri, 22 Oct 2010 13:56:29 +0000 (15:56 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Fri, 22 Oct 2010 13:56:20 +0000 (15:56 +0200)]
fixed GetVersion's tag (now code_tag) and add code_url
Thierry Parmentelat [Fri, 22 Oct 2010 13:41:00 +0000 (15:41 +0200)]
USE SCMURL
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
Thierry Parmentelat [Fri, 22 Oct 2010 10:50:02 +0000 (12:50 +0200)]
sfi.py resources outputs rspec only if no file specified
Thierry Parmentelat [Fri, 22 Oct 2010 10:39:24 +0000 (12:39 +0200)]
ignore emacs backup files
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
Thierry Parmentelat [Fri, 22 Oct 2010 08:36:01 +0000 (10:36 +0200)]
cosmetic
Tony Mack [Wed, 20 Oct 2010 16:30:34 +0000 (12:30 -0400)]
fix NameError in create_slice()
Tony Mack [Wed, 20 Oct 2010 16:03:13 +0000 (12:03 -0400)]
fix sub authority signing issues
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
Thierry Parmentelat [Wed, 20 Oct 2010 07:43:23 +0000 (09:43 +0200)]
manually fixed taglevel
Thierry Parmentelat [Tue, 19 Oct 2010 22:00:58 +0000 (01:00 +0300)]
..
Tony Mack [Tue, 19 Oct 2010 17:46:45 +0000 (13:46 -0400)]
fix positon of port number when generating interface url
Tony Mack [Tue, 19 Oct 2010 17:38:16 +0000 (13:38 -0400)]
fix url generated by get_server()