Alina Quereilhac [Mon, 2 May 2011 08:17:07 +0000 (10:17 +0200)]
vlc wireless hybrid experiment example added
Alina Quereilhac [Sun, 1 May 2011 20:36:44 +0000 (22:36 +0200)]
mock cross_connect test added to test/core/integration.py
Alina Quereilhac [Sun, 1 May 2011 18:14:43 +0000 (20:14 +0200)]
testbed.status now accept guid = None to return the testbed status
Alina Quereilhac [Sun, 1 May 2011 18:08:15 +0000 (20:08 +0200)]
small refactoring in testbed_impl.
Alina Quereilhac [Sun, 1 May 2011 17:56:13 +0000 (19:56 +0200)]
testbed_impl.get improved
Alina Quereilhac [Sun, 1 May 2011 17:30:30 +0000 (19:30 +0200)]
replaced box_get_address for get_address and box_get_route for get_route in testbed_impl
Alina Quereilhac [Sun, 1 May 2011 17:24:02 +0000 (19:24 +0200)]
box_get removed and replaced for get in testbed_impl
Alina Quereilhac [Sun, 1 May 2011 10:31:31 +0000 (12:31 +0200)]
added TestbedController status flag
Alina Quereilhac [Sun, 1 May 2011 10:01:10 +0000 (12:01 +0200)]
added is_valid_value as a function for attributes.Attribute
Claudio-Daniel Freire [Fri, 29 Apr 2011 15:24:33 +0000 (17:24 +0200)]
Ticket #29: Implement dependencies to support testbed-in-PL
- Generic dependencies
- (python)path modifiers
- NEPI-in-NEPI dependency class
Claudio-Daniel Freire [Fri, 29 Apr 2011 11:06:47 +0000 (13:06 +0200)]
Async setup of TUNs and APPs, for much quicker deployment.
Made dependency setup also more responsive, with an exponential delay that responds better to no-op (which are common since nodes don't get packages uninstalled at cleanup time).
Claudio-Daniel Freire [Fri, 29 Apr 2011 08:26:53 +0000 (10:26 +0200)]
server_scp can copy multiple files at once.
This shaves a good 10% runtime from tests, and in some situations would mean a huge improvement (say, with long source lists)
Claudio-Daniel Freire [Fri, 29 Apr 2011 08:00:48 +0000 (10:00 +0200)]
Fix parallel execution bug that only ran connect/preconfigure stuff on the last testbed:
lambda : testbed.do_something only does it for the last value of the variable "testbed"
Testbed is a free variable, so it takes the value of the variable then the lambda is called,
which is usually the last value it took in the loop.
The correct way would be:
lambda testbed=testbed : testbed.do_something
Since that "freezes" the value of the "testbed" variable.
An easier and nicer way is to use bound methods:
testbed.do_something
(without lambda)
Alina Quereilhac [Thu, 28 Apr 2011 20:58:27 +0000 (22:58 +0200)]
More changes to make cross connections work... not working still
Alina Quereilhac [Thu, 28 Apr 2011 17:10:07 +0000 (19:10 +0200)]
initial changes to support cross_connection in two stages.
Claudio-Daniel Freire [Thu, 28 Apr 2011 15:44:54 +0000 (17:44 +0200)]
Ticket 14: More incremental work - minor fixes to TUN cleanup
Claudio-Daniel Freire [Thu, 28 Apr 2011 14:22:18 +0000 (16:22 +0200)]
rspawn.remote_kill fix: was not checking process status correctly
Claudio-Daniel Freire [Thu, 28 Apr 2011 14:19:30 +0000 (16:19 +0200)]
Ticket #14: WIP, only intra-PL TUN connections, required groundwork for cross-backend connections
Claudio-Daniel Freire [Wed, 27 Apr 2011 15:15:15 +0000 (17:15 +0200)]
Ticket #13: wildcards support in connector metadata, making the world better for cross-connectivity
Claudio-Daniel Freire [Wed, 27 Apr 2011 13:11:12 +0000 (15:11 +0200)]
Ticket #28: Refactor Box classes to use mixins, and provide read-only routes/addesses
Claudio-Daniel Freire [Tue, 26 Apr 2011 16:31:46 +0000 (18:31 +0200)]
Ticket #21: support for netpipe stats traces
Claudio-Daniel Freire [Tue, 26 Apr 2011 16:13:32 +0000 (18:13 +0200)]
Ticket #21: emulation support - finished :D
Claudio-Daniel Freire [Tue, 26 Apr 2011 14:25:28 +0000 (16:25 +0200)]
Ticket #21: emulation
- require emulation=True when using TUNs
- automatically add ipfwslice and vsys/ipfw-be as requirements when using emulation
Claudio-Daniel Freire [Tue, 26 Apr 2011 13:29:13 +0000 (15:29 +0200)]
Ticket #21: emulation support - vsys requirement checking when attaching a TunInterface to a node
Claudio-Daniel Freire [Tue, 26 Apr 2011 13:28:24 +0000 (15:28 +0200)]
Metadata fix: the "sudo" attribute had copypaste bugs on it, making it unusable.
Claudio-Daniel Freire [Tue, 26 Apr 2011 13:27:50 +0000 (15:27 +0200)]
Build script with application commands and run the script - supports more complex commands than simply calling remote_spawn on the user-supplied command.
Claudio-Daniel Freire [Tue, 26 Apr 2011 13:26:45 +0000 (15:26 +0200)]
popen_scp fixes: StringIO-based (and similar) transfers were utterly broken
Claudio-Daniel Freire [Tue, 26 Apr 2011 12:36:24 +0000 (14:36 +0200)]
Updated help string on "install"
Claudio-Daniel Freire [Tue, 26 Apr 2011 12:25:06 +0000 (14:25 +0200)]
Replace paths on main application command too
Claudio-Daniel Freire [Tue, 26 Apr 2011 12:22:57 +0000 (14:22 +0200)]
Slight design change: separate build from install of applications.
This will enable easier and more efficient mass-deployment of identical applications
using the spanning tree method.
Claudio-Daniel Freire [Tue, 26 Apr 2011 11:19:06 +0000 (13:19 +0200)]
* Automatic provisioning
* Server key validation
* Trivial resource allocation (only perfectly-defined hosts)
Alina Quereilhac [Fri, 22 Apr 2011 16:46:08 +0000 (18:46 +0200)]
bug fixing and code clean up.
in execute.py: replaced references to "testbed intance" for "testbed controller" and separeted long methods into smaller ones
in proxy.py: replaced references to "testbed intance" for "testbed controller"
in attributes.py: corrected typo
in testbed/ns3/*metadata*: added missing wifi "Standard" attribute
Claudio-Daniel Freire [Fri, 22 Apr 2011 16:03:49 +0000 (18:03 +0200)]
Netref fixes - oh goodie
Claudio-Daniel Freire [Fri, 22 Apr 2011 15:14:16 +0000 (17:14 +0200)]
Binary building support - and tests for it
Claudio-Daniel Freire [Fri, 22 Apr 2011 14:14:13 +0000 (16:14 +0200)]
Dependency support fixes:
* sudo through SSH needs -S, since we don't allocate a tty
* missing metadata
* fix broken regex in test
* be happy
Claudio-Daniel Freire [Fri, 22 Apr 2011 13:50:17 +0000 (15:50 +0200)]
Validate Node configuration
Claudio-Daniel Freire [Fri, 22 Apr 2011 13:30:37 +0000 (15:30 +0200)]
* Some refactoring, modularizing daemonized remote spawning with log capture and all that
* UNTESTED dependencies support (no building yet)
Claudio-Daniel Freire [Fri, 22 Apr 2011 12:05:00 +0000 (14:05 +0200)]
Fix execution test to replace netrefs where it's usually done (between preconfigure and configure)
Claudio-Daniel Freire [Fri, 22 Apr 2011 11:56:42 +0000 (13:56 +0200)]
Make PlanetLabs easily runnable (environment variables for user/pass)
Claudio-Daniel Freire [Fri, 22 Apr 2011 11:43:03 +0000 (13:43 +0200)]
Disabling PlanetLab tests: they're interactive
Claudio-Daniel Freire [Fri, 22 Apr 2011 11:42:29 +0000 (13:42 +0200)]
Initially working version of PlanetLab testbed implementation.
Wiiii
Note: PlanetLab execution tests require a PLC account (password), so they're interactive.
Claudio-Daniel Freire [Thu, 21 Apr 2011 13:35:25 +0000 (15:35 +0200)]
Some application execution boilerplate
Claudio-Daniel Freire [Thu, 21 Apr 2011 12:31:32 +0000 (14:31 +0200)]
Netrefs now work on interfaces :)
Claudio-Daniel Freire [Thu, 21 Apr 2011 12:17:18 +0000 (14:17 +0200)]
Remove unneeded import in pl/execute.py
Claudio-Daniel Freire [Thu, 21 Apr 2011 12:16:38 +0000 (14:16 +0200)]
Several execution fixes:
* execution test case
* testbed needs username/password to work
* early assignment of nodes to an existing PL node if unambiguously available
* other minor stuff
Claudio-Daniel Freire [Thu, 21 Apr 2011 10:52:18 +0000 (12:52 +0200)]
More tests for PlanetLab design, and associated fixes
Claudio-Daniel Freire [Thu, 21 Apr 2011 10:37:59 +0000 (12:37 +0200)]
Add slice attribute to PlanetLab design test case (it's mandatory)
Claudio-Daniel Freire [Thu, 21 Apr 2011 10:34:24 +0000 (12:34 +0200)]
XML generation fixes: don't break when mandatory fields are missing - people might want to save anyway
Claudio-Daniel Freire [Thu, 21 Apr 2011 09:36:48 +0000 (11:36 +0200)]
* Planetlab tests
* Only run .py files in make test
* Rename nepi.util.ipaddr to nepi.util.ipaddr2 (conflicts with standard ipaddr)
* Add planetlab to NEPI's testbeds (in setup.py)
Claudio-Daniel Freire [Wed, 20 Apr 2011 16:54:40 +0000 (18:54 +0200)]
Implementing PlanetLab testbed
Claudio-Daniel Freire [Tue, 19 Apr 2011 15:21:15 +0000 (17:21 +0200)]
Ticket #23: rename TestbedInstance -> TestbedController
Alina Quereilhac [Tue, 19 Apr 2011 14:18:16 +0000 (16:18 +0200)]
Added verbose flag in coverage test
Alina Quereilhac [Tue, 19 Apr 2011 13:59:29 +0000 (15:59 +0200)]
Bug fix: socket creation in server was not synchronized
Claudio-Daniel Freire [Tue, 19 Apr 2011 11:58:26 +0000 (13:58 +0200)]
More sync bugfixes: broader spectrum of synchronization, synchronize to the point where the Forwarder has the connections already made.
Claudio-Daniel Freire [Tue, 19 Apr 2011 11:53:06 +0000 (13:53 +0200)]
Sync bugfix: wait for forwarder readiness when launching a client.
Alina Quereilhac [Tue, 19 Apr 2011 11:46:15 +0000 (13:46 +0200)]
Bug fixing in integration tests
Claudio-Daniel Freire [Tue, 19 Apr 2011 10:13:09 +0000 (12:13 +0200)]
Fix invalid message handlign in testbed proxies
Claudio-Daniel Freire [Tue, 19 Apr 2011 09:38:31 +0000 (11:38 +0200)]
Ticket #25: controller recovery mode
Claudio-Daniel Freire [Tue, 19 Apr 2011 09:33:08 +0000 (11:33 +0200)]
server/client fixes on:
* error handling
* no leaving of zombie processes
* logging on test failures
Claudio-Daniel Freire [Mon, 18 Apr 2011 16:16:11 +0000 (18:16 +0200)]
Fix tun_connect not to use 100% CPU (by only waiting for write-ready sockets that really need to write)
Claudio-Daniel Freire [Mon, 18 Apr 2011 15:53:13 +0000 (17:53 +0200)]
Utility program to print out distro-dependant constants
Claudio-Daniel Freire [Mon, 18 Apr 2011 15:07:16 +0000 (17:07 +0200)]
Allow user-configurable port, so that many tunnels can coexist in the same node
Claudio-Daniel Freire [Mon, 18 Apr 2011 07:17:35 +0000 (09:17 +0200)]
Add scripts folder, for scripts that will be needed during deployment.
Add tun_connect script, a script to set up tunnelling in both generic unix and planetlab nodes.
Claudio-Daniel Freire [Wed, 13 Apr 2011 14:56:43 +0000 (16:56 +0200)]
Ticket #24: test auto-reconnection
Claudio-Daniel Freire [Wed, 13 Apr 2011 14:56:19 +0000 (16:56 +0200)]
Ticket #24: catch ValueError too, it gets triggered by closed connections
Claudio-Daniel Freire [Wed, 13 Apr 2011 14:55:38 +0000 (16:55 +0200)]
Ticket #10: netrefs, add attribute parameter to the controller
Claudio-Daniel Freire [Wed, 13 Apr 2011 14:55:08 +0000 (16:55 +0200)]
Ticket #10: netrefs, fix TRACE message
Claudio-Daniel Freire [Wed, 13 Apr 2011 14:10:24 +0000 (16:10 +0200)]
Ticket #24: transparent proxy/client reconnection
Claudio-Daniel Freire [Wed, 13 Apr 2011 14:08:13 +0000 (16:08 +0200)]
Ticket #10: adapt proxies to know the new interface for routes/addresses
Claudio-Daniel Freire [Wed, 13 Apr 2011 11:50:01 +0000 (13:50 +0200)]
Ticket #12: proxy reconnection
Claudio-Daniel Freire [Wed, 13 Apr 2011 11:41:39 +0000 (13:41 +0200)]
Better notation for the long-message test
Claudio-Daniel Freire [Wed, 13 Apr 2011 08:56:14 +0000 (10:56 +0200)]
Ticket #11: parallel execution
Claudio-Daniel Freire [Wed, 13 Apr 2011 08:37:14 +0000 (10:37 +0200)]
Ticket #10: netrefs, initial implementation
Claudio-Daniel Freire [Tue, 12 Apr 2011 08:34:02 +0000 (10:34 +0200)]
Ticket #8: support for both box and testbed standard attributes.
- homeDirectory standard attribute for testbeds
- Removed homeDirectory attribute from testbeds (now they just get the standard attribute)
- Should be backwards-compatible
Claudio-Daniel Freire [Mon, 11 Apr 2011 07:28:36 +0000 (09:28 +0200)]
Do not keep label guids, they're not immediately useful.
Claudio-Daniel Freire [Fri, 8 Apr 2011 16:44:38 +0000 (18:44 +0200)]
Remove debug output related to ticket #8
Claudio-Daniel Freire [Fri, 8 Apr 2011 16:30:47 +0000 (18:30 +0200)]
Ticket #8: box labels, reference expression substitution supporting framework
Claudio-Daniel Freire [Fri, 8 Apr 2011 14:09:11 +0000 (16:09 +0200)]
Ticket #9: rename create/create_set/add_x/configure/connect -> defer_x
Claudio-Daniel Freire [Fri, 8 Apr 2011 13:54:12 +0000 (15:54 +0200)]
Add .hgignore: pyc and ~ files
Alina Quereilhac [Thu, 7 Apr 2011 15:54:45 +0000 (17:54 +0200)]
ns3 integration tests added. 1 test fails.
Alina Quereilhac [Fri, 1 Apr 2011 17:06:43 +0000 (19:06 +0200)]
ns3 execute test now evaluates result.
Alina Quereilhac [Thu, 31 Mar 2011 20:11:37 +0000 (22:11 +0200)]
search ns3 library and ns3 bindings in the environment variables
Alina Quereilhac [Thu, 31 Mar 2011 17:20:36 +0000 (19:20 +0200)]
missing import ctypes in test_util.py
Alina Quereilhac [Thu, 31 Mar 2011 17:07:18 +0000 (19:07 +0200)]
minor changes in tests
Alina Quereilhac [Thu, 31 Mar 2011 12:53:25 +0000 (14:53 +0200)]
decorator added to test_util for detecting usable ns3 library
Alina Quereilhac [Fri, 25 Mar 2011 17:15:24 +0000 (18:15 +0100)]
routing support added for ns3 testbed
Alina Quereilhac [Thu, 24 Mar 2011 10:38:22 +0000 (11:38 +0100)]
obsolete attributes eliminated from metadata.
Alina Quereilhac [Tue, 22 Mar 2011 10:37:05 +0000 (11:37 +0100)]
'family' attribute removed from address. also max_addresses is no longer an attribute of the factory.
Alina Quereilhac [Mon, 21 Mar 2011 16:29:05 +0000 (17:29 +0100)]
ns3 metadata and design test in progress
Alina Quereilhac [Mon, 21 Mar 2011 10:38:04 +0000 (11:38 +0100)]
Metadata for ns3 v 3.9.rc3
Alina Quereilhac [Fri, 18 Mar 2011 14:53:21 +0000 (15:53 +0100)]
adding ns3 testbed: ongoing development! tests DON'T run OK!
Alina Quereilhac [Wed, 16 Mar 2011 22:15:20 +0000 (23:15 +0100)]
server daemon launched over ssh connection.
Alina Quereilhac [Tue, 15 Mar 2011 16:36:45 +0000 (17:36 +0100)]
bugfixing
Alina Quereilhac [Mon, 14 Mar 2011 10:23:35 +0000 (11:23 +0100)]
tests with daemonized controller + remote daeminized instance working
Alina Quereilhac [Fri, 11 Mar 2011 17:41:09 +0000 (18:41 +0100)]
advancing the testbed instance daemon.
Alina Quereilhac [Fri, 11 Mar 2011 13:57:01 +0000 (14:57 +0100)]
Daemonized controller woriking !
Alina Quereilhac [Thu, 10 Mar 2011 18:41:30 +0000 (19:41 +0100)]
working on proxy.py ...
Alina Quereilhac [Thu, 10 Mar 2011 15:27:10 +0000 (16:27 +0100)]
test case added for server.py
Alina Quereilhac [Thu, 10 Mar 2011 14:40:53 +0000 (15:40 +0100)]
working on server.py
Alina Quereilhac [Wed, 9 Mar 2011 17:44:18 +0000 (18:44 +0100)]
proxy class created