sfa.git
12 years agoMerge branch 'master' into senslab2
Nicolas Turro [Fri, 25 Nov 2011 09:43:36 +0000 (10:43 +0100)]
Merge branch 'master' into senslab2

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 agoModified files to get an Rspec from OAR.
Sandrine Avakian [Mon, 21 Nov 2011 13:52:38 +0000 (14:52 +0100)]
Modified files to get an Rspec from OAR.
Returns list of nodes from OAR.

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 agoWe get back to the original slice manager. NT
Nicolas Turro [Fri, 18 Nov 2011 16:54:40 +0000 (17:54 +0100)]
We get back to the original slice manager. NT

12 years agoFunctions must be capitalized now. NT.
Nicolas Turro [Fri, 18 Nov 2011 16:41:07 +0000 (17:41 +0100)]
Functions must be capitalized now. NT.

12 years agoMerge branch 'senslab2' of ssh://git.f-lab.fr/git/sfa into senslab2
Nicolas Turro [Fri, 18 Nov 2011 16:39:08 +0000 (17:39 +0100)]
Merge branch 'senslab2' of ssh://git.f-lab.fr/git/sfa into senslab2

12 years agoMerge branch 'master' into senslab2
Nicolas Turro [Fri, 18 Nov 2011 16:38:34 +0000 (17:38 +0100)]
Merge branch 'master' into senslab2

Conflicts:
sfa/util/xml.py

12 years agoCorrected bug at for record creation (slice manager) in slab-import.
Sandrine Avakian [Fri, 18 Nov 2011 16:33:13 +0000 (17:33 +0100)]
Corrected bug at for record creation (slice manager) in slab-import.
First modifications to use the slabdriver in OARrspec.py .
sfa/generic/slab.py : SliceManager class .

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 agoModified slab import script to create authorities only if it doesn't exist.
Sandrine Avakian [Fri, 18 Nov 2011 09:57:32 +0000 (10:57 +0100)]
Modified slab import script to create authorities only if it doesn't exist.
+Clean up.

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

12 years agoSetting tag sfa-1.1-4 sfa-1.1-4
Thierry Parmentelat [Fri, 18 Nov 2011 09:49:06 +0000 (10:49 +0100)]
Setting tag sfa-1.1-4
fixed links and attributes in rspecs
minor cleanup in the API methods, and more consistent names in manager methods

12 years agoRemoved SA special ssh key in slab import script (ssh key copied from senslab VM...
Sandrine Avakian [Fri, 18 Nov 2011 09:35:48 +0000 (10:35 +0100)]
Removed SA special ssh key in slab import script (ssh key copied from senslab VM ok).

12 years agoCorrected bug in function call fill_record_info in registry.
Sandrine Avakian [Fri, 18 Nov 2011 09:24:26 +0000 (10:24 +0100)]
Corrected bug in function call fill_record_info in registry.
Added interface records creation in slab-import.
TODO : Remove special SA ssh key in slab-import.

12 years agoMerge branches 'master' and 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Fri, 18 Nov 2011 08:55:44 +0000 (09:55 +0100)]
Merge branches 'master' and 'master' of ssh://git.onelab.eu/git/sfa

12 years agofix rspec links
Tony Mack [Fri, 18 Nov 2011 00:34:26 +0000 (19:34 -0500)]
fix rspec links

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Thu, 17 Nov 2011 19:22:09 +0000 (20:22 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

12 years agofix slice/sliver attributes methods
Tony Mack [Thu, 17 Nov 2011 19:17:22 +0000 (14:17 -0500)]
fix slice/sliver attributes methods

12 years agobugfixes with manager.Resolve vs manager.resolve
Thierry Parmentelat [Thu, 17 Nov 2011 17:30:17 +0000 (18:30 +0100)]
bugfixes with manager.Resolve vs manager.resolve

12 years agofix bug in add_service()
Tony Mack [Thu, 17 Nov 2011 17:08:27 +0000 (12:08 -0500)]
fix bug in add_service()

12 years agooops need to update __init__ for methods
Thierry Parmentelat [Thu, 17 Nov 2011 16:16:05 +0000 (17:16 +0100)]
oops need to update __init__ for methods

12 years agocleaning unneeded registry methods {register,remove}_peer_object (and camlcase)
Thierry Parmentelat [Thu, 17 Nov 2011 16:11:41 +0000 (17:11 +0100)]
cleaning unneeded registry methods {register,remove}_peer_object (and camlcase)
and get_{aggregates,registries}

12 years agooops that was meant to be part of previous commit too
Thierry Parmentelat [Thu, 17 Nov 2011 15:20:58 +0000 (16:20 +0100)]
oops that was meant to be part of previous commit too

12 years agocomment on the existence of XmlElement
Thierry Parmentelat [Thu, 17 Nov 2011 15:20:32 +0000 (16:20 +0100)]
comment on the existence of XmlElement
implement __getattr__ so etree.Element methods and fields are
available to XmlElement for free

12 years agomore consistency between API method names and corresponding manager implementation
Thierry Parmentelat [Thu, 17 Nov 2011 12:21:52 +0000 (13:21 +0100)]
more consistency between API method names and corresponding manager implementation

12 years agocleanup obsolete code in plc/network.py
Thierry Parmentelat [Thu, 17 Nov 2011 10:51:26 +0000 (11:51 +0100)]
cleanup obsolete code in plc/network.py

12 years agoMerge branch 'upstreammaster'
Thierry Parmentelat [Thu, 17 Nov 2011 10:32:17 +0000 (11:32 +0100)]
Merge branch 'upstreammaster'

12 years agoSetting tag sfa-1.1-3 sfa-1.1-3
Thierry Parmentelat [Thu, 17 Nov 2011 10:30:46 +0000 (11:30 +0100)]
Setting tag sfa-1.1-3
ongoing refoactoring towards more genericity
passes tests again although known issues remain with attributes/tags

12 years agofix bugs
Tony Mack [Thu, 17 Nov 2011 04:24:23 +0000 (23:24 -0500)]
fix bugs

12 years agoreplaced Element.get_elements() with XmlNode.get_instance(). replaced Element.add_ele...
Tony Mack [Thu, 17 Nov 2011 02:56:32 +0000 (21:56 -0500)]
replaced Element.get_elements() with XmlNode.get_instance(). replaced Element.add_elements() with XmlNodde.add_instance()

12 years agofix get_nodes_with_slivers()
Tony Mack [Wed, 16 Nov 2011 18:08:18 +0000 (13:08 -0500)]
fix get_nodes_with_slivers()

12 years agoRemoved fill_record_info
Sandrine Avakian [Wed, 16 Nov 2011 16:08:13 +0000 (17:08 +0100)]
Removed fill_record_info

12 years agogid creation code change, again. NT.
Nicolas Turro [Wed, 16 Nov 2011 15:08:54 +0000 (16:08 +0100)]
gid creation code change, again. NT.

12 years agoMerge branch 'senslab2' of ssh://git.f-lab.fr/git/sfa into senslab2
Sandrine Avakian [Wed, 16 Nov 2011 14:44:58 +0000 (15:44 +0100)]
Merge branch 'senslab2' of ssh://git.f-lab.fr/git/sfa into senslab2

12 years agoAdded creation time for slices,nodes and users
Sandrine Avakian [Wed, 16 Nov 2011 14:44:49 +0000 (15:44 +0100)]
Added creation time for slices,nodes and users

12 years agoGid creation code moved. NT.
Nicolas Turro [Wed, 16 Nov 2011 14:39:08 +0000 (15:39 +0100)]
Gid creation code moved. NT.

12 years agoWe use the regular table.py now. NT.
Nicolas Turro [Wed, 16 Nov 2011 14:23:25 +0000 (15:23 +0100)]
We use the regular table.py now. NT.

12 years agoMerge branch 'senslab2' of ssh://git.f-lab.fr/git/sfa into senslab2
Nicolas Turro [Wed, 16 Nov 2011 14:12:17 +0000 (15:12 +0100)]
Merge branch 'senslab2' of ssh://git.f-lab.fr/git/sfa into senslab2

12 years agoMerge with master xml.py. NT
Nicolas Turro [Wed, 16 Nov 2011 14:11:20 +0000 (15:11 +0100)]
Merge with master xml.py. NT

12 years agofix typo
Tony Mack [Wed, 16 Nov 2011 13:58:14 +0000 (08:58 -0500)]
fix typo

12 years agoMerge branch 'upstreammaster'
Thierry Parmentelat [Wed, 16 Nov 2011 13:44:14 +0000 (14:44 +0100)]
Merge branch 'upstreammaster'

12 years agoCleaned up in import_slice. Added import_person that was previously removed.
Sandrine Avakian [Wed, 16 Nov 2011 13:38:18 +0000 (14:38 +0100)]
Cleaned up in import_slice. Added import_person that was previously removed.

12 years agoFixed gid bug problem in import_slice
Sandrine Avakian [Wed, 16 Nov 2011 13:23:43 +0000 (14:23 +0100)]
Fixed gid bug problem in import_slice

12 years agoSimplification of slice import. NT.
Nicolas Turro [Wed, 16 Nov 2011 13:04:43 +0000 (14:04 +0100)]
Simplification of slice import. NT.

12 years agoAdded import slices based on the user name.
Sandrine Avakian [Wed, 16 Nov 2011 10:30:12 +0000 (11:30 +0100)]
Added import slices based on the user name.

12 years agobugfixes
Tony Mack [Wed, 16 Nov 2011 03:26:43 +0000 (22:26 -0500)]
bugfixes

12 years agoadded append() and iterchildern() to XML class
Tony Mack [Tue, 15 Nov 2011 03:36:10 +0000 (22:36 -0500)]
added append() and iterchildern() to XML class

12 years agocleanup
Tony Mack [Tue, 15 Nov 2011 03:35:39 +0000 (22:35 -0500)]
cleanup

12 years agofix merge
Tony Mack [Tue, 15 Nov 2011 03:35:16 +0000 (22:35 -0500)]
fix merge

12 years agoadded add_sliver_attributes method
Tony Mack [Tue, 15 Nov 2011 03:34:39 +0000 (22:34 -0500)]
added add_sliver_attributes method

12 years agofix add_slivers
Tony Mack [Tue, 15 Nov 2011 03:34:05 +0000 (22:34 -0500)]
fix add_slivers

12 years agoimport xrn_to_hostname
Tony Mack [Tue, 15 Nov 2011 03:32:53 +0000 (22:32 -0500)]
import xrn_to_hostname

12 years agohasattr() second arg must be a string
Tony Mack [Tue, 15 Nov 2011 03:29:27 +0000 (22:29 -0500)]
hasattr() second arg must be a string

12 years agofix bug in add_stats
Tony Mack [Tue, 15 Nov 2011 03:28:34 +0000 (22:28 -0500)]
fix bug in add_stats

12 years agoadded getparent()
Tony Mack [Tue, 15 Nov 2011 02:57:23 +0000 (21:57 -0500)]
added getparent()

12 years agofix add_slivers
Tony Mack [Tue, 15 Nov 2011 02:57:09 +0000 (21:57 -0500)]
fix add_slivers

12 years agofix add_slivers
Tony Mack [Tue, 15 Nov 2011 02:55:22 +0000 (21:55 -0500)]
fix add_slivers

12 years agoCleaning up end for the slab-import script.
Sandrine Avakian [Tue, 15 Nov 2011 16:02:10 +0000 (17:02 +0100)]
Cleaning up end for the slab-import script.

12 years ago............
Sandrine Avakian [Tue, 15 Nov 2011 16:00:09 +0000 (17:00 +0100)]
............

12 years ago2nd attempt ...
Sandrine Avakian [Tue, 15 Nov 2011 15:58:34 +0000 (16:58 +0100)]
2nd attempt ...

12 years agoAdded prints upon insertion/deletion of an element into the sfa db.
Sandrine Avakian [Tue, 15 Nov 2011 15:54:42 +0000 (16:54 +0100)]
Added prints upon insertion/deletion of an element into the sfa db.

12 years agowith a slow connection, make fastsync does only the python code
Thierry Parmentelat [Tue, 15 Nov 2011 15:40:14 +0000 (16:40 +0100)]
with a slow connection, make fastsync does only the python code

12 years agovarious fixes - passes tests in sfav1 mode
Thierry Parmentelat [Tue, 15 Nov 2011 15:39:49 +0000 (16:39 +0100)]
various fixes - passes tests in sfav1 mode

12 years agoFixed problem inserting ldap user into sfa table.
Sandrine Avakian [Tue, 15 Nov 2011 15:32:16 +0000 (16:32 +0100)]
Fixed problem inserting ldap user into sfa table.