sfa.git
12 years agoMerge branch 'master' into senslab2
Sandrine Avakian [Thu, 26 Apr 2012 08:52:40 +0000 (10:52 +0200)]
Merge branch 'master' into senslab2

12 years agoPossibility to handle unspecified timezone in timeslot specification.
Sandrine Avakian [Thu, 26 Apr 2012 08:43:24 +0000 (10:43 +0200)]
Possibility to handle unspecified timezone in timeslot specification.

12 years agoRemoved commented out older version of AddSliceToNodes.
Sandrine Avakian [Wed, 25 Apr 2012 15:35:53 +0000 (17:35 +0200)]
Removed commented out older version of AddSliceToNodes.

12 years agoAdded Slabv1 specific RSpec support.
Sandrine Avakian [Wed, 25 Apr 2012 15:27:39 +0000 (17:27 +0200)]
Added Slabv1 specific RSpec support.
Added special Timeslot element files.
Timeslot supports specification of different timezones
when creating a new experiment using senslab Rspec, computed
in AddSliceToNodes.
Timeslot format used :
<timeslot time="2012-04-26 10:00:00 Canada/Central" duration = "00:18:45" />
Timeslot does not belong to Node element, nor Sliver element.
Specific xml header should be used in order to trigger Slabv1 rspec
parsing functions.
<?xml version="1.0"?>
<rspec type="request" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://senslab.info/resources/rspec/1" xmlns:flack="http://senslab.info/resources/rspec/ext/flack/1" xmlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/1" xsi:schemaLocation="http://senslab.info/resources/rspec/1 http://senslab.info/resources/rspec/1/request.xsd http://www.planet-lab.org/resources/sfa/ext/planetlab/1 http://www.planet-lab.org/resources/sfa/ext/planetlab/1/planetlab.xsd" expires="2012-04-20T09:43:07Z" generated="2012-04-20T08:43:07Z">

12 years agoMerge branch 'upstreammaster'
Thierry Parmentelat [Tue, 24 Apr 2012 16:51:51 +0000 (18:51 +0200)]
Merge branch 'upstreammaster'

12 years agoVerify user also work with an urn now (worked only with hrn before). NT
Nicolas Turro [Wed, 18 Apr 2012 11:59:40 +0000 (13:59 +0200)]
Verify user also work with an urn now (worked only with hrn before). NT

12 years agoget_nodes_and_links calls with a slicename also return ressources that are not in...
Nicolas Turro [Wed, 18 Apr 2012 11:55:28 +0000 (13:55 +0200)]
get_nodes_and_links calls with a slicename also return ressources that are not in the slice. NT.

12 years agoSetting tag sfa-2.1-5 sfa-2.1-5
Tony Mack [Mon, 16 Apr 2012 18:54:30 +0000 (14:54 -0400)]
Setting tag sfa-2.1-5

12 years agofix bug in get_sliver_id()
Tony Mack [Fri, 13 Apr 2012 01:35:24 +0000 (21:35 -0400)]
fix bug in get_sliver_id()

12 years agoadd 'authority' param to urn_to_sliver_id()
Tony Mack [Fri, 13 Apr 2012 01:27:22 +0000 (21:27 -0400)]
add 'authority' param to urn_to_sliver_id()

12 years agofix call to urn_to_sliver_id()
Tony Mack [Fri, 13 Apr 2012 01:26:55 +0000 (21:26 -0400)]
fix call to urn_to_sliver_id()

12 years agofix urn
Tony Mack [Fri, 13 Apr 2012 00:47:11 +0000 (20:47 -0400)]
fix urn

12 years agofixed NameError
Tony Mack [Thu, 12 Apr 2012 14:10:54 +0000 (10:10 -0400)]
fixed NameError

12 years agoonly get plos firewall rules if plos namespace is present
Tony Mack [Thu, 12 Apr 2012 01:44:56 +0000 (21:44 -0400)]
only get plos firewall rules if plos namespace is present

12 years agofix import path
Tony Mack [Wed, 11 Apr 2012 17:32:02 +0000 (13:32 -0400)]
fix import path

12 years agospace
Tony Mack [Wed, 11 Apr 2012 17:31:03 +0000 (13:31 -0400)]
space

12 years agodisabling get_
Tony Mack [Wed, 11 Apr 2012 17:30:49 +0000 (13:30 -0400)]
disabling get_

12 years agorenaming
Tony Mack [Wed, 11 Apr 2012 17:30:12 +0000 (13:30 -0400)]
renaming

12 years agorenaming
Tony Mack [Wed, 11 Apr 2012 17:29:56 +0000 (13:29 -0400)]
renaming

12 years agofix make sync
Thierry Parmentelat [Tue, 10 Apr 2012 15:12:27 +0000 (17:12 +0200)]
fix make sync

12 years agocosmetic so messages look like the ones of PLC
Thierry Parmentelat [Thu, 5 Apr 2012 12:09:04 +0000 (14:09 +0200)]
cosmetic so messages look like the ones of PLC

12 years agofix bug that causes CreateSliver to fail if a <node> element is missing the 'componen...
Tony Mack [Wed, 4 Apr 2012 22:37:40 +0000 (18:37 -0400)]
fix bug that causes CreateSliver to fail if a <node> element is missing the 'component_name' attribute

12 years agoadd slice expiration and login info to SliverStatus response
Tony Mack [Tue, 3 Apr 2012 19:38:07 +0000 (15:38 -0400)]
add slice expiration and login info to SliverStatus response

12 years agonew make sync for vs or lxc
Thierry Parmentelat [Mon, 2 Apr 2012 15:48:41 +0000 (17:48 +0200)]
new make sync for vs or lxc

12 years agoremove debugging output
Tony Mack [Fri, 30 Mar 2012 19:21:47 +0000 (15:21 -0400)]
remove debugging output

12 years agoAdded code for delete slice - kills the job .
Sandrine Avakian [Thu, 29 Mar 2012 13:52:42 +0000 (15:52 +0200)]
Added code for delete slice - kills the job .

12 years agoMerge branch 'senslab2' of ssh://git.f-lab.fr/git/sfa into senslab2
Nicolas Turro [Wed, 28 Mar 2012 14:43:36 +0000 (16:43 +0200)]
Merge branch 'senslab2' of ssh://git.f-lab.fr/git/sfa into senslab2

Conflicts:
sfa/senslab/slabaggregate.py

12 years agoIn get_nodes_and_links function, the 'boot_state' tag of node in a rspec is set to...
Nicolas Turro [Wed, 28 Mar 2012 14:08:55 +0000 (16:08 +0200)]
In get_nodes_and_links function, the 'boot_state' tag of node in a rspec is set to 'Reserved' if the node is involved in a running oar job. NT

12 years agoNew method GetReservedNodes that returns a list of nodes already involved in an oar...
Nicolas Turro [Wed, 28 Mar 2012 14:07:59 +0000 (16:07 +0200)]
New method GetReservedNodes that returns a list of nodes already involved in an oar job. NT.

12 years agoMethod ParseJobsDetails now returns something. NT
Nicolas Turro [Wed, 28 Mar 2012 14:06:44 +0000 (16:06 +0200)]
Method ParseJobsDetails now returns something. NT

12 years agoRemoved thrash print in slabaggregate.
Sandrine Avakian [Wed, 28 Mar 2012 10:40:09 +0000 (12:40 +0200)]
Removed thrash print in slabaggregate.

12 years agoMerge branch 'senslab2' of ssh://git.f-lab.fr/git/sfa into senslab2
Sandrine Avakian [Wed, 28 Mar 2012 09:56:17 +0000 (11:56 +0200)]
Merge branch 'senslab2' of ssh://git.f-lab.fr/git/sfa into senslab2

12 years agoCreated new Slabv1 RSpec option.
Sandrine Avakian [Wed, 28 Mar 2012 09:55:37 +0000 (11:55 +0200)]
Created new Slabv1 RSpec option.

12 years agoOar time and timezone are now better handled to build Oar schedulling requests. NT.
Nicolas Turro [Wed, 28 Mar 2012 08:52:24 +0000 (10:52 +0200)]
Oar time and timezone are now better handled to build Oar schedulling requests. NT.

12 years agoThe oar GET_timezone call now also return the servers timezone. NT.
Nicolas Turro [Wed, 28 Mar 2012 08:50:55 +0000 (10:50 +0200)]
The oar GET_timezone call now also return the servers timezone. NT.

12 years agoMerge branch 'senslab2' of ssh://git.f-lab.fr/git/sfa into senslab2
Nicolas Turro [Fri, 23 Mar 2012 16:53:05 +0000 (17:53 +0100)]
Merge branch 'senslab2' of ssh://git.f-lab.fr/git/sfa into senslab2

12 years agoBugfix, wrong node attribute were used to create sliver info in get_nodes_and_links. NT
Nicolas Turro [Fri, 23 Mar 2012 16:51:32 +0000 (17:51 +0100)]
Bugfix, wrong node attribute were used to create sliver info in get_nodes_and_links. NT

12 years agoSmall typo error corrected. NT.
Nicolas Turro [Fri, 23 Mar 2012 16:48:14 +0000 (17:48 +0100)]
Small typo error corrected. NT.

12 years ago.
Sandrine Avakian [Fri, 23 Mar 2012 14:34:24 +0000 (15:34 +0100)]
.

12 years agoFixed bug in browsing the nodes' dictionnary in sliver_status.
Sandrine Avakian [Fri, 23 Mar 2012 14:27:29 +0000 (15:27 +0100)]
Fixed bug in browsing the nodes' dictionnary in sliver_status.

12 years agoChanges for use in sfa.
Sandrine Avakian [Fri, 23 Mar 2012 14:01:46 +0000 (15:01 +0100)]
Changes for use in sfa.
Using special planetlab variables instead of slab.

12 years agoCorrected silver_status to use with sfa.
Sandrine Avakian [Fri, 23 Mar 2012 12:46:45 +0000 (13:46 +0100)]
Corrected silver_status to use with sfa.
Using pl_login.

12 years agoCorrected oar_job_id not a str in GetSlices.
Sandrine Avakian [Fri, 23 Mar 2012 12:34:54 +0000 (13:34 +0100)]
Corrected oar_job_id not a str in GetSlices.
Removed missing keys in slice record in sliver_status.

12 years agoRemoved remaining site_login_base in slabdriver.py
Sandrine Avakian [Fri, 23 Mar 2012 11:41:46 +0000 (12:41 +0100)]
Removed remaining site_login_base in slabdriver.py

12 years agoCorrected sliver_status.
Sandrine Avakian [Fri, 23 Mar 2012 10:14:02 +0000 (11:14 +0100)]
Corrected sliver_status.

12 years agoAdded column node_list (array) in senslab_slice table.
Sandrine Avakian [Wed, 21 Mar 2012 13:36:17 +0000 (14:36 +0100)]
Added column node_list (array) in senslab_slice table.

12 years agoSetting tag sfa-2.1-4 sfa-2.1-4
Tony Mack [Tue, 20 Mar 2012 19:28:01 +0000 (15:28 -0400)]
Setting tag sfa-2.1-4

12 years agoupdated update()
Tony Mack [Tue, 20 Mar 2012 00:07:50 +0000 (20:07 -0400)]
updated update()

12 years agoadd 'description' arg to _record_dict()
Tony Mack [Mon, 19 Mar 2012 23:30:07 +0000 (19:30 -0400)]
add 'description' arg to _record_dict()

12 years agofix register
Tony Mack [Mon, 19 Mar 2012 20:54:06 +0000 (16:54 -0400)]
fix register

12 years agoadd more options to register() and update()
Tony Mack [Mon, 19 Mar 2012 20:53:46 +0000 (16:53 -0400)]
add more options to register() and update()

12 years agoimplement register() and update()
Tony Mack [Mon, 19 Mar 2012 19:08:30 +0000 (15:08 -0400)]
implement register() and update()

12 years agoModified GetSlices to use SQLAlchemy.
Sandrine Avakian [Mon, 19 Mar 2012 16:28:28 +0000 (17:28 +0100)]
Modified GetSlices to use SQLAlchemy.
'show' now updating job id.

12 years agosave_as_xml() instead of save_to_string()
Tony Mack [Mon, 19 Mar 2012 15:57:25 +0000 (11:57 -0400)]
save_as_xml() instead of save_to_string()

12 years agofix bug in save_record_to_file()
Tony Mack [Mon, 19 Mar 2012 15:57:08 +0000 (11:57 -0400)]
fix bug in save_record_to_file()

12 years agofix AttributeError
Tony Mack [Mon, 19 Mar 2012 15:42:46 +0000 (11:42 -0400)]
fix AttributeError

12 years agodont forget to create interface records
Tony Mack [Mon, 19 Mar 2012 15:35:20 +0000 (11:35 -0400)]
dont forget to create interface records

12 years agoskip pickle files when running make scan
Thierry Parmentelat [Mon, 19 Mar 2012 11:28:13 +0000 (12:28 +0100)]
skip pickle files when running make scan

12 years agofix bug in delete_instances
Tony Mack [Fri, 16 Mar 2012 21:21:30 +0000 (17:21 -0400)]
fix bug in delete_instances

12 years agofix delete_sliver. cleanup
Tony Mack [Fri, 16 Mar 2012 21:21:00 +0000 (17:21 -0400)]
fix delete_sliver. cleanup

12 years agomodified init_context(). got rid unnecessary methods
Tony Mack [Fri, 16 Mar 2012 21:20:21 +0000 (17:20 -0400)]
modified init_context(). got rid unnecessary methods

12 years agofix group name. run_instances expects group_names argument to be a list, not a string
Tony Mack [Fri, 16 Mar 2012 18:10:40 +0000 (14:10 -0400)]
fix group name. run_instances expects group_names argument to be a list, not a string

12 years agouse the caller's context for the euca connection
Tony Mack [Fri, 16 Mar 2012 18:09:50 +0000 (14:09 -0400)]
use the caller's context for the euca connection

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Fri, 16 Mar 2012 16:28:59 +0000 (09:28 -0700)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

12 years agofix bugs
Tony Mack [Fri, 16 Mar 2012 16:20:54 +0000 (12:20 -0400)]
fix bugs

12 years agomodify group name
Tony Mack [Fri, 16 Mar 2012 16:13:21 +0000 (12:13 -0400)]
modify group name

12 years agofix NameError
Tony Mack [Fri, 16 Mar 2012 16:12:59 +0000 (12:12 -0400)]
fix NameError

12 years agoadded _init_ctx()
Tony Mack [Fri, 16 Mar 2012 16:12:37 +0000 (12:12 -0400)]
added _init_ctx()

12 years agofix packaging
Thierry Parmentelat [Fri, 16 Mar 2012 16:05:20 +0000 (09:05 -0700)]
fix packaging

12 years agofix specify image type when calling image_ec2_id
Tony Mack [Fri, 16 Mar 2012 03:56:50 +0000 (23:56 -0400)]
fix specify image type when calling image_ec2_id

12 years agoassume first user's first key is the project key
Tony Mack [Fri, 16 Mar 2012 03:56:04 +0000 (23:56 -0400)]
assume first user's first key is the project key

12 years agofix access_key
Tony Mack [Fri, 16 Mar 2012 03:54:29 +0000 (23:54 -0400)]
fix access_key

12 years agoleave description blank
Tony Mack [Thu, 15 Mar 2012 21:18:31 +0000 (17:18 -0400)]
leave description blank

12 years agofix logging
Tony Mack [Thu, 15 Mar 2012 21:18:04 +0000 (17:18 -0400)]
fix logging

12 years agoneed to parse rspec to determine the version
Tony Mack [Thu, 15 Mar 2012 21:17:45 +0000 (17:17 -0400)]
need to parse rspec to determine the version

12 years agoDont try to validate ip or protocol here. Assume that will be handled by the ec2 api
Tony Mack [Thu, 15 Mar 2012 21:07:29 +0000 (17:07 -0400)]
Dont try to validate ip or protocol here. Assume that will be handled by the ec2 api

12 years agospelling
Tony Mack [Thu, 15 Mar 2012 21:06:54 +0000 (17:06 -0400)]
spelling

12 years agoDont try to validate ip or protocol here. Assume that will be handled by the ec2 api
Tony Mack [Thu, 15 Mar 2012 21:06:10 +0000 (17:06 -0400)]
Dont try to validate ip or protocol here. Assume that will be handled by the ec2 api

12 years agouse euca2ool to validate protocol and ip addresses
Tony Mack [Thu, 15 Mar 2012 19:44:22 +0000 (15:44 -0400)]
use euca2ool to validate protocol and ip addresses

12 years agoimport Euca2ool
Tony Mack [Thu, 15 Mar 2012 19:43:05 +0000 (15:43 -0400)]
import Euca2ool

12 years agofix bug
Tony Mack [Thu, 15 Mar 2012 19:29:02 +0000 (15:29 -0400)]
fix bug

12 years agofix typo
Tony Mack [Thu, 15 Mar 2012 19:03:55 +0000 (15:03 -0400)]
fix typo

12 years agofix default image
Tony Mack [Thu, 15 Mar 2012 18:51:24 +0000 (14:51 -0400)]
fix default image

12 years agofix call to run_instances
Tony Mack [Thu, 15 Mar 2012 18:51:00 +0000 (14:51 -0400)]
fix call to run_instances

12 years agofix errors
Tony Mack [Thu, 15 Mar 2012 18:50:41 +0000 (14:50 -0400)]
fix errors

12 years agofix ImportError
Tony Mack [Thu, 15 Mar 2012 18:34:31 +0000 (14:34 -0400)]
fix ImportError

12 years agofix call to CreateSliver
Tony Mack [Thu, 15 Mar 2012 18:25:41 +0000 (14:25 -0400)]
fix call to CreateSliver

12 years agosupport plos extension in geniv3 rspecs
Tony Mack [Thu, 15 Mar 2012 18:11:33 +0000 (14:11 -0400)]
support plos extension in geniv3 rspecs

12 years agofix attribute error
Tony Mack [Thu, 15 Mar 2012 17:50:18 +0000 (13:50 -0400)]
fix attribute error

12 years agoassume xrn belongs to a slice
Tony Mack [Thu, 15 Mar 2012 17:49:53 +0000 (13:49 -0400)]
assume xrn belongs to a slice

12 years agofix sfaadmin path
Tony Mack [Thu, 15 Mar 2012 17:48:23 +0000 (13:48 -0400)]
fix sfaadmin path

12 years agoremoved old bins
Tony Mack [Thu, 15 Mar 2012 17:47:41 +0000 (13:47 -0400)]
removed old bins

12 years agoreplaced by sfaadmin
Tony Mack [Thu, 15 Mar 2012 17:47:27 +0000 (13:47 -0400)]
replaced by sfaadmin

12 years agofix AttributeError
Tony Mack [Thu, 15 Mar 2012 17:27:38 +0000 (13:27 -0400)]
fix AttributeError

12 years agofix AttributeError
Tony Mack [Thu, 15 Mar 2012 17:25:08 +0000 (13:25 -0400)]
fix AttributeError

12 years agofix AttributeError
Tony Mack [Thu, 15 Mar 2012 17:24:04 +0000 (13:24 -0400)]
fix AttributeError

12 years agodelete_instnaces() also deletes any security groups associated with the instance
Tony Mack [Thu, 15 Mar 2012 17:14:51 +0000 (13:14 -0400)]
delete_instnaces() also deletes any security groups associated with the instance

12 years agodont use pretty printer to display rspecs
Tony Mack [Thu, 15 Mar 2012 16:55:15 +0000 (12:55 -0400)]
dont use pretty printer to display rspecs

12 years agorefactored
Tony Mack [Thu, 15 Mar 2012 16:44:23 +0000 (12:44 -0400)]
refactored

12 years agoFixed oarjob creation and update.
Sandrine Avakian [Thu, 15 Mar 2012 16:17:27 +0000 (17:17 +0100)]
Fixed oarjob creation and update.