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

15 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

15 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

15 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

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

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

16 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

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

16 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

16 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 _

16 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

16 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

16 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?

16 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.

16 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

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

16 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

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

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

16 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()

16 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)

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

16 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)

16 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()

16 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

16 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

16 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

16 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

16 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.

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

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

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

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

16 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

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

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

16 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

16 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

16 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

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

16 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)

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

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

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

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

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

16 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

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

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

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

16 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

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

16 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

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

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

16 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'

16 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

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

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

16 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

16 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

16 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

16 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

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

16 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

16 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

16 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

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

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

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

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

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

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

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

16 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

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

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

16 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

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

16 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

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

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

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

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

16 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

16 years agoproper fault string to user whose account is disabled, but attempts to extract user...
Anil-Kumar Vengalil [Wed, 10 Feb 2010 16:49:27 +0000 (16:49 +0000)]
proper fault string to user whose account is disabled, but attempts to extract user credentials from the registry

16 years agodo not allow a user to extract the credential, if his account on PlanetLab is disabled
Anil-Kumar Vengalil [Wed, 10 Feb 2010 16:45:08 +0000 (16:45 +0000)]
do not allow a user to extract the credential, if his account on PlanetLab is disabled

16 years agoBug fix
Andy Bavier [Tue, 9 Feb 2010 22:26:13 +0000 (22:26 +0000)]
Bug fix

16 years agoBug fix
Andy Bavier [Tue, 9 Feb 2010 22:21:27 +0000 (22:21 +0000)]
Bug fix

16 years agoCleanup slice tag handling
Andy Bavier [Tue, 9 Feb 2010 22:05:56 +0000 (22:05 +0000)]
Cleanup slice tag handling

16 years agoAdd role_id check when changing slice tags
Andy Bavier [Tue, 9 Feb 2010 20:43:17 +0000 (20:43 +0000)]
Add role_id check when changing slice tags

16 years ago(no commit message)
Andy Bavier [Tue, 9 Feb 2010 16:32:41 +0000 (16:32 +0000)]

16 years agoNew RSpec format
Andy Bavier [Tue, 9 Feb 2010 16:27:03 +0000 (16:27 +0000)]
New RSpec format

16 years ago(no commit message)
Andy Bavier [Tue, 9 Feb 2010 16:23:11 +0000 (16:23 +0000)]

16 years agoUpdated VINI RSpec
Andy Bavier [Tue, 9 Feb 2010 15:55:21 +0000 (15:55 +0000)]
Updated VINI RSpec

16 years agoAdd slice hrn to context
Andy Bavier [Tue, 9 Feb 2010 15:40:57 +0000 (15:40 +0000)]
Add slice hrn to context

16 years agoModify slice tag handling
Andy Bavier [Tue, 9 Feb 2010 15:30:24 +0000 (15:30 +0000)]
Modify slice tag handling

16 years agoTurn off debugging stmt
Andy Bavier [Mon, 8 Feb 2010 22:09:27 +0000 (22:09 +0000)]
Turn off debugging stmt

16 years agoMinor fix
Andy Bavier [Mon, 8 Feb 2010 22:07:26 +0000 (22:07 +0000)]
Minor fix

16 years agoMinor fixes
Andy Bavier [Mon, 8 Feb 2010 21:52:43 +0000 (21:52 +0000)]
Minor fixes