sfa.git
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 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 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 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 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 agofix typo
Tony Mack [Wed, 16 Nov 2011 13:58:14 +0000 (08:58 -0500)]
fix typo

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 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 agocosmetic
Thierry Parmentelat [Tue, 15 Nov 2011 13:40:47 +0000 (14:40 +0100)]
cosmetic

12 years agorenamed rspec_version into baseversion after the defined class
Thierry Parmentelat [Tue, 15 Nov 2011 13:40:33 +0000 (14:40 +0100)]
renamed rspec_version into baseversion after the defined class

12 years agobugfix
Thierry Parmentelat [Tue, 15 Nov 2011 11:26:35 +0000 (12:26 +0100)]
bugfix

12 years agoless spam
Thierry Parmentelat [Tue, 15 Nov 2011 10:51:57 +0000 (11:51 +0100)]
less spam

12 years agocomment out wrong fragment
Thierry Parmentelat [Tue, 15 Nov 2011 09:57:15 +0000 (10:57 +0100)]
comment out wrong fragment

12 years agouse logger in helper commands
Thierry Parmentelat [Tue, 15 Nov 2011 09:55:19 +0000 (10:55 +0100)]
use logger in helper commands

12 years agofix AttributeError
Tony Mack [Mon, 14 Nov 2011 22:07:47 +0000 (17:07 -0500)]
fix AttributeError

12 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Mon, 14 Nov 2011 21:20:05 +0000 (16:20 -0500)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

12 years agoassume links between all nodes at linked sites
Tony Mack [Mon, 14 Nov 2011 21:13:48 +0000 (16:13 -0500)]
assume links between all nodes at linked sites

12 years agosolve conflict in sfa/plc/aggregate.py
Thierry Parmentelat [Mon, 14 Nov 2011 20:33:26 +0000 (21:33 +0100)]
solve conflict in sfa/plc/aggregate.py

12 years agobugfix
Thierry Parmentelat [Mon, 14 Nov 2011 08:21:44 +0000 (09:21 +0100)]
bugfix

12 years agobugfix
Thierry Parmentelat [Mon, 14 Nov 2011 08:14:06 +0000 (09:14 +0100)]
bugfix

12 years agoremoved unneeded import
Thierry Parmentelat [Mon, 14 Nov 2011 08:00:52 +0000 (09:00 +0100)]
removed unneeded import

12 years agouse api.manager
Thierry Parmentelat [Mon, 14 Nov 2011 08:00:36 +0000 (09:00 +0100)]
use api.manager

12 years agoregistry manager is a class as well
Thierry Parmentelat [Mon, 14 Nov 2011 08:00:18 +0000 (09:00 +0100)]
registry manager is a class as well

12 years agocheck if bwlimit is None
Tony Mack [Fri, 11 Nov 2011 13:35:08 +0000 (08:35 -0500)]
check if bwlimit is None

12 years agofix errors
Tony Mack [Fri, 11 Nov 2011 06:23:15 +0000 (01:23 -0500)]
fix errors

12 years agofix bug
Tony Mack [Fri, 11 Nov 2011 06:14:26 +0000 (01:14 -0500)]
fix bug

12 years agoremoving
Tony Mack [Fri, 11 Nov 2011 06:09:14 +0000 (01:09 -0500)]
removing

12 years agoremoving
Tony Mack [Fri, 11 Nov 2011 06:06:28 +0000 (01:06 -0500)]
removing

12 years agofix typos
Tony Mack [Fri, 11 Nov 2011 05:11:35 +0000 (00:11 -0500)]
fix typos

12 years agofix get_nodes_with_slivers()
Tony Mack [Fri, 11 Nov 2011 05:10:44 +0000 (00:10 -0500)]
fix get_nodes_with_slivers()

12 years agonodes are Node objects
Tony Mack [Fri, 11 Nov 2011 05:10:05 +0000 (00:10 -0500)]
nodes are Node objects

12 years agonodes are Node objects
Tony Mack [Fri, 11 Nov 2011 04:55:55 +0000 (23:55 -0500)]
nodes are Node objects

12 years agorename arg 'name' to 'tagname'
Tony Mack [Fri, 11 Nov 2011 04:39:52 +0000 (23:39 -0500)]
rename arg 'name' to 'tagname'

12 years agofix stats
Tony Mack [Fri, 11 Nov 2011 04:39:14 +0000 (23:39 -0500)]
fix stats

12 years agoElement.add() has been renamed to Element.add_elements
Tony Mack [Fri, 11 Nov 2011 04:11:11 +0000 (23:11 -0500)]
Element.add() has been renamed to Element.add_elements

12 years agoElement.add() and Element.get() were renamed
Tony Mack [Fri, 11 Nov 2011 04:10:37 +0000 (23:10 -0500)]
Element.add() and Element.get() were renamed

12 years agofix call to get_nodes()
Tony Mack [Fri, 11 Nov 2011 04:10:00 +0000 (23:10 -0500)]
fix call to get_nodes()

12 years agofix component_name, hostname
Tony Mack [Fri, 11 Nov 2011 03:52:36 +0000 (22:52 -0500)]
fix component_name, hostname

12 years agohrn_to_urn() requries 2 arguments
Tony Mack [Fri, 11 Nov 2011 03:46:50 +0000 (22:46 -0500)]
hrn_to_urn() requries 2 arguments

12 years agofix merge
Tony Mack [Fri, 11 Nov 2011 03:43:22 +0000 (22:43 -0500)]
fix merge

12 years agoadded append()
Tony Mack [Fri, 11 Nov 2011 02:48:07 +0000 (21:48 -0500)]
added append()

12 years agofix get_networks() and merge()
Tony Mack [Fri, 11 Nov 2011 02:47:39 +0000 (21:47 -0500)]
fix get_networks() and merge()

12 years agoskip null objects
Tony Mack [Fri, 11 Nov 2011 02:37:08 +0000 (21:37 -0500)]
skip null objects

12 years agoonly add location if longitude and latitude are not null
Tony Mack [Fri, 11 Nov 2011 02:36:45 +0000 (21:36 -0500)]
only add location if longitude and latitude are not null

12 years agofix toxml()
Tony Mack [Fri, 11 Nov 2011 02:30:35 +0000 (21:30 -0500)]
fix toxml()

12 years agofix XML.add_element
Tony Mack [Fri, 11 Nov 2011 02:27:48 +0000 (21:27 -0500)]
fix XML.add_element

12 years agorenamed 'name' to 'tagname'
Tony Mack [Fri, 11 Nov 2011 02:27:28 +0000 (21:27 -0500)]
renamed 'name' to 'tagname'

12 years agorenamed 'name' to 'tagname'
Tony Mack [Fri, 11 Nov 2011 02:27:03 +0000 (21:27 -0500)]
renamed 'name' to 'tagname'