sfa.git
13 years agoSetting tag sfa-1.0-15 sfa-1.0-15
Andy Bavier [Mon, 7 Mar 2011 22:41:34 +0000 (17:41 -0500)]
Setting tag sfa-1.0-15
Add support for Flash clients using flashpolicy
Fix problems with tag handling in RSpec

13 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Andy Bavier [Mon, 7 Mar 2011 22:04:20 +0000 (17:04 -0500)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

13 years agoFix "permission denied to modify tag" error
Andy Bavier [Mon, 7 Mar 2011 21:59:20 +0000 (16:59 -0500)]
Fix "permission denied to modify tag" error

The SFA should give an "Invalid RSpec: permission denied to modify tag" error when the user
tries to modify a tag without the proper role.  This fix prevents the error being generated
when the tag value has not been changed.

13 years agoalways reuturn policy
Tony Mack [Thu, 3 Mar 2011 20:06:33 +0000 (15:06 -0500)]
always reuturn policy

13 years agoremoving
Tony Mack [Wed, 2 Mar 2011 21:28:08 +0000 (16:28 -0500)]
removing

13 years agoadd support for flash clients using flashpolicy
Tony Mack [Wed, 2 Mar 2011 21:26:03 +0000 (16:26 -0500)]
add support for flash clients using flashpolicy

13 years agomodifications to slice_status
Tony Mack [Wed, 2 Mar 2011 19:47:46 +0000 (14:47 -0500)]
modifications to slice_status

13 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Wed, 2 Mar 2011 19:22:11 +0000 (14:22 -0500)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

13 years agoin slice_status, set geni_status and gen_urn values
Tony Mack [Wed, 2 Mar 2011 19:21:52 +0000 (14:21 -0500)]
in slice_status, set geni_status and gen_urn values

13 years agoFix problem with tags missing from RSpec
Andy Bavier [Wed, 2 Mar 2011 17:56:52 +0000 (12:56 -0500)]
Fix problem with tags missing from RSpec

All tags that have category "slice/rspec" should be displayed in the RSPec.  Fixed an
issue where not all such tags would be displayed.

13 years agoSetting tag sfa-1.0-14 sfa-1.0-14
Andy Bavier [Wed, 2 Mar 2011 16:41:54 +0000 (11:41 -0500)]
Setting tag sfa-1.0-14
Modifications to the Eucalyptus Aggregate Manager
Fixes for VINI RSpec
Fix tag handling for PL RSpec
Fix XML Schema ordering for <urn> element

13 years agoin slice_status() make sure geni_urn is a urn and not hrn
Tony Mack [Tue, 1 Mar 2011 19:07:54 +0000 (14:07 -0500)]
in slice_status() make sure geni_urn is a urn and not hrn

13 years agoRemoved NLR sites from topology
Andy Bavier [Mon, 28 Feb 2011 22:02:44 +0000 (17:02 -0500)]
Removed NLR sites from topology

NLR has decided not to give free hosting to VINI any more.  As a result the VINI nodes
have been shut down and the NLR sites have been removed from the VINI DB.  It was necessary
to also remove the deleted sites from the topology spec.

13 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Andy Bavier [Wed, 23 Feb 2011 22:01:06 +0000 (17:01 -0500)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

13 years agoFix roles to work with MyPLC 5.0
Andy Bavier [Wed, 23 Feb 2011 21:59:52 +0000 (16:59 -0500)]
Fix roles to work with MyPLC 5.0

SFA-4
MyPLC 5.0 does away with the min_role_id field in the SliceTag.  This is replaced by a list of roles that can set the tag in
the TagType.  Updated permission checks accordingly for setting SliceTags from the RSpec.

13 years agoFix the Eucalyptus RSpec schema.
Marco Yuen [Tue, 22 Feb 2011 17:21:18 +0000 (12:21 -0500)]
Fix the Eucalyptus RSpec schema.

13 years agoFixes for new <urn> element
Andy Bavier [Thu, 10 Feb 2011 14:55:58 +0000 (09:55 -0500)]
Fixes for new <urn> element

Modified the RELAX NG specs to properly handle the <urn> element.  Updated the sample RSpec.

13 years agoFix attribute placement in RSpec
Andy Bavier [Tue, 8 Feb 2011 19:33:40 +0000 (14:33 -0500)]
Fix attribute placement in RSpec

Fix issue where slice tags assigned to specific nodes were showing up
under the <sliver_defaults> tag in the RSpec

13 years agoAdd network argument to rspec calls
Andy Bavier [Tue, 8 Feb 2011 15:11:30 +0000 (10:11 -0500)]
Add network argument to rspec calls

Added an optional network parameter to the rspec helper functions, to make them
useful on rspecs that have multiple <network> elements.

13 years agoFix for VINI, due to change of site ID in RSpec to site's login base.
Andy Bavier [Fri, 4 Feb 2011 20:13:46 +0000 (15:13 -0500)]
Fix for VINI, due to change of site ID in RSpec to site's login base.

The site ID in the RSpec has been changed to be the site's login base.
This afftected the lookupSite() function, which AFAIK is only used by
VINI's Aggregate Manager.

13 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Marco Yuen [Thu, 3 Feb 2011 14:55:18 +0000 (09:55 -0500)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

13 years agoSetting tag sfa-1.0-13
Thierry Parmentelat [Tue, 1 Feb 2011 19:35:01 +0000 (20:35 +0100)]
Setting tag sfa-1.0-13
just set x509 version to 2

13 years agoRemove log messages.
Marco Yuen [Thu, 3 Feb 2011 14:01:48 +0000 (09:01 -0500)]
Remove log messages.

13 years agoSetting tag sfa-1.0-13 sfa-1.0-13
Thierry Parmentelat [Tue, 1 Feb 2011 19:35:01 +0000 (20:35 +0100)]
Setting tag sfa-1.0-13
just set x509 version to 2

13 years agoUpdate RSpec, and create_slice()
Marco Yuen [Mon, 31 Jan 2011 20:44:54 +0000 (15:44 -0500)]
Update RSpec, and create_slice()

GENICLOUD-4
Bundles are dynamically generated based on currently available images.
create_slice() can figure the ids for the images based on bundle name.

13 years agoAdd bundles to Eucalyptus rspec.
Marco Yuen [Mon, 31 Jan 2011 18:12:23 +0000 (13:12 -0500)]
Add bundles to Eucalyptus rspec.

GENICLOUD-4
All the images(kernel, ramdisk, disk) that are required
by a VM can be grouped into a descriptive bundle. Each bundle will
contain ids for the kernel, ramdisk, and disk images.

13 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Fri, 28 Jan 2011 23:26:01 +0000 (18:26 -0500)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

13 years agomake sure cert is v3 so certifcate can support extension
Tony Mack [Fri, 28 Jan 2011 23:25:50 +0000 (18:25 -0500)]
make sure cert is v3 so certifcate can support extension

13 years agoSetting tag sfa-1.0-12 sfa-1.0-12
Thierry Parmentelat [Wed, 26 Jan 2011 22:13:38 +0000 (23:13 +0100)]
Setting tag sfa-1.0-12
added urn to the node area in rspecs
conversion to urn now exports fqdn
sfa-import-plc.py now creates a unique registry record for each SFA interface

13 years agosend type to registry_manager if only querying for one record
Tony Mack [Mon, 24 Jan 2011 22:32:25 +0000 (17:32 -0500)]
send type to registry_manager if only querying for one record

13 years agoremove comments
Tony Mack [Mon, 24 Jan 2011 22:05:40 +0000 (17:05 -0500)]
remove comments

13 years agofilter result of resolve() if type if specified in urn
Tony Mack [Mon, 24 Jan 2011 22:05:10 +0000 (17:05 -0500)]
filter result of resolve() if type if specified in urn

13 years agopreserve nodes full hostname in hrn/urn
Tony Mack [Mon, 24 Jan 2011 21:34:51 +0000 (16:34 -0500)]
preserve nodes full hostname in hrn/urn

13 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Fri, 21 Jan 2011 00:48:53 +0000 (19:48 -0500)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

13 years agoupdate test cases
Tony Mack [Fri, 21 Jan 2011 00:48:40 +0000 (19:48 -0500)]
update test cases

13 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Marco Yuen [Wed, 19 Jan 2011 21:55:04 +0000 (16:55 -0500)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

13 years agotest
Tony Mack [Wed, 19 Jan 2011 21:23:54 +0000 (16:23 -0500)]
test

13 years agotest
Tony Mack [Wed, 19 Jan 2011 21:19:39 +0000 (16:19 -0500)]
test

13 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Marco Yuen [Wed, 19 Jan 2011 21:15:07 +0000 (16:15 -0500)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

13 years agotest
Tony Mack [Wed, 19 Jan 2011 21:09:46 +0000 (16:09 -0500)]
test

13 years agoPublic keys are passed to the instances.
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.

13 years agopreserve node's full hostname in urn/hrn
Tony Mack [Wed, 19 Jan 2011 20:01:53 +0000 (15:01 -0500)]
preserve node's full hostname in urn/hrn

13 years agotype may be None
Tony Mack [Wed, 19 Jan 2011 18:42:48 +0000 (13:42 -0500)]
type may be None

13 years agosupport differnt authority types
Tony Mack [Tue, 18 Jan 2011 23:04:13 +0000 (18:04 -0500)]
support differnt authority types

13 years agofix bug
Tony Mack [Tue, 18 Jan 2011 17:16:50 +0000 (12:16 -0500)]
fix bug

13 years agocreate unique registry record for each SFA interface
Tony Mack [Tue, 18 Jan 2011 17:11:15 +0000 (12:11 -0500)]
create unique registry record for each SFA interface

13 years agocreate 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

13 years agoadded 'lenient' argument to get_results()
Tony Mack [Thu, 13 Jan 2011 21:11:10 +0000 (16:11 -0500)]
added 'lenient' argument to get_results()

13 years agoexempt federated sites from monitor policies
Tony Mack [Wed, 5 Jan 2011 19:48:44 +0000 (14:48 -0500)]
exempt federated sites from monitor policies

13 years agofix bug in optional urn section of rspec schema
Tony Mack [Tue, 4 Jan 2011 22:30:48 +0000 (17:30 -0500)]
fix bug in optional urn section of rspec schema

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