Tony Mack [Sat, 4 Feb 2012 00:13:39 +0000 (19:13 -0500)]
fix AttributeError
Tony Mack [Sat, 4 Feb 2012 00:11:57 +0000 (19:11 -0500)]
fix type error
Tony Mack [Sat, 4 Feb 2012 00:09:22 +0000 (19:09 -0500)]
self._quote() should be Filter._quote()
Tony Mack [Fri, 3 Feb 2012 22:25:30 +0000 (17:25 -0500)]
use sfa.storage.filter.Filter._quote instead of pgdb._quote
Tony Mack [Fri, 3 Feb 2012 22:23:39 +0000 (17:23 -0500)]
make _quote() static so other classes can use it
Tony Mack [Fri, 3 Feb 2012 22:12:03 +0000 (17:12 -0500)]
getting rid of pgdb dependency by implementing pgdb._quote() here
Tony Mack [Fri, 3 Feb 2012 21:20:53 +0000 (16:20 -0500)]
improve instnace_to_sliver()
Tony Mack [Fri, 3 Feb 2012 21:08:55 +0000 (16:08 -0500)]
added get_sliver_id()
Tony Mack [Fri, 3 Feb 2012 19:53:17 +0000 (14:53 -0500)]
replace wrap_context with NovaDB class
Tony Mack [Fri, 3 Feb 2012 19:13:54 +0000 (14:13 -0500)]
fix NameError
Tony Mack [Fri, 3 Feb 2012 19:12:01 +0000 (14:12 -0500)]
renamed verify_users() to verify_slice_users()
Tony Mack [Fri, 3 Feb 2012 19:11:32 +0000 (14:11 -0500)]
set config flags before instantiating nova service managers
Tony Mack [Fri, 3 Feb 2012 19:10:30 +0000 (14:10 -0500)]
use default aggregate manager. OpenstackDriver renamed to NovaDriver
Tony Mack [Fri, 3 Feb 2012 19:06:15 +0000 (14:06 -0500)]
renamed class NovaDriver
Thierry Parmentelat [Fri, 3 Feb 2012 10:56:31 +0000 (11:56 +0100)]
start to deal with plc roles
Thierry Parmentelat [Fri, 3 Feb 2012 10:09:19 +0000 (11:09 +0100)]
this sounds like a bug
Thierry Parmentelat [Fri, 3 Feb 2012 08:46:51 +0000 (09:46 +0100)]
store incoming keys when adding a user record
Thierry Parmentelat [Fri, 3 Feb 2012 08:24:57 +0000 (09:24 +0100)]
bugfix, need some discipline on naming relationship columns to avoid
conflict with other areas of the code, like loading from xml records
or the like
Thierry Parmentelat [Thu, 2 Feb 2012 23:50:54 +0000 (00:50 +0100)]
Merge branch 'sqlalchemy' of ssh://git.onelab.eu/git/sfa into sqlalchemy
Thierry Parmentelat [Thu, 2 Feb 2012 23:50:27 +0000 (00:50 +0100)]
the model can store keys and email - import keys and email from plcapi
Tony Mack [Thu, 2 Feb 2012 20:09:24 +0000 (15:09 -0500)]
implemented verify_slice, verify_users, verify_user_keys
Tony Mack [Thu, 2 Feb 2012 17:57:44 +0000 (12:57 -0500)]
update nova shell refrences
Tony Mack [Thu, 2 Feb 2012 17:57:17 +0000 (12:57 -0500)]
we still need a refrence to the nova.db for managing keys
Tony Mack [Thu, 2 Feb 2012 17:40:39 +0000 (12:40 -0500)]
updated logging message
Tony Mack [Thu, 2 Feb 2012 17:39:29 +0000 (12:39 -0500)]
- renaming OpenstackDriver to NovaDriver and OpenstackShell to NovaShell
Thierry Parmentelat [Thu, 2 Feb 2012 14:38:54 +0000 (15:38 +0100)]
rephrase openstack import messages
Thierry Parmentelat [Thu, 2 Feb 2012 14:38:26 +0000 (15:38 +0100)]
rephrase import messages
Tony Mack [Wed, 1 Feb 2012 22:13:23 +0000 (17:13 -0500)]
declare some methods. will implement later
Tony Mack [Wed, 1 Feb 2012 22:12:51 +0000 (17:12 -0500)]
cleanup
Tony Mack [Wed, 1 Feb 2012 22:12:26 +0000 (17:12 -0500)]
whitespace
Tony Mack [Wed, 1 Feb 2012 22:12:16 +0000 (17:12 -0500)]
fix bug when raising PermissionError
Thierry Parmentelat [Wed, 1 Feb 2012 17:38:27 +0000 (18:38 +0100)]
Merge branch 'master' into sqlalchemy - solved totally harmless
conflict in sfa/openstack/openstack_driver.py
Tony Mack [Wed, 1 Feb 2012 02:56:50 +0000 (21:56 -0500)]
fix bug in init
Tony Mack [Wed, 1 Feb 2012 02:56:31 +0000 (21:56 -0500)]
fix bugs
Tony Mack [Wed, 1 Feb 2012 02:35:46 +0000 (21:35 -0500)]
instance_to_sliver() missing reference to self
Tony Mack [Wed, 1 Feb 2012 02:22:47 +0000 (21:22 -0500)]
fix AttributeError
Tony Mack [Wed, 1 Feb 2012 02:16:52 +0000 (21:16 -0500)]
initial checkin
Tony Mack [Wed, 1 Feb 2012 02:15:57 +0000 (21:15 -0500)]
initial checkin
Tony Mack [Wed, 1 Feb 2012 02:14:09 +0000 (21:14 -0500)]
implement list_resources, list_slivers, stop, delte_sliver
Tony Mack [Wed, 1 Feb 2012 02:10:48 +0000 (21:10 -0500)]
added fields
Tony Mack [Wed, 1 Feb 2012 02:05:13 +0000 (21:05 -0500)]
fix flag file arg
Thierry Parmentelat [Tue, 31 Jan 2012 16:04:50 +0000 (17:04 +0100)]
Merge branch 'sqlalchemy' of ssh://git.onelab.eu/git/sfa into sqlalchemy
Thierry Parmentelat [Tue, 31 Jan 2012 16:04:31 +0000 (17:04 +0100)]
gid filename had name and 'user' swapped
Thierry Parmentelat [Tue, 31 Jan 2012 16:02:31 +0000 (17:02 +0100)]
typo
Tony Mack [Tue, 31 Jan 2012 02:04:59 +0000 (21:04 -0500)]
load flags from nova.config
Thierry Parmentelat [Fri, 27 Jan 2012 17:07:30 +0000 (18:07 +0100)]
Setting tag sfa-2.1-1
uses sqlalchemy and related migrate
thorough migration and upgrade scheme
sfa-import.py and sfa-nuke.py (no more -plc), uses FLAVOUR
trashed dbinfo stuff in auth hierarchy
data model still has little more than plain records
checkpoint tag, not yet intended for release
Thierry Parmentelat [Fri, 27 Jan 2012 15:43:57 +0000 (16:43 +0100)]
trash dbinfo stuff
Thierry Parmentelat [Fri, 27 Jan 2012 14:57:45 +0000 (15:57 +0100)]
manual merge of the openstack importer
Thierry Parmentelat [Fri, 27 Jan 2012 14:05:17 +0000 (15:05 +0100)]
placeholder
Thierry Parmentelat [Fri, 27 Jan 2012 14:03:20 +0000 (15:03 +0100)]
importer revisited - sfa-import.py sfa-nuke.py (no more -plc)
testbed-dependant importer located through the FLAVOUR mechanism
Thierry Parmentelat [Fri, 27 Jan 2012 10:36:57 +0000 (11:36 +0100)]
merge master again (2.0-10 changelog only)
Thierry Parmentelat [Fri, 27 Jan 2012 10:26:57 +0000 (11:26 +0100)]
bump to 2.1, upgrades tested, fix minor bugs and doc
Thierry Parmentelat [Thu, 26 Jan 2012 18:39:54 +0000 (19:39 +0100)]
should be able to upgrade from any version
Thierry Parmentelat [Thu, 26 Jan 2012 14:39:21 +0000 (15:39 +0100)]
renamed persistentobjs into model
Thierry Parmentelat [Thu, 26 Jan 2012 14:35:51 +0000 (15:35 +0100)]
cosmetic
Thierry Parmentelat [Thu, 26 Jan 2012 14:33:45 +0000 (15:33 +0100)]
trash old db code
Thierry Parmentelat [Wed, 25 Jan 2012 20:17:12 +0000 (21:17 +0100)]
getting closer to a working packaging
Thierry Parmentelat [Wed, 25 Jan 2012 20:14:12 +0000 (21:14 +0100)]
again
Thierry Parmentelat [Wed, 25 Jan 2012 20:11:02 +0000 (21:11 +0100)]
again
Thierry Parmentelat [Wed, 25 Jan 2012 20:09:27 +0000 (21:09 +0100)]
tentatively fix packaging
Thierry Parmentelat [Wed, 25 Jan 2012 20:04:02 +0000 (21:04 +0100)]
add a file in migrations/versions for the packaging
Thierry Parmentelat [Wed, 25 Jan 2012 19:42:50 +0000 (20:42 +0100)]
add support for migrations with sqlalchemy-migrate
(no actual script for now)
Thierry Parmentelat [Wed, 25 Jan 2012 16:40:44 +0000 (17:40 +0100)]
cosmetic
Tony Mack [Wed, 25 Jan 2012 13:59:07 +0000 (08:59 -0500)]
Setting tag sfa-2.0-10
Thierry Parmentelat [Tue, 24 Jan 2012 14:14:06 +0000 (15:14 +0100)]
suggest to user __repr__
Thierry Parmentelat [Tue, 24 Jan 2012 13:38:51 +0000 (14:38 +0100)]
reviewed openstack importer
Thierry Parmentelat [Tue, 24 Jan 2012 12:23:50 +0000 (13:23 +0100)]
Merge branch 'master' into sqlalchemy
Conflicts:
sfa/managers/registry_manager_openstack.py
Tony Mack [Mon, 23 Jan 2012 17:42:24 +0000 (12:42 -0500)]
Initial checkin
Thierry Parmentelat [Mon, 23 Jan 2012 15:48:01 +0000 (16:48 +0100)]
reviewed openstack driver - was fine except for a spurrious import of sfatables
Thierry Parmentelat [Mon, 23 Jan 2012 15:47:25 +0000 (16:47 +0100)]
merged sqlalchemy into registry for openstack; turns out to be
identical to plain registry...
Thierry Parmentelat [Mon, 23 Jan 2012 15:44:37 +0000 (16:44 +0100)]
more tweaks in the make sync* targets
Tony Mack [Sat, 21 Jan 2012 01:00:57 +0000 (20:00 -0500)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Sat, 21 Jan 2012 01:00:43 +0000 (20:00 -0500)]
fix NameError
Thierry Parmentelat [Fri, 20 Jan 2012 14:38:35 +0000 (15:38 +0100)]
add another column in RegRecord, separate from 'type' to act as a discriminator
remove the RegAuthority* subclasses and use RegAuthority instead
Thierry Parmentelat [Fri, 20 Jan 2012 14:37:07 +0000 (15:37 +0100)]
fix wrong import that triggers on site without sfatables installed
Thierry Parmentelat [Fri, 20 Jan 2012 11:04:03 +0000 (12:04 +0100)]
minor cleanup in the use of Rec*
Thierry Parmentelat [Fri, 20 Jan 2012 09:38:36 +0000 (10:38 +0100)]
rename the authority+* types as non temporary
Thierry Parmentelat [Fri, 20 Jan 2012 09:37:00 +0000 (10:37 +0100)]
cosmetic
Thierry Parmentelat [Fri, 20 Jan 2012 09:36:24 +0000 (10:36 +0100)]
symbols starting with __ are reserved
Andrew Bavier [Thu, 19 Jan 2012 20:00:09 +0000 (15:00 -0500)]
Minor bug fix
Thierry Parmentelat [Thu, 19 Jan 2012 18:42:42 +0000 (19:42 +0100)]
missing import for RecordNotFound
Thierry Parmentelat [Thu, 19 Jan 2012 18:42:16 +0000 (19:42 +0100)]
turn creation of records authority+* back on, needed when issuing credentials
Thierry Parmentelat [Thu, 19 Jan 2012 17:34:49 +0000 (18:34 +0100)]
use inheritance to model the various kinds of RegRecords
Thierry Parmentelat [Thu, 19 Jan 2012 17:34:01 +0000 (18:34 +0100)]
more modulra make sync* targets
Thierry Parmentelat [Thu, 19 Jan 2012 17:33:42 +0000 (18:33 +0100)]
use session.delete(x) rather than del x
Thierry Parmentelat [Thu, 19 Jan 2012 17:29:05 +0000 (18:29 +0100)]
typo
Thierry Parmentelat [Thu, 19 Jan 2012 09:59:33 +0000 (10:59 +0100)]
getting closer - far from perfect but tests should pass
Thierry Parmentelat [Thu, 19 Jan 2012 09:14:27 +0000 (10:14 +0100)]
add dependency to sqlalchemy-migrate (rpm python-migrate)
Tony Mack [Wed, 18 Jan 2012 17:29:17 +0000 (12:29 -0500)]
added -R --raw command line option that allows client to specify whether to display the raw server response or just the value of the response
Thierry Parmentelat [Wed, 18 Jan 2012 12:09:10 +0000 (13:09 +0100)]
various tweaks around using records; the client-side is still broken
Thierry Parmentelat [Wed, 18 Jan 2012 10:59:43 +0000 (11:59 +0100)]
make persistentobjs loadable from the client-side
Thierry Parmentelat [Wed, 18 Jan 2012 09:52:58 +0000 (10:52 +0100)]
addressing some of the remaining occurrences of SfaRecord
Tony Mack [Wed, 18 Jan 2012 02:10:25 +0000 (21:10 -0500)]
remove redundant implementation
Tony Mack [Wed, 18 Jan 2012 02:09:52 +0000 (21:09 -0500)]
not necessary
Tony Mack [Wed, 18 Jan 2012 02:00:05 +0000 (21:00 -0500)]
get correct path to server key and cert
Tony Mack [Wed, 18 Jan 2012 01:56:19 +0000 (20:56 -0500)]
fix bug in install_peer_certs
Thierry Parmentelat [Tue, 17 Jan 2012 19:28:07 +0000 (20:28 +0100)]
sql schema is managed under sqlalchemy, no need for the .sql file anymore
Thierry Parmentelat [Tue, 17 Jan 2012 17:10:38 +0000 (18:10 +0100)]
filter.py is no longer used
Thierry Parmentelat [Tue, 17 Jan 2012 15:51:13 +0000 (16:51 +0100)]
non-relevant hit for SfaTable
Thierry Parmentelat [Tue, 17 Jan 2012 15:48:31 +0000 (16:48 +0100)]
fewer uses of SfaTable