sfa.git
12 years agoupdate describe()
Tony Mack [Mon, 20 Aug 2012 19:24:26 +0000 (15:24 -0400)]
update describe()

12 years agoMerge remote-tracking branch 'origin/geni-v3' into geni-v3
root [Mon, 20 Aug 2012 19:04:24 +0000 (21:04 +0200)]
Merge remote-tracking branch 'origin/geni-v3' into geni-v3

12 years agoMerge remote-tracking branch 'origin/geni-v3' into geni-v3
root [Mon, 20 Aug 2012 18:49:25 +0000 (20:49 +0200)]
Merge remote-tracking branch 'origin/geni-v3' into geni-v3

12 years agoFixed bug when using sfi.py resources.
Sandrine Avakian [Mon, 20 Aug 2012 08:54:37 +0000 (10:54 +0200)]
Fixed bug when using sfi.py resources.
Now behaves normally and only shows leases when asked to.

12 years agofix bug in get_slice_nodes()
Tony Mack [Thu, 16 Aug 2012 22:48:51 +0000 (18:48 -0400)]
fix bug in get_slice_nodes()

12 years agofix bug in get_slice_nodes
Tony Mack [Thu, 16 Aug 2012 22:43:56 +0000 (18:43 -0400)]
fix bug in get_slice_nodes

12 years agoMerge remote-tracking branch 'origin/geni-v3' into geni-v3
root [Thu, 16 Aug 2012 22:10:26 +0000 (00:10 +0200)]
Merge remote-tracking branch 'origin/geni-v3' into geni-v3

12 years agobetter support for sliver urns
Tony Mack [Thu, 16 Aug 2012 22:00:34 +0000 (18:00 -0400)]
better support for sliver urns

12 years agoMerge remote-tracking branch 'origin/geni-v3' into geni-v3
root [Thu, 16 Aug 2012 21:25:24 +0000 (23:25 +0200)]
Merge remote-tracking branch 'origin/geni-v3' into geni-v3

12 years agosplit list_resources and describe into separate methods
Tony Mack [Thu, 16 Aug 2012 20:25:47 +0000 (16:25 -0400)]
split list_resources and describe into separate methods

12 years agoInitial checkin
Tony Mack [Thu, 16 Aug 2012 20:25:02 +0000 (16:25 -0400)]
Initial checkin

12 years agoMerge remote-tracking branch 'local_master/geni-v3' into geni-v3
Git User [Thu, 16 Aug 2012 19:51:38 +0000 (15:51 -0400)]
Merge remote-tracking branch 'local_master/geni-v3' into geni-v3

12 years agorefactored
Tony Mack [Wed, 8 Aug 2012 18:03:13 +0000 (14:03 -0400)]
refactored

12 years agoRefactored ListResources, ListSlices. ListResources no longer returns slice resources...
Tony Mack [Wed, 8 Aug 2012 16:12:55 +0000 (12:12 -0400)]
Refactored ListResources, ListSlices. ListResources no longer returns slice resources, that is now handled by Describe

12 years agorefactored GetVersion()
Tony Mack [Wed, 8 Aug 2012 14:37:44 +0000 (10:37 -0400)]
refactored GetVersion()

12 years agoadded geni_api_versions
Tony Mack [Wed, 8 Aug 2012 14:08:25 +0000 (10:08 -0400)]
added geni_api_versions

12 years agoadded geni_api to GetVersion output
Tony Mack [Tue, 7 Aug 2012 14:48:44 +0000 (10:48 -0400)]
added geni_api to GetVersion output

12 years agoAdded geni_allocation_status to SliverStatus return
Tony Mack [Tue, 7 Aug 2012 14:33:47 +0000 (10:33 -0400)]
Added geni_allocation_status to SliverStatus return

12 years agoadded geni_single_allocation, geni_allocate and geni_best_effort to GetVersion output
Tony Mack [Tue, 7 Aug 2012 13:41:54 +0000 (09:41 -0400)]
added geni_single_allocation, geni_allocate and geni_best_effort to GetVersion output

12 years agoMerge remote-tracking branch 'origin/geni-v3' into geni-v3
root [Thu, 16 Aug 2012 18:58:24 +0000 (20:58 +0200)]
Merge remote-tracking branch 'origin/geni-v3' into geni-v3

12 years ago-m workaround for instance public ip bug
Tony Mack [Thu, 16 Aug 2012 13:45:33 +0000 (09:45 -0400)]
-m workaround for instance public ip bug

12 years agoboot instances with the correct security group
Tony Mack [Wed, 15 Aug 2012 23:51:47 +0000 (19:51 -0400)]
boot instances with the correct security group

12 years agodelete an instances security groups when deleting the instance
Tony Mack [Wed, 15 Aug 2012 23:44:15 +0000 (19:44 -0400)]
delete an instances security groups when deleting the instance

12 years agoconnect to nova using the correct tenant when managing instances
Tony Mack [Tue, 14 Aug 2012 19:29:50 +0000 (15:29 -0400)]
connect to nova using the correct tenant when managing instances

12 years agoFix get_tenant_name()
Tony Mack [Tue, 14 Aug 2012 17:54:16 +0000 (13:54 -0400)]
Fix get_tenant_name()

12 years agogroup instances into tenants instead of running all instances in the admin tenant...
Tony Mack [Tue, 14 Aug 2012 16:45:04 +0000 (12:45 -0400)]
group instances into tenants instead of running all instances in the admin tenant. This fixes the quota problem

12 years agoFixed sfi.py delete <slice name>
Sandrine Avakian [Tue, 14 Aug 2012 14:45:31 +0000 (16:45 +0200)]
Fixed sfi.py delete <slice name>

12 years agofix SliverStatus is esses openstack driver
Tony Mack [Tue, 14 Aug 2012 02:03:45 +0000 (22:03 -0400)]
fix SliverStatus is esses openstack driver

12 years agofix bug in run_instances
Tony Mack [Mon, 13 Aug 2012 22:46:49 +0000 (18:46 -0400)]
fix bug in run_instances

12 years agotry legacy user hrn format
Tony Mack [Mon, 13 Aug 2012 15:25:21 +0000 (11:25 -0400)]
try legacy user hrn format

12 years agofix urn support for sfi config
Tony Mack [Mon, 13 Aug 2012 14:39:02 +0000 (10:39 -0400)]
fix urn support for sfi config

12 years agoFixed bug with sliver_status.
Sandrine Avakian [Mon, 13 Aug 2012 12:38:59 +0000 (14:38 +0200)]
Fixed bug with sliver_status.
Removed 'expires' field.

12 years agoAdd new table JobSenslab so that one slice can
Sandrine Avakian [Mon, 13 Aug 2012 10:29:26 +0000 (12:29 +0200)]
Add new table JobSenslab so that one slice can
have multiple jobs.

12 years agorefactored
Tony Mack [Wed, 8 Aug 2012 18:03:13 +0000 (14:03 -0400)]
refactored

12 years agoRefactored ListResources, ListSlices. ListResources no longer returns slice resources...
Tony Mack [Wed, 8 Aug 2012 16:12:55 +0000 (12:12 -0400)]
Refactored ListResources, ListSlices. ListResources no longer returns slice resources, that is now handled by Describe

12 years agorefactored GetVersion()
Tony Mack [Wed, 8 Aug 2012 14:37:44 +0000 (10:37 -0400)]
refactored GetVersion()

12 years agoFixes to comply with the new return format of Getslices
Sandrine Avakian [Wed, 8 Aug 2012 14:31:47 +0000 (16:31 +0200)]
Fixes to comply with the new return format of Getslices
(now returning a list).

12 years agoadded geni_api_versions
Tony Mack [Wed, 8 Aug 2012 14:08:25 +0000 (10:08 -0400)]
added geni_api_versions

12 years agoModified database slice_senslab table.
Sandrine Avakian [Wed, 8 Aug 2012 11:24:56 +0000 (13:24 +0200)]
Modified database slice_senslab table.
Adding one new entry in the table for each created job.
GetSlices modified.

12 years agoadded geni_api to GetVersion output
Tony Mack [Tue, 7 Aug 2012 14:48:44 +0000 (10:48 -0400)]
added geni_api to GetVersion output

12 years agoAdded geni_allocation_status to SliverStatus return
Tony Mack [Tue, 7 Aug 2012 14:33:47 +0000 (10:33 -0400)]
Added geni_allocation_status to SliverStatus return

12 years agoadded geni_single_allocation, geni_allocate and geni_best_effort to GetVersion output
Tony Mack [Tue, 7 Aug 2012 13:41:54 +0000 (09:41 -0400)]
added geni_single_allocation, geni_allocate and geni_best_effort to GetVersion output

12 years agoJust adding small Getslices test.
Sandrine Avakian [Tue, 7 Aug 2012 09:21:17 +0000 (11:21 +0200)]
Just adding small Getslices test.

12 years agofix delete_security_group()
Tony Mack [Mon, 6 Aug 2012 18:56:40 +0000 (14:56 -0400)]
fix delete_security_group()

12 years agofix add_rule_to_group
Tony Mack [Mon, 6 Aug 2012 18:51:04 +0000 (14:51 -0400)]
fix add_rule_to_group

12 years agodescription cannot be empty
Tony Mack [Mon, 6 Aug 2012 16:40:00 +0000 (12:40 -0400)]
description cannot be empty

12 years agofix variable name error
Mohamed Larabi [Mon, 6 Aug 2012 07:50:18 +0000 (09:50 +0200)]
fix variable name error

12 years agofix attribute error
Tony Mack [Mon, 6 Aug 2012 04:34:35 +0000 (00:34 -0400)]
fix attribute error

12 years agofix TypeError
Tony Mack [Mon, 6 Aug 2012 04:32:41 +0000 (00:32 -0400)]
fix TypeError

12 years agonormalize in init
Tony Mack [Mon, 6 Aug 2012 04:30:57 +0000 (00:30 -0400)]
normalize in init

12 years agoignore X509_V_ERR_CERT_SIGNATURE_FAILURE
Tony Mack [Mon, 6 Aug 2012 03:41:54 +0000 (23:41 -0400)]
ignore X509_V_ERR_CERT_SIGNATURE_FAILURE

12 years agorefactored
Tony Mack [Mon, 6 Aug 2012 03:39:47 +0000 (23:39 -0400)]
refactored

12 years agoupdated log message
Tony Mack [Mon, 6 Aug 2012 01:28:36 +0000 (21:28 -0400)]
updated log message

12 years agofix set_attributes
Tony Mack [Mon, 6 Aug 2012 01:17:47 +0000 (21:17 -0400)]
fix set_attributes

12 years agofix boolean checks
Tony Mack [Mon, 6 Aug 2012 01:17:24 +0000 (21:17 -0400)]
fix boolean checks

12 years agoupgrad local xml config to python config
Tony Mack [Mon, 6 Aug 2012 01:09:14 +0000 (21:09 -0400)]
upgrad local xml config to python config

12 years agofix bools in output_shell
Tony Mack [Mon, 6 Aug 2012 00:40:26 +0000 (20:40 -0400)]
fix bools in output_shell

12 years agofix strings in output_shell
Tony Mack [Mon, 6 Aug 2012 00:21:23 +0000 (20:21 -0400)]
fix strings in output_shell

12 years agofix out output_shell handles bools
Tony Mack [Mon, 6 Aug 2012 00:09:28 +0000 (20:09 -0400)]
fix out output_shell handles bools

12 years agocast port to int
Tony Mack [Sun, 5 Aug 2012 23:28:56 +0000 (19:28 -0400)]
cast port to int

12 years agofix TypeError
Tony Mack [Sun, 5 Aug 2012 18:08:17 +0000 (14:08 -0400)]
fix TypeError

12 years agofix list_slices
Tony Mack [Fri, 3 Aug 2012 02:05:49 +0000 (22:05 -0400)]
fix list_slices

12 years agofix node urn in manifest rspec
Tony Mack [Fri, 3 Aug 2012 01:49:55 +0000 (21:49 -0400)]
fix node urn in manifest rspec

12 years agofix TypeError
Tony Mack [Fri, 3 Aug 2012 01:41:32 +0000 (21:41 -0400)]
fix TypeError

12 years agofix AttributeError
Tony Mack [Fri, 3 Aug 2012 01:13:07 +0000 (21:13 -0400)]
fix AttributeError

12 years agofix AttributeError
Tony Mack [Fri, 3 Aug 2012 01:05:11 +0000 (21:05 -0400)]
fix AttributeError

12 years agoinstance metadata must be a string
Tony Mack [Fri, 3 Aug 2012 01:03:57 +0000 (21:03 -0400)]
instance metadata must be a string

12 years agoRemoved custom timeslot used for senslab Rspec.
Sandrine Avakian [Thu, 2 Aug 2012 13:05:58 +0000 (15:05 +0200)]
Removed custom timeslot used for senslab Rspec.

12 years agoRemoved custom timeslot and duration to make a reservation on OAR.
Sandrine Avakian [Wed, 1 Aug 2012 14:55:08 +0000 (16:55 +0200)]
Removed custom timeslot and duration to make a reservation on OAR.
Now using SFA format with leases to make reservation.
Refactored code: Shrinked LaunchExperimentOnOAR and created new functions
to create the request, process the walltime, configure the experiment
and launch senslab experiment using the java lib.
Launching an experiment asap still possible, although this is not supposed
to be used in SFA.

12 years agoadd_leases(), get_leases()
Tony Mack [Tue, 31 Jul 2012 16:18:18 +0000 (12:18 -0400)]
add_leases(), get_leases()

12 years agoCorrected error in GetLeases which was causing reservation list to be empty
Sandrine Avakian [Fri, 27 Jul 2012 14:38:13 +0000 (16:38 +0200)]
Corrected error in GetLeases which was causing reservation list to be empty
whenever leases where filtered using a slice name.
Implemented DeleteLeases in SlabDriver.
Corrected verify_slice_leases according to the new prototype of
DeleteLeases.

12 years agoRemoved module usage sfa.planetlab.plxrn from senslab files.
Sandrine Avakian [Fri, 27 Jul 2012 12:30:28 +0000 (14:30 +0200)]
Removed module usage sfa.planetlab.plxrn from senslab files.
Created slab_xrn_to_hostname and slab_xrn_object in slabaggregate to get urn
from hrn / hostnames and authorities to replace PlXrn usage.
Corrected component_manager in rspec which was including senslab's sites
as authorities.

12 years agoGetting reserved node now handles the case where reservation
Sandrine Avakian [Fri, 27 Jul 2012 08:35:46 +0000 (10:35 +0200)]
Getting reserved node now handles the case where reservation
are defined as "as soon as possible" and do not have information
on scheduled start and resources.
 Please enter the commit message for your changes. Lines starting

12 years agoFixed bug : sfi.py show <node_hrn> was not working because
Sandrine Avakian [Wed, 25 Jul 2012 14:53:36 +0000 (16:53 +0200)]
Fixed bug : sfi.py show <node_hrn> was not working because
the hrn was wrong in the sfa db (escape'\' characters inserted
and not removed from the hrn).
Fixed node hrn generation in slabimporter and OARrestapi
resulted in remving sfa.planetlab.plxrn PlXrn module from these
2 files.

12 years agoWeird bug when only cleaning slabimporter.py.
Sandrine Avakian [Tue, 24 Jul 2012 13:36:33 +0000 (15:36 +0200)]
Weird bug when only cleaning slabimporter.py.
Better forget it for now.
Revert "Cleaning slabimporter.py - STEP 1"

This reverts commit e5b6a06ff6494a320eea8e126c37c3411bf90014.

12 years agoCleaning slabimporter.py - STEP 1
Sandrine Avakian [Tue, 24 Jul 2012 12:44:02 +0000 (14:44 +0200)]
Cleaning slabimporter.py - STEP 1

12 years agoFixed bug in list_slices. Slices'urn was not correct
Sandrine Avakian [Mon, 23 Jul 2012 13:51:19 +0000 (15:51 +0200)]
Fixed bug in list_slices. Slices'urn was not correct
because of the use of slicename_to_hrn from plaetlab,plxrn.

12 years agoCorrected bug in GetSlices. Now returns a list of dict of slice records
Sandrine Avakian [Mon, 23 Jul 2012 12:49:28 +0000 (14:49 +0200)]
Corrected bug in GetSlices. Now returns a list of dict of slice records
if no slice filter is provided (instead of a list of SQLAlchmey objects).

12 years agoRemoved unused import from planetlab.plxrn in slab files.
Sandrine Avakian [Mon, 23 Jul 2012 12:37:52 +0000 (14:37 +0200)]
Removed unused import from planetlab.plxrn in slab files.

12 years agoAdded field position in Slab RSpec , which include posx , posy
Sandrine Avakian [Mon, 23 Jul 2012 09:16:16 +0000 (11:16 +0200)]
Added field position in Slab RSpec , which include posx , posy
and posz for each node.
Location field is supposed to hold the position of the senslab's
site (Grenoble, Strasbourg...).

12 years agowhitespace
Tony Mack [Sat, 21 Jul 2012 02:51:01 +0000 (22:51 -0400)]
whitespace

12 years agoadded copyright header
Tony Mack [Sat, 21 Jul 2012 02:49:54 +0000 (22:49 -0400)]
added copyright header

12 years agoupdated exception message
Tony Mack [Sat, 21 Jul 2012 02:48:15 +0000 (22:48 -0400)]
updated exception message

12 years agoadded copyright header
Tony Mack [Sat, 21 Jul 2012 02:45:33 +0000 (22:45 -0400)]
added copyright header

12 years agoadded copyright header
Tony Mack [Sat, 21 Jul 2012 02:44:14 +0000 (22:44 -0400)]
added copyright header

12 years agoadded copyright header
Tony Mack [Sat, 21 Jul 2012 02:43:16 +0000 (22:43 -0400)]
added copyright header

12 years agoadded copyright header
Tony Mack [Sat, 21 Jul 2012 02:42:06 +0000 (22:42 -0400)]
added copyright header

12 years agocleanup
Tony Mack [Sat, 21 Jul 2012 02:37:13 +0000 (22:37 -0400)]
cleanup

12 years agoadded copyright header
Tony Mack [Sat, 21 Jul 2012 02:36:01 +0000 (22:36 -0400)]
added copyright header

12 years agocleanup exception message
Tony Mack [Sat, 21 Jul 2012 02:35:23 +0000 (22:35 -0400)]
cleanup exception message

12 years agowhitespace
Tony Mack [Sat, 21 Jul 2012 02:21:33 +0000 (22:21 -0400)]
whitespace

12 years agofix how geni_available option is processed
Tony Mack [Sat, 21 Jul 2012 02:20:36 +0000 (22:20 -0400)]
fix how geni_available option is processed

12 years agolocal config is stored in site_config not site
Tony Mack [Fri, 20 Jul 2012 15:16:21 +0000 (11:16 -0400)]
local config is stored in site_config not site

12 years agoexecute 'sfaadmin reg sync_db' on db_start()
Tony Mack [Fri, 20 Jul 2012 15:07:43 +0000 (11:07 -0400)]
execute 'sfaadmin reg sync_db' on db_start()

12 years agoadded registry method sync_db
Tony Mack [Fri, 20 Jul 2012 14:58:06 +0000 (10:58 -0400)]
added registry method sync_db

12 years agomust explicitly catch ConfigParser.MissingSectionHeaderError
Tony Mack [Thu, 19 Jul 2012 16:37:25 +0000 (12:37 -0400)]
must explicitly catch ConfigParser.MissingSectionHeaderError

12 years agoCorrected stupid bug in POSTRequestToOARRestAPI.
Sandrine Avakian [Thu, 19 Jul 2012 14:55:07 +0000 (16:55 +0200)]
Corrected stupid bug in POSTRequestToOARRestAPI.

12 years agoAdded hardware_types in slab RSpec, as well as
Sandrine Avakian [Thu, 19 Jul 2012 14:45:57 +0000 (16:45 +0200)]
Added hardware_types in slab RSpec, as well as
connection information (login and ssh to the senslab info)
upon slice/job creation.

12 years agomust explicitly catch ConfigParser.MissingSectionHeaderError
Tony Mack [Thu, 19 Jul 2012 14:25:51 +0000 (10:25 -0400)]
must explicitly catch ConfigParser.MissingSectionHeaderError

12 years agoremove debugging output
Tony Mack [Thu, 19 Jul 2012 14:01:34 +0000 (10:01 -0400)]
remove debugging output