sfa.git
12 years agoremove unnecessary statement sfa-1.0-27
Tony Mack [Fri, 8 Jul 2011 20:36:40 +0000 (16:36 -0400)]
remove unnecessary statement

12 years agofix NameError(s)
Tony Mack [Fri, 8 Jul 2011 20:24:24 +0000 (16:24 -0400)]
fix NameError(s)

12 years agospelling
Tony Mack [Fri, 8 Jul 2011 19:55:35 +0000 (15:55 -0400)]
spelling

12 years agosetting 1.0-27 tag
Tony Mack [Fri, 8 Jul 2011 19:54:25 +0000 (15:54 -0400)]
setting 1.0-27 tag

12 years agofix name error
Tony Mack [Fri, 8 Jul 2011 19:20:08 +0000 (15:20 -0400)]
fix name error

12 years agoListResources: filter our nodes with a whitelist if the caller's slice isn't on the...
Tony Mack [Fri, 8 Jul 2011 16:55:15 +0000 (12:55 -0400)]
ListResources: filter our nodes with a whitelist if the caller's slice isn't on the whitelist

12 years agofix slices geni_urn in SliverStatus
Tony Mack [Thu, 7 Jul 2011 21:14:46 +0000 (17:14 -0400)]
fix slices geni_urn in SliverStatus

12 years agofix sliver_id in PG manifest RSpec
Tony Mack [Thu, 7 Jul 2011 20:45:18 +0000 (16:45 -0400)]
fix sliver_id in PG manifest RSpec

12 years agoneed to cast ids to string
Tony Mack [Thu, 7 Jul 2011 20:29:48 +0000 (16:29 -0400)]
need to cast ids to string

12 years agoadded urn_to_sliver_id() method
Tony Mack [Thu, 7 Jul 2011 20:27:19 +0000 (16:27 -0400)]
added urn_to_sliver_id() method

12 years agofix import
Tony Mack [Thu, 7 Jul 2011 20:17:25 +0000 (16:17 -0400)]
fix import

12 years agoadd fack info to the rspec if it exists
Tony Mack [Thu, 7 Jul 2011 20:02:36 +0000 (16:02 -0400)]
add fack info to the rspec if it exists

12 years agojust store the string representation of flack:info attributes
Tony Mack [Thu, 7 Jul 2011 19:02:30 +0000 (15:02 -0400)]
just store the string representation of flack:info attributes

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

12 years agofix bug
Tony Mack [Thu, 7 Jul 2011 18:37:37 +0000 (14:37 -0400)]
fix bug

12 years agoMerge branch 'master' of ssh://bakers@git.planet-lab.org/git/sfa
smbaker [Thu, 7 Jul 2011 18:04:25 +0000 (11:04 -0700)]
Merge branch 'master' of ssh://bakers@git.planet-lab.org/git/sfa

12 years agofix possible IOError (pemission denied) 2 users are writing to the same log file
Tony Mack [Thu, 7 Jul 2011 18:04:11 +0000 (14:04 -0400)]
fix possible IOError (pemission denied) 2 users are writing to the same log file

12 years agomake gid.dump() look nice
Tony Mack [Thu, 7 Jul 2011 18:00:49 +0000 (14:00 -0400)]
make gid.dump() look nice

12 years agoadded warning() method to logger
smbaker [Thu, 7 Jul 2011 17:59:16 +0000 (10:59 -0700)]
added warning() method to logger

12 years agomake pg_rspec aware of <sliver_type> child tags <initscript> and <flack:info>
Tony Mack [Thu, 7 Jul 2011 17:20:54 +0000 (13:20 -0400)]
make pg_rspec aware of <sliver_type> child tags <initscript> and <flack:info>

12 years agocatch and log execptions when adding sliver attributes(tags) fails
Tony Mack [Thu, 7 Jul 2011 17:19:50 +0000 (13:19 -0400)]
catch and log execptions when adding sliver attributes(tags) fails

12 years agoremove debugging output
Tony Mack [Thu, 7 Jul 2011 17:18:47 +0000 (13:18 -0400)]
remove debugging output

12 years agolog exceptions that occur inside of threads
Tony Mack [Thu, 7 Jul 2011 16:19:55 +0000 (12:19 -0400)]
log exceptions that occur inside of threads

12 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Thu, 7 Jul 2011 16:10:50 +0000 (12:10 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

12 years agocall dump_string instead of dump
Tony Mack [Thu, 7 Jul 2011 16:10:46 +0000 (12:10 -0400)]
call dump_string instead of dump

12 years agovarious fixes - should bring createsliver back to life
Thierry Parmentelat [Thu, 7 Jul 2011 08:41:21 +0000 (10:41 +0200)]
various fixes - should bring createsliver back to life

12 years agouse the correct logger
Tony Mack [Wed, 6 Jul 2011 23:37:28 +0000 (19:37 -0400)]
use the correct logger

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

12 years agoimplement get_slice_attributes
Tony Mack [Wed, 6 Jul 2011 20:31:14 +0000 (16:31 -0400)]
implement get_slice_attributes

12 years agoUndo GENICloud-specific change to PL SM
Andy Bavier [Wed, 6 Jul 2011 18:48:47 +0000 (14:48 -0400)]
Undo GENICloud-specific change to PL SM

12 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Andy Bavier [Wed, 6 Jul 2011 18:18:36 +0000 (14:18 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

12 years agocatch eception if convert_publickey fails
Tony Mack [Wed, 6 Jul 2011 18:12:46 +0000 (14:12 -0400)]
catch eception if convert_publickey fails

12 years agologger.warn instead of logger.warning
Tony Mack [Wed, 6 Jul 2011 18:04:57 +0000 (14:04 -0400)]
logger.warn instead of logger.warning

12 years agoUpdate RelaxNG schemas for PL RSpec changes
Andy Bavier [Wed, 6 Jul 2011 18:03:22 +0000 (14:03 -0400)]
Update RelaxNG schemas for PL RSpec changes

12 years agoStrip out <network> subtrees corresponding to other aggregates.
Andy Bavier [Wed, 6 Jul 2011 18:00:10 +0000 (14:00 -0400)]
Strip out <network> subtrees corresponding to other aggregates.

The PlanetLab slice manager sends the entire RSpec to each aggregate.
In order to cleanly validate the RSpec, first strip out portions corresponding
to other aggregates.

12 years agocall api.get_cached_server_version() insead of _get_server_version() in CreateSliver
Tony Mack [Wed, 6 Jul 2011 17:28:29 +0000 (13:28 -0400)]
call api.get_cached_server_version() insead of _get_server_version() in CreateSliver

12 years agocatch exception in _CreateSliver that otherwise gets discarded
Thierry Parmentelat [Wed, 6 Jul 2011 15:02:37 +0000 (17:02 +0200)]
catch exception in _CreateSliver that otherwise gets discarded
still need to fix _get_server_version that's an unknown symbol

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 agoDisable RSpec validation for now
Andy Bavier [Tue, 5 Jul 2011 21:31:35 +0000 (17:31 -0400)]
Disable RSpec validation for now

12 years agoSupport multiple <network> tags in the RSpec
Andy Bavier [Tue, 5 Jul 2011 21:26:15 +0000 (17:26 -0400)]
Support multiple <network> tags in the RSpec

12 years agoImplement GetVersion call
Andy Bavier [Tue, 5 Jul 2011 21:05:30 +0000 (17:05 -0400)]
Implement GetVersion call

12 years agoGENICloud should only return the resources managed by its aggregates
Andy Bavier [Tue, 5 Jul 2011 19:46:47 +0000 (15:46 -0400)]
GENICloud should only return the resources managed by its aggregates
(not by GENICloud Central)

12 years agoOnly a single credential is being passed in to ListResources
Andy Bavier [Tue, 5 Jul 2011 19:45:33 +0000 (15:45 -0400)]
Only a single credential is being passed in to ListResources

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.