sfa.git
11 years agoMerge branch 'master' into senslab2
Sandrine Avakian [Mon, 10 Sep 2012 08:21:37 +0000 (10:21 +0200)]
Merge branch 'master' into senslab2

11 years agoMerge branch 'upstreammaster'
Sandrine Avakian [Mon, 10 Sep 2012 08:03:38 +0000 (10:03 +0200)]
Merge branch 'upstreammaster'

11 years agopreserve node client ids from request to manifest in openstack driver
Tony Mack [Sat, 8 Sep 2012 01:58:51 +0000 (21:58 -0400)]
preserve node client ids from request to manifest in openstack driver

11 years agopreserve node client id from request to manifest
Tony Mack [Sat, 8 Sep 2012 00:37:31 +0000 (20:37 -0400)]
preserve node client id from request to manifest

11 years agofix set_authority()
Tony Mack [Fri, 7 Sep 2012 16:42:11 +0000 (12:42 -0400)]
fix set_authority()

11 years agodont default client_id to node's hostname
Tony Mack [Fri, 7 Sep 2012 16:41:31 +0000 (12:41 -0400)]
dont default client_id to node's hostname

11 years agofix set_authority()
Tony Mack [Fri, 7 Sep 2012 16:41:04 +0000 (12:41 -0400)]
fix set_authority()

11 years agofix bug in hrn_to_urn()
Tony Mack [Fri, 7 Sep 2012 16:25:04 +0000 (12:25 -0400)]
fix bug in hrn_to_urn()

11 years agoupdate a urn's type in Xrn.__init__()
Tony Mack [Fri, 7 Sep 2012 16:02:55 +0000 (12:02 -0400)]
update a urn's type in Xrn.__init__()

11 years agoupdate a urn's type in Xrn.__init__()
Tony Mack [Fri, 7 Sep 2012 15:52:21 +0000 (11:52 -0400)]
update a urn's type in Xrn.__init__()

11 years agofix sliver id in sliver status and list resources
Tony Mack [Fri, 7 Sep 2012 15:45:59 +0000 (11:45 -0400)]
fix sliver id in sliver status and list resources

11 years agofix sliver id in sliver status and list resources
Tony Mack [Fri, 7 Sep 2012 15:43:44 +0000 (11:43 -0400)]
fix sliver id in sliver status and list resources

11 years agoadded cliet_id
Tony Mack [Fri, 7 Sep 2012 15:42:58 +0000 (11:42 -0400)]
added cliet_id

11 years agofix call to Xrn
Tony Mack [Fri, 7 Sep 2012 15:36:01 +0000 (11:36 -0400)]
fix call to Xrn

11 years agopreserve node client ids from request to manifest
Tony Mack [Fri, 7 Sep 2012 15:16:38 +0000 (11:16 -0400)]
preserve node client ids from request to manifest

11 years agofix set_authority(). replace invalid char in sliver_id with '-'
Tony Mack [Fri, 7 Sep 2012 14:37:16 +0000 (10:37 -0400)]
fix set_authority(). replace invalid char in sliver_id with '-'

11 years agoFirst modification integration.
Sandrine Avakian [Thu, 6 Sep 2012 12:29:15 +0000 (14:29 +0200)]
First modification integration.

11 years agoMerge branch 'master' into senslab2
Sandrine Avakian [Tue, 4 Sep 2012 10:25:55 +0000 (12:25 +0200)]
Merge branch 'master' into senslab2

Conflicts:
sfa/util/xrn.py

11 years agoMerge branch 'upstreammaster'
Sandrine Avakian [Tue, 4 Sep 2012 10:23:17 +0000 (12:23 +0200)]
Merge branch 'upstreammaster'

11 years agouse sfaadmin.py rather than more fragile sfaadmin in scripts
Thierry Parmentelat [Tue, 4 Sep 2012 09:44:17 +0000 (11:44 +0200)]
use sfaadmin.py rather than more fragile sfaadmin in scripts

not all people use rpm to install

11 years agoMerge branch 'upstreammaster'
Sandrine Avakian [Tue, 4 Sep 2012 08:34:44 +0000 (10:34 +0200)]
Merge branch 'upstreammaster'

11 years agodos2unix
Thierry Parmentelat [Mon, 3 Sep 2012 12:31:25 +0000 (14:31 +0200)]
dos2unix

11 years agoMerge branch 'geni-v2' and master
Thierry Parmentelat [Mon, 3 Sep 2012 12:12:27 +0000 (14:12 +0200)]
Merge branch 'geni-v2' and master

11 years agoreplace urn_to_sliver_id
Mohamed Larabi [Mon, 3 Sep 2012 09:47:18 +0000 (11:47 +0200)]
replace urn_to_sliver_id

11 years agoremove default am_code = None from 'code' return
Tony Mack [Fri, 31 Aug 2012 15:45:59 +0000 (11:45 -0400)]
remove default am_code = None from 'code' return

11 years agoreplace urn_to_sliver_id
Tony Mack [Fri, 31 Aug 2012 14:30:39 +0000 (10:30 -0400)]
replace urn_to_sliver_id

11 years agodos2unix'ed
Thierry Parmentelat [Fri, 31 Aug 2012 07:43:00 +0000 (09:43 +0200)]
dos2unix'ed

11 years agoinclude firewall rules in openstack manifest rspec
Tony Mack [Fri, 31 Aug 2012 01:51:07 +0000 (21:51 -0400)]
include firewall rules in openstack manifest rspec

11 years agoinclude firewall rules in openstack manifest rspec
Tony Mack [Fri, 31 Aug 2012 01:51:07 +0000 (21:51 -0400)]
include firewall rules in openstack manifest rspec

11 years agointerface elements in the manifest rspec should contain a sliver id attribute
Tony Mack [Fri, 31 Aug 2012 00:48:34 +0000 (20:48 -0400)]
interface elements in the manifest rspec should contain a sliver id attribute

11 years agointerface elements in the manifest rspec should contain a sliver id attribute
Tony Mack [Fri, 31 Aug 2012 00:48:34 +0000 (20:48 -0400)]
interface elements in the manifest rspec should contain a sliver id attribute

11 years agoDeleteSliver returns a boolean instead of an int
Tony Mack [Fri, 31 Aug 2012 00:26:01 +0000 (20:26 -0400)]
DeleteSliver returns a boolean instead of an int

11 years agouse 'notready' status instead of unknown
Tony Mack [Fri, 31 Aug 2012 00:11:33 +0000 (20:11 -0400)]
use 'notready' status instead of unknown

11 years agoDeleteSliver returns a boolean instead of an int
Tony Mack [Fri, 31 Aug 2012 00:04:53 +0000 (20:04 -0400)]
DeleteSliver returns a boolean instead of an int

11 years agoOpen ICMP by default, report error if no disk image specified
Andy Bavier [Thu, 30 Aug 2012 14:19:00 +0000 (10:19 -0400)]
Open ICMP by default, report error if no disk image specified

11 years agoDeleteSliver returns a boolean instead of an int
Tony Mack [Fri, 31 Aug 2012 00:26:01 +0000 (20:26 -0400)]
DeleteSliver returns a boolean instead of an int

11 years agouse 'notready' status instead of unknown
Tony Mack [Fri, 31 Aug 2012 00:11:33 +0000 (20:11 -0400)]
use 'notready' status instead of unknown

11 years agoDeleteSliver returns a boolean instead of an int
Tony Mack [Fri, 31 Aug 2012 00:04:53 +0000 (20:04 -0400)]
DeleteSliver returns a boolean instead of an int

11 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Andy Bavier [Thu, 30 Aug 2012 21:13:26 +0000 (17:13 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

11 years agofix aggregate status
Tony Mack [Thu, 30 Aug 2012 19:10:43 +0000 (15:10 -0400)]
fix aggregate status

11 years agoadded client_id attribute to interface elements
Tony Mack [Thu, 30 Aug 2012 19:09:49 +0000 (15:09 -0400)]
added client_id attribute to interface elements

11 years agofix aggregate status
Tony Mack [Thu, 30 Aug 2012 19:10:43 +0000 (15:10 -0400)]
fix aggregate status

11 years agoadded client_id attribute to interface elements
Tony Mack [Thu, 30 Aug 2012 19:09:49 +0000 (15:09 -0400)]
added client_id attribute to interface elements

11 years agoreplace Xrn.get_sliver_id()
Tony Mack [Thu, 30 Aug 2012 16:51:41 +0000 (12:51 -0400)]
replace Xrn.get_sliver_id()

11 years agoreplace Xrn.get_sliver_id()
Tony Mack [Thu, 30 Aug 2012 16:51:41 +0000 (12:51 -0400)]
replace Xrn.get_sliver_id()

11 years agofix type attribute of ip element
Tony Mack [Thu, 30 Aug 2012 16:14:39 +0000 (12:14 -0400)]
fix type attribute of ip element

11 years agofix type attribute of ip element
Tony Mack [Thu, 30 Aug 2012 16:14:39 +0000 (12:14 -0400)]
fix type attribute of ip element

11 years agonode should contain sliver id in manifest rspec
Tony Mack [Thu, 30 Aug 2012 15:14:22 +0000 (11:14 -0400)]
node should contain sliver id in manifest rspec

11 years agonode should contain sliver id in manifest rspec
Tony Mack [Thu, 30 Aug 2012 15:13:35 +0000 (11:13 -0400)]
node should contain sliver id in manifest rspec

11 years agofix potential attribute error
Tony Mack [Thu, 30 Aug 2012 15:10:45 +0000 (11:10 -0400)]
fix potential attribute error

11 years agofix imports
Tony Mack [Thu, 30 Aug 2012 15:10:22 +0000 (11:10 -0400)]
fix imports

11 years agobetter support for sliver ids
Tony Mack [Thu, 30 Aug 2012 14:52:34 +0000 (10:52 -0400)]
better support for sliver ids

11 years agoone node element per sliver in the manifest rspec
Tony Mack [Thu, 30 Aug 2012 14:50:19 +0000 (10:50 -0400)]
one node element per sliver in the manifest rspec

11 years agoOpen ICMP by default, report error if no disk image specified
Andy Bavier [Thu, 30 Aug 2012 14:19:00 +0000 (10:19 -0400)]
Open ICMP by default, report error if no disk image specified

11 years agoMerge branch 'master' into senslab2
Sandrine Avakian [Thu, 30 Aug 2012 12:23:36 +0000 (14:23 +0200)]
Merge branch 'master' into senslab2

Conflicts:
sfa/trust/credential.py
sfa/util/xrn.py

11 years agoMerge branch 'upstreammaster'
Thierry Parmentelat [Thu, 30 Aug 2012 10:13:20 +0000 (12:13 +0200)]
Merge branch 'upstreammaster'

11 years agosleep in between polls
Tony Mack [Thu, 30 Aug 2012 03:14:39 +0000 (23:14 -0400)]
sleep in between polls

11 years agoin delete_instances(), wait until instance is destroyed until attempting to delete...
Tony Mack [Thu, 30 Aug 2012 03:01:25 +0000 (23:01 -0400)]
in delete_instances(), wait until instance is destroyed until attempting to delete instance's security groups. Wait for at most 10 seconds. Executes in a separate thread so main call is not blocked

11 years agopreserve node client id from request rspec
Tony Mack [Wed, 29 Aug 2012 22:01:49 +0000 (18:01 -0400)]
preserve node client id from request rspec

11 years agoFixed bug when listing nodes in a slice.
Sandrine Avakian [Wed, 29 Aug 2012 13:50:03 +0000 (15:50 +0200)]
Fixed bug when listing nodes in a slice.

11 years agoFixed compatibility problems in slabdriver (GetSlices changes).
Sandrine Avakian [Tue, 28 Aug 2012 10:47:43 +0000 (12:47 +0200)]
Fixed compatibility problems in slabdriver  (GetSlices changes).

11 years agofix bugs: use sliver['name'] to get slice's name
Mohamed Larabi [Thu, 23 Aug 2012 10:46:48 +0000 (12:46 +0200)]
fix bugs: use sliver['name'] to get slice's name

11 years agoraise exception if security group creation fails
Tony Mack [Thu, 23 Aug 2012 02:49:49 +0000 (22:49 -0400)]
raise exception if security group creation fails

11 years agoModified GetSlices.
Sandrine Avakian [Wed, 22 Aug 2012 14:46:25 +0000 (16:46 +0200)]
Modified GetSlices.
Removed JobSenslab table, now using GetReservedNodes instead.
Added parameter username to GetReservedNodes to get direclty
the jobs by user from OAR.
Modified slightly OAR restapi.
Bug : creatimng job does not work using SFA format rspec.

11 years agoFixed bug when sfi.py resources <slice_name>.
Sandrine Avakian [Tue, 21 Aug 2012 14:28:26 +0000 (16:28 +0200)]
Fixed bug when sfi.py resources <slice_name>.
Now showing resources in the slice, as well as the leases
if specified.

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

11 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

11 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

11 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

11 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

11 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

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

11 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

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

11 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

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

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

11 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

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

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

11 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).

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

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

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

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

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

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

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

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

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

11 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

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

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

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

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

11 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

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

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

11 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

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