sfa.git
13 years agomerging with geni-api branch
Tony Mack [Wed, 2 Jun 2010 20:42:30 +0000 (20:42 +0000)]
merging with geni-api branch

13 years agoBug fixes
Andy Bavier [Fri, 14 May 2010 19:41:04 +0000 (19:41 +0000)]
Bug fixes

13 years agoSome helper commands for working with RSpecs
Andy Bavier [Fri, 14 May 2010 19:10:28 +0000 (19:10 +0000)]
Some helper commands for working with RSpecs

13 years agoSome helper commands for working with RSpecs
Andy Bavier [Fri, 14 May 2010 19:10:06 +0000 (19:10 +0000)]
Some helper commands for working with RSpecs

14 years agointerfaces is a dict, not a list anymore
Tony Mack [Tue, 11 May 2010 19:12:49 +0000 (19:12 +0000)]
interfaces is a dict, not a list anymore

14 years agofix bug when creating top level records for sub authorities
Tony Mack [Tue, 11 May 2010 18:27:51 +0000 (18:27 +0000)]
fix bug when creating top level records for sub authorities

14 years agodo not interfaces defined in registries.xml aggregates.xml if required fields arent...
Tony Mack [Tue, 11 May 2010 17:00:28 +0000 (17:00 +0000)]
do not interfaces defined in registries.xml aggregates.xml if required fields arent defined or null

14 years agouse authority instead of sa, ma when defining authority type
Tony Mack [Mon, 10 May 2010 22:40:49 +0000 (22:40 +0000)]
use authority instead of sa, ma when defining authority type

14 years agodont remove root or sub authorities
Tony Mack [Mon, 10 May 2010 22:35:25 +0000 (22:35 +0000)]
dont remove root or sub authorities

14 years agoreverting last checkin
Tony Mack [Mon, 10 May 2010 22:23:40 +0000 (22:23 +0000)]
reverting last checkin

14 years ago== should be !=
Tony Mack [Mon, 10 May 2010 22:19:00 +0000 (22:19 +0000)]
== should be !=

14 years agofix bug in remove
Tony Mack [Mon, 10 May 2010 20:55:03 +0000 (20:55 +0000)]
fix bug in remove

14 years agorefactored
Tony Mack [Fri, 7 May 2010 22:54:57 +0000 (22:54 +0000)]
refactored

14 years agoadded sfa/server/sfa-ca.py to bins list
Tony Mack [Fri, 7 May 2010 21:29:12 +0000 (21:29 +0000)]
added sfa/server/sfa-ca.py to bins list

14 years agomessage should get logged and reset at every iteration of the loop
Tony Mack [Fri, 7 May 2010 21:27:47 +0000 (21:27 +0000)]
message should get logged and reset at every iteration of the loop

14 years agoremove debugging output
Tony Mack [Fri, 7 May 2010 21:20:45 +0000 (21:20 +0000)]
remove debugging output

14 years agofix bugs in trusted credential syncing
Tony Mack [Fri, 7 May 2010 20:59:22 +0000 (20:59 +0000)]
fix bugs in trusted credential syncing

14 years agoadded python-setuptools to Required Packages
Tony Mack [Fri, 7 May 2010 19:28:57 +0000 (19:28 +0000)]
added python-setuptools to Required Packages

14 years ago fix syntax error
Tony Mack [Fri, 7 May 2010 19:21:54 +0000 (19:21 +0000)]
 fix syntax error

14 years agoFixed to work with new RSpec format
Andy Bavier [Fri, 7 May 2010 15:19:45 +0000 (15:19 +0000)]
Fixed to work with new RSpec format

14 years agofix typo
Barış Metin [Fri, 7 May 2010 13:04:55 +0000 (13:04 +0000)]
fix typo

14 years agoremove all refrences to level1_auth
Tony Mack [Fri, 7 May 2010 00:49:28 +0000 (00:49 +0000)]
remove all refrences to level1_auth

14 years agoin set_issuer(), get replace get_issuer() with get_subject()
Tony Mack [Thu, 6 May 2010 23:11:35 +0000 (23:11 +0000)]
in set_issuer(), get replace get_issuer() with get_subject()

14 years agoimplement verbose output, fix name errors
Tony Mack [Thu, 6 May 2010 16:22:04 +0000 (16:22 +0000)]
implement verbose output, fix name errors

14 years agoimplement verbose output, fix name errors
Tony Mack [Thu, 6 May 2010 16:16:28 +0000 (16:16 +0000)]
implement verbose output, fix name errors

14 years agodont save the gid in sign_gid()
Tony Mack [Thu, 6 May 2010 14:59:37 +0000 (14:59 +0000)]
dont save the gid in sign_gid()

14 years agofix typos
Tony Mack [Thu, 6 May 2010 14:57:07 +0000 (14:57 +0000)]
fix typos

14 years agore-sign necessary gids after importing
Tony Mack [Thu, 6 May 2010 11:19:27 +0000 (11:19 +0000)]
re-sign necessary gids after importing

14 years agoimplement import
Tony Mack [Tue, 4 May 2010 21:59:58 +0000 (21:59 +0000)]
implement import

14 years agokey should be keys
Tony Mack [Tue, 4 May 2010 21:01:12 +0000 (21:01 +0000)]
key should be keys

14 years agoimplement export command
Tony Mack [Tue, 4 May 2010 20:53:40 +0000 (20:53 +0000)]
implement export command

14 years agopass dump_parents to the parents dump() call
Tony Mack [Tue, 4 May 2010 20:50:59 +0000 (20:50 +0000)]
pass dump_parents to the parents dump() call

14 years agodont forget to sign the gid
Tony Mack [Tue, 4 May 2010 19:31:59 +0000 (19:31 +0000)]
dont forget to sign the gid

14 years agoinitial checkin of tool used manage (display, sign, import, export) registry gids
Tony Mack [Tue, 4 May 2010 16:52:04 +0000 (16:52 +0000)]
initial checkin of tool used manage (display, sign, import, export) registry gids

14 years agofix bug where persons that belong to more than one site could get a credential at...
Tony Mack [Tue, 4 May 2010 01:39:51 +0000 (01:39 +0000)]
fix bug where persons that belong to more than one site could get a credential at only one of thier sites

14 years agoadd --debug option to see xml-rpc dialog.
Barış Metin [Mon, 3 May 2010 11:18:49 +0000 (11:18 +0000)]
add --debug option to see xml-rpc dialog.

14 years agoxmlprotocol.get_server doesn't accept the fourth (protocol) argument.
Barış Metin [Mon, 3 May 2010 11:18:31 +0000 (11:18 +0000)]
xmlprotocol.get_server doesn't accept the fourth (protocol) argument.

14 years agobug fix: here commit should be outside the if test
Anil-Kumar Vengalil [Thu, 29 Apr 2010 12:29:28 +0000 (12:29 +0000)]
bug fix: here commit should be outside the if test

14 years agothe code was failing here as the path and finemane for the cache file is not set
Anil-Kumar Vengalil [Thu, 29 Apr 2010 11:24:00 +0000 (11:24 +0000)]
the code was failing here as the path and finemane for the cache file is not set

14 years agomake sure the trusted cert's hrn is a prefix of the signed cert's hrn
Tony Mack [Thu, 29 Apr 2010 02:29:49 +0000 (02:29 +0000)]
make sure the trusted cert's hrn is a prefix of the signed cert's hrn

14 years agono longer used
Tony Mack [Mon, 26 Apr 2010 22:21:49 +0000 (22:21 +0000)]
no longer used

14 years agoUsing sfa.util.cache to cache result of get_resources
Tony Mack [Mon, 26 Apr 2010 22:21:06 +0000 (22:21 +0000)]
Using sfa.util.cache to cache result of get_resources

14 years agono longer use sfa.util.storage.SimpleStorage for caching list of instantiated slices...
Tony Mack [Mon, 26 Apr 2010 21:40:57 +0000 (21:40 +0000)]
no longer use sfa.util.storage.SimpleStorage for caching list of instantiated slices. Using sfa.util.cache instead

14 years agomove docstring to beginning of method
Tony Mack [Mon, 26 Apr 2010 20:27:15 +0000 (20:27 +0000)]
move docstring to beginning of method

14 years agofix NameError. Dont forget to commit transactions
Tony Mack [Thu, 22 Apr 2010 22:35:47 +0000 (22:35 +0000)]
fix NameError. Dont forget to commit transactions

14 years agorevert last change
Tony Mack [Wed, 21 Apr 2010 20:29:11 +0000 (20:29 +0000)]
revert last change

14 years agoreturn only the rspec for the slice
Tony Mack [Wed, 21 Apr 2010 01:20:41 +0000 (01:20 +0000)]
return only the rspec for the slice

14 years agofix KeyError
Tony Mack [Wed, 21 Apr 2010 00:48:20 +0000 (00:48 +0000)]
fix KeyError

14 years agofix name error
Tony Mack [Tue, 20 Apr 2010 18:04:44 +0000 (18:04 +0000)]
fix name error

14 years agocheck the specified hrn against the target hrn in the credential
Tony Mack [Mon, 19 Apr 2010 21:10:45 +0000 (21:10 +0000)]
check the specified hrn against the target hrn in the credential

14 years agocheck the specified hrn against the target hrn
Tony Mack [Mon, 19 Apr 2010 20:49:27 +0000 (20:49 +0000)]
check the specified hrn against the target hrn

14 years agoadded 'peer_id' attribute to slice object
Tony Mack [Wed, 14 Apr 2010 11:30:46 +0000 (11:30 +0000)]
added 'peer_id' attribute to slice object

14 years agodont forget to commit the transaction in remove() and create()
Tony Mack [Mon, 12 Apr 2010 21:50:11 +0000 (21:50 +0000)]
dont forget to commit the transaction in remove() and create()

14 years agofixed a bug when checking for invalid records
Tony Mack [Mon, 12 Apr 2010 18:36:04 +0000 (18:36 +0000)]
fixed a bug when checking for invalid records

14 years agoupdated to reflect new tag
Tony Mack [Thu, 8 Apr 2010 16:47:17 +0000 (16:47 +0000)]
updated to reflect new tag

14 years agoinstall pl rspec schema (pl.rng) in /etc/sfa. Add variable to default config file...
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

14 years agocontiue the loop if a federated call fails
Tony Mack [Wed, 7 Apr 2010 18:50:25 +0000 (18:50 +0000)]
contiue the loop if a federated call fails

14 years agofix NameError
Tony Mack [Tue, 6 Apr 2010 21:39:59 +0000 (21:39 +0000)]
fix NameError

14 years agoconnectAggregatges() renamed to get_connections
Tony Mack [Tue, 6 Apr 2010 21:39:07 +0000 (21:39 +0000)]
connectAggregatges() renamed to get_connections

14 years agodont attempt to sync interface info every time the interfaces class is instantiated...
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

14 years agoRegistries/Aggregates are accessed through api object now
Tony Mack [Tue, 6 Apr 2010 20:51:08 +0000 (20:51 +0000)]
Registries/Aggregates are accessed through api object now

14 years agoRegistries/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

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)