sfa.git
12 years agomerge master again (2.0-10 changelog only)
Thierry Parmentelat [Fri, 27 Jan 2012 10:36:57 +0000 (11:36 +0100)]
merge master again (2.0-10 changelog only)

12 years agobump to 2.1, upgrades tested, fix minor bugs and doc
Thierry Parmentelat [Fri, 27 Jan 2012 10:26:57 +0000 (11:26 +0100)]
bump to 2.1, upgrades tested, fix minor bugs and doc

12 years agoshould be able to upgrade from any version
Thierry Parmentelat [Thu, 26 Jan 2012 18:39:54 +0000 (19:39 +0100)]
should be able to upgrade from any version

12 years agorenamed persistentobjs into model
Thierry Parmentelat [Thu, 26 Jan 2012 14:39:21 +0000 (15:39 +0100)]
renamed persistentobjs into model

12 years agocosmetic
Thierry Parmentelat [Thu, 26 Jan 2012 14:35:51 +0000 (15:35 +0100)]
cosmetic

12 years agotrash old db code
Thierry Parmentelat [Thu, 26 Jan 2012 14:33:45 +0000 (15:33 +0100)]
trash old db code

12 years agogetting closer to a working packaging
Thierry Parmentelat [Wed, 25 Jan 2012 20:17:12 +0000 (21:17 +0100)]
getting closer to a working packaging

12 years agoagain
Thierry Parmentelat [Wed, 25 Jan 2012 20:14:12 +0000 (21:14 +0100)]
again

12 years agoagain
Thierry Parmentelat [Wed, 25 Jan 2012 20:11:02 +0000 (21:11 +0100)]
again

12 years agotentatively fix packaging
Thierry Parmentelat [Wed, 25 Jan 2012 20:09:27 +0000 (21:09 +0100)]
tentatively fix packaging

12 years agoadd a file in migrations/versions for the packaging
Thierry Parmentelat [Wed, 25 Jan 2012 20:04:02 +0000 (21:04 +0100)]
add a file in migrations/versions for the packaging

12 years agoadd support for migrations with sqlalchemy-migrate
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)

12 years agocosmetic before-migrate
Thierry Parmentelat [Wed, 25 Jan 2012 16:40:44 +0000 (17:40 +0100)]
cosmetic

12 years agoSetting tag sfa-2.0-10 sfa-2.0-10
Tony Mack [Wed, 25 Jan 2012 13:59:07 +0000 (08:59 -0500)]
Setting tag sfa-2.0-10

12 years agosuggest to user __repr__
Thierry Parmentelat [Tue, 24 Jan 2012 14:14:06 +0000 (15:14 +0100)]
suggest to user __repr__

12 years agoreviewed openstack importer
Thierry Parmentelat [Tue, 24 Jan 2012 13:38:51 +0000 (14:38 +0100)]
reviewed openstack importer

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

12 years agoInitial checkin
Tony Mack [Mon, 23 Jan 2012 17:42:24 +0000 (12:42 -0500)]
Initial checkin

12 years agoreviewed openstack driver - was fine except for a spurrious import of sfatables
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

12 years agomerged sqlalchemy into registry for openstack; turns out to be
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...

12 years agomore tweaks in the make sync* targets
Thierry Parmentelat [Mon, 23 Jan 2012 15:44:37 +0000 (16:44 +0100)]
more tweaks in the make sync* targets

12 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Sat, 21 Jan 2012 01:00:57 +0000 (20:00 -0500)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

12 years agofix NameError
Tony Mack [Sat, 21 Jan 2012 01:00:43 +0000 (20:00 -0500)]
fix NameError

12 years agoadd another column in RegRecord, separate from 'type' to act as a discriminator
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

12 years agofix wrong import that triggers on site without sfatables installed
Thierry Parmentelat [Fri, 20 Jan 2012 14:37:07 +0000 (15:37 +0100)]
fix wrong import that triggers on site without sfatables installed

12 years agominor cleanup in the use of Rec*
Thierry Parmentelat [Fri, 20 Jan 2012 11:04:03 +0000 (12:04 +0100)]
minor cleanup in the use of Rec*

12 years agorename the authority+* types as non temporary
Thierry Parmentelat [Fri, 20 Jan 2012 09:38:36 +0000 (10:38 +0100)]
rename the authority+* types as non temporary

12 years agocosmetic
Thierry Parmentelat [Fri, 20 Jan 2012 09:37:00 +0000 (10:37 +0100)]
cosmetic

12 years agosymbols starting with __ are reserved
Thierry Parmentelat [Fri, 20 Jan 2012 09:36:24 +0000 (10:36 +0100)]
symbols starting with __ are reserved

12 years agoMinor bug fix
Andrew Bavier [Thu, 19 Jan 2012 20:00:09 +0000 (15:00 -0500)]
Minor bug fix

12 years agomissing import for RecordNotFound
Thierry Parmentelat [Thu, 19 Jan 2012 18:42:42 +0000 (19:42 +0100)]
missing import for RecordNotFound

12 years agoturn creation of records authority+* back on, needed when issuing credentials
Thierry Parmentelat [Thu, 19 Jan 2012 18:42:16 +0000 (19:42 +0100)]
turn creation of records authority+* back on, needed when issuing credentials

12 years agouse inheritance to model the various kinds of RegRecords
Thierry Parmentelat [Thu, 19 Jan 2012 17:34:49 +0000 (18:34 +0100)]
use inheritance to model the various kinds of RegRecords

12 years agomore modulra make sync* targets
Thierry Parmentelat [Thu, 19 Jan 2012 17:34:01 +0000 (18:34 +0100)]
more modulra make sync* targets

12 years agouse session.delete(x) rather than del x
Thierry Parmentelat [Thu, 19 Jan 2012 17:33:42 +0000 (18:33 +0100)]
use session.delete(x) rather than del x

12 years agotypo
Thierry Parmentelat [Thu, 19 Jan 2012 17:29:05 +0000 (18:29 +0100)]
typo

12 years agogetting closer - far from perfect but tests should pass after-alchemy-1
Thierry Parmentelat [Thu, 19 Jan 2012 09:59:33 +0000 (10:59 +0100)]
getting closer - far from perfect but tests should pass

12 years agoadd dependency to sqlalchemy-migrate (rpm python-migrate)
Thierry Parmentelat [Thu, 19 Jan 2012 09:14:27 +0000 (10:14 +0100)]
add dependency to sqlalchemy-migrate (rpm python-migrate)

12 years agoadded -R --raw command line option that allows client to specify whether to display...
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

12 years agovarious tweaks around using records; the client-side is still broken
Thierry Parmentelat [Wed, 18 Jan 2012 12:09:10 +0000 (13:09 +0100)]
various tweaks around using records; the client-side is still broken

12 years agomake persistentobjs loadable from the client-side
Thierry Parmentelat [Wed, 18 Jan 2012 10:59:43 +0000 (11:59 +0100)]
make persistentobjs loadable from the client-side

12 years agoaddressing some of the remaining occurrences of SfaRecord
Thierry Parmentelat [Wed, 18 Jan 2012 09:52:58 +0000 (10:52 +0100)]
addressing some of the remaining occurrences of SfaRecord

12 years agoremove redundant implementation
Tony Mack [Wed, 18 Jan 2012 02:10:25 +0000 (21:10 -0500)]
remove redundant implementation

12 years agonot necessary
Tony Mack [Wed, 18 Jan 2012 02:09:52 +0000 (21:09 -0500)]
not necessary

12 years agoget correct path to server key and cert
Tony Mack [Wed, 18 Jan 2012 02:00:05 +0000 (21:00 -0500)]
get correct path to server key and cert

12 years agofix bug in install_peer_certs
Tony Mack [Wed, 18 Jan 2012 01:56:19 +0000 (20:56 -0500)]
fix bug in install_peer_certs

12 years agosql schema is managed under sqlalchemy, no need for the .sql file anymore
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

12 years agofilter.py is no longer used
Thierry Parmentelat [Tue, 17 Jan 2012 17:10:38 +0000 (18:10 +0100)]
filter.py is no longer used

12 years agonon-relevant hit for SfaTable
Thierry Parmentelat [Tue, 17 Jan 2012 15:51:13 +0000 (16:51 +0100)]
non-relevant hit for SfaTable

12 years agofewer uses of SfaTable
Thierry Parmentelat [Tue, 17 Jan 2012 15:48:31 +0000 (16:48 +0100)]
fewer uses of SfaTable

12 years agofix creation and update times
Thierry Parmentelat [Tue, 17 Jan 2012 14:03:38 +0000 (15:03 +0100)]
fix creation and update times

12 years agocan update and delete using sqlalchemy
Thierry Parmentelat [Tue, 17 Jan 2012 14:02:57 +0000 (15:02 +0100)]
can update and delete using sqlalchemy

12 years agocheckpoint commit - import, register, create_slice all work fine
Thierry Parmentelat [Tue, 17 Jan 2012 11:59:01 +0000 (12:59 +0100)]
checkpoint commit - import, register, create_slice all work fine
update & delete ahve not moved to sqlalchemy yet

12 years agoreplace PostgreSQL with alchemy
Thierry Parmentelat [Fri, 13 Jan 2012 11:55:17 +0000 (12:55 +0100)]
replace PostgreSQL with alchemy

12 years agoadd sqlalchemy dependency
Thierry Parmentelat [Fri, 13 Jan 2012 11:53:58 +0000 (12:53 +0100)]
add sqlalchemy dependency

12 years agocosmetic
Thierry Parmentelat [Fri, 13 Jan 2012 11:53:13 +0000 (12:53 +0100)]
cosmetic

12 years agoreinstate 'sfa' and 'geni_api' keys in GetVersion for the registry before-alchemy sfa-2.1-0
Thierry Parmentelat [Thu, 12 Jan 2012 17:14:11 +0000 (18:14 +0100)]
reinstate 'sfa' and 'geni_api' keys in GetVersion for the registry

12 years agointerpret return values
Thierry Parmentelat [Thu, 12 Jan 2012 16:34:50 +0000 (17:34 +0100)]
interpret return values
better messages with unexisting hostnames
better performance with unexisting hostnames

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Thu, 12 Jan 2012 00:03:03 +0000 (01:03 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

12 years agobump DEFAULT_CREDENTIAL_LIFETIME to 31 days, to make renew work
smbaker [Wed, 11 Jan 2012 00:05:41 +0000 (16:05 -0800)]
bump DEFAULT_CREDENTIAL_LIFETIME to 31 days, to make renew work

12 years agoadd optional minimum expiration to getCredential, better handling of returns in slice...
smbaker [Tue, 10 Jan 2012 23:52:56 +0000 (15:52 -0800)]
add optional minimum expiration to getCredential, better handling of returns in slicemanager renew

12 years agoRegistry supports the OpenStack backend
Tony Mack [Tue, 10 Jan 2012 19:04:46 +0000 (14:04 -0500)]
Registry supports the OpenStack backend

12 years agosupport openstack database access to pg_hba.conf
Tony Mack [Tue, 10 Jan 2012 18:10:08 +0000 (13:10 -0500)]
support openstack database access to pg_hba.conf

12 years agofix bugs
Tony Mack [Tue, 10 Jan 2012 17:56:53 +0000 (12:56 -0500)]
fix bugs

12 years agofix bug in delete
Tony Mack [Tue, 10 Jan 2012 17:39:33 +0000 (12:39 -0500)]
fix bug in delete

12 years agoforce geni_rspec_version for protogeni aggregate
smbaker [Tue, 10 Jan 2012 03:20:34 +0000 (19:20 -0800)]
force geni_rspec_version for protogeni aggregate

12 years agouse sfa.openstack.openstack_shell to interact with openstack back end
Tony Mack [Tue, 10 Jan 2012 00:53:42 +0000 (19:53 -0500)]
use sfa.openstack.openstack_shell to interact with openstack back end

12 years agoadded sfa/openstack directory
Tony Mack [Tue, 10 Jan 2012 00:51:18 +0000 (19:51 -0500)]
added sfa/openstack directory

12 years agodont forget __init__.py
Tony Mack [Tue, 10 Jan 2012 00:37:32 +0000 (19:37 -0500)]
dont forget __init__.py

12 years agoInitial checkin of openstack shell
Tony Mack [Tue, 10 Jan 2012 00:35:47 +0000 (19:35 -0500)]
Initial checkin of openstack shell

12 years agominor cleanup
Thierry Parmentelat [Mon, 9 Jan 2012 17:59:28 +0000 (18:59 +0100)]
minor cleanup

12 years agocan now import and use sfa.server.sfaapi withough having to worry about registry...
Tony Mack [Mon, 9 Jan 2012 17:22:53 +0000 (12:22 -0500)]
can now import and use sfa.server.sfaapi withough having to worry about registry dependencies

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Mon, 9 Jan 2012 08:35:12 +0000 (09:35 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

12 years agoSetting tag sfa-2.0-9 sfa-2.0-9
Tony Mack [Sat, 7 Jan 2012 16:53:54 +0000 (11:53 -0500)]
Setting tag sfa-2.0-9

12 years agofix type error
Tony Mack [Sat, 7 Jan 2012 15:42:31 +0000 (10:42 -0500)]
fix type error

12 years agouse PlXrn to parse the login base (authority) out of a urn
Tony Mack [Sat, 7 Jan 2012 01:17:12 +0000 (20:17 -0500)]
use PlXrn to parse the login base (authority) out of a urn

12 years ago<login> element should have it's 'username' attribute set to the sliver's plc slice...
Tony Mack [Sat, 7 Jan 2012 01:16:11 +0000 (20:16 -0500)]
<login> element should have it's 'username' attribute set to the sliver's plc slice name

12 years agofix bug that prevented planetlab initscripts from showing up in the sliver_type eleme...
Tony Mack [Sat, 7 Jan 2012 00:40:39 +0000 (19:40 -0500)]
fix bug that prevented planetlab initscripts from showing up in the sliver_type element for PGv2 and GENIv3 rspecs

12 years agofix bug in verify_slice
Tony Mack [Fri, 6 Jan 2012 21:52:30 +0000 (16:52 -0500)]
fix bug in verify_slice

12 years agoextra whitespace in the 'schemaLocation' field shouldn't prevent us from identifying...
Tony Mack [Fri, 6 Jan 2012 21:20:12 +0000 (16:20 -0500)]
extra whitespace in the 'schemaLocation' field shouldn't prevent us from identifying the schema

12 years agomake sure datetime_to_epoch() returns ints
Tony Mack [Fri, 6 Jan 2012 19:10:21 +0000 (14:10 -0500)]
make sure datetime_to_epoch() returns ints

12 years agofix name error
Tony Mack [Fri, 6 Jan 2012 19:05:37 +0000 (14:05 -0500)]
fix name error

12 years agotry casting strings to ints before parsing
Tony Mack [Fri, 6 Jan 2012 18:31:57 +0000 (13:31 -0500)]
try casting strings to ints before parsing

12 years agoSFA_SM_{PORT,HOST} should be SFA_AGGREGATE_{PORT,HOST}
Tony Mack [Fri, 6 Jan 2012 17:03:05 +0000 (12:03 -0500)]
SFA_SM_{PORT,HOST} should be SFA_AGGREGATE_{PORT,HOST}

12 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Fri, 6 Jan 2012 16:57:26 +0000 (11:57 -0500)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

12 years ago'geni_api' should be in the top level struct, not the code struct
Tony Mack [Fri, 6 Jan 2012 16:50:14 +0000 (11:50 -0500)]
'geni_api' should be in the top level struct, not the code struct

12 years agominor cleanup
Thierry Parmentelat [Fri, 6 Jan 2012 12:03:55 +0000 (13:03 +0100)]
minor cleanup

12 years agomigrations need to kick in
Thierry Parmentelat [Fri, 6 Jan 2012 10:17:42 +0000 (11:17 +0100)]
migrations need to kick in

12 years agomigrations for storing ssh keys - checkpoint
Thierry Parmentelat [Fri, 6 Jan 2012 10:15:48 +0000 (11:15 +0100)]
migrations for storing ssh keys - checkpoint

12 years agobugfix
Thierry Parmentelat [Fri, 6 Jan 2012 10:13:43 +0000 (11:13 +0100)]
bugfix

12 years agofirst draft of an added support for migrations in the db schema
Thierry Parmentelat [Thu, 5 Jan 2012 11:37:09 +0000 (12:37 +0100)]
first draft of an added support for migrations in the db schema

12 years agohopefully clearer message when client can't bootstrap
Thierry Parmentelat [Thu, 5 Jan 2012 11:36:35 +0000 (12:36 +0100)]
hopefully clearer message when client can't bootstrap

12 years agotypo
Thierry Parmentelat [Thu, 5 Jan 2012 11:34:23 +0000 (12:34 +0100)]
typo

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Thu, 5 Jan 2012 07:46:58 +0000 (08:46 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

12 years agoSetting tag sfa-2.0-8 sfa-2.0-8
Tony Mack [Wed, 4 Jan 2012 21:22:29 +0000 (16:22 -0500)]
Setting tag sfa-2.0-8

12 years agosfaImport no longer has verbose option
Tony Mack [Wed, 4 Jan 2012 19:54:50 +0000 (14:54 -0500)]
sfaImport no longer has verbose option

12 years agoset the 'authority' field when importing sites
Tony Mack [Wed, 4 Jan 2012 19:20:27 +0000 (14:20 -0500)]
set the 'authority' field when importing sites

12 years agofix bug in summary_string()
Tony Mack [Wed, 4 Jan 2012 19:19:02 +0000 (14:19 -0500)]
fix bug in summary_string()

12 years agohandle failed imports gracefully.
Tony Mack [Wed, 4 Jan 2012 18:46:08 +0000 (13:46 -0500)]
handle failed imports gracefully.

12 years agoconvert_public_key() should raise an exception instead for returning None
Tony Mack [Wed, 4 Jan 2012 18:16:08 +0000 (13:16 -0500)]
convert_public_key() should raise an exception instead for returning None