sfa.git
12 years agoMerge branch 'master' into sqlalchemy
Thierry Parmentelat [Fri, 24 Feb 2012 10:52:18 +0000 (11:52 +0100)]
Merge branch 'master' into sqlalchemy

Conflicts:
sfa/storage/record.py

12 years agocosmetic / nicer dumps
Thierry Parmentelat [Tue, 21 Feb 2012 11:07:28 +0000 (12:07 +0100)]
cosmetic / nicer dumps

12 years agomissing import and adds validation hooks for datetime columns
Thierry Parmentelat [Tue, 21 Feb 2012 10:52:13 +0000 (11:52 +0100)]
missing import and adds validation hooks for datetime columns

12 years agouser records were missing date_created - renamed user_person for consistency
Thierry Parmentelat [Tue, 21 Feb 2012 10:46:51 +0000 (11:46 +0100)]
user records were missing date_created - renamed user_person for consistency

12 years agouse pprint.PrettyPrinter intead of pprint.pformat
Tony Mack [Mon, 20 Feb 2012 16:23:10 +0000 (11:23 -0500)]
use pprint.PrettyPrinter intead of pprint.pformat

12 years agoupdated dump
Tony Mack [Mon, 20 Feb 2012 16:13:19 +0000 (11:13 -0500)]
updated dump

12 years agoversion(), status(), slices()
Tony Mack [Mon, 20 Feb 2012 16:07:42 +0000 (11:07 -0500)]
version(), status(), slices()

12 years agoMerge branch 'master' into sqlalchemy
Thierry Parmentelat [Sun, 19 Feb 2012 08:29:59 +0000 (09:29 +0100)]
Merge branch 'master' into sqlalchemy

Conflicts:
config/default_config.xml
sfa.spec

Removed:
sfa/server/sfa-clean-peer-records.py
sfa/storage/record.py

12 years agoparse timestamps correctly
Tony Mack [Sat, 18 Feb 2012 14:23:13 +0000 (09:23 -0500)]
parse timestamps correctly

12 years agodb now has slice x researcher relation ship
Thierry Parmentelat [Fri, 17 Feb 2012 15:34:16 +0000 (16:34 +0100)]
db now has slice x researcher relation ship
plimporter preserves that
not yet used by registry when issuing credentials though

12 years agoremoved sfa-clean-peer-records.py
Tony Mack [Fri, 17 Feb 2012 13:50:29 +0000 (08:50 -0500)]
removed sfa-clean-peer-records.py

12 years agomodified dump()
Tony Mack [Fri, 17 Feb 2012 03:42:01 +0000 (22:42 -0500)]
modified dump()

12 years agoupdaed show()
Tony Mack [Thu, 16 Feb 2012 22:24:22 +0000 (17:24 -0500)]
updaed show()

12 years agoimplement show
Tony Mack [Thu, 16 Feb 2012 21:50:29 +0000 (16:50 -0500)]
implement show

12 years agoimport sfa.util.config.Config
Tony Mack [Thu, 16 Feb 2012 21:47:29 +0000 (16:47 -0500)]
import sfa.util.config.Config

12 years agofix bug in Resolve
Tony Mack [Thu, 16 Feb 2012 21:39:02 +0000 (16:39 -0500)]
fix bug in Resolve

12 years agoinitial checkin of admin script
Tony Mack [Thu, 16 Feb 2012 21:29:33 +0000 (16:29 -0500)]
initial checkin of admin script

12 years agoremoving unused script
Tony Mack [Thu, 16 Feb 2012 19:11:06 +0000 (14:11 -0500)]
removing unused script

12 years agoreorganized
Tony Mack [Wed, 15 Feb 2012 19:29:12 +0000 (14:29 -0500)]
reorganized

12 years agofix sliver_status
Tony Mack [Wed, 15 Feb 2012 19:25:05 +0000 (14:25 -0500)]
fix sliver_status

12 years agochanged some config options
Tony Mack [Tue, 14 Feb 2012 18:10:14 +0000 (13:10 -0500)]
changed some config options

12 years agocreate slivers using EucaShell
Tony Mack [Tue, 14 Feb 2012 13:21:00 +0000 (08:21 -0500)]
create slivers using EucaShell

12 years agocomments
Tony Mack [Tue, 14 Feb 2012 13:17:36 +0000 (08:17 -0500)]
comments

12 years agoadded refrence to sfa.openstack.euca_shell.EucaShell
Tony Mack [Tue, 14 Feb 2012 13:17:13 +0000 (08:17 -0500)]
added refrence to sfa.openstack.euca_shell.EucaShell

12 years agoinitial checkin
Tony Mack [Tue, 14 Feb 2012 13:16:07 +0000 (08:16 -0500)]
initial checkin

12 years agocleanup in the federica area
Thierry Parmentelat [Mon, 13 Feb 2012 19:01:40 +0000 (20:01 +0100)]
cleanup in the federica area

12 years agovarious fixes, plus handle return code properly
Thierry Parmentelat [Thu, 9 Feb 2012 16:41:22 +0000 (17:41 +0100)]
various fixes, plus handle return code properly

12 years agodeclare the federica rspec schemas
Thierry Parmentelat [Thu, 9 Feb 2012 16:23:51 +0000 (17:23 +0100)]
declare the federica rspec schemas

12 years agocan now store an email address in the subjectAltName field
Tony Mack [Thu, 9 Feb 2012 00:48:21 +0000 (19:48 -0500)]
can now store an email address in the subjectAltName field

12 years agoget_rspec() should return an empty rspec when the slice has no nodes
Tony Mack [Thu, 9 Feb 2012 00:40:25 +0000 (19:40 -0500)]
get_rspec() should return an empty rspec when the slice has no nodes

12 years agoMerge branch 'sqlalchemy' of ssh://git.onelab.eu/git/sfa into sqlalchemy
Thierry Parmentelat [Wed, 8 Feb 2012 18:23:54 +0000 (19:23 +0100)]
Merge branch 'sqlalchemy' of ssh://git.onelab.eu/git/sfa into sqlalchemy

12 years agominor
Thierry Parmentelat [Wed, 8 Feb 2012 17:48:29 +0000 (18:48 +0100)]
minor

12 years agosmarter make synclib wrt migrations
Thierry Parmentelat [Wed, 8 Feb 2012 17:48:02 +0000 (18:48 +0100)]
smarter make synclib wrt migrations

12 years agoSetting tag sfa-2.1-2 sfa-2.1-2
Thierry Parmentelat [Wed, 8 Feb 2012 16:54:43 +0000 (17:54 +0100)]
Setting tag sfa-2.1-2
registry database has user's keys and mail (known as v0 for migrate)
pl importer properly maintains user's keys and mail
pl driver now to handle 'role' when adding person record (exp.)
first draft of federica driver with config section
SFA_GENERIC_FLAVOUR in usual variables for sfa-config-tty
plus, from master as of tag merged-in-sfa-2.1-2:
disk_image revisited
new nova_shell nova_driver & various tweaks for openstack

12 years agofix bug in delete_sliver
Tony Mack [Wed, 8 Feb 2012 15:18:22 +0000 (10:18 -0500)]
fix bug in delete_sliver

12 years agoreorganized
Tony Mack [Wed, 8 Feb 2012 14:46:30 +0000 (09:46 -0500)]
reorganized

12 years agoadd SFA_GENERIC_FLAVOUR as the first usual variable to sfa-config-tty
Thierry Parmentelat [Wed, 8 Feb 2012 13:24:22 +0000 (14:24 +0100)]
add SFA_GENERIC_FLAVOUR as the first usual variable to sfa-config-tty

12 years agoMerge branch 'master' into sqlalchemy
Thierry Parmentelat [Wed, 8 Feb 2012 12:59:45 +0000 (13:59 +0100)]
Merge branch 'master' into sqlalchemy

Conflicts:
sfa/importer/sfa-import-openstack.py
sfa/managers/registry_manager.py
sfa/openstack/nova_driver.py
sfa/storage/PostgreSQL.py
sfa/storage/filter.py

trashed changes in PostgreSQL / filter
applied changes in sfa-import-openstack.py into openstackimporter.py
this is mostly manual so please double check

12 years agofix bug in get_aggregate_nodes() merged-in-sfa-2.1-2
Tony Mack [Tue, 7 Feb 2012 18:43:26 +0000 (13:43 -0500)]
fix bug in get_aggregate_nodes()

12 years agofix AttributeError
Tony Mack [Tue, 7 Feb 2012 17:16:28 +0000 (12:16 -0500)]
fix AttributeError

12 years agofix AttributeError
Tony Mack [Tue, 7 Feb 2012 17:05:05 +0000 (12:05 -0500)]
fix AttributeError

12 years agoadded support for disk images
Tony Mack [Tue, 7 Feb 2012 16:47:22 +0000 (11:47 -0500)]
added support for disk images

12 years agoadd 'disk_images' to fields
Tony Mack [Tue, 7 Feb 2012 16:46:58 +0000 (11:46 -0500)]
add 'disk_images' to fields

12 years agoinclude disk image dteails
Tony Mack [Tue, 7 Feb 2012 16:46:35 +0000 (11:46 -0500)]
include disk image dteails

12 years agorenamed NovaDB to InjectContext
Tony Mack [Tue, 7 Feb 2012 16:46:03 +0000 (11:46 -0500)]
renamed NovaDB  to InjectContext

12 years agoinitial checkin
Tony Mack [Tue, 7 Feb 2012 16:45:12 +0000 (11:45 -0500)]
initial checkin

12 years agothis is required for the federica driver as well
Thierry Parmentelat [Tue, 7 Feb 2012 11:29:49 +0000 (12:29 +0100)]
this is required for the federica driver as well

12 years agofirst draft for the federica driver
Thierry Parmentelat [Tue, 7 Feb 2012 11:29:21 +0000 (12:29 +0100)]
first draft for the federica driver

12 years agorenaming
Thierry Parmentelat [Tue, 7 Feb 2012 09:32:08 +0000 (10:32 +0100)]
renaming

12 years agoallow raw output to be written to file; support raw output formats json and pickle
smbaker [Tue, 7 Feb 2012 07:44:37 +0000 (23:44 -0800)]
allow raw output to be written to file; support raw output formats json and pickle

12 years agoreworked import
Thierry Parmentelat [Mon, 6 Feb 2012 17:23:32 +0000 (18:23 +0100)]
reworked import

12 years agocascade delete so that unreferenced keys get deleted
Thierry Parmentelat [Mon, 6 Feb 2012 11:00:19 +0000 (12:00 +0100)]
cascade delete so that unreferenced keys get deleted

12 years agotrash old code
Thierry Parmentelat [Mon, 6 Feb 2012 10:59:21 +0000 (11:59 +0100)]
trash old code

12 years agocreate registry objects with kdws-style again, like RegAuthority(hrn=hrn)
Thierry Parmentelat [Mon, 6 Feb 2012 10:48:31 +0000 (11:48 +0100)]
create registry objects with kdws-style again, like RegAuthority(hrn=hrn)
record_options->add_options

12 years agoFix get resources for slices
Tony Mack [Sat, 4 Feb 2012 03:30:16 +0000 (22:30 -0500)]
Fix get resources for slices

12 years agoFix get resources for slices
Tony Mack [Sat, 4 Feb 2012 03:29:51 +0000 (22:29 -0500)]
Fix get resources for slices

12 years agofix pototntial TypeError
Tony Mack [Sat, 4 Feb 2012 02:26:15 +0000 (21:26 -0500)]
fix pototntial TypeError

12 years agospelling
Tony Mack [Sat, 4 Feb 2012 02:25:36 +0000 (21:25 -0500)]
spelling

12 years agofix import. fix typo
Tony Mack [Sat, 4 Feb 2012 02:25:18 +0000 (21:25 -0500)]
fix import. fix typo

12 years agono longer need __getattr__()
Tony Mack [Sat, 4 Feb 2012 02:24:59 +0000 (21:24 -0500)]
no longer need __getattr__()

12 years agofix remaining bugs in fill_record_info
Tony Mack [Sat, 4 Feb 2012 01:46:15 +0000 (20:46 -0500)]
fix remaining bugs in fill_record_info

12 years agofix TypeError
Tony Mack [Sat, 4 Feb 2012 01:41:19 +0000 (20:41 -0500)]
fix TypeError

12 years agorecord timestamps (date created, date updated) are not available when querying for...
Tony Mack [Sat, 4 Feb 2012 01:39:14 +0000 (20:39 -0500)]
record timestamps (date created, date updated) are not available when querying for records using nova.auth.manager.AuthManager

12 years agofix AttributeError
Tony Mack [Sat, 4 Feb 2012 01:34:47 +0000 (20:34 -0500)]
fix AttributeError

12 years agofix AttributeError
Tony Mack [Sat, 4 Feb 2012 01:29:41 +0000 (20:29 -0500)]
fix AttributeError

12 years agofix AttributeError
Tony Mack [Sat, 4 Feb 2012 01:22:07 +0000 (20:22 -0500)]
fix AttributeError

12 years agofix AttributeError
Tony Mack [Sat, 4 Feb 2012 01:20:41 +0000 (20:20 -0500)]
fix AttributeError

12 years agofix AttributeError
Tony Mack [Sat, 4 Feb 2012 00:13:39 +0000 (19:13 -0500)]
fix AttributeError

12 years agofix type error
Tony Mack [Sat, 4 Feb 2012 00:11:57 +0000 (19:11 -0500)]
fix type error

12 years agoself._quote() should be Filter._quote()
Tony Mack [Sat, 4 Feb 2012 00:09:22 +0000 (19:09 -0500)]
self._quote() should be Filter._quote()

12 years agouse sfa.storage.filter.Filter._quote instead of pgdb._quote
Tony Mack [Fri, 3 Feb 2012 22:25:30 +0000 (17:25 -0500)]
use sfa.storage.filter.Filter._quote instead of pgdb._quote

12 years agomake _quote() static so other classes can use it
Tony Mack [Fri, 3 Feb 2012 22:23:39 +0000 (17:23 -0500)]
make _quote() static so other classes can use it

12 years agogetting rid of pgdb dependency by implementing pgdb._quote() here
Tony Mack [Fri, 3 Feb 2012 22:12:03 +0000 (17:12 -0500)]
getting rid of pgdb dependency by implementing pgdb._quote() here

12 years agoimprove instnace_to_sliver()
Tony Mack [Fri, 3 Feb 2012 21:20:53 +0000 (16:20 -0500)]
improve instnace_to_sliver()

12 years agoadded get_sliver_id()
Tony Mack [Fri, 3 Feb 2012 21:08:55 +0000 (16:08 -0500)]
added get_sliver_id()

12 years agoreplace wrap_context with NovaDB class
Tony Mack [Fri, 3 Feb 2012 19:53:17 +0000 (14:53 -0500)]
replace wrap_context with NovaDB class

12 years agofix NameError
Tony Mack [Fri, 3 Feb 2012 19:13:54 +0000 (14:13 -0500)]
fix NameError

12 years agorenamed verify_users() to verify_slice_users()
Tony Mack [Fri, 3 Feb 2012 19:12:01 +0000 (14:12 -0500)]
renamed verify_users() to verify_slice_users()

12 years agoset config flags before instantiating nova service managers
Tony Mack [Fri, 3 Feb 2012 19:11:32 +0000 (14:11 -0500)]
set config flags before instantiating nova service managers

12 years agouse default aggregate manager. OpenstackDriver renamed to NovaDriver
Tony Mack [Fri, 3 Feb 2012 19:10:30 +0000 (14:10 -0500)]
use default aggregate manager. OpenstackDriver renamed to NovaDriver

12 years agorenamed class NovaDriver
Tony Mack [Fri, 3 Feb 2012 19:06:15 +0000 (14:06 -0500)]
renamed class NovaDriver

12 years agostart to deal with plc roles
Thierry Parmentelat [Fri, 3 Feb 2012 10:56:31 +0000 (11:56 +0100)]
start to deal with plc roles

12 years agothis sounds like a bug
Thierry Parmentelat [Fri, 3 Feb 2012 10:09:19 +0000 (11:09 +0100)]
this sounds like a bug

12 years agostore incoming keys when adding a user record
Thierry Parmentelat [Fri, 3 Feb 2012 08:46:51 +0000 (09:46 +0100)]
store incoming keys when adding a user record

12 years agobugfix, need some discipline on naming relationship columns to avoid
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

12 years agoMerge branch 'sqlalchemy' of ssh://git.onelab.eu/git/sfa into sqlalchemy
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

12 years agothe model can store keys and email - import keys and email from plcapi
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

12 years agoimplemented verify_slice, verify_users, verify_user_keys
Tony Mack [Thu, 2 Feb 2012 20:09:24 +0000 (15:09 -0500)]
implemented verify_slice, verify_users, verify_user_keys

12 years agoupdate nova shell refrences
Tony Mack [Thu, 2 Feb 2012 17:57:44 +0000 (12:57 -0500)]
update nova shell refrences

12 years agowe still need a refrence to the nova.db for managing keys
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

12 years agoupdated logging message
Tony Mack [Thu, 2 Feb 2012 17:40:39 +0000 (12:40 -0500)]
updated logging message

12 years ago- renaming OpenstackDriver to NovaDriver and OpenstackShell to NovaShell
Tony Mack [Thu, 2 Feb 2012 17:39:29 +0000 (12:39 -0500)]
- renaming OpenstackDriver to NovaDriver and OpenstackShell to NovaShell

12 years agorephrase openstack import messages
Thierry Parmentelat [Thu, 2 Feb 2012 14:38:54 +0000 (15:38 +0100)]
rephrase openstack import messages

12 years agorephrase import messages
Thierry Parmentelat [Thu, 2 Feb 2012 14:38:26 +0000 (15:38 +0100)]
rephrase import messages

12 years agodeclare some methods. will implement later
Tony Mack [Wed, 1 Feb 2012 22:13:23 +0000 (17:13 -0500)]
declare some methods. will implement later

12 years agocleanup
Tony Mack [Wed, 1 Feb 2012 22:12:51 +0000 (17:12 -0500)]
cleanup

12 years agowhitespace
Tony Mack [Wed, 1 Feb 2012 22:12:26 +0000 (17:12 -0500)]
whitespace

12 years agofix bug when raising PermissionError
Tony Mack [Wed, 1 Feb 2012 22:12:16 +0000 (17:12 -0500)]
fix bug when raising PermissionError

12 years agoMerge branch 'master' into sqlalchemy - solved totally harmless
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

12 years agofix bug in init
Tony Mack [Wed, 1 Feb 2012 02:56:50 +0000 (21:56 -0500)]
fix bug in init