sfa.git
12 years agoMerge branch 'upstreammaster'
Thierry Parmentelat [Wed, 30 Nov 2011 20:34:02 +0000 (21:34 +0100)]
Merge branch 'upstreammaster'

12 years agoreturn the correct error codes
Tony Mack [Wed, 30 Nov 2011 20:13:39 +0000 (15:13 -0500)]
return the correct error codes

12 years agolog error
Tony Mack [Wed, 30 Nov 2011 18:36:37 +0000 (13:36 -0500)]
log error

12 years ago fix error message
Tony Mack [Wed, 30 Nov 2011 18:36:23 +0000 (13:36 -0500)]
 fix error message

12 years agodefault to sfa rpsec if not schema is present
Tony Mack [Wed, 30 Nov 2011 18:36:00 +0000 (13:36 -0500)]
default to sfa rpsec if not schema is present

12 years agoensure 'rspec_version' option is specified
Tony Mack [Wed, 30 Nov 2011 18:35:19 +0000 (13:35 -0500)]
ensure 'rspec_version' option is specified

12 years agorspec_version.to_string() is no loger necessary
Tony Mack [Wed, 30 Nov 2011 18:34:49 +0000 (13:34 -0500)]
rspec_version.to_string() is no loger necessary

12 years agoSetting tag sfa-2.0-1 sfa-2.0-1
Thierry Parmentelat [Wed, 30 Nov 2011 17:12:40 +0000 (18:12 +0100)]
Setting tag sfa-2.0-1
cleaned up all references to SFA_*_TYPE in config
enable cache at the aggregate by default
registry now uses the driver in a sensible way (see managers/driver.py)
slice manager supports sfav1/pgv2 neighbours
get_key renamed into get_key_from_incoming_ip
new sfa.storage module for record/table and all db-related stuff
db schema in sfa.storage.sfa.sql
init.d and cron.d move one step up
cleaned up rspec/ directory
add deps to pyopenssl and myplc-config
start support for new API (return value)
plc.remoteshell removed, use plshell instead
plshell uses a 'capability' auth method whenever possible
various tweaks in rspec elements
made dependency on sfatables softer

12 years agosomehow sfa.util.record resurfaced
Thierry Parmentelat [Wed, 30 Nov 2011 09:00:40 +0000 (10:00 +0100)]
somehow sfa.util.record resurfaced

12 years agoremove debug code
smbaker [Tue, 29 Nov 2011 02:35:28 +0000 (18:35 -0800)]
remove debug code

12 years agoMerge branch 'master' of ssh://bakers@git.planet-lab.org/git/sfa
smbaker [Tue, 29 Nov 2011 02:35:05 +0000 (18:35 -0800)]
Merge branch 'master' of ssh://bakers@git.planet-lab.org/git/sfa

12 years agocast version_num to string before comparing
Tony Mack [Tue, 29 Nov 2011 21:13:11 +0000 (16:13 -0500)]
cast version_num to string before comparing

12 years agoremove debugging code
Tony Mack [Tue, 29 Nov 2011 20:44:05 +0000 (15:44 -0500)]
remove debugging code

12 years agoadded InvalidRSpecVersion fault
Tony Mack [Tue, 29 Nov 2011 20:41:52 +0000 (15:41 -0500)]
added InvalidRSpecVersion fault

12 years agoattempt to fix startup sequence
Thierry Parmentelat [Tue, 29 Nov 2011 15:08:50 +0000 (16:08 +0100)]
attempt to fix startup sequence

12 years agooops
Thierry Parmentelat [Tue, 29 Nov 2011 14:51:16 +0000 (15:51 +0100)]
oops

12 years agoship database schema in a separate file
Thierry Parmentelat [Tue, 29 Nov 2011 14:29:58 +0000 (15:29 +0100)]
ship database schema in a separate file

12 years agoadded __init__.py
Thierry Parmentelat [Tue, 29 Nov 2011 11:49:53 +0000 (12:49 +0100)]
added __init__.py

12 years agogroup db-related stuff in sfa/storage
Thierry Parmentelat [Tue, 29 Nov 2011 11:01:06 +0000 (12:01 +0100)]
group db-related stuff in sfa/storage

12 years agomove init.d and cron.d one step up in the source tree
Thierry Parmentelat [Tue, 29 Nov 2011 10:17:46 +0000 (11:17 +0100)]
move init.d and cron.d one step up in the source tree

12 years agofinished to clean up SFA_*_TYPE and the like
Thierry Parmentelat [Tue, 29 Nov 2011 09:34:40 +0000 (10:34 +0100)]
finished to clean up SFA_*_TYPE and the like

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Tue, 29 Nov 2011 09:20:21 +0000 (10:20 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

12 years agobugfix - had to undo an attempt to optimize the calls to
Thierry Parmentelat [Tue, 29 Nov 2011 09:20:06 +0000 (10:20 +0100)]
bugfix - had to undo an attempt to optimize the calls to
augment_records_with_testbed_info - this makes the current
implementation very slow but until we manage or cache relationships
in the sfa db we're stuck

12 years agowhitespace
Tony Mack [Mon, 28 Nov 2011 20:42:36 +0000 (15:42 -0500)]
whitespace

12 years agobump sfa api version in GetVersion
Tony Mack [Mon, 28 Nov 2011 20:42:12 +0000 (15:42 -0500)]
bump sfa api version in GetVersion

12 years agoaggregate api version is an int
Tony Mack [Mon, 28 Nov 2011 20:39:43 +0000 (15:39 -0500)]
aggregate api version is an int

12 years agoenable caching at the aggregate
Tony Mack [Mon, 28 Nov 2011 20:14:04 +0000 (15:14 -0500)]
enable caching at the aggregate

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Mon, 28 Nov 2011 19:44:57 +0000 (20:44 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

Conflicts:
sfa/util/config.py

12 years agoslicemgr also supports GENI AM API v2
Tony Mack [Mon, 28 Nov 2011 19:24:16 +0000 (14:24 -0500)]
slicemgr also supports GENI AM API v2

12 years agofix merge()
Tony Mack [Mon, 28 Nov 2011 19:22:21 +0000 (14:22 -0500)]
fix merge()

12 years agoimport sfa.rspecs.element.services.Services
Tony Mack [Mon, 28 Nov 2011 19:22:02 +0000 (14:22 -0500)]
import sfa.rspecs.element.services.Services

12 years agofix various bugs
Tony Mack [Mon, 28 Nov 2011 19:21:30 +0000 (14:21 -0500)]
fix various bugs

12 years agofix typo
Tony Mack [Mon, 28 Nov 2011 19:20:59 +0000 (14:20 -0500)]
fix typo

12 years agobugfixes
Thierry Parmentelat [Mon, 28 Nov 2011 19:01:28 +0000 (20:01 +0100)]
bugfixes

12 years agoreview update_relation (formerly update_membership) between manager
Thierry Parmentelat [Mon, 28 Nov 2011 18:06:59 +0000 (19:06 +0100)]
review update_relation (formerly update_membership) between manager
and driver

12 years agocheck if key exists in dict
Tony Mack [Mon, 28 Nov 2011 18:00:40 +0000 (13:00 -0500)]
check if key exists in dict

12 years agoreordered imports
Thierry Parmentelat [Mon, 28 Nov 2011 17:51:58 +0000 (18:51 +0100)]
reordered imports

12 years agocosmetic
Thierry Parmentelat [Mon, 28 Nov 2011 15:38:03 +0000 (16:38 +0100)]
cosmetic

12 years agodriver.update
Thierry Parmentelat [Mon, 28 Nov 2011 11:20:27 +0000 (12:20 +0100)]
driver.update
get aggregates out of the driver equation
fix management of pub_key for a planetlab user

12 years agofix get_networks not working right in pgv2 rspec
smbaker [Mon, 28 Nov 2011 11:14:22 +0000 (03:14 -0800)]
fix get_networks not working right in pgv2 rspec

12 years agofix remove_nodes; get rid of network_name tag; look up component_name for legacy...
smbaker [Mon, 28 Nov 2011 11:13:34 +0000 (03:13 -0800)]
fix remove_nodes; get rid of network_name tag; look up component_name for legacy compatibility with old sfa

12 years agodriver.remove
Thierry Parmentelat [Mon, 28 Nov 2011 09:08:53 +0000 (10:08 +0100)]
driver.remove

12 years agoinsert the driver attribute to the real manager, not the wrapper
Thierry Parmentelat [Mon, 28 Nov 2011 09:08:05 +0000 (10:08 +0100)]
insert the driver attribute to the real manager, not the wrapper

12 years agominor cleanup
Thierry Parmentelat [Mon, 28 Nov 2011 08:22:43 +0000 (09:22 +0100)]
minor cleanup

12 years agoinitial checkin
Tony Mack [Mon, 28 Nov 2011 03:26:44 +0000 (22:26 -0500)]
initial checkin

12 years agofix merge problem
smbaker [Mon, 28 Nov 2011 03:06:16 +0000 (19:06 -0800)]
fix merge problem

12 years agouse sfa.client.return_value.ReturnValue to parse aggregate return values
Tony Mack [Mon, 28 Nov 2011 01:25:17 +0000 (20:25 -0500)]
use sfa.client.return_value.ReturnValue to parse aggregate return values

12 years agobump major number to 2.0
Thierry Parmentelat [Sat, 26 Nov 2011 21:13:01 +0000 (22:13 +0100)]
bump major number to 2.0

12 years agoremove obsolete material
Thierry Parmentelat [Sat, 26 Nov 2011 20:19:34 +0000 (21:19 +0100)]
remove obsolete material

12 years agooops this was intended to be in previous commit as well
Thierry Parmentelat [Sat, 26 Nov 2011 10:58:46 +0000 (11:58 +0100)]
oops this was intended to be in previous commit as well

12 years agoplshell to use 'capability' access method rather than xmlrpc when possible
Thierry Parmentelat [Sat, 26 Nov 2011 10:53:44 +0000 (11:53 +0100)]
plshell to use 'capability' access method rather than xmlrpc when possible

12 years agotrashed remoteshell and use plshell instead
Thierry Parmentelat [Sat, 26 Nov 2011 10:28:59 +0000 (11:28 +0100)]
trashed remoteshell and use plshell instead
for now this always uses xmlrpc

12 years agobugfix
Thierry Parmentelat [Sat, 26 Nov 2011 10:23:42 +0000 (11:23 +0100)]
bugfix

12 years agostart to define an abstract interface for the driver
Thierry Parmentelat [Fri, 25 Nov 2011 17:26:07 +0000 (18:26 +0100)]
start to define an abstract interface for the driver

12 years agocosmetic
Thierry Parmentelat [Fri, 25 Nov 2011 11:54:46 +0000 (12:54 +0100)]
cosmetic

12 years agocleanup
Thierry Parmentelat [Fri, 25 Nov 2011 10:37:00 +0000 (11:37 +0100)]
cleanup

12 years agoinitscript silent
Thierry Parmentelat [Fri, 25 Nov 2011 10:36:40 +0000 (11:36 +0100)]
initscript silent

12 years agorenamed plc-specific api call get_key into key_key_from_incoming_ip
Thierry Parmentelat [Fri, 25 Nov 2011 08:56:20 +0000 (09:56 +0100)]
renamed plc-specific api call get_key into key_key_from_incoming_ip
and move code in manager

12 years agoMerge branch 'upstreammaster'
Thierry Parmentelat [Fri, 25 Nov 2011 07:29:49 +0000 (08:29 +0100)]
Merge branch 'upstreammaster'

12 years agooops
Thierry Parmentelat [Thu, 24 Nov 2011 19:32:15 +0000 (20:32 +0100)]
oops

12 years agomake sfa really not depending on sfatables
Thierry Parmentelat [Thu, 24 Nov 2011 17:42:52 +0000 (18:42 +0100)]
make sfa really not depending on sfatables

12 years agotrash egg-info stuff as f8 won't produce it
Thierry Parmentelat [Thu, 24 Nov 2011 17:25:53 +0000 (18:25 +0100)]
trash egg-info stuff as f8 won't produce it

12 years agomoved requires: clauses from sfa-plc to sfa
Thierry Parmentelat [Thu, 24 Nov 2011 15:14:09 +0000 (16:14 +0100)]
moved requires: clauses from sfa-plc to sfa

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Thu, 24 Nov 2011 15:01:05 +0000 (16:01 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

12 years agoreviwed packaging
Thierry Parmentelat [Thu, 24 Nov 2011 15:00:53 +0000 (16:00 +0100)]
reviwed packaging

12 years agoSetting tag sfa-1.1-5 sfa-1.1-5 sfa-2.0-0
Thierry Parmentelat [Thu, 24 Nov 2011 12:19:43 +0000 (13:19 +0100)]
Setting tag sfa-1.1-5
sfa should now be started *before* the initial import
sfa to use its own database (default sfa) - can run without myplc
server calls support optional 'options'
client sends options in argument when needed
fix infinite getattr recursion in elements/element.py
error codes in line with geni

12 years agonot needed in most cases
Thierry Parmentelat [Thu, 24 Nov 2011 11:51:31 +0000 (12:51 +0100)]
not needed in most cases

12 years agosounds safer to use another (pgsql) username to manage the local database
Thierry Parmentelat [Thu, 24 Nov 2011 11:49:44 +0000 (12:49 +0100)]
sounds safer to use another (pgsql) username to manage the local database

12 years agomore fixes
Thierry Parmentelat [Thu, 24 Nov 2011 08:41:41 +0000 (09:41 +0100)]
more fixes

12 years agobugfix
Thierry Parmentelat [Wed, 23 Nov 2011 20:51:36 +0000 (21:51 +0100)]
bugfix

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Wed, 23 Nov 2011 17:54:00 +0000 (18:54 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

12 years agoinitscript knows how to initialize db
Thierry Parmentelat [Wed, 23 Nov 2011 17:53:46 +0000 (18:53 +0100)]
initscript knows how to initialize db

12 years agosupport the 'geni_available' option for ListResources
Tony Mack [Tue, 22 Nov 2011 21:19:40 +0000 (16:19 -0500)]
support the 'geni_available' option for ListResources

12 years agosfa.util.version no longer supplies the values sfa and geni_api. THis is now done...
Tony Mack [Tue, 22 Nov 2011 21:11:52 +0000 (16:11 -0500)]
sfa.util.version no longer supplies the values sfa and geni_api. THis is now done in the aggregate/slicemanager module(s)

12 years agorenamed SFA_AM_API_VERSION to SFA_AGGREGATE_API_VERSION
Tony Mack [Tue, 22 Nov 2011 20:50:03 +0000 (15:50 -0500)]
renamed SFA_AM_API_VERSION to SFA_AGGREGATE_API_VERSION

12 years agoSfaFaults use GENI error codes
Tony Mack [Tue, 22 Nov 2011 20:45:08 +0000 (15:45 -0500)]
SfaFaults use GENI error codes

12 years agofix remaining bugs. passes regression tests
Tony Mack [Tue, 22 Nov 2011 20:14:06 +0000 (15:14 -0500)]
fix remaining bugs. passes regression tests

12 years agofix TypeError
Tony Mack [Tue, 22 Nov 2011 20:01:48 +0000 (15:01 -0500)]
fix TypeError

12 years agosupport geni am api v2 return values
Tony Mack [Tue, 22 Nov 2011 19:57:08 +0000 (14:57 -0500)]
support geni am api v2 return values

12 years agosfa settings : sfa_plc category split into sfa_plc and sfa_db
Thierry Parmentelat [Tue, 22 Nov 2011 15:12:42 +0000 (16:12 +0100)]
sfa settings : sfa_plc category split into sfa_plc and sfa_db

12 years agofix case of Sfav1Sliver
smbaker [Mon, 21 Nov 2011 22:04:07 +0000 (14:04 -0800)]
fix case of Sfav1Sliver

12 years agoMerge branch 'master' of ssh://bakers@git.planet-lab.org/git/sfa
smbaker [Mon, 21 Nov 2011 22:03:20 +0000 (14:03 -0800)]
Merge branch 'master' of ssh://bakers@git.planet-lab.org/git/sfa

12 years agofix options arg not always sent
smbaker [Mon, 21 Nov 2011 06:50:10 +0000 (22:50 -0800)]
fix options arg not always sent

12 years agofix inifite recursion in getattr
smbaker [Mon, 21 Nov 2011 04:27:41 +0000 (20:27 -0800)]
fix inifite recursion in getattr

12 years agoadd network_name attribute
smbaker [Mon, 21 Nov 2011 04:10:13 +0000 (20:10 -0800)]
add network_name attribute

12 years agoinitial checkin of standard geni v2 AM api codes
Tony Mack [Mon, 21 Nov 2011 22:04:34 +0000 (17:04 -0500)]
initial checkin of standard geni v2 AM api codes

12 years agosupport GENI v2 API 'options' argument for all Aggregate API methods
Tony Mack [Mon, 21 Nov 2011 21:50:42 +0000 (16:50 -0500)]
support GENI v2 API 'options' argument for all Aggregate API methods

12 years agocreates logdir when httpd is not installed
Thierry Parmentelat [Mon, 21 Nov 2011 13:33:30 +0000 (14:33 +0100)]
creates logdir when httpd is not installed

12 years agothe midterm intention is to have sfa being to run its registry in
Thierry Parmentelat [Mon, 21 Nov 2011 13:33:02 +0000 (14:33 +0100)]
the midterm intention is to have sfa being to run its registry in
standalone - in which case it will need its own postgresql

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Mon, 21 Nov 2011 13:22:47 +0000 (14:22 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

12 years agocreate_gid() type defaults to authority
Tony Mack [Mon, 21 Nov 2011 03:38:26 +0000 (22:38 -0500)]
create_gid() type defaults to authority

12 years agoadd interface cert to trusted roots list
Tony Mack [Sun, 20 Nov 2011 22:44:06 +0000 (17:44 -0500)]
add interface cert to trusted roots list

12 years agoimport script will create top level auth keys if they dont exist
Tony Mack [Sun, 20 Nov 2011 22:23:05 +0000 (17:23 -0500)]
import script will create top level auth keys if they dont exist

12 years agofix AttributeError
Tony Mack [Sun, 20 Nov 2011 21:44:15 +0000 (16:44 -0500)]
fix AttributeError

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Sun, 20 Nov 2011 09:07:49 +0000 (10:07 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

12 years agosfa-import-plc.py is not longer responsible for creating the top level authority...
Tony Mack [Sat, 19 Nov 2011 14:56:10 +0000 (09:56 -0500)]
sfa-import-plc.py is not longer responsible for creating the top level authority keys and certs. This is now handled by sfa/server/sfa-start.py. Also, sfa-start no longer creates a random key/cert when it cant find the expected key/cert

12 years agofix bug in get_links()
Tony Mack [Fri, 18 Nov 2011 22:00:51 +0000 (17:00 -0500)]
fix bug in get_links()

12 years agomissing 'requires' when installed on a non-myplc box
Thierry Parmentelat [Fri, 18 Nov 2011 12:01:33 +0000 (13:01 +0100)]
missing 'requires' when installed on a non-myplc box

12 years agoremove extra docs file to align with masinstream
Thierry Parmentelat [Fri, 18 Nov 2011 10:02:36 +0000 (11:02 +0100)]
remove extra docs file to align with masinstream

12 years agoMerge branch 'upstreammaster'
Thierry Parmentelat [Fri, 18 Nov 2011 09:54:08 +0000 (10:54 +0100)]
Merge branch 'upstreammaster'