sfa.git
14 years agofix typo
Tony Mack [Tue, 6 Apr 2010 19:28:54 +0000 (19:28 +0000)]
fix typo

14 years agofix bugs, typos
Tony Mack [Tue, 6 Apr 2010 19:08:39 +0000 (19:08 +0000)]
fix bugs, typos

14 years agoinstantiate with the correct # of parameters
Tony Mack [Tue, 6 Apr 2010 17:58:58 +0000 (17:58 +0000)]
instantiate with the correct # of parameters

14 years agoresolve circular import
Tony Mack [Tue, 6 Apr 2010 17:39:11 +0000 (17:39 +0000)]
resolve circular import

14 years agoRegistries/Aggregates now inherit sfa.server.interface.Interfaces base class
Tony Mack [Tue, 6 Apr 2010 16:55:18 +0000 (16:55 +0000)]
Registries/Aggregates now inherit sfa.server.interface.Interfaces base class

14 years agoinitial checkin
Tony Mack [Tue, 6 Apr 2010 16:54:44 +0000 (16:54 +0000)]
initial checkin

14 years agoget_trusted_certs is exposed by all interfaces (registry, aggregate and slicemgr)
Tony Mack [Tue, 6 Apr 2010 16:15:19 +0000 (16:15 +0000)]
get_trusted_certs is exposed by all interfaces (registry, aggregate and slicemgr)

14 years agomodpython stuff has removed
Tony Mack [Tue, 6 Apr 2010 15:35:36 +0000 (15:35 +0000)]
modpython stuff has removed

14 years agomoving modpython stuff here
Tony Mack [Tue, 6 Apr 2010 15:34:23 +0000 (15:34 +0000)]
moving modpython stuff here

14 years agointerfaces is a list of dicts, not a dict
Tony Mack [Tue, 6 Apr 2010 15:01:08 +0000 (15:01 +0000)]
interfaces is a list of dicts, not a dict

14 years agoattempt to retrieve peer gid within a try/except block
Tony Mack [Mon, 5 Apr 2010 22:41:54 +0000 (22:41 +0000)]
attempt to retrieve peer gid within a try/except block

14 years agomove process of loading trusted cert files into its own method
Tony Mack [Mon, 5 Apr 2010 20:57:07 +0000 (20:57 +0000)]
move process of loading trusted cert files into its own method

14 years agoallow this method to be called without a credential
Tony Mack [Mon, 5 Apr 2010 20:56:39 +0000 (20:56 +0000)]
allow this method to be called without a credential

14 years agotabs
Tony Mack [Mon, 5 Apr 2010 20:56:15 +0000 (20:56 +0000)]
tabs

14 years agosynchronize registry entries in config file (registries.xml) with local db records...
Tony Mack [Mon, 5 Apr 2010 20:55:57 +0000 (20:55 +0000)]
synchronize registry entries in config file (registries.xml) with local db records when the Regristries module is initialized. Also, attempt to retrive and install missing gids (i.e. registry listed in registries.xml but no gid for registry found in /etc/sfa/trusted_roots)

14 years agoremove unused line of code
Tony Mack [Mon, 5 Apr 2010 20:51:09 +0000 (20:51 +0000)]
remove unused line of code

14 years agostore connections to federated registries and aggregates in the api object
Tony Mack [Mon, 5 Apr 2010 20:46:50 +0000 (20:46 +0000)]
store connections to federated registries and aggregates in the api object

14 years agoin fill_record_pl_info() add the pi's at the slice's site to the slice record under...
Tony Mack [Wed, 31 Mar 2010 03:18:33 +0000 (03:18 +0000)]
in fill_record_pl_info() add the pi's at the slice's site to the slice record under the 'PI' field

14 years agoonly get/install gids for slices that dont already have gids installed
Tony Mack [Tue, 30 Mar 2010 20:46:41 +0000 (20:46 +0000)]
only get/install gids for slices that dont already have gids installed

14 years agowhitespace
Tony Mack [Mon, 29 Mar 2010 17:48:40 +0000 (17:48 +0000)]
whitespace

14 years agono longer need getPLCSHellVersion()
Tony Mack [Mon, 29 Mar 2010 17:45:37 +0000 (17:45 +0000)]
no longer need getPLCSHellVersion()

14 years agono need to PLCAPI.AuthCheck() here anymore
Tony Mack [Mon, 29 Mar 2010 17:37:32 +0000 (17:37 +0000)]
no need to PLCAPI.AuthCheck() here anymore

14 years agofix bugs in delegate command
Tony Mack [Mon, 29 Mar 2010 15:34:21 +0000 (15:34 +0000)]
fix bugs in delegate command

14 years agodont forget to pass self to class methods
Tony Mack [Fri, 26 Mar 2010 21:22:03 +0000 (21:22 +0000)]
dont forget to pass self to class methods

14 years agoreplace + symbolm in email address with _
Tony Mack [Fri, 26 Mar 2010 21:20:08 +0000 (21:20 +0000)]
replace + symbolm in email address with _

14 years agomake sure extra is a string
Tony Mack [Fri, 26 Mar 2010 18:37:38 +0000 (18:37 +0000)]
make sure extra is a string

14 years agopass --root to get it installed in RPM BUILDROOT
Barış Metin [Thu, 25 Mar 2010 15:15:20 +0000 (15:15 +0000)]
pass --root to get it installed in RPM BUILDROOT

14 years agofix: setup.py depends on files with relative paths.
Barış Metin [Thu, 25 Mar 2010 14:39:29 +0000 (14:39 +0000)]
fix: setup.py depends on files with relative paths.

OTOH, do we really need to provide the dependency with the package?

14 years agostatically check distroname to require python-uuid. still ugly but hope it'll work...
Barış Metin [Wed, 24 Mar 2010 14:03:52 +0000 (14:03 +0000)]
statically check distroname to require python-uuid. still ugly but hope it'll work for the tests.

14 years agoCreate a record for the slice if not found in the AM database
Andy Bavier [Thu, 11 Mar 2010 22:05:53 +0000 (22:05 +0000)]
Create a record for the slice if not found in the AM database

14 years agoRevert accidental checkin
Andy Bavier [Thu, 11 Mar 2010 20:01:21 +0000 (20:01 +0000)]
Revert accidental checkin

14 years agoFixed a bug that showed instances not associated with the slice
Andy Bavier [Thu, 11 Mar 2010 19:58:06 +0000 (19:58 +0000)]
Fixed a bug that showed instances not associated with the slice

14 years agodont limit queue size
Tony Mack [Sun, 7 Mar 2010 18:47:09 +0000 (18:47 +0000)]
dont limit queue size

14 years agoless to do
Tony Mack [Fri, 5 Mar 2010 21:38:45 +0000 (21:38 +0000)]
less to do

14 years agomake server an instance of sfa.util.server.ThreadedServer. peer_cert is now defined...
Tony Mack [Fri, 5 Mar 2010 21:37:10 +0000 (21:37 +0000)]
make server an instance of sfa.util.server.ThreadedServer. peer_cert is now defined in do_POST()

14 years agoreverting last commit (we can attempt to import plcapi source again. The problem...
Tony Mack [Fri, 5 Mar 2010 20:17:31 +0000 (20:17 +0000)]
reverting last commit (we can attempt to import plcapi source again. The problem that this was previously creating has been resolved by fixing sfa.util.table.SfaTable and sfa.util.PostgreSQL)

14 years agoremove unnecessary code
Tony Mack [Fri, 5 Mar 2010 20:08:07 +0000 (20:08 +0000)]
remove unnecessary code

14 years agodefine peer_cert in do_POST() not in verify_callback() (doing this in verify_callback...
Tony Mack [Fri, 5 Mar 2010 20:07:37 +0000 (20:07 +0000)]
define peer_cert in do_POST() not in verify_callback() (doing this in verify_callback isnt thread safe)

14 years agohandle any exception raised by PostgreSQL.cursor()
Tony Mack [Thu, 4 Mar 2010 16:45:49 +0000 (16:45 +0000)]
handle any exception raised by PostgreSQL.cursor()

14 years agobe a bit more discriptive about db error
Tony Mack [Wed, 3 Mar 2010 22:10:24 +0000 (22:10 +0000)]
be a bit more discriptive about db error

14 years agouse sfa.util.PostgreSLQ.quote() instead of reimplementing it here
Tony Mack [Wed, 3 Mar 2010 22:06:13 +0000 (22:06 +0000)]
use sfa.util.PostgreSLQ.quote() instead of reimplementing it here

14 years agouse sfa.util.PostgreSQL instead of pg.DB
Tony Mack [Wed, 3 Mar 2010 22:02:16 +0000 (22:02 +0000)]
use sfa.util.PostgreSQL instead of pg.DB

14 years agoFix bug where instances show up in generic RSpec
Andy Bavier [Fri, 26 Feb 2010 19:17:58 +0000 (19:17 +0000)]
Fix bug where instances show up in generic RSpec

14 years agodont import PLCAPI shell anymore, just connect via xmlrpc.
Tony Mack [Thu, 25 Feb 2010 15:56:27 +0000 (15:56 +0000)]
dont import PLCAPI shell anymore, just connect via xmlrpc.

14 years agomodified
Tony Mack [Wed, 24 Feb 2010 18:42:40 +0000 (18:42 +0000)]
modified

14 years agoenable __str__()
Tony Mack [Wed, 24 Feb 2010 17:46:54 +0000 (17:46 +0000)]
enable __str__()

14 years agoupdate
Anil-Kumar Vengalil [Wed, 24 Feb 2010 12:49:41 +0000 (12:49 +0000)]
update

14 years agoupdate
Anil-Kumar Vengalil [Wed, 24 Feb 2010 12:48:48 +0000 (12:48 +0000)]
update

14 years agoconvert record objects to python dicts
Tony Mack [Tue, 23 Feb 2010 23:23:23 +0000 (23:23 +0000)]
convert record objects to python dicts

14 years agoremove unnecessary comments
Tony Mack [Tue, 23 Feb 2010 22:49:36 +0000 (22:49 +0000)]
remove unnecessary comments

14 years agoremove unnecessary comments
Tony Mack [Tue, 23 Feb 2010 22:49:00 +0000 (22:49 +0000)]
remove unnecessary comments

14 years agoreturn/raise SfaAPIException with stacktrace if we fail to connect to PLCAPI
Tony Mack [Tue, 23 Feb 2010 20:05:29 +0000 (20:05 +0000)]
return/raise SfaAPIException with stacktrace if we fail to connect to PLCAPI

14 years agodont raise the xception, it is not a properly formated response
Tony Mack [Mon, 22 Feb 2010 21:29:25 +0000 (21:29 +0000)]
dont raise the xception, it is not a properly formated response

14 years agodont fully resolve the record (only need gid , not pl or sfa info
Tony Mack [Sun, 21 Feb 2010 23:59:06 +0000 (23:59 +0000)]
dont fully resolve the record (only need gid , not pl or sfa info

14 years agoadded argument 'full' to reolsve()
Tony Mack [Sun, 21 Feb 2010 23:58:12 +0000 (23:58 +0000)]
added argument 'full' to reolsve()

14 years agoskip records with no pointer (top level authorities)
Tony Mack [Sun, 21 Feb 2010 23:54:47 +0000 (23:54 +0000)]
skip records with no pointer (top level authorities)

14 years agoadded TODO
Tony Mack [Sun, 21 Feb 2010 16:20:31 +0000 (16:20 +0000)]
added TODO

14 years agoincreas numThreads to 25
Tony Mack [Sun, 21 Feb 2010 16:11:21 +0000 (16:11 +0000)]
increas numThreads to 25

14 years agodeleting
Tony Mack [Sun, 21 Feb 2010 15:34:30 +0000 (15:34 +0000)]
deleting

14 years agocomments
Tony Mack [Sun, 21 Feb 2010 15:32:49 +0000 (15:32 +0000)]
comments

14 years agowhitespace
Tony Mack [Sun, 21 Feb 2010 15:32:08 +0000 (15:32 +0000)]
whitespace

14 years agomodify fill_record_sfa_info() to to handle multiple records more efficiently
Tony Mack [Sun, 21 Feb 2010 15:30:08 +0000 (15:30 +0000)]
modify fill_record_sfa_info() to to handle multiple records more efficiently

14 years agofix name error
Tony Mack [Sun, 21 Feb 2010 04:24:34 +0000 (04:24 +0000)]
fix name error

14 years agotabs
Tony Mack [Sun, 21 Feb 2010 04:19:34 +0000 (04:19 +0000)]
tabs

14 years agoremove debugging output
Tony Mack [Sun, 21 Feb 2010 04:18:40 +0000 (04:18 +0000)]
remove debugging output

14 years agomodify fill_record_pl_info() to handle multiple records more efficiently
Tony Mack [Sun, 21 Feb 2010 04:17:56 +0000 (04:17 +0000)]
modify fill_record_pl_info() to handle multiple records more efficiently

14 years agoserver also inherits ThreadPoolMixIn
Tony Mack [Sat, 20 Feb 2010 03:16:24 +0000 (03:16 +0000)]
server also inherits ThreadPoolMixIn

14 years agopython 2.5 or greater required for with statements
Tony Mack [Fri, 19 Feb 2010 21:58:55 +0000 (21:58 +0000)]
python 2.5 or greater required for with statements

14 years agoTweaks to examples
Andy Bavier [Thu, 18 Feb 2010 19:25:48 +0000 (19:25 +0000)]
Tweaks to examples

14 years agoTweaks to examples
Andy Bavier [Thu, 18 Feb 2010 19:24:49 +0000 (19:24 +0000)]
Tweaks to examples

14 years agoChange the type of all RSPecs to 'SFA'
Andy Bavier [Thu, 18 Feb 2010 19:17:26 +0000 (19:17 +0000)]
Change the type of all RSPecs to 'SFA'

14 years agoIgnore parts of the RSpec that are not for us
Andy Bavier [Thu, 18 Feb 2010 19:06:49 +0000 (19:06 +0000)]
Ignore parts of the RSpec that are not for us

14 years agoTweaks to request element
Andy Bavier [Thu, 18 Feb 2010 18:42:32 +0000 (18:42 +0000)]
Tweaks to request element

14 years agoTweaks to request element
Andy Bavier [Thu, 18 Feb 2010 18:39:36 +0000 (18:39 +0000)]
Tweaks to request element

14 years agoTerminate instances that the user has removed from the RSpec
Andy Bavier [Wed, 17 Feb 2010 15:26:02 +0000 (15:26 +0000)]
Terminate instances that the user has removed from the RSpec

14 years agoreverting root ssh key path. Although using the default MyPLC root key may work for...
Tony Mack [Tue, 16 Feb 2010 23:59:59 +0000 (23:59 +0000)]
reverting root ssh key path. Although using the default MyPLC root key may work for us, it may not work for everyone

14 years agomake sure server key (node's private key) exists before starting the server
Tony Mack [Tue, 16 Feb 2010 23:46:16 +0000 (23:46 +0000)]
make sure server key (node's private key) exists before starting the server

14 years agouse api.logger instead of debug.log
Tony Mack [Tue, 16 Feb 2010 23:29:12 +0000 (23:29 +0000)]
use api.logger instead of debug.log

14 years agoHandle result from NM correctly
Tony Mack [Tue, 16 Feb 2010 23:21:57 +0000 (23:21 +0000)]
Handle result from NM correctly

14 years agosfa-server.py should be owned by sfa not sfa-plc
Tony Mack [Tue, 16 Feb 2010 22:35:23 +0000 (22:35 +0000)]
sfa-server.py should be owned by sfa not sfa-plc

14 years agosfa_cm now sfa-cm. Fix python-uuid requires
Tony Mack [Tue, 16 Feb 2010 22:21:53 +0000 (22:21 +0000)]
sfa_cm now sfa-cm. Fix python-uuid requires

14 years agorenamed initscript from sfa_cm to sfa-cm
Tony Mack [Tue, 16 Feb 2010 21:57:58 +0000 (21:57 +0000)]
renamed initscript from sfa_cm to sfa-cm

14 years agorenaming
Tony Mack [Tue, 16 Feb 2010 21:56:35 +0000 (21:56 +0000)]
renaming

14 years agoTweak name in network element
Andy Bavier [Tue, 16 Feb 2010 19:01:41 +0000 (19:01 +0000)]
Tweak name in network element

14 years ago(no commit message)
Andy Bavier [Tue, 16 Feb 2010 19:00:58 +0000 (19:00 +0000)]

14 years agoxmlbuilder depends on lxml
Tony Mack [Tue, 16 Feb 2010 18:28:54 +0000 (18:28 +0000)]
xmlbuilder depends on lxml

14 years ago(no commit message)
Andy Bavier [Tue, 16 Feb 2010 18:26:50 +0000 (18:26 +0000)]

14 years agoValidate RSpec against schema
Andy Bavier [Tue, 16 Feb 2010 18:23:49 +0000 (18:23 +0000)]
Validate RSpec against schema

14 years ago(no commit message)
Andy Bavier [Tue, 16 Feb 2010 17:59:37 +0000 (17:59 +0000)]

14 years agoModified create_slice() and get_rspec() to work with the new RSpec format
Andy Bavier [Tue, 16 Feb 2010 17:43:27 +0000 (17:43 +0000)]
Modified create_slice() and get_rspec() to work with the new RSpec format

14 years agoinstall xmlbuilder
Tony Mack [Tue, 16 Feb 2010 17:43:10 +0000 (17:43 +0000)]
install xmlbuilder

14 years agoadding xmlbuilder
Tony Mack [Tue, 16 Feb 2010 17:38:40 +0000 (17:38 +0000)]
adding xmlbuilder

14 years agosfa_component_setup.py belongs to sfa-cm package
Tony Mack [Mon, 15 Feb 2010 20:57:19 +0000 (20:57 +0000)]
sfa_component_setup.py belongs to sfa-cm package

14 years agoupdated
Tony Mack [Mon, 15 Feb 2010 20:46:47 +0000 (20:46 +0000)]
updated

14 years agoReturn information about instances bound to a slice
Andy Bavier [Fri, 12 Feb 2010 16:23:26 +0000 (16:23 +0000)]
Return information about instances bound to a slice

14 years agoMinor tweaks
Andy Bavier [Thu, 11 Feb 2010 21:17:56 +0000 (21:17 +0000)]
Minor tweaks

14 years agobug-fix
Anil-Kumar Vengalil [Wed, 10 Feb 2010 18:16:39 +0000 (18:16 +0000)]
bug-fix

14 years agoAdded free_egre_key()
Andy Bavier [Wed, 10 Feb 2010 18:01:49 +0000 (18:01 +0000)]
Added free_egre_key()

14 years ago(no commit message)
Andy Bavier [Wed, 10 Feb 2010 17:52:34 +0000 (17:52 +0000)]

14 years agoSpecify role_id on update_tag
Andy Bavier [Wed, 10 Feb 2010 17:42:02 +0000 (17:42 +0000)]
Specify role_id on update_tag