nepi.git
13 years agoInitially working version of PlanetLab testbed implementation.
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.

13 years agoSome application execution boilerplate
Claudio-Daniel Freire [Thu, 21 Apr 2011 13:35:25 +0000 (15:35 +0200)]
Some application execution boilerplate

13 years agoNetrefs now work on interfaces :)
Claudio-Daniel Freire [Thu, 21 Apr 2011 12:31:32 +0000 (14:31 +0200)]
Netrefs now work on interfaces :)

13 years agoRemove unneeded import in pl/execute.py
Claudio-Daniel Freire [Thu, 21 Apr 2011 12:17:18 +0000 (14:17 +0200)]
Remove unneeded import in pl/execute.py

13 years agoSeveral execution fixes:
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

13 years agoMore tests for PlanetLab design, and associated fixes
Claudio-Daniel Freire [Thu, 21 Apr 2011 10:52:18 +0000 (12:52 +0200)]
More tests for PlanetLab design, and associated fixes

13 years agoAdd slice attribute to PlanetLab design test case (it's mandatory)
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)

13 years agoXML generation fixes: don't break when mandatory fields are missing - people might...
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

13 years ago* Planetlab tests
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)

13 years agoImplementing PlanetLab testbed
Claudio-Daniel Freire [Wed, 20 Apr 2011 16:54:40 +0000 (18:54 +0200)]
Implementing PlanetLab testbed

13 years agoTicket #23: rename TestbedInstance -> TestbedController
Claudio-Daniel Freire [Tue, 19 Apr 2011 15:21:15 +0000 (17:21 +0200)]
Ticket #23: rename TestbedInstance -> TestbedController

13 years agoAdded verbose flag in coverage test
Alina Quereilhac [Tue, 19 Apr 2011 14:18:16 +0000 (16:18 +0200)]
Added verbose flag in coverage test

13 years agoBug fix: socket creation in server was not synchronized
Alina Quereilhac [Tue, 19 Apr 2011 13:59:29 +0000 (15:59 +0200)]
Bug fix: socket creation in server was not synchronized

13 years agoMore sync bugfixes: broader spectrum of synchronization, synchronize to the point...
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.

13 years agoSync bugfix: wait for forwarder readiness when launching a client.
Claudio-Daniel Freire [Tue, 19 Apr 2011 11:53:06 +0000 (13:53 +0200)]
Sync bugfix: wait for forwarder readiness when launching a client.

13 years agoBug fixing in integration tests
Alina Quereilhac [Tue, 19 Apr 2011 11:46:15 +0000 (13:46 +0200)]
Bug fixing in integration tests

13 years agoFix invalid message handlign in testbed proxies
Claudio-Daniel Freire [Tue, 19 Apr 2011 10:13:09 +0000 (12:13 +0200)]
Fix invalid message handlign in testbed proxies

13 years agoTicket #25: controller recovery mode
Claudio-Daniel Freire [Tue, 19 Apr 2011 09:38:31 +0000 (11:38 +0200)]
Ticket #25: controller recovery mode

13 years agoserver/client fixes on:
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

13 years agoFix tun_connect not to use 100% CPU (by only waiting for write-ready sockets that...
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)

13 years agoUtility program to print out distro-dependant constants
Claudio-Daniel Freire [Mon, 18 Apr 2011 15:53:13 +0000 (17:53 +0200)]
Utility program to print out distro-dependant constants

13 years agoAllow user-configurable port, so that many tunnels can coexist in the same node
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

13 years agoAdd scripts folder, for scripts that will be needed during deployment.
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.

13 years agoTicket #24: test auto-reconnection
Claudio-Daniel Freire [Wed, 13 Apr 2011 14:56:43 +0000 (16:56 +0200)]
Ticket #24: test auto-reconnection

13 years agoTicket #24: catch ValueError too, it gets triggered by closed connections
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

13 years agoTicket #10: netrefs, add attribute parameter to the controller
Claudio-Daniel Freire [Wed, 13 Apr 2011 14:55:38 +0000 (16:55 +0200)]
Ticket #10: netrefs, add attribute parameter to the controller

13 years agoTicket #10: netrefs, fix TRACE message
Claudio-Daniel Freire [Wed, 13 Apr 2011 14:55:08 +0000 (16:55 +0200)]
Ticket #10: netrefs, fix TRACE message

13 years agoTicket #24: transparent proxy/client reconnection
Claudio-Daniel Freire [Wed, 13 Apr 2011 14:10:24 +0000 (16:10 +0200)]
Ticket #24: transparent proxy/client reconnection

13 years agoTicket #10: adapt proxies to know the new interface for routes/addresses
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

13 years agoTicket #12: proxy reconnection
Claudio-Daniel Freire [Wed, 13 Apr 2011 11:50:01 +0000 (13:50 +0200)]
Ticket #12: proxy reconnection

13 years agoBetter notation for the long-message test
Claudio-Daniel Freire [Wed, 13 Apr 2011 11:41:39 +0000 (13:41 +0200)]
Better notation for the long-message test

13 years agoTicket #11: parallel execution
Claudio-Daniel Freire [Wed, 13 Apr 2011 08:56:14 +0000 (10:56 +0200)]
Ticket #11: parallel execution

13 years agoTicket #10: netrefs, initial implementation
Claudio-Daniel Freire [Wed, 13 Apr 2011 08:37:14 +0000 (10:37 +0200)]
Ticket #10: netrefs, initial implementation

13 years agoTicket #8: support for both box and testbed standard attributes.
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

13 years agoDo not keep label guids, they're not immediately useful.
Claudio-Daniel Freire [Mon, 11 Apr 2011 07:28:36 +0000 (09:28 +0200)]
Do not keep label guids, they're not immediately useful.

13 years agoRemove debug output related to ticket #8
Claudio-Daniel Freire [Fri, 8 Apr 2011 16:44:38 +0000 (18:44 +0200)]
Remove debug output related to ticket #8

13 years agoTicket #8: box labels, reference expression substitution supporting framework
Claudio-Daniel Freire [Fri, 8 Apr 2011 16:30:47 +0000 (18:30 +0200)]
Ticket #8: box labels, reference expression substitution supporting framework

13 years agoTicket #9: rename create/create_set/add_x/configure/connect -> defer_x
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

13 years agoAdd .hgignore: pyc and ~ files
Claudio-Daniel Freire [Fri, 8 Apr 2011 13:54:12 +0000 (15:54 +0200)]
Add .hgignore: pyc and ~ files

13 years agons3 integration tests added. 1 test fails.
Alina Quereilhac [Thu, 7 Apr 2011 15:54:45 +0000 (17:54 +0200)]
ns3 integration tests added. 1 test fails.

13 years agons3 execute test now evaluates result.
Alina Quereilhac [Fri, 1 Apr 2011 17:06:43 +0000 (19:06 +0200)]
ns3 execute test now evaluates result.

13 years agosearch ns3 library and ns3 bindings in the environment variables
Alina Quereilhac [Thu, 31 Mar 2011 20:11:37 +0000 (22:11 +0200)]
search ns3 library and ns3 bindings in the environment variables

13 years agomissing import ctypes in test_util.py
Alina Quereilhac [Thu, 31 Mar 2011 17:20:36 +0000 (19:20 +0200)]
missing import ctypes in test_util.py

13 years agominor changes in tests
Alina Quereilhac [Thu, 31 Mar 2011 17:07:18 +0000 (19:07 +0200)]
minor changes in tests

13 years agodecorator added to test_util for detecting usable ns3 library
Alina Quereilhac [Thu, 31 Mar 2011 12:53:25 +0000 (14:53 +0200)]
decorator added to test_util for detecting usable ns3 library

13 years agorouting support added for ns3 testbed
Alina Quereilhac [Fri, 25 Mar 2011 17:15:24 +0000 (18:15 +0100)]
routing support added for ns3 testbed

13 years agoobsolete attributes eliminated from metadata.
Alina Quereilhac [Thu, 24 Mar 2011 10:38:22 +0000 (11:38 +0100)]
obsolete attributes eliminated from metadata.

13 years ago'family' attribute removed from address. also max_addresses is no longer an attribute...
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.

13 years agons3 metadata and design test in progress
Alina Quereilhac [Mon, 21 Mar 2011 16:29:05 +0000 (17:29 +0100)]
ns3 metadata and design test in progress

13 years agoMetadata for ns3 v 3.9.rc3
Alina Quereilhac [Mon, 21 Mar 2011 10:38:04 +0000 (11:38 +0100)]
Metadata for ns3 v 3.9.rc3

13 years agoadding ns3 testbed: ongoing development! tests DON'T run OK!
Alina Quereilhac [Fri, 18 Mar 2011 14:53:21 +0000 (15:53 +0100)]
adding ns3 testbed: ongoing development! tests DON'T run OK!

13 years agoserver daemon launched over ssh connection.
Alina Quereilhac [Wed, 16 Mar 2011 22:15:20 +0000 (23:15 +0100)]
server daemon launched over ssh connection.

13 years agobugfixing
Alina Quereilhac [Tue, 15 Mar 2011 16:36:45 +0000 (17:36 +0100)]
bugfixing

13 years agotests with daemonized controller + remote daeminized instance working
Alina Quereilhac [Mon, 14 Mar 2011 10:23:35 +0000 (11:23 +0100)]
tests with daemonized controller + remote daeminized instance working

13 years agoadvancing the testbed instance daemon.
Alina Quereilhac [Fri, 11 Mar 2011 17:41:09 +0000 (18:41 +0100)]
advancing the testbed instance daemon.

13 years agoDaemonized controller woriking !
Alina Quereilhac [Fri, 11 Mar 2011 13:57:01 +0000 (14:57 +0100)]
Daemonized controller woriking !

13 years agoworking on proxy.py ...
Alina Quereilhac [Thu, 10 Mar 2011 18:41:30 +0000 (19:41 +0100)]
working on proxy.py ...

13 years agotest case added for server.py
Alina Quereilhac [Thu, 10 Mar 2011 15:27:10 +0000 (16:27 +0100)]
test case added for server.py

13 years agoworking on server.py
Alina Quereilhac [Thu, 10 Mar 2011 14:40:53 +0000 (15:40 +0100)]
working on server.py

13 years agoproxy class created
Alina Quereilhac [Wed, 9 Mar 2011 17:44:18 +0000 (18:44 +0100)]
proxy class created

13 years agoadded mock testbed for unit testing.
Alina Quereilhac [Wed, 9 Mar 2011 16:27:23 +0000 (17:27 +0100)]
added mock testbed for unit testing.

13 years agoAttribute flags changed to bit flag system
Alina Quereilhac [Wed, 9 Mar 2011 13:29:43 +0000 (14:29 +0100)]
Attribute flags changed to bit flag system

13 years agoNets integration test (design + execute) == integration running OK. Still some BUGS.
Alina Quereilhac [Tue, 8 Mar 2011 19:38:37 +0000 (20:38 +0100)]
Nets integration test (design + execute) == integration running OK. Still some BUGS.

13 years agoexecute tests running ok
Alina Quereilhac [Mon, 7 Mar 2011 10:12:58 +0000 (11:12 +0100)]
execute tests running ok

13 years agotest support added
Alina Quereilhac [Fri, 4 Mar 2011 17:27:45 +0000 (18:27 +0100)]
test support added

13 years agoDesign + Execution first netns prototype working
Alina Quereilhac [Thu, 3 Mar 2011 16:28:34 +0000 (17:28 +0100)]
Design + Execution first netns prototype working

13 years agoNOT WORKING COMMIT! started adding netns testbed instance support
Alina Quereilhac [Fri, 18 Feb 2011 17:01:17 +0000 (18:01 +0100)]
NOT WORKING COMMIT! started adding netns testbed instance support

13 years agobugfixes
Alina Quereilhac [Thu, 17 Feb 2011 16:14:47 +0000 (17:14 +0100)]
bugfixes

13 years agographical information added to boxes and testbed descriptions
Alina Quereilhac [Thu, 17 Feb 2011 15:42:57 +0000 (16:42 +0100)]
graphical information added to boxes and testbed descriptions

13 years agointermediate xml serialization using ExperimentData
Alina Quereilhac [Wed, 16 Feb 2011 15:51:13 +0000 (16:51 +0100)]
intermediate xml serialization using ExperimentData

13 years agoxml serialization of the experiment description
Alina Quereilhac [Wed, 16 Feb 2011 09:43:33 +0000 (10:43 +0100)]
xml serialization of the experiment description

13 years agoexperiment parsed to data and from data structure. (data being a dictionary of elemen...
Alina Quereilhac [Fri, 11 Feb 2011 17:29:20 +0000 (18:29 +0100)]
experiment parsed to data and from data structure. (data being a dictionary of elements in the experiment)

13 years agocan build netns experiment description
Alina Quereilhac [Thu, 10 Feb 2011 18:33:54 +0000 (19:33 +0100)]
can build netns experiment description

13 years agos/element/box/g
Alina Quereilhac [Thu, 10 Feb 2011 17:45:00 +0000 (18:45 +0100)]
s/element/box/g

13 years agos/Element/Box/g
Alina Quereilhac [Thu, 10 Feb 2011 17:30:52 +0000 (18:30 +0100)]
s/Element/Box/g

13 years agonetns module can build description factories
Alina Quereilhac [Thu, 10 Feb 2011 17:23:25 +0000 (18:23 +0100)]
netns module can build description factories

13 years agometadata added for netns testbed
Alina Quereilhac [Wed, 9 Feb 2011 17:26:23 +0000 (18:26 +0100)]
metadata added for netns testbed

13 years agodescription: routes, addresses and validation functions
Alina Quereilhac [Wed, 9 Feb 2011 13:24:56 +0000 (14:24 +0100)]
description: routes, addresses and validation functions

13 years agodescription classes are generic classes with no testbed specific code.
Alina Quereilhac [Tue, 8 Feb 2011 17:28:21 +0000 (18:28 +0100)]
description classes are generic classes with no testbed specific code.

13 years agobasic API for testbed design.
Alina Quereilhac [Mon, 7 Feb 2011 13:22:31 +0000 (14:22 +0100)]
basic API for testbed design.

13 years agonew NEPI version. Improve modularity and remove rpyc.
Alina Quereilhac [Sun, 6 Feb 2011 20:19:10 +0000 (21:19 +0100)]
new NEPI version. Improve modularity and remove rpyc.