sfa.git
12 years agoeven safer handling of expiration types across
Thierry Parmentelat [Wed, 6 Jul 2011 10:47:22 +0000 (12:47 +0200)]
even safer handling of expiration types across
timestamp/datetime/strings, as this tends to be used outside of the
trust area in the pl aggregate, and RenewSliver method

12 years agoreviewed consistency of the expiration field in credential, and calls
Thierry Parmentelat [Wed, 6 Jul 2011 10:38:50 +0000 (12:38 +0200)]
reviewed consistency of the expiration field in credential, and calls
to utcparse that could not deal with a datetime input

12 years agofix mode bits
smbaker [Tue, 5 Jul 2011 22:55:13 +0000 (15:55 -0700)]
fix mode bits

12 years agoshow logging messages on console
smbaker [Tue, 5 Jul 2011 22:53:37 +0000 (15:53 -0700)]
show logging messages on console

12 years agoChange <cloud> tag to <network>
Andy Bavier [Tue, 5 Jul 2011 19:22:45 +0000 (15:22 -0400)]
Change <cloud> tag to <network>

The PlanetLab SM requires that each aggregate's RSpec
be enclosed in a <network> tag.

12 years agoapplied dos2unix
Thierry Parmentelat [Tue, 5 Jul 2011 12:19:40 +0000 (14:19 +0200)]
applied dos2unix

12 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Tue, 5 Jul 2011 12:12:15 +0000 (08:12 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

12 years agoinitial checkin
Tony Mack [Tue, 5 Jul 2011 12:12:08 +0000 (08:12 -0400)]
initial checkin

12 years agoadded attributes_list() method
Tony Mack [Tue, 5 Jul 2011 12:10:52 +0000 (08:10 -0400)]
added attributes_list() method

12 years agocall utcparse before exiting get_expiration istead of calling it when timestamp is...
Tony Mack [Tue, 5 Jul 2011 12:07:36 +0000 (08:07 -0400)]
call utcparse before exiting get_expiration istead of calling it when timestamp is compared

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Mon, 4 Jul 2011 14:13:02 +0000 (16:13 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

12 years agoignore retcod of scriptlet
Thierry Parmentelat [Mon, 4 Jul 2011 14:11:38 +0000 (16:11 +0200)]
ignore retcod of scriptlet

12 years agohide out files
Thierry Parmentelat [Mon, 4 Jul 2011 14:10:34 +0000 (16:10 +0200)]
hide out files
don't generate svg anymore

12 years agoinstead of just dropping timezone info, use sfa.util.sfatime.utcparse to correctly...
Tony Mack [Fri, 1 Jul 2011 19:11:25 +0000 (15:11 -0400)]
instead of just dropping timezone info, use sfa.util.sfatime.utcparse to correctly handle datetime with timezone info

12 years agoFix 'non-default argument follows default argument' SyntaxError
Tony Mack [Fri, 1 Jul 2011 11:50:09 +0000 (07:50 -0400)]
Fix 'non-default argument follows default argument' SyntaxError

12 years agoremove timezone info from credential's expires timestamp
Tony Mack [Thu, 30 Jun 2011 22:47:31 +0000 (18:47 -0400)]
remove timezone info from credential's expires timestamp

12 years agofix type error
Tony Mack [Thu, 30 Jun 2011 22:43:31 +0000 (18:43 -0400)]
fix type error

12 years agonode tag value should go in the text field
Tony Mack [Thu, 30 Jun 2011 19:27:23 +0000 (15:27 -0400)]
node tag value should go in the text field

12 years agoreplace 'recursive' argument with 'depth' argument in get_attributes()
Tony Mack [Thu, 30 Jun 2011 19:26:54 +0000 (15:26 -0400)]
replace 'recursive' argument with 'depth' argument in get_attributes()

12 years agofix typo
Tony Mack [Thu, 30 Jun 2011 16:04:14 +0000 (12:04 -0400)]
fix typo

12 years agofix string conversion
Tony Mack [Thu, 30 Jun 2011 15:59:59 +0000 (11:59 -0400)]
fix string conversion

12 years agoimport urn_to_hrn
Tony Mack [Thu, 30 Jun 2011 15:48:42 +0000 (11:48 -0400)]
import urn_to_hrn

12 years agoadded default methods
Tony Mack [Thu, 30 Jun 2011 04:56:55 +0000 (00:56 -0400)]
added default methods

12 years agoadded recursive argument to get_attributes()
Tony Mack [Thu, 30 Jun 2011 04:56:21 +0000 (00:56 -0400)]
added recursive argument to get_attributes()

12 years agoadded hostname agrument to get_node_elements()
Tony Mack [Thu, 30 Jun 2011 04:55:05 +0000 (00:55 -0400)]
added hostname agrument to get_node_elements()

12 years agoonly call get_trusted_certs at sfa aggregates.
Tony Mack [Thu, 30 Jun 2011 04:53:46 +0000 (00:53 -0400)]
only call get_trusted_certs at sfa aggregates.

12 years agofix typo in get_slice_attributes
Tony Mack [Thu, 30 Jun 2011 04:50:43 +0000 (00:50 -0400)]
fix typo in get_slice_attributes

12 years agomore verbose logging
Tony Mack [Thu, 30 Jun 2011 01:38:04 +0000 (21:38 -0400)]
more verbose logging

12 years agoCreateSliver removes stale slice tags
Tony Mack [Thu, 30 Jun 2011 01:02:37 +0000 (21:02 -0400)]
CreateSliver removes stale slice tags

12 years agoCreateSliver now handles slice attributes
Tony Mack [Thu, 30 Jun 2011 00:18:23 +0000 (20:18 -0400)]
CreateSliver now handles slice attributes

12 years agoimplement get_slice_attributes()
Tony Mack [Thu, 30 Jun 2011 00:13:59 +0000 (20:13 -0400)]
implement get_slice_attributes()

12 years agosliver attribute value should go in the text section
Tony Mack [Wed, 29 Jun 2011 23:38:15 +0000 (19:38 -0400)]
sliver attribute value should go in the text section

12 years agoremove timezone info from credential expiration before validating
Tony Mack [Wed, 29 Jun 2011 17:12:01 +0000 (13:12 -0400)]
remove timezone info from credential expiration before validating

12 years agoconvert attribute to string
Tony Mack [Tue, 28 Jun 2011 17:00:24 +0000 (13:00 -0400)]
convert attribute to string

12 years agoremoving
Tony Mack [Mon, 27 Jun 2011 22:09:07 +0000 (18:09 -0400)]
removing

12 years agoupdated
Tony Mack [Mon, 27 Jun 2011 21:59:29 +0000 (17:59 -0400)]
updated

12 years agoinitial checkin of rspec elements
Tony Mack [Mon, 27 Jun 2011 20:44:27 +0000 (16:44 -0400)]
initial checkin of rspec elements

12 years agofix NameError
Tony Mack [Mon, 27 Jun 2011 16:39:33 +0000 (12:39 -0400)]
fix NameError

12 years agoget cached server version in CreateSliver
Tony Mack [Mon, 27 Jun 2011 16:18:55 +0000 (12:18 -0400)]
get cached server version in CreateSliver

12 years agoadd_sliver() removes nodes that aren't running specified sliver
Tony Mack [Fri, 24 Jun 2011 19:54:50 +0000 (15:54 -0400)]
add_sliver() removes nodes that aren't running specified sliver

12 years agoremove namespace import
Tony Mack [Fri, 24 Jun 2011 19:18:16 +0000 (15:18 -0400)]
remove namespace import

12 years agouse sliver_type in ad rspec to denote the types of vm avalialble on nodes
Tony Mack [Fri, 24 Jun 2011 19:07:03 +0000 (15:07 -0400)]
use sliver_type in ad rspec to denote the types of vm avalialble on nodes

12 years agofix bug in add_defalut_sliver_attributes
Tony Mack [Fri, 24 Jun 2011 18:59:30 +0000 (14:59 -0400)]
fix bug in add_defalut_sliver_attributes

12 years agoimport error handling, delegation fixes
Tony Mack [Fri, 24 Jun 2011 15:32:16 +0000 (11:32 -0400)]
import error handling, delegation fixes

12 years agoidentify nodes by componet_id attribute instead of component_name attribute. componen...
Tony Mack [Thu, 23 Jun 2011 23:51:53 +0000 (19:51 -0400)]
identify nodes by componet_id attribute instead of component_name attribute. component_name is not required and may not be present

12 years agoadded xrn_to_hostname() method
Tony Mack [Thu, 23 Jun 2011 23:46:17 +0000 (19:46 -0400)]
added xrn_to_hostname() method

12 years agodont include the location tag if longitude or latitude is null
Tony Mack [Thu, 23 Jun 2011 23:34:41 +0000 (19:34 -0400)]
dont include the location tag if longitude or latitude is null

12 years agofix NameError
Tony Mack [Thu, 23 Jun 2011 21:16:33 +0000 (17:16 -0400)]
fix NameError

12 years agobe ListResources drops 'rspec_version from call. Let aggregate return their default...
Tony Mack [Thu, 23 Jun 2011 21:13:33 +0000 (17:13 -0400)]
be ListResources drops 'rspec_version from call. Let aggregate return their default format

12 years agoexit the look when we've found what we're looking for (Thanks Aaron)
Tony Mack [Thu, 23 Jun 2011 19:13:14 +0000 (15:13 -0400)]
exit the look when we've found what we're looking for (Thanks Aaron)

12 years agoProtoGENI is really picky when it comes to the 'rspec_version' option. Let make sure...
Tony Mack [Thu, 23 Jun 2011 18:36:09 +0000 (14:36 -0400)]
ProtoGENI is really picky when it comes to the 'rspec_version' option. Let make sure to provide a value that wont make the call fail

12 years agosave cache file
Tony Mack [Thu, 23 Jun 2011 18:21:32 +0000 (14:21 -0400)]
save cache file

12 years agodont add redundant handlers
Tony Mack [Thu, 23 Jun 2011 18:15:44 +0000 (14:15 -0400)]
dont add redundant handlers

12 years agoremove whitespace
Tony Mack [Thu, 23 Jun 2011 17:03:56 +0000 (13:03 -0400)]
remove whitespace

12 years agoadded add_default_sliver_attribute() method
Tony Mack [Wed, 22 Jun 2011 18:56:17 +0000 (14:56 -0400)]
added add_default_sliver_attribute() method

12 years agoignore peer nodes. duh
Tony Mack [Wed, 22 Jun 2011 18:15:17 +0000 (14:15 -0400)]
ignore peer nodes. duh

12 years agofix NameError
Tony Mack [Wed, 22 Jun 2011 01:40:19 +0000 (21:40 -0400)]
fix NameError

12 years agoreally fixed the redundant logging issue this time.
Tony Mack [Tue, 21 Jun 2011 20:52:35 +0000 (16:52 -0400)]
really fixed the redundant logging issue this time.

12 years agofix syntax error
Tony Mack [Tue, 21 Jun 2011 16:43:37 +0000 (12:43 -0400)]
fix syntax error

12 years agofix NameError and SyntaxError
Tony Mack [Tue, 21 Jun 2011 15:41:33 +0000 (11:41 -0400)]
fix NameError and SyntaxError

12 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Tue, 21 Jun 2011 15:34:25 +0000 (11:34 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

12 years agodont hide exception message
Tony Mack [Tue, 21 Jun 2011 15:34:17 +0000 (11:34 -0400)]
dont hide exception message

12 years agoSetting tag sfa-1.0-26
Thierry Parmentelat [Tue, 21 Jun 2011 07:58:21 +0000 (09:58 +0200)]
Setting tag sfa-1.0-26
fixed issues with sup authority signing
fixed bugs in remove_slivers and SliverStatus

12 years agoremoved duplicate entries in changelog
Thierry Parmentelat [Tue, 21 Jun 2011 06:56:54 +0000 (08:56 +0200)]
removed duplicate entries in changelog

12 years agohandle sliver attribtes in the SFA rspec
Tony Mack [Mon, 20 Jun 2011 20:48:33 +0000 (16:48 -0400)]
handle sliver attribtes in the SFA rspec

12 years agoglobal sliver attributes should appear in the <sliver_defaults> tag and not under...
Tony Mack [Mon, 20 Jun 2011 20:03:28 +0000 (16:03 -0400)]
global sliver attributes should appear in the <sliver_defaults> tag and not under each node

12 years agostr2bool() no logger accepts 'yes' as True
Tony Mack [Mon, 20 Jun 2011 18:15:07 +0000 (14:15 -0400)]
str2bool() no logger accepts 'yes' as True

12 years agostop redundant logging
Tony Mack [Mon, 20 Jun 2011 17:04:31 +0000 (13:04 -0400)]
stop redundant logging

12 years agoonly send call_id to interfaces that support it
Tony Mack [Mon, 20 Jun 2011 17:04:03 +0000 (13:04 -0400)]
only send call_id to interfaces that support it

12 years agofix bug in dump() (thanks Sarah)
Tony Mack [Mon, 20 Jun 2011 15:40:18 +0000 (11:40 -0400)]
fix bug in dump() (thanks Sarah)

12 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa sfa-1.0-26
Andy Bavier [Fri, 17 Jun 2011 19:10:17 +0000 (15:10 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

12 years agoFix bugs in remove_slivers
Andy Bavier [Fri, 17 Jun 2011 19:09:41 +0000 (15:09 -0400)]
Fix bugs in remove_slivers

SFA-49

12 years agoremove debugging output
Tony Mack [Thu, 16 Jun 2011 18:37:34 +0000 (14:37 -0400)]
remove debugging output

12 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Thu, 16 Jun 2011 18:35:45 +0000 (14:35 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

12 years agofix bug in SliverStatus
Tony Mack [Thu, 16 Jun 2011 18:35:37 +0000 (14:35 -0400)]
fix bug in SliverStatus

12 years agoSetting tag sfa-1.0-25 sfa-1.0-25
Thierry Parmentelat [Thu, 16 Jun 2011 06:17:18 +0000 (08:17 +0200)]
Setting tag sfa-1.0-25
fix typo that prevented aggregates from operating properly

12 years agoFix typo affecting per-node tags in RSpec
Andy Bavier [Wed, 15 Jun 2011 20:42:39 +0000 (16:42 -0400)]
Fix typo affecting per-node tags in RSpec

12 years agofix some issues with sup authority certificate signing
Tony Mack [Tue, 14 Jun 2011 18:11:56 +0000 (14:11 -0400)]
fix some issues with sup authority certificate signing

12 years agoSetting tag sfa-1.0-24 sfa-1.0-24
Thierry Parmentelat [Tue, 14 Jun 2011 07:57:30 +0000 (09:57 +0200)]
Setting tag sfa-1.0-24
load trusted certs into ssl context prior to handshake
client's logfile lives in ~/.sfi/sfi.log

12 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Mon, 13 Jun 2011 16:22:05 +0000 (12:22 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

12 years agoload trusted certs into ssl context prior to handshake
Tony Mack [Mon, 13 Jun 2011 16:21:55 +0000 (12:21 -0400)]
load trusted certs into ssl context prior to handshake

12 years agoclient's logfile lives in .sfi directory (~/.sfi/sfi.log
Tony Mack [Mon, 13 Jun 2011 16:21:28 +0000 (12:21 -0400)]
client's logfile lives in .sfi directory (~/.sfi/sfi.log

12 years agoSetting tag sfa-1.0-23 sfa-1.0-23
Thierry Parmentelat [Fri, 10 Jun 2011 11:10:51 +0000 (13:10 +0200)]
Setting tag sfa-1.0-23
includes a change on passphrases that was intended in 1.0-22

12 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Fri, 10 Jun 2011 01:40:47 +0000 (21:40 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

12 years agobump taglevel sfa-1.0-22
Tony Mack [Fri, 10 Jun 2011 01:38:35 +0000 (21:38 -0400)]
bump taglevel

12 years agosupport for passphrase callback functions
smbaker [Thu, 9 Jun 2011 23:39:43 +0000 (16:39 -0700)]
support for passphrase callback functions

12 years agoadd 'url' field to the authority record
Tony Mack [Thu, 9 Jun 2011 17:29:31 +0000 (13:29 -0400)]
add 'url' field to the authority record

12 years agosupport the authority+cm type
Tony Mack [Thu, 2 Jun 2011 18:26:49 +0000 (14:26 -0400)]
support the authority+cm type

12 years agocache server version. Only pass call id to interfaces that support it
Tony Mack [Fri, 27 May 2011 04:01:19 +0000 (00:01 -0400)]
cache server version. Only pass call id to interfaces that support it

12 years agocache server version. Only pass call id to interfaces that support it
Tony Mack [Thu, 26 May 2011 21:00:29 +0000 (17:00 -0400)]
cache server version. Only pass call id to interfaces that support it

12 years agomore misc methods
Tony Mack [Thu, 26 May 2011 19:43:24 +0000 (15:43 -0400)]
more misc methods

12 years agoserialize cache using pickle
Tony Mack [Thu, 26 May 2011 18:54:07 +0000 (14:54 -0400)]
serialize cache using pickle

12 years agodouble underscore identifiers (__foo) are troublesome
Tony Mack [Wed, 25 May 2011 20:01:17 +0000 (16:01 -0400)]
double underscore identifiers (__foo) are troublesome

12 years agono need to import sfa.util.config.Config here
Tony Mack [Wed, 25 May 2011 19:39:55 +0000 (15:39 -0400)]
no need to import sfa.util.config.Config here

12 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Wed, 25 May 2011 18:07:51 +0000 (14:07 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

12 years agoadd_slivers() accepts a string, list of strings or list of dicts
Tony Mack [Wed, 25 May 2011 18:07:43 +0000 (14:07 -0400)]
add_slivers() accepts a string, list of strings or list of dicts

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Wed, 25 May 2011 03:22:40 +0000 (05:22 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

12 years agoadd comment about where the original code came from (TCPServer)
Thierry Parmentelat [Wed, 25 May 2011 03:22:18 +0000 (05:22 +0200)]
add comment about where the original code came from (TCPServer)

12 years agoPG manifest and request rspecs should only contain nodes with slivers
Tony Mack [Tue, 24 May 2011 19:10:18 +0000 (15:10 -0400)]
PG manifest and request rspecs should only contain nodes with slivers

12 years agoadded 'type' attribute back to 'RSpec' element
Tony Mack [Tue, 24 May 2011 17:23:51 +0000 (13:23 -0400)]
added 'type' attribute back to 'RSpec' element