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
Andy Bavier [Tue, 16 Feb 2010 18:26:50 +0000 (18:26 +0000)]
Andy Bavier [Tue, 16 Feb 2010 18:23:49 +0000 (18:23 +0000)]
Validate RSpec against schema
Andy Bavier [Tue, 16 Feb 2010 17:59:37 +0000 (17:59 +0000)]
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
Tony Mack [Tue, 16 Feb 2010 17:43:10 +0000 (17:43 +0000)]
install xmlbuilder
Tony Mack [Tue, 16 Feb 2010 17:38:40 +0000 (17:38 +0000)]
adding xmlbuilder
Tony Mack [Mon, 15 Feb 2010 20:57:19 +0000 (20:57 +0000)]
sfa_component_setup.py belongs to sfa-cm package
Tony Mack [Mon, 15 Feb 2010 20:46:47 +0000 (20:46 +0000)]
updated
Andy Bavier [Fri, 12 Feb 2010 16:23:26 +0000 (16:23 +0000)]
Return information about instances bound to a slice
Andy Bavier [Thu, 11 Feb 2010 21:17:56 +0000 (21:17 +0000)]
Minor tweaks
Anil-Kumar Vengalil [Wed, 10 Feb 2010 18:16:39 +0000 (18:16 +0000)]
bug-fix
Andy Bavier [Wed, 10 Feb 2010 18:01:49 +0000 (18:01 +0000)]
Added free_egre_key()
Andy Bavier [Wed, 10 Feb 2010 17:52:34 +0000 (17:52 +0000)]
Andy Bavier [Wed, 10 Feb 2010 17:42:02 +0000 (17:42 +0000)]
Specify role_id on update_tag
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
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
Andy Bavier [Tue, 9 Feb 2010 22:26:13 +0000 (22:26 +0000)]
Bug fix
Andy Bavier [Tue, 9 Feb 2010 22:21:27 +0000 (22:21 +0000)]
Bug fix
Andy Bavier [Tue, 9 Feb 2010 22:05:56 +0000 (22:05 +0000)]
Cleanup slice tag handling
Andy Bavier [Tue, 9 Feb 2010 20:43:17 +0000 (20:43 +0000)]
Add role_id check when changing slice tags
Andy Bavier [Tue, 9 Feb 2010 16:32:41 +0000 (16:32 +0000)]
Andy Bavier [Tue, 9 Feb 2010 16:27:03 +0000 (16:27 +0000)]
New RSpec format
Andy Bavier [Tue, 9 Feb 2010 16:23:11 +0000 (16:23 +0000)]
Andy Bavier [Tue, 9 Feb 2010 15:55:21 +0000 (15:55 +0000)]
Updated VINI RSpec
Andy Bavier [Tue, 9 Feb 2010 15:40:57 +0000 (15:40 +0000)]
Add slice hrn to context
Andy Bavier [Tue, 9 Feb 2010 15:30:24 +0000 (15:30 +0000)]
Modify slice tag handling
Andy Bavier [Mon, 8 Feb 2010 22:09:27 +0000 (22:09 +0000)]
Turn off debugging stmt
Andy Bavier [Mon, 8 Feb 2010 22:07:26 +0000 (22:07 +0000)]
Minor fix
Andy Bavier [Mon, 8 Feb 2010 21:52:43 +0000 (21:52 +0000)]
Minor fixes
Andy Bavier [Mon, 8 Feb 2010 21:51:13 +0000 (21:51 +0000)]
Unify PL and VINI RSpec handling
Andy Bavier [Mon, 8 Feb 2010 21:49:30 +0000 (21:49 +0000)]
Restore kbps for virtual links
Andy Bavier [Mon, 8 Feb 2010 21:37:10 +0000 (21:37 +0000)]
Unify with new PL RSpec format
Andy Bavier [Mon, 8 Feb 2010 21:20:15 +0000 (21:20 +0000)]
Andy Bavier [Mon, 8 Feb 2010 21:15:06 +0000 (21:15 +0000)]
Cleanup
Andy Bavier [Mon, 8 Feb 2010 20:57:33 +0000 (20:57 +0000)]
Combine PlanetLab and VINI RSpec handling code
Andy Bavier [Mon, 8 Feb 2010 20:43:08 +0000 (20:43 +0000)]
Cleanup
Tony Mack [Mon, 8 Feb 2010 19:34:20 +0000 (19:34 +0000)]
added sfa_component_setup.py
Andy Bavier [Mon, 8 Feb 2010 19:01:06 +0000 (19:01 +0000)]
Rewrite to use new RSpec format, helper functions
Andy Bavier [Mon, 8 Feb 2010 19:00:10 +0000 (19:00 +0000)]
Remove debugging safeguards
Andy Bavier [Mon, 8 Feb 2010 18:49:24 +0000 (18:49 +0000)]
Ignore unknown nodes in the RSpec
Andy Bavier [Mon, 8 Feb 2010 18:06:01 +0000 (18:06 +0000)]
Add path so that we can directly import PLCAPI