sfa.git
12 years agodon't log a message when get_version() returns the default rspec version
Tony Mack [Sat, 1 Oct 2011 04:07:05 +0000 (00:07 -0400)]
don't log a message when get_version() returns the default rspec version

12 years agouse sfa.rspecs.version_manager instead of sfa.rspecs.rspec_version
Tony Mack [Sat, 1 Oct 2011 04:05:28 +0000 (00:05 -0400)]
use sfa.rspecs.version_manager instead of sfa.rspecs.rspec_version

12 years agoset header and template to None
Tony Mack [Sat, 1 Oct 2011 02:35:43 +0000 (22:35 -0400)]
set header and template to None

12 years agoget_version() now accepts an rspec version object
Tony Mack [Sat, 1 Oct 2011 02:35:04 +0000 (22:35 -0400)]
get_version() now accepts an rspec version object

12 years agoRSpec class can now represent any rspec format. No longer need to explicitly instance...
Tony Mack [Sat, 1 Oct 2011 02:33:11 +0000 (22:33 -0400)]
RSpec class can now represent any rspec format. No longer need to explicitly instance a particular rspec format type

12 years agouse sfa.rspecs.version_manager.VersionManager to parse rspec versions. Use sfa.rspecs...
Tony Mack [Sat, 1 Oct 2011 02:29:50 +0000 (22:29 -0400)]
use sfa.rspecs.version_manager.VersionManager to parse rspec versions. Use sfa.rspecs.rspec to parse rspecs

12 years agouse sfa.rspecs.version_manager.VersionManager instead of sfa.rspecs.rspec_version...
Tony Mack [Sat, 1 Oct 2011 02:28:08 +0000 (22:28 -0400)]
use sfa.rspecs.version_manager.VersionManager instead of sfa.rspecs.rspec_version.RSpecVersion

12 years agofix add_slivers()
Tony Mack [Sat, 1 Oct 2011 02:27:07 +0000 (22:27 -0400)]
fix add_slivers()

12 years agomoved version specific processing logic here
Tony Mack [Fri, 30 Sep 2011 19:13:41 +0000 (15:13 -0400)]
moved version specific processing logic here

12 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Fri, 30 Sep 2011 19:09:53 +0000 (15:09 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

12 years agomoved version specific processing logic here
Tony Mack [Fri, 30 Sep 2011 19:09:46 +0000 (15:09 -0400)]
moved version specific processing logic here

12 years agoadded namespaces attribute
Tony Mack [Fri, 30 Sep 2011 19:08:20 +0000 (15:08 -0400)]
added namespaces attribute

12 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Andy Bavier [Thu, 29 Sep 2011 21:30:41 +0000 (17:30 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

12 years agoBug fix for incomplete Eucalyptus metadata in DB
Andy Bavier [Thu, 29 Sep 2011 21:30:01 +0000 (17:30 -0400)]
Bug fix for incomplete Eucalyptus metadata in DB

12 years agoonly load enabled rspec versions
Tony Mack [Thu, 29 Sep 2011 21:03:58 +0000 (17:03 -0400)]
only load enabled rspec versions

12 years agoadded 'enabled' attribute. orgaized
Tony Mack [Thu, 29 Sep 2011 21:03:11 +0000 (17:03 -0400)]
added 'enabled' attribute. orgaized

12 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Thu, 29 Sep 2011 20:44:21 +0000 (16:44 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

12 years agoadded BaseVersion class
Tony Mack [Thu, 29 Sep 2011 20:44:16 +0000 (16:44 -0400)]
added BaseVersion class

12 years agoGENICLOUD-26
Andy Bavier [Thu, 29 Sep 2011 20:28:41 +0000 (16:28 -0400)]
GENICLOUD-26

Export information about Eucalyptus instances

12 years agoupdated
Tony Mack [Thu, 29 Sep 2011 20:07:01 +0000 (16:07 -0400)]
updated

12 years agorspec version must be a python dict'
Tony Mack [Thu, 29 Sep 2011 16:56:29 +0000 (12:56 -0400)]
rspec version must be a python dict'

13 years agoMerge branch 'master' of ssh://bakers@git.planet-lab.org/git/sfa
smbaker [Tue, 27 Sep 2011 02:59:23 +0000 (19:59 -0700)]
Merge branch 'master' of ssh://bakers@git.planet-lab.org/git/sfa

13 years agoadd merge_node methods
smbaker [Tue, 27 Sep 2011 02:59:00 +0000 (19:59 -0700)]
add merge_node methods

13 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Tue, 27 Sep 2011 00:48:10 +0000 (20:48 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

13 years agoListResounces will only return the nodes a sliver has allocated
Tony Mack [Tue, 27 Sep 2011 00:48:03 +0000 (20:48 -0400)]
ListResounces will only return the nodes a sliver has allocated

13 years agoadd output format for list/show commands
smbaker [Mon, 26 Sep 2011 21:06:29 +0000 (14:06 -0700)]
add output format for list/show commands

13 years agoUpdated example Eucalyptus RSpec
Andy Bavier [Mon, 26 Sep 2011 20:06:53 +0000 (16:06 -0400)]
Updated example Eucalyptus RSpec

13 years agoAttribute renaming in network element
Andy Bavier [Mon, 26 Sep 2011 19:58:48 +0000 (15:58 -0400)]
Attribute renaming in network element

Renamed the 'id' attribute of the 'network' element to 'name',
for compatibility with the PlanetLab RSpec.

13 years agoset append to False in user struct when calling CreateSliver().
Tony Mack [Fri, 23 Sep 2011 19:54:45 +0000 (15:54 -0400)]
set append to False in user struct when calling CreateSliver().

13 years agofix NameError
Tony Mack [Fri, 23 Sep 2011 19:30:47 +0000 (15:30 -0400)]
fix NameError

13 years agofix bug when looking up users by urn in verify_person(). verify_person() will append...
Tony Mack [Fri, 23 Sep 2011 01:53:23 +0000 (21:53 -0400)]
fix bug when looking up users by urn in verify_person(). verify_person() will append users/keys by default.

13 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Wed, 21 Sep 2011 17:19:39 +0000 (13:19 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

13 years agocompare credential expiration against datetime.utcnow() instead of datetime.today()
Tony Mack [Wed, 21 Sep 2011 17:19:31 +0000 (13:19 -0400)]
compare credential expiration against datetime.utcnow() instead of datetime.today()

13 years agoGENICLOUD-38 Change CreateSliver to use the keys passed in as arguments.
Andy Bavier [Wed, 21 Sep 2011 15:02:51 +0000 (11:02 -0400)]
GENICLOUD-38 Change CreateSliver to use the keys passed in as arguments.

The latest SFA code passes the user keys as arguments to CreateSliver.  Use these
instead of querying the Registry.

13 years agoCompatibility changes
Andy Bavier [Mon, 19 Sep 2011 17:45:00 +0000 (13:45 -0400)]
Compatibility changes

Minor changes to work with the SFA 1.0-36 release.

13 years agoSetting tag sfa-1.0-36 sfa-1.0-36 sfa-1.1-0
Tony Mack [Thu, 15 Sep 2011 12:56:30 +0000 (08:56 -0400)]
Setting tag sfa-1.0-36

13 years agoneed to define email that is used a few lines below
Thierry Parmentelat [Thu, 15 Sep 2011 03:57:29 +0000 (05:57 +0200)]
need to define email that is used a few lines below

13 years agoimport sfa.util.xrn.Xrn
Tony Mack [Wed, 14 Sep 2011 22:20:53 +0000 (18:20 -0400)]
import sfa.util.xrn.Xrn

13 years agofix issues regarding uppercase in user's email or urn
Tony Mack [Wed, 14 Sep 2011 20:25:03 +0000 (16:25 -0400)]
fix issues regarding uppercase in user's email or urn

13 years agoverify_issuer(): Skip the call to root_cred_signer.verify_chain if trusted_gids is...
Tony Mack [Wed, 14 Sep 2011 00:14:09 +0000 (20:14 -0400)]
verify_issuer(): Skip the call to root_cred_signer.verify_chain if trusted_gids is empty

13 years agoCleanup error messages. Exceptions should be raised not returned
Tony Mack [Wed, 14 Sep 2011 00:13:18 +0000 (20:13 -0400)]
Cleanup error messages. Exceptions should be raised not returned

13 years agolowercase extension before comparing
Tony Mack [Wed, 14 Sep 2011 00:00:27 +0000 (20:00 -0400)]
lowercase extension before comparing

13 years agofix error in ListSlices
smbaker [Tue, 13 Sep 2011 22:38:01 +0000 (15:38 -0700)]
fix error in ListSlices

13 years agofix call name in statistics section
smbaker [Tue, 13 Sep 2011 04:45:49 +0000 (21:45 -0700)]
fix call name in statistics section

13 years agofix permissions
smbaker [Mon, 12 Sep 2011 22:29:27 +0000 (15:29 -0700)]
fix permissions

13 years agodon't resolve user records if there aren't any users
smbaker [Mon, 12 Sep 2011 22:28:48 +0000 (15:28 -0700)]
don't resolve user records if there aren't any users

13 years agowhen scanning /etc/sfa/trusted_roots, match against a hardwired list
Thierry Parmentelat [Mon, 12 Sep 2011 14:30:13 +0000 (16:30 +0200)]
when scanning /etc/sfa/trusted_roots, match against a hardwired list
of extensions - currently 'gid', 'cert' and 'pem', to be tuned

13 years agorenamed class TrustedRootList into TrustedRoots
Thierry Parmentelat [Mon, 12 Sep 2011 13:04:39 +0000 (15:04 +0200)]
renamed class TrustedRootList into TrustedRoots

13 years agorenamed source file trust/trustedroot.py into trust/trustedroots.py
Thierry Parmentelat [Mon, 12 Sep 2011 13:00:55 +0000 (15:00 +0200)]
renamed source file trust/trustedroot.py into trust/trustedroots.py

13 years agopartially revert previous change (*) bugfix as os.path.isfile was called without...
Thierry Parmentelat [Mon, 12 Sep 2011 12:51:25 +0000 (14:51 +0200)]
partially revert previous change (*) bugfix as os.path.isfile was called without the path, and (*) re-enable the *.gid filtering,

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Fri, 9 Sep 2011 16:00:56 +0000 (18:00 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

13 years agomore convenient for publishing
Thierry Parmentelat [Fri, 9 Sep 2011 15:32:07 +0000 (17:32 +0200)]
more convenient for publishing

13 years agogenerate username from users urn if it exists
Tony Mack [Thu, 8 Sep 2011 20:41:27 +0000 (16:41 -0400)]
generate username from users urn if it exists

13 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Thu, 8 Sep 2011 17:07:24 +0000 (13:07 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

13 years agocast timeout to float
Tony Mack [Thu, 8 Sep 2011 17:03:29 +0000 (13:03 -0400)]
cast timeout to float

13 years agoadding a default path to output files is wrong - this is up to the caller
Thierry Parmentelat [Thu, 8 Sep 2011 11:55:50 +0000 (13:55 +0200)]
adding a default path to output files is wrong - this is up to the caller

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Thu, 8 Sep 2011 11:54:44 +0000 (13:54 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

13 years agoadd a -o/--ouput option to the create command as well
Thierry Parmentelat [Thu, 8 Sep 2011 11:54:39 +0000 (13:54 +0200)]
add a -o/--ouput option to the create command as well

13 years agofix bug when importing vini internet2 sites
Tony Mack [Wed, 7 Sep 2011 19:48:25 +0000 (15:48 -0400)]
fix bug when importing vini internet2 sites

13 years agoin urn_to_sliver_id(), convert all values to string before calling str.join()
Tony Mack [Wed, 7 Sep 2011 18:37:43 +0000 (14:37 -0400)]
in urn_to_sliver_id(), convert all values to string before calling str.join()

13 years agofix NameError
Tony Mack [Wed, 7 Sep 2011 17:50:25 +0000 (13:50 -0400)]
fix NameError

13 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Wed, 7 Sep 2011 16:37:25 +0000 (12:37 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

13 years agotrying to resolve potential issues with foreign site login bases
Tony Mack [Wed, 7 Sep 2011 16:35:41 +0000 (12:35 -0400)]
trying to resolve potential issues with foreign site login bases

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Wed, 7 Sep 2011 13:45:02 +0000 (15:45 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

13 years agorestore output for -v option, add -d for more verbosity
Thierry Parmentelat [Wed, 7 Sep 2011 13:44:58 +0000 (15:44 +0200)]
restore output for -v option, add -d for more verbosity
cleanup

13 years agorestored unit test
Thierry Parmentelat [Wed, 7 Sep 2011 13:44:05 +0000 (15:44 +0200)]
restored unit test

13 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Tue, 6 Sep 2011 20:08:58 +0000 (16:08 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

13 years agoWhen calling CreateSliver, only attempt to fetch user keys from user record
Tony Mack [Tue, 6 Sep 2011 20:08:49 +0000 (16:08 -0400)]
When calling CreateSliver, only attempt to fetch user keys from user record

13 years agobugfix
Thierry Parmentelat [Tue, 6 Sep 2011 14:04:36 +0000 (16:04 +0200)]
bugfix

13 years agounicode-friendliness for user names with accents/special chars
Thierry Parmentelat [Tue, 6 Sep 2011 12:52:38 +0000 (14:52 +0200)]
unicode-friendliness for user names with accents/special chars

13 years agointends to provide more details when a credential won't parse
Thierry Parmentelat [Tue, 6 Sep 2011 12:51:32 +0000 (14:51 +0200)]
intends to provide more details when a credential won't parse

13 years agooops, was intended to go with previous commit
Thierry Parmentelat [Tue, 6 Sep 2011 12:50:33 +0000 (14:50 +0200)]
oops, was intended to go with previous commit

13 years agobugfix, in multi-dirs mode this was always using ~/.sfi/ to look for
Thierry Parmentelat [Tue, 6 Sep 2011 12:48:52 +0000 (14:48 +0200)]
bugfix, in multi-dirs mode this was always using ~/.sfi/ to look for
cached version

13 years agodos2unix'ed
Thierry Parmentelat [Mon, 5 Sep 2011 09:21:42 +0000 (11:21 +0200)]
dos2unix'ed

13 years agowhitespcae
Tony Mack [Fri, 2 Sep 2011 23:43:46 +0000 (19:43 -0400)]
whitespcae

13 years agoadded class variable 'template'
Tony Mack [Fri, 2 Sep 2011 23:42:43 +0000 (19:42 -0400)]
added class variable 'template'

13 years agomodified schema location of base protogeni rspec version
Tony Mack [Fri, 2 Sep 2011 23:02:57 +0000 (19:02 -0400)]
modified schema location of base protogeni rspec version

13 years agoimport InvalidRSpec fault
Tony Mack [Fri, 2 Sep 2011 23:02:02 +0000 (19:02 -0400)]
import InvalidRSpec fault

13 years agoremove namespace arg from create, init
Tony Mack [Fri, 2 Sep 2011 20:59:45 +0000 (16:59 -0400)]
remove namespace arg from create, init

13 years agoinitial checkin of xml_interface
Tony Mack [Fri, 2 Sep 2011 20:57:06 +0000 (16:57 -0400)]
initial checkin of xml_interface

13 years agoimport logger
Tony Mack [Fri, 2 Sep 2011 20:53:04 +0000 (16:53 -0400)]
import logger

13 years agorenamed some class variables
Tony Mack [Fri, 2 Sep 2011 20:52:08 +0000 (16:52 -0400)]
renamed some class variables

13 years agoadded sfa/rspecs/versions to install path
Tony Mack [Fri, 2 Sep 2011 20:51:11 +0000 (16:51 -0400)]
added sfa/rspecs/versions to install path

13 years agoadded get_version_by_schema method
Tony Mack [Fri, 2 Sep 2011 20:29:53 +0000 (16:29 -0400)]
added get_version_by_schema method

13 years agoadded _get_version() method
Tony Mack [Fri, 2 Sep 2011 20:21:35 +0000 (16:21 -0400)]
added _get_version() method

13 years agoinitial checkin of VersionManager
Tony Mack [Fri, 2 Sep 2011 19:56:14 +0000 (15:56 -0400)]
initial checkin of VersionManager

13 years agoinitial checkin of new rspec version implementation
Tony Mack [Thu, 1 Sep 2011 20:46:02 +0000 (16:46 -0400)]
initial checkin of new rspec version implementation

13 years agorenamged get_element_type() to get_rspec_element(). Added load_rspec_elements() method
Tony Mack [Thu, 1 Sep 2011 20:45:18 +0000 (16:45 -0400)]
renamged get_element_type() to get_rspec_element(). Added load_rspec_elements() method

13 years agomoved RSpecElement and RSpecElements to rspec_element.py
Tony Mack [Thu, 1 Sep 2011 19:49:30 +0000 (15:49 -0400)]
moved RSpecElement and RSpecElements to rspec_element.py

13 years agorenamed find..() to get..()
Tony Mack [Thu, 1 Sep 2011 18:46:25 +0000 (14:46 -0400)]
renamed find..() to get..()

13 years agoadded attributes_list() method0
Tony Mack [Thu, 1 Sep 2011 18:24:56 +0000 (14:24 -0400)]
added attributes_list() method0

13 years agoadded XPathFilter, RSpecElement classes. added find(), find_elements(), get_element_a...
Tony Mack [Thu, 1 Sep 2011 17:19:21 +0000 (13:19 -0400)]
added XPathFilter, RSpecElement classes. added find(), find_elements(), get_element_attributes() methods

13 years agoadded InvalidRSpecElement fault
Tony Mack [Wed, 31 Aug 2011 20:10:37 +0000 (16:10 -0400)]
added InvalidRSpecElement fault

13 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Wed, 31 Aug 2011 20:09:11 +0000 (16:09 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

13 years agoenumeration implementation
Tony Mack [Wed, 31 Aug 2011 20:08:59 +0000 (16:08 -0400)]
enumeration implementation

13 years agoSetting tag sfa-1.0-35 sfa-1.0-35
Thierry Parmentelat [Tue, 30 Aug 2011 19:23:10 +0000 (21:23 +0200)]
Setting tag sfa-1.0-35
new method record.get_field for sface

13 years agoMerge branch 'master' of ssh://bakers@git.planet-lab.org/git/sfa
smbaker [Tue, 30 Aug 2011 16:43:05 +0000 (09:43 -0700)]
Merge branch 'master' of ssh://bakers@git.planet-lab.org/git/sfa

13 years agoadded get_field method
smbaker [Tue, 30 Aug 2011 16:40:55 +0000 (09:40 -0700)]
added get_field method

13 years agoSetting tag sfa-1.0-34 sfa-1.0-34
Thierry Parmentelat [Mon, 29 Aug 2011 09:03:44 +0000 (11:03 +0200)]
Setting tag sfa-1.0-34
new option -c to sfa-nuke-plc.py
CreateSliver fixed for admin-only slice tags

13 years agodon't filter certs based on the file's extension
Tony Mack [Fri, 26 Aug 2011 22:54:54 +0000 (18:54 -0400)]
don't filter certs based on the file's extension