sfa.git
11 years agoAdd request context for GENI rspecs
Andy Bavier [Tue, 12 Jun 2012 20:31:59 +0000 (16:31 -0400)]
Add request context for GENI rspecs

11 years agoBug fix
Andy Bavier [Tue, 12 Jun 2012 20:31:08 +0000 (16:31 -0400)]
Bug fix

11 years agoreviewed comments
Thierry Parmentelat [Tue, 12 Jun 2012 12:18:12 +0000 (14:18 +0200)]
reviewed comments

11 years agoavoid project name collision by using planetlab conventions for project names
Tony Mack [Tue, 12 Jun 2012 02:56:41 +0000 (22:56 -0400)]
avoid project name collision by using planetlab conventions for project names

11 years agoinclude <service/> and <login/> elements
Tony Mack [Tue, 12 Jun 2012 01:56:03 +0000 (21:56 -0400)]
include <service/> and <login/> elements

11 years agoinclude ip addresses in manifest rspec
Tony Mack [Mon, 11 Jun 2012 19:55:00 +0000 (15:55 -0400)]
include ip addresses in manifest rspec

11 years ago use PGv2Interface
Tony Mack [Mon, 11 Jun 2012 19:54:34 +0000 (15:54 -0400)]
 use PGv2Interface

11 years agoinitial checkin
Tony Mack [Mon, 11 Jun 2012 19:54:13 +0000 (15:54 -0400)]
initial checkin

11 years agoSetting tag sfa-2.1-11 sfa-2.1-11
Thierry Parmentelat [Thu, 7 Jun 2012 10:01:49 +0000 (12:01 +0200)]
Setting tag sfa-2.1-11
review packaging - site-packages/planetlab now come with sfa-plc
new package sfa-federica
clientbin moved one step upwards

11 years agomove clientbin one step upwards
Thierry Parmentelat [Thu, 7 Jun 2012 09:21:36 +0000 (11:21 +0200)]
move clientbin one step upwards
to avoid suggesting it should show up in site-packages

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Thu, 7 Jun 2012 09:17:34 +0000 (11:17 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

11 years agoas a matter of fact sfa/clientbin is not needed unser site-packages of course
Thierry Parmentelat [Thu, 7 Jun 2012 09:17:22 +0000 (11:17 +0200)]
as a matter of fact sfa/clientbin is not needed unser site-packages of course

11 years agoadd warning in docs/README
Thierry Parmentelat [Thu, 7 Jun 2012 08:40:06 +0000 (10:40 +0200)]
add warning in docs/README

11 years agoMerge remote-tracking branch 'origin/master'
Git User [Thu, 7 Jun 2012 08:21:32 +0000 (04:21 -0400)]
Merge remote-tracking branch 'origin/master'

11 years agofix new sfa packaging
Thierry Parmentelat [Thu, 7 Jun 2012 08:21:09 +0000 (10:21 +0200)]
fix new sfa packaging

11 years agoSetting tag sfa-2.1-10 sfa-2.1-10
Tony Mack [Thu, 7 Jun 2012 02:34:05 +0000 (22:34 -0400)]
Setting tag sfa-2.1-10

11 years agocontinue using sfa rspec as the default rspec until sface fully supports the geni...
Tony Mack [Thu, 7 Jun 2012 01:53:48 +0000 (21:53 -0400)]
continue using sfa rspec as the default rspec until sface fully supports the geni rspec

11 years agofix bug in renew
Tony Mack [Thu, 7 Jun 2012 01:47:10 +0000 (21:47 -0400)]
fix bug in renew

11 years agoMerge remote-tracking branch 'origin/master'
Git User [Wed, 6 Jun 2012 14:36:34 +0000 (10:36 -0400)]
Merge remote-tracking branch 'origin/master'

11 years agonew sfa-federica packaging
Thierry Parmentelat [Wed, 6 Jun 2012 14:35:11 +0000 (16:35 +0200)]
new sfa-federica packaging

11 years agoMerge remote-tracking branch 'origin/master'
Git User [Tue, 5 Jun 2012 16:16:33 +0000 (12:16 -0400)]
Merge remote-tracking branch 'origin/master'

11 years agorevert plimporter to a strategy where previous records are only looked
Thierry Parmentelat [Tue, 5 Jun 2012 16:15:44 +0000 (18:15 +0200)]
revert plimporter to a strategy where previous records are only looked
up on their hrn, so that in the case of an hrn renaming a new gid gets
created, which is required

11 years agoundo previous tentative bugfix
Thierry Parmentelat [Tue, 5 Jun 2012 15:59:44 +0000 (17:59 +0200)]
undo previous tentative bugfix
about importing existing records with a auchange in their hrn
we need another approach entirely, when a hrn changes the gid needs to
be recomputed anyway

11 years agodisk_images renamed to disk_image
Tony Mack [Tue, 5 Jun 2012 15:13:33 +0000 (11:13 -0400)]
disk_images renamed to disk_image

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Tue, 5 Jun 2012 12:22:11 +0000 (14:22 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

11 years agodefault to GENI v3 rspec
Tony Mack [Tue, 5 Jun 2012 12:35:20 +0000 (08:35 -0400)]
default to GENI v3 rspec

11 years agorenamed disk_images to disk_image
Tony Mack [Tue, 5 Jun 2012 12:25:03 +0000 (08:25 -0400)]
renamed disk_images to disk_image

11 years agobugfix, for when hrns get renamed (e.g. by changing global SFA_INTERFACE_HRN)
Thierry Parmentelat [Tue, 5 Jun 2012 12:21:51 +0000 (14:21 +0200)]
bugfix, for when hrns get renamed (e.g. by changing global SFA_INTERFACE_HRN)

11 years agofix broken import
Thierry Parmentelat [Tue, 5 Jun 2012 09:26:58 +0000 (11:26 +0200)]
fix broken import

11 years agooops: list_leases option choices for reservation-oriented Rspec
Mohamed Larabi [Mon, 4 Jun 2012 21:38:14 +0000 (23:38 +0200)]
oops: list_leases option choices for reservation-oriented Rspec

11 years agoReservation-oriented Rspec with planetlab
Mohamed Larabi [Mon, 4 Jun 2012 18:14:21 +0000 (20:14 +0200)]
Reservation-oriented Rspec with planetlab

11 years agoSetting tag sfa-2.1-9 sfa-2.1-9
Thierry Parmentelat [Sun, 3 Jun 2012 13:28:53 +0000 (15:28 +0200)]
Setting tag sfa-2.1-9
fix broken sfa.util.xrn class for lowercase

11 years agoxrn was breaking the tests
Thierry Parmentelat [Sun, 3 Jun 2012 12:06:00 +0000 (14:06 +0200)]
xrn was breaking the tests

11 years agoSetting tag sfa-2.1-8 sfa-2.1-8
Thierry Parmentelat [Sat, 2 Jun 2012 11:52:15 +0000 (13:52 +0200)]
Setting tag sfa-2.1-8
new 'void' generic_flavour for running in registry-only mode
first shot at refactoring importers - probably needs more work
openstack: various enhancements
sfi interface to registry not based on xml files anymore
sfi show sorts result on record key
bugfix in sfa update on users with a pl-backed registry

11 years agofix in the pl driver, for when updating users without changing 'email'
Thierry Parmentelat [Sat, 2 Jun 2012 11:07:26 +0000 (13:07 +0200)]
fix in the pl driver, for when updating users without changing 'email'

11 years agocleaup up sfi.Update a bit
Thierry Parmentelat [Sat, 2 Jun 2012 11:06:52 +0000 (13:06 +0200)]
cleaup up sfi.Update a bit

11 years agosfi update checks for its args a bit more robustly
Thierry Parmentelat [Sat, 2 Jun 2012 10:39:35 +0000 (12:39 +0200)]
sfi update checks for its args a bit more robustly

11 years agosomehow I just went across a urn that had been lower()'ed
Thierry Parmentelat [Fri, 1 Jun 2012 12:51:19 +0000 (14:51 +0200)]
somehow I just went across a urn that had been lower()'ed
tweaked xrn so that gets handled gracefully

11 years agosfi show shows the record sorted by keyname
Thierry Parmentelat [Fri, 1 Jun 2012 12:50:21 +0000 (14:50 +0200)]
sfi show shows the record sorted by keyname

11 years agowhoops !!
Thierry Parmentelat [Fri, 1 Jun 2012 11:06:47 +0000 (13:06 +0200)]
whoops !!

11 years agosfi: remove testbed-dependent options for add/update (like url or
Thierry Parmentelat [Thu, 31 May 2012 16:21:46 +0000 (18:21 +0200)]
sfi: remove testbed-dependent options for add/update (like url or
first_name),
replace with a general purpose --extra key=value option

11 years agoconvert urns and email addresses to lower case
Tony Mack [Thu, 31 May 2012 01:20:18 +0000 (21:20 -0400)]
convert urns and email addresses to lower case

11 years agooops, need this apparently useless 'print' line
Thierry Parmentelat [Wed, 30 May 2012 11:03:06 +0000 (13:03 +0200)]
oops, need this apparently useless 'print' line

11 years agoperform a minimal check on the key passed in arg
Thierry Parmentelat [Wed, 30 May 2012 10:01:06 +0000 (12:01 +0200)]
perform a minimal check on the key passed in arg

11 years agoremove debugging print statement
Thierry Parmentelat [Wed, 30 May 2012 10:00:47 +0000 (12:00 +0200)]
remove debugging print statement

11 years agobugfix - when using the legacy form 'sfi add <file>',
Thierry Parmentelat [Wed, 30 May 2012 07:50:23 +0000 (09:50 +0200)]
bugfix - when using the legacy form 'sfi add <file>',
no options are provided at all

11 years agostrip extra whitespace
Tony Mack [Fri, 25 May 2012 19:19:24 +0000 (15:19 -0400)]
strip extra whitespace

11 years agosupport registering and updating records without using files
Tony Mack [Fri, 25 May 2012 16:57:19 +0000 (12:57 -0400)]
support registering and updating records without using files

11 years agoupdated key field name
Tony Mack [Wed, 23 May 2012 19:16:21 +0000 (15:16 -0400)]
updated key field name

11 years agouse default security_group if fw_rules aren't specified in the rspec
Tony Mack [Wed, 23 May 2012 17:25:54 +0000 (13:25 -0400)]
use default security_group if fw_rules aren't specified in the rspec

11 years agouse correct port range delimiter
Tony Mack [Wed, 23 May 2012 16:24:29 +0000 (12:24 -0400)]
use correct port range delimiter

11 years agodont use icmp_type if values are None
Tony Mack [Wed, 23 May 2012 16:19:48 +0000 (12:19 -0400)]
dont use icmp_type if values are None

11 years agoopen port 22 by defaul is no fw_rules are specified
Tony Mack [Wed, 23 May 2012 16:18:43 +0000 (12:18 -0400)]
open port 22 by defaul is no fw_rules are specified

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Tue, 22 May 2012 14:38:01 +0000 (16:38 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

11 years agofixes for void flavour
Thierry Parmentelat [Tue, 22 May 2012 14:37:40 +0000 (16:37 +0200)]
fixes for void flavour

11 years agofixes
Thierry Parmentelat [Tue, 22 May 2012 14:37:18 +0000 (16:37 +0200)]
fixes

11 years agotests@master for onelab
Thierry Parmentelat [Tue, 22 May 2012 10:52:21 +0000 (12:52 +0200)]
tests@master for onelab

11 years agowhitespace
Tony Mack [Sun, 20 May 2012 19:35:53 +0000 (15:35 -0400)]
whitespace

11 years agoensure urn has sliver type
Tony Mack [Sun, 20 May 2012 19:35:31 +0000 (15:35 -0400)]
ensure urn has sliver type

11 years agoimgae id always has 'ami' prefix regardless of container format
Tony Mack [Sun, 20 May 2012 19:08:20 +0000 (15:08 -0400)]
imgae id always has 'ami' prefix regardless of container format

11 years agofix bugs
Tony Mack [Sat, 19 May 2012 17:40:46 +0000 (13:40 -0400)]
fix bugs

11 years agosupport ovf container format
Tony Mack [Sat, 19 May 2012 14:34:34 +0000 (10:34 -0400)]
support ovf container format

11 years agosupport ovf container format
Tony Mack [Sat, 19 May 2012 14:33:55 +0000 (10:33 -0400)]
support ovf container format

11 years agocosmetic, avoid name conflict between bootstrap method and SfaClientBootstrap instance
Thierry Parmentelat [Tue, 15 May 2012 13:06:43 +0000 (15:06 +0200)]
cosmetic, avoid name conflict between bootstrap method and SfaClientBootstrap instance

11 years agoSetting tag sfa-2.1-7 sfa-2.1-7
Thierry Parmentelat [Mon, 14 May 2012 15:53:03 +0000 (17:53 +0200)]
Setting tag sfa-2.1-7
renamed sfa/plc into sfa/planetlab
plxrn moved in sfa/planetlab as well
bugfix for sfaadmin reg update --pi <>

11 years agoadd a print statement that mysteriously solves a problem
Thierry Parmentelat [Sun, 13 May 2012 21:59:04 +0000 (23:59 +0200)]
add a print statement that mysteriously solves a problem

11 years agoset max_slices to 2 by default as sfa_admin has no means to set that yet
Thierry Parmentelat [Sun, 13 May 2012 21:58:37 +0000 (23:58 +0200)]
set max_slices to 2 by default as sfa_admin has no means to set that yet

11 years agoremove debug msg
Thierry Parmentelat [Sun, 13 May 2012 21:58:12 +0000 (23:58 +0200)]
remove debug msg

11 years agomissing commits
Thierry Parmentelat [Sun, 13 May 2012 21:43:26 +0000 (23:43 +0200)]
missing commits

11 years agomoved sfa/util/plxrn as sfa/planetlab/plxrn
Thierry Parmentelat [Sat, 12 May 2012 16:57:15 +0000 (18:57 +0200)]
moved sfa/util/plxrn as sfa/planetlab/plxrn

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Sat, 12 May 2012 16:56:19 +0000 (18:56 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

11 years agorenamed sfa/plc into sfa/planetlab
Thierry Parmentelat [Sat, 12 May 2012 16:50:02 +0000 (18:50 +0200)]
renamed sfa/plc into sfa/planetlab

11 years agoSetting tag sfa-2.1-6 sfa-2.1-6
Thierry Parmentelat [Sat, 12 May 2012 16:03:39 +0000 (18:03 +0200)]
Setting tag sfa-2.1-6
native data model now has a authority x user (PI) relationship
no call to 'augment_records_with_testbed_info' for GetCredential
which means, registry can now be used without an underlying testbed
reviewed code about relationships b/w objects and related in pl driver
reviewed PL import wrt roles and pis
removed mentions to is_enabled in driver
small changes in update_relation* in driver interface
sfaadmin: can create authorities and attach pi users to them
sfaadmin: categories can be abbreviated
sfi list and sfaadmin list have a new -r/--recursive option
this means that List now supports an (optional) 'options' argument
sfi config can display config vars
sfaadmin code in sfa.client + /usr/bin/sfaadmin shortcut

11 years agoreview management of relationships - allow to update them with sfaadmin
Thierry Parmentelat [Fri, 11 May 2012 16:54:22 +0000 (18:54 +0200)]
review management of relationships - allow to update them with sfaadmin

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Fri, 11 May 2012 16:23:40 +0000 (18:23 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

11 years agocleanup update_relation a bit on the driver side
Thierry Parmentelat [Fri, 11 May 2012 16:22:41 +0000 (18:22 +0200)]
cleanup update_relation a bit on the driver side

11 years agosupport recurisve listing with -r option
Tony Mack [Fri, 11 May 2012 14:24:47 +0000 (10:24 -0400)]
support recurisve listing with -r option

11 years agofix authority registration
Thierry Parmentelat [Fri, 11 May 2012 12:14:23 +0000 (14:14 +0200)]
fix authority registration

11 years agomore useless imports are gone
Thierry Parmentelat [Fri, 11 May 2012 12:13:11 +0000 (14:13 +0200)]
more useless imports are gone

11 years agotrimmed dependencies to plxrn
Thierry Parmentelat [Fri, 11 May 2012 10:46:28 +0000 (12:46 +0200)]
trimmed dependencies to plxrn

11 years agobugfix
Thierry Parmentelat [Fri, 11 May 2012 10:45:18 +0000 (12:45 +0200)]
bugfix

11 years agosfi config dumps config
Thierry Parmentelat [Fri, 11 May 2012 09:32:20 +0000 (11:32 +0200)]
sfi config dumps config

11 years agomove body of sfaadmin in sfa/client
Thierry Parmentelat [Fri, 11 May 2012 09:04:01 +0000 (11:04 +0200)]
move body of sfaadmin in sfa/client
category can be abbreviated
nicer usage

11 years agosupport recursive by inlcuding '*' at the end of the hrn
Tony Mack [Thu, 10 May 2012 14:42:58 +0000 (10:42 -0400)]
support recursive by inlcuding '*' at the end of the hrn

11 years agodeliver credentials : correctly use suth x PI to deliver slice credentials to PIs
Thierry Parmentelat [Wed, 9 May 2012 15:56:22 +0000 (17:56 +0200)]
deliver credentials : correctly use suth x PI to deliver slice credentials to PIs

11 years agodeprecate the is_enabled call in the driver
Thierry Parmentelat [Wed, 9 May 2012 15:24:30 +0000 (17:24 +0200)]
deprecate the is_enabled call in the driver
this was useless given that we import only enabled users

11 years agoadd symlink /usr/bin/sfaadmin (without the .py)
Thierry Parmentelat [Wed, 9 May 2012 14:33:29 +0000 (16:33 +0200)]
add symlink /usr/bin/sfaadmin (without the .py)

11 years agodocstring
Tony Mack [Wed, 9 May 2012 14:32:58 +0000 (10:32 -0400)]
docstring

11 years agodetermine_user_rights to use slice.reg_researchers and
Thierry Parmentelat [Wed, 9 May 2012 12:54:59 +0000 (14:54 +0200)]
determine_user_rights to use slice.reg_researchers and
authority.reg_pis

11 years agorename backref to singular
Thierry Parmentelat [Wed, 9 May 2012 11:24:25 +0000 (13:24 +0200)]
rename backref to singular

11 years agoadd a site/authority x user/person relationship in registry model for
Thierry Parmentelat [Wed, 9 May 2012 11:21:30 +0000 (13:21 +0200)]
add a site/authority x user/person relationship in registry model for
keeping track of PIs
plimporter maintains this as it can (with the obvious limitation of
the plcapi model where persons receive PI role for *all* their sites)
--- still todo
. adapt native sfa registration for dealing with PIs
. tweak determine_user_rights to use native registry info rather than
  from augment_records_with_testbed_info stuff

11 years agosort methods in category with --help
Thierry Parmentelat [Wed, 9 May 2012 10:39:13 +0000 (12:39 +0200)]
sort methods in category with --help
remove confusing mentions to <args> since everything is an option

11 years agotry to improve sfaadmin a bit
Thierry Parmentelat [Wed, 9 May 2012 10:02:59 +0000 (12:02 +0200)]
try to improve sfaadmin a bit
mandatory options are outlined
sfaadmin --help displays a summary of commands and subcommands
most __doc__ strings need to be filled in though

11 years agoundo change about nicer RegSlice.__repr__ that somehow breaks the tests
Thierry Parmentelat [Mon, 7 May 2012 17:25:01 +0000 (19:25 +0200)]
undo change about nicer RegSlice.__repr__ that somehow breaks the tests

11 years agocosmetic: Right(s) have a __repr__
Thierry Parmentelat [Mon, 7 May 2012 14:00:06 +0000 (16:00 +0200)]
cosmetic: Right(s) have a __repr__

11 years agocatch up the change to determine_user_rights
Thierry Parmentelat [Mon, 7 May 2012 13:59:44 +0000 (15:59 +0200)]
catch up the change to determine_user_rights

11 years agopass a record object (instead of dict) to determine_user_rights
Thierry Parmentelat [Mon, 7 May 2012 13:58:42 +0000 (15:58 +0200)]
pass a record object (instead of dict) to determine_user_rights

11 years agonicer RegSlice.__repr__ (shows # researchers)
Thierry Parmentelat [Mon, 7 May 2012 13:55:17 +0000 (15:55 +0200)]
nicer RegSlice.__repr__ (shows # researchers)

11 years agoremove useless verify_cancreate_credential
Thierry Parmentelat [Mon, 7 May 2012 13:54:18 +0000 (15:54 +0200)]
remove useless verify_cancreate_credential

11 years agofix sync target
Thierry Parmentelat [Mon, 7 May 2012 13:49:01 +0000 (15:49 +0200)]
fix sync target