Tony Mack [Tue, 20 Apr 2010 18:04:44 +0000 (18:04 +0000)]
fix name error
Tony Mack [Mon, 19 Apr 2010 21:10:45 +0000 (21:10 +0000)]
check the specified hrn against the target hrn in the credential
Tony Mack [Mon, 19 Apr 2010 20:49:27 +0000 (20:49 +0000)]
check the specified hrn against the target hrn
Tony Mack [Wed, 14 Apr 2010 11:30:46 +0000 (11:30 +0000)]
added 'peer_id' attribute to slice object
Tony Mack [Mon, 12 Apr 2010 21:50:11 +0000 (21:50 +0000)]
dont forget to commit the transaction in remove() and create()
Tony Mack [Mon, 12 Apr 2010 18:36:04 +0000 (18:36 +0000)]
fixed a bug when checking for invalid records
Tony Mack [Thu, 8 Apr 2010 16:47:17 +0000 (16:47 +0000)]
updated to reflect new tag
Tony Mack [Wed, 7 Apr 2010 20:32:52 +0000 (20:32 +0000)]
install pl rspec schema (pl.rng) in /etc/sfa. Add variable to default config file (default_config.xml) that defines where this file lives
Tony Mack [Wed, 7 Apr 2010 18:50:25 +0000 (18:50 +0000)]
contiue the loop if a federated call fails
Tony Mack [Tue, 6 Apr 2010 21:39:59 +0000 (21:39 +0000)]
fix NameError
Tony Mack [Tue, 6 Apr 2010 21:39:07 +0000 (21:39 +0000)]
connectAggregatges() renamed to get_connections
Tony Mack [Tue, 6 Apr 2010 21:17:53 +0000 (21:17 +0000)]
dont attempt to sync interface info every time the interfaces class is instantiated. Move this into its own function and call once when the services are started
Tony Mack [Tue, 6 Apr 2010 20:51:08 +0000 (20:51 +0000)]
Registries/Aggregates are accessed through api object now
Tony Mack [Tue, 6 Apr 2010 20:50:13 +0000 (20:50 +0000)]
Registries/Aggregates are accessed through api object now
Tony Mack [Tue, 6 Apr 2010 19:28:54 +0000 (19:28 +0000)]
fix typo
Tony Mack [Tue, 6 Apr 2010 19:08:39 +0000 (19:08 +0000)]
fix bugs, typos
Tony Mack [Tue, 6 Apr 2010 17:58:58 +0000 (17:58 +0000)]
instantiate with the correct # of parameters
Tony Mack [Tue, 6 Apr 2010 17:39:11 +0000 (17:39 +0000)]
resolve circular import
Tony Mack [Tue, 6 Apr 2010 16:55:18 +0000 (16:55 +0000)]
Registries/Aggregates now inherit sfa.server.interface.Interfaces base class
Tony Mack [Tue, 6 Apr 2010 16:54:44 +0000 (16:54 +0000)]
initial checkin
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)
Tony Mack [Tue, 6 Apr 2010 15:35:36 +0000 (15:35 +0000)]
modpython stuff has removed
Tony Mack [Tue, 6 Apr 2010 15:34:23 +0000 (15:34 +0000)]
moving modpython stuff here
Tony Mack [Tue, 6 Apr 2010 15:01:08 +0000 (15:01 +0000)]
interfaces is a list of dicts, not a dict
Tony Mack [Mon, 5 Apr 2010 22:41:54 +0000 (22:41 +0000)]
attempt to retrieve peer gid within a try/except block
Tony Mack [Mon, 5 Apr 2010 20:57:07 +0000 (20:57 +0000)]
move process of loading trusted cert files into its own method
Tony Mack [Mon, 5 Apr 2010 20:56:39 +0000 (20:56 +0000)]
allow this method to be called without a credential
Tony Mack [Mon, 5 Apr 2010 20:56:15 +0000 (20:56 +0000)]
tabs
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)
Tony Mack [Mon, 5 Apr 2010 20:51:09 +0000 (20:51 +0000)]
remove unused line of code
Tony Mack [Mon, 5 Apr 2010 20:46:50 +0000 (20:46 +0000)]
store connections to federated registries and aggregates in the api object
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
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
Tony Mack [Mon, 29 Mar 2010 17:48:40 +0000 (17:48 +0000)]
whitespace
Tony Mack [Mon, 29 Mar 2010 17:45:37 +0000 (17:45 +0000)]
no longer need getPLCSHellVersion()
Tony Mack [Mon, 29 Mar 2010 17:37:32 +0000 (17:37 +0000)]
no need to PLCAPI.AuthCheck() here anymore
Tony Mack [Mon, 29 Mar 2010 15:34:21 +0000 (15:34 +0000)]
fix bugs in delegate command
Tony Mack [Fri, 26 Mar 2010 21:22:03 +0000 (21:22 +0000)]
dont forget to pass self to class methods
Tony Mack [Fri, 26 Mar 2010 21:20:08 +0000 (21:20 +0000)]
replace + symbolm in email address with _
Tony Mack [Fri, 26 Mar 2010 18:37:38 +0000 (18:37 +0000)]
make sure extra is a string
Barış Metin [Thu, 25 Mar 2010 15:15:20 +0000 (15:15 +0000)]
pass --root to get it installed in RPM BUILDROOT
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?
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.
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
Andy Bavier [Thu, 11 Mar 2010 20:01:21 +0000 (20:01 +0000)]
Revert accidental checkin
Andy Bavier [Thu, 11 Mar 2010 19:58:06 +0000 (19:58 +0000)]
Fixed a bug that showed instances not associated with the slice
Tony Mack [Sun, 7 Mar 2010 18:47:09 +0000 (18:47 +0000)]
dont limit queue size
Tony Mack [Fri, 5 Mar 2010 21:38:45 +0000 (21:38 +0000)]
less to do
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()
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)
Tony Mack [Fri, 5 Mar 2010 20:08:07 +0000 (20:08 +0000)]
remove unnecessary code
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)
Tony Mack [Thu, 4 Mar 2010 16:45:49 +0000 (16:45 +0000)]
handle any exception raised by PostgreSQL.cursor()
Tony Mack [Wed, 3 Mar 2010 22:10:24 +0000 (22:10 +0000)]
be a bit more discriptive about db error
Tony Mack [Wed, 3 Mar 2010 22:06:13 +0000 (22:06 +0000)]
use sfa.util.PostgreSLQ.quote() instead of reimplementing it here
Tony Mack [Wed, 3 Mar 2010 22:02:16 +0000 (22:02 +0000)]
use sfa.util.PostgreSQL instead of pg.DB
Andy Bavier [Fri, 26 Feb 2010 19:17:58 +0000 (19:17 +0000)]
Fix bug where instances show up in generic RSpec
Tony Mack [Thu, 25 Feb 2010 15:56:27 +0000 (15:56 +0000)]
dont import PLCAPI shell anymore, just connect via xmlrpc.
Tony Mack [Wed, 24 Feb 2010 18:42:40 +0000 (18:42 +0000)]
modified
Tony Mack [Wed, 24 Feb 2010 17:46:54 +0000 (17:46 +0000)]
enable __str__()
Anil-Kumar Vengalil [Wed, 24 Feb 2010 12:49:41 +0000 (12:49 +0000)]
update
Anil-Kumar Vengalil [Wed, 24 Feb 2010 12:48:48 +0000 (12:48 +0000)]
update
Tony Mack [Tue, 23 Feb 2010 23:23:23 +0000 (23:23 +0000)]
convert record objects to python dicts
Tony Mack [Tue, 23 Feb 2010 22:49:36 +0000 (22:49 +0000)]
remove unnecessary comments
Tony Mack [Tue, 23 Feb 2010 22:49:00 +0000 (22:49 +0000)]
remove unnecessary comments
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
Tony Mack [Mon, 22 Feb 2010 21:29:25 +0000 (21:29 +0000)]
dont raise the xception, it is not a properly formated response
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
Tony Mack [Sun, 21 Feb 2010 23:58:12 +0000 (23:58 +0000)]
added argument 'full' to reolsve()
Tony Mack [Sun, 21 Feb 2010 23:54:47 +0000 (23:54 +0000)]
skip records with no pointer (top level authorities)
Tony Mack [Sun, 21 Feb 2010 16:20:31 +0000 (16:20 +0000)]
added TODO
Tony Mack [Sun, 21 Feb 2010 16:11:21 +0000 (16:11 +0000)]
increas numThreads to 25
Tony Mack [Sun, 21 Feb 2010 15:34:30 +0000 (15:34 +0000)]
deleting
Tony Mack [Sun, 21 Feb 2010 15:32:49 +0000 (15:32 +0000)]
comments
Tony Mack [Sun, 21 Feb 2010 15:32:08 +0000 (15:32 +0000)]
whitespace
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
Tony Mack [Sun, 21 Feb 2010 04:24:34 +0000 (04:24 +0000)]
fix name error
Tony Mack [Sun, 21 Feb 2010 04:19:34 +0000 (04:19 +0000)]
tabs
Tony Mack [Sun, 21 Feb 2010 04:18:40 +0000 (04:18 +0000)]
remove debugging output
Tony Mack [Sun, 21 Feb 2010 04:17:56 +0000 (04:17 +0000)]
modify fill_record_pl_info() to handle multiple records more efficiently
Tony Mack [Sat, 20 Feb 2010 03:16:24 +0000 (03:16 +0000)]
server also inherits ThreadPoolMixIn
Tony Mack [Fri, 19 Feb 2010 21:58:55 +0000 (21:58 +0000)]
python 2.5 or greater required for with statements
Andy Bavier [Thu, 18 Feb 2010 19:25:48 +0000 (19:25 +0000)]
Tweaks to examples
Andy Bavier [Thu, 18 Feb 2010 19:24:49 +0000 (19:24 +0000)]
Tweaks to examples
Andy Bavier [Thu, 18 Feb 2010 19:17:26 +0000 (19:17 +0000)]
Change the type of all RSPecs to 'SFA'
Andy Bavier [Thu, 18 Feb 2010 19:06:49 +0000 (19:06 +0000)]
Ignore parts of the RSpec that are not for us
Andy Bavier [Thu, 18 Feb 2010 18:42:32 +0000 (18:42 +0000)]
Tweaks to request element
Andy Bavier [Thu, 18 Feb 2010 18:39:36 +0000 (18:39 +0000)]
Tweaks to request element
Andy Bavier [Wed, 17 Feb 2010 15:26:02 +0000 (15:26 +0000)]
Terminate instances that the user has removed from the RSpec
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
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
Tony Mack [Tue, 16 Feb 2010 23:29:12 +0000 (23:29 +0000)]
use api.logger instead of debug.log
Tony Mack [Tue, 16 Feb 2010 23:21:57 +0000 (23:21 +0000)]
Handle result from NM correctly
Tony Mack [Tue, 16 Feb 2010 22:35:23 +0000 (22:35 +0000)]
sfa-server.py should be owned by sfa not sfa-plc
Tony Mack [Tue, 16 Feb 2010 22:21:53 +0000 (22:21 +0000)]
sfa_cm now sfa-cm. Fix python-uuid requires
Tony Mack [Tue, 16 Feb 2010 21:57:58 +0000 (21:57 +0000)]
renamed initscript from sfa_cm to sfa-cm
Tony Mack [Tue, 16 Feb 2010 21:56:35 +0000 (21:56 +0000)]
renaming
Andy Bavier [Tue, 16 Feb 2010 19:01:41 +0000 (19:01 +0000)]
Tweak name in network element
Andy Bavier [Tue, 16 Feb 2010 19:00:58 +0000 (19:00 +0000)]
Tony Mack [Tue, 16 Feb 2010 18:28:54 +0000 (18:28 +0000)]
xmlbuilder depends on lxml