sfa.git
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

14 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

14 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

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

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

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

14 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

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

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

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

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

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

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

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

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

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

14 years agoUnify PL and VINI RSpec handling
Andy Bavier [Mon, 8 Feb 2010 21:51:13 +0000 (21:51 +0000)]
Unify PL and VINI RSpec handling

14 years agoRestore kbps for virtual links
Andy Bavier [Mon, 8 Feb 2010 21:49:30 +0000 (21:49 +0000)]
Restore kbps for virtual links

14 years agoUnify with new PL RSpec format
Andy Bavier [Mon, 8 Feb 2010 21:37:10 +0000 (21:37 +0000)]
Unify with new PL RSpec format

14 years ago(no commit message)
Andy Bavier [Mon, 8 Feb 2010 21:20:15 +0000 (21:20 +0000)]

14 years agoCleanup
Andy Bavier [Mon, 8 Feb 2010 21:15:06 +0000 (21:15 +0000)]
Cleanup

14 years agoCombine PlanetLab and VINI RSpec handling code
Andy Bavier [Mon, 8 Feb 2010 20:57:33 +0000 (20:57 +0000)]
Combine PlanetLab and VINI RSpec handling code

14 years agoCleanup
Andy Bavier [Mon, 8 Feb 2010 20:43:08 +0000 (20:43 +0000)]
Cleanup

14 years agoadded sfa_component_setup.py
Tony Mack [Mon, 8 Feb 2010 19:34:20 +0000 (19:34 +0000)]
added sfa_component_setup.py

14 years agoRewrite to use new RSpec format, helper functions
Andy Bavier [Mon, 8 Feb 2010 19:01:06 +0000 (19:01 +0000)]
Rewrite to use new RSpec format, helper functions

14 years agoRemove debugging safeguards
Andy Bavier [Mon, 8 Feb 2010 19:00:10 +0000 (19:00 +0000)]
Remove debugging safeguards

14 years agoIgnore unknown nodes in the RSpec
Andy Bavier [Mon, 8 Feb 2010 18:49:24 +0000 (18:49 +0000)]
Ignore unknown nodes in the RSpec

14 years agoAdd path so that we can directly import PLCAPI
Andy Bavier [Mon, 8 Feb 2010 18:06:01 +0000 (18:06 +0000)]
Add path so that we can directly import PLCAPI

14 years agoDon't advertise peer nodes in the RSpec
Andy Bavier [Mon, 8 Feb 2010 16:50:36 +0000 (16:50 +0000)]
Don't advertise peer nodes in the RSpec

14 years agocheck the python version instead of trying to import uuid.
Barış Metin [Mon, 8 Feb 2010 11:51:21 +0000 (11:51 +0000)]
check the python version instead of trying to import uuid.

14 years agoFixed error reporting
Andy Bavier [Fri, 5 Feb 2010 20:59:44 +0000 (20:59 +0000)]
Fixed error reporting