sfa.git
12 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

12 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

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

12 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

12 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

12 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

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

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

12 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

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

12 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

12 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

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

12 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

12 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,

12 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

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

12 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

12 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

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

12 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

12 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

12 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

12 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

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

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

12 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

12 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

12 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

12 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

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

12 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

12 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

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

12 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

12 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

12 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

12 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

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

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

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

12 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

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

12 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

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

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

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

12 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

12 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

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

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

12 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

12 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

12 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

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

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

12 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

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

12 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

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

12 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

12 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

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

12 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

12 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

12 years agoimproved error and log messages
Tony Mack [Fri, 26 Aug 2011 17:01:54 +0000 (13:01 -0400)]
improved error and log messages

12 years agomoved CreateSliver verification/sync
Tony Mack [Fri, 26 Aug 2011 01:02:47 +0000 (21:02 -0400)]
moved CreateSliver verification/sync

12 years agoorganized. CreateSliver will ignore admin level slice attributes (existing or requested)
Tony Mack [Fri, 26 Aug 2011 01:01:34 +0000 (21:01 -0400)]
organized. CreateSliver will ignore admin level slice attributes (existing or requested)

12 years agoadded -c option to remove cached registry certs
Tony Mack [Thu, 25 Aug 2011 17:26:50 +0000 (13:26 -0400)]
added -c option to remove cached registry certs

12 years agoSetting tag sfa-1.0-33 sfa-1.0-33
Tony Mack [Wed, 24 Aug 2011 19:51:24 +0000 (15:51 -0400)]
Setting tag sfa-1.0-33

12 years agofix typo
Thierry Parmentelat [Wed, 24 Aug 2011 13:12:36 +0000 (15:12 +0200)]
fix typo

12 years agoAggregates no longer try to lookup slice and person records when processing CreateSli...
Tony Mack [Wed, 24 Aug 2011 00:37:44 +0000 (20:37 -0400)]
Aggregates no longer try to lookup slice and person records when processing CreateSliver requests. Clients are expected to pass info to the aggregate

12 years agoadded urn_to_sliver_id() back
Tony Mack [Mon, 22 Aug 2011 12:22:23 +0000 (08:22 -0400)]
added urn_to_sliver_id() back

12 years agoadded lifeDays param to constructor. Certs can only be signed by a CA
Tony Mack [Fri, 19 Aug 2011 20:45:35 +0000 (16:45 -0400)]
added lifeDays param to constructor. Certs can only be signed by a CA

12 years agofix exploit that allowed an authorities to issue certs for objects that dont belong...
Tony Mack [Fri, 19 Aug 2011 20:36:44 +0000 (16:36 -0400)]
fix exploit that allowed an authorities to issue certs for objects that dont belong to them

12 years agoall non authority certs should be marked as CA:FALSE
Tony Mack [Thu, 18 Aug 2011 15:33:50 +0000 (11:33 -0400)]
all non authority certs should be marked as CA:FALSE

12 years agoadd 'boot_state' attribute to node element in SFA rspec
Tony Mack [Wed, 17 Aug 2011 18:13:59 +0000 (14:13 -0400)]
add 'boot_state' attribute to node element in SFA rspec

12 years agofix NameError
Tony Mack [Wed, 17 Aug 2011 17:25:27 +0000 (13:25 -0400)]
fix NameError

12 years agosetting sfa-1.0-32 tag
Tony Mack [Tue, 16 Aug 2011 20:20:35 +0000 (16:20 -0400)]
setting sfa-1.0-32 tag

12 years agoimport SfaRecord sfa-1.0-32
Tony Mack [Tue, 16 Aug 2011 20:11:33 +0000 (16:11 -0400)]
import SfaRecord

12 years agoAdded CreateGid() method to Registry interface
Tony Mack [Tue, 16 Aug 2011 20:10:55 +0000 (16:10 -0400)]
Added CreateGid() method to Registry interface

12 years agoAdded CreateGid() method to Registry interface
Tony Mack [Tue, 16 Aug 2011 20:10:37 +0000 (16:10 -0400)]
Added CreateGid() method to Registry interface

12 years agofix TypeError
Tony Mack [Tue, 16 Aug 2011 20:05:04 +0000 (16:05 -0400)]
fix TypeError

12 years agosetting sfa-1.0-31 tag sfa-1.0-31
Tony Mack [Tue, 16 Aug 2011 19:42:19 +0000 (15:42 -0400)]
setting sfa-1.0-31 tag

12 years agofix typo
Tony Mack [Tue, 16 Aug 2011 19:38:48 +0000 (15:38 -0400)]
fix typo

12 years agoshould verify permission in method class not manager class
Tony Mack [Tue, 16 Aug 2011 18:53:22 +0000 (14:53 -0400)]
should verify permission in method class not manager class

12 years agolog the target hrn
Tony Mack [Tue, 16 Aug 2011 18:52:54 +0000 (14:52 -0400)]
log the target hrn

12 years agofix NameError
Tony Mack [Tue, 16 Aug 2011 18:21:05 +0000 (14:21 -0400)]
fix NameError

12 years agoshould check permissions in method class not manager class
Tony Mack [Tue, 16 Aug 2011 18:20:10 +0000 (14:20 -0400)]
should check permissions in method class not manager class

12 years agoCA certs are only given to objects of type authority sfa-1.0-30
Tony Mack [Mon, 15 Aug 2011 22:47:47 +0000 (18:47 -0400)]
CA certs are only given to objects of type authority

12 years agoremove timeout arguments; reverting back to previous version
smbaker [Wed, 10 Aug 2011 00:25:15 +0000 (17:25 -0700)]
remove timeout arguments; reverting back to previous version

12 years agobetter timeout handling
smbaker [Tue, 9 Aug 2011 23:58:18 +0000 (16:58 -0700)]
better timeout handling

12 years agobetter timeout handling
smbaker [Tue, 9 Aug 2011 23:55:51 +0000 (16:55 -0700)]
better timeout handling

12 years agorenamed slice_max_renew to max_slice_renew. type should be int not boolean
Tony Mack [Tue, 9 Aug 2011 17:22:53 +0000 (13:22 -0400)]
renamed slice_max_renew to max_slice_renew. type should be int not boolean

12 years agofix NameError
Tony Mack [Tue, 9 Aug 2011 17:03:33 +0000 (13:03 -0400)]
fix NameError

12 years agoadded SFA_MAX_SLICE_RENEW config option now allows operators to configure the maximum...
Tony Mack [Tue, 9 Aug 2011 15:54:20 +0000 (11:54 -0400)]
added SFA_MAX_SLICE_RENEW config option now allows operators to configure the maximum amount day a user can extend thier slice

12 years agoremove timeout agrument
Tony Mack [Tue, 9 Aug 2011 12:18:01 +0000 (08:18 -0400)]
remove timeout agrument

12 years agoadd statistics to slicemanager listresources/createsliver, better error checking...
smbaker [Tue, 9 Aug 2011 05:50:42 +0000 (22:50 -0700)]
add statistics to slicemanager listresources/createsliver, better error checking on bad aggregates

12 years agofix potential TypeError
Tony Mack [Mon, 8 Aug 2011 18:25:33 +0000 (14:25 -0400)]
fix potential TypeError

12 years agofix slice delegation, and other bug fixes
Tony Mack [Mon, 8 Aug 2011 17:22:32 +0000 (13:22 -0400)]
fix slice delegation, and other bug fixes