sfa.git
13 years agoinitial checkin
Tony Mack [Fri, 22 Jul 2011 18:58:40 +0000 (14:58 -0400)]
initial checkin

13 years agoinitial checkin
Tony Mack [Fri, 22 Jul 2011 18:58:10 +0000 (14:58 -0400)]
initial checkin

13 years agouse xmlrpc to access plcapi until out why PLC.Shell.Shell doesn't close db connection...
Tony Mack [Fri, 22 Jul 2011 18:46:37 +0000 (14:46 -0400)]
use xmlrpc to access plcapi until out why PLC.Shell.Shell doesn't close db connection properly

13 years agoGENICLOUD-2 Pulling keys in a federated environment.
Marco Yuen [Fri, 22 Jul 2011 14:40:37 +0000 (10:40 -0400)]
GENICLOUD-2 Pulling keys in a federated environment.

Switch to SFA api for pulling keys from MyPLC.

13 years ago__getCreentialRaw(): get the correct authority record type
Tony Mack [Wed, 20 Jul 2011 12:28:09 +0000 (08:28 -0400)]
__getCreentialRaw(): get the correct authority record type

13 years agofix AttributeError
Tony Mack [Wed, 20 Jul 2011 11:21:00 +0000 (07:21 -0400)]
fix AttributeError

13 years agoremoving redundant determine_rights() method
Tony Mack [Tue, 19 Jul 2011 20:26:57 +0000 (16:26 -0400)]
removing redundant determine_rights() method

13 years agosupport authority+sm type
Tony Mack [Tue, 19 Jul 2011 20:03:40 +0000 (16:03 -0400)]
support authority+sm type

13 years agoadvertise available pl initscripts in advertisement rspec
Tony Mack [Mon, 18 Jul 2011 20:31:23 +0000 (16:31 -0400)]
advertise available pl initscripts in advertisement rspec

13 years agosupport planetlab initscript in protogeni rspec using planetlab extension
Tony Mack [Mon, 18 Jul 2011 18:17:47 +0000 (14:17 -0400)]
support planetlab initscript in protogeni rspec using planetlab extension

13 years agoscan only *.gid files in /etc/sfa/trusted_roots
Thierry Parmentelat [Wed, 13 Jul 2011 10:23:58 +0000 (12:23 +0200)]
scan only *.gid files in /etc/sfa/trusted_roots
previous behaviour was to scan all files, which was error-prone

13 years agoAdd 'expires' and 'generated' attributes to VINI schema
Andy Bavier [Tue, 12 Jul 2011 21:05:24 +0000 (17:05 -0400)]
Add 'expires' and 'generated' attributes to VINI schema

13 years agodont add in blank networks
Tony Mack [Tue, 12 Jul 2011 21:03:14 +0000 (17:03 -0400)]
dont add in blank networks

13 years agofill in missing node attributes
Tony Mack [Tue, 12 Jul 2011 19:58:36 +0000 (15:58 -0400)]
fill in missing node attributes

13 years agoproperly merge ProtoGENI v2 rspec with SFA rspec
Tony Mack [Mon, 11 Jul 2011 23:33:28 +0000 (19:33 -0400)]
properly merge ProtoGENI v2 rspec with SFA rspec

13 years agoremove 'geni_compressed' option before calling ListResources
Tony Mack [Mon, 11 Jul 2011 19:03:57 +0000 (15:03 -0400)]
remove 'geni_compressed' option before calling ListResources

13 years agocomponent_manager_id should be a urn not hrn
Tony Mack [Sat, 9 Jul 2011 21:48:56 +0000 (17:48 -0400)]
component_manager_id should be a urn not hrn

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

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

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

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

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

13 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

13 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

13 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

13 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

13 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

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

13 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

13 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

13 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

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

13 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

13 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

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

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

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

13 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

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

13 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

13 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

13 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

13 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

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

13 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

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

13 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

13 years agoMerge branch 'master' into eucalyptus-devel
Marco Yuen [Wed, 6 Jul 2011 18:20:59 +0000 (14:20 -0400)]
Merge branch 'master' into eucalyptus-devel

13 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

13 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

13 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

13 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

13 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.

13 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

13 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

13 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

13 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

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

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

13 years agoDisable RSpec validation for now
Andy Bavier [Tue, 5 Jul 2011 21:31:35 +0000 (17:31 -0400)]
Disable RSpec validation for now

13 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

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

13 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)

13 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

13 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.

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

13 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

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

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

13 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

13 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

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

13 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

13 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

13 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

13 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

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

13 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

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

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

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

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

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

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

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

13 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.

13 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

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

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

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

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

13 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

13 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

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

13 years agoSmall edit in order to test the git repo. NT.
Nicolas Turro [Tue, 28 Jun 2011 16:03:44 +0000 (18:03 +0200)]
Small edit in order to test the git repo. NT.

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

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

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

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

13 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