Alina Quereilhac [Wed, 8 Jun 2011 16:37:30 +0000 (18:37 +0200)]
creation of home directory in netns/execute.py
Alina Quereilhac [Wed, 8 Jun 2011 16:13:23 +0000 (18:13 +0200)]
Added connection ordering in testbed_impl.py _do_connect by returning CONNECTION_DELAY on the connection functions that are not ready to be executed.
Alina Quereilhac [Wed, 8 Jun 2011 13:24:53 +0000 (15:24 +0200)]
connections for ns3 wifi managers.
Alina Quereilhac [Wed, 8 Jun 2011 09:56:45 +0000 (11:56 +0200)]
minor bugfix in construction of ns3 waypoint mobility model.
Alina Quereilhac [Tue, 7 Jun 2011 23:46:04 +0000 (01:46 +0200)]
bug fixes
Alina Quereilhac [Tue, 7 Jun 2011 16:36:40 +0000 (18:36 +0200)]
possible bug fix: reason why pyQt was freezing when shutting down the experiment
Claudio-Daniel Freire [Tue, 7 Jun 2011 12:02:42 +0000 (14:02 +0200)]
Concurrency fix in netns: if there is more than one netns instance in the same host, things can get tricky. So serialize sensible ops.
Alina Quereilhac [Mon, 6 Jun 2011 16:25:11 +0000 (18:25 +0200)]
nothing
Alina Quereilhac [Mon, 6 Jun 2011 14:13:15 +0000 (16:13 +0200)]
improved example/big_buck_bunny_420p_mpeg4.ts
Alina Quereilhac [Sun, 5 Jun 2011 16:23:55 +0000 (18:23 +0200)]
Added WaypointMobilityModel to ns3 backend
Alina Quereilhac [Sun, 5 Jun 2011 13:03:35 +0000 (15:03 +0200)]
added: traces_info showing the filepath for all traces
Alina Quereilhac [Sun, 5 Jun 2011 10:52:26 +0000 (12:52 +0200)]
node trace added to netns:Node. Bug: netns doesn't properly close subprocesses not forked directly
Alina Quereilhac [Fri, 3 Jun 2011 00:54:24 +0000 (02:54 +0200)]
Bug fix: in netns DesignOnly attributes should not be set in the python objects
Alina Quereilhac [Tue, 31 May 2011 16:36:35 +0000 (18:36 +0200)]
bug fix: work arround to the problem of RealtimeSimulatorImpl not finishing with Stop().
Claudio-Daniel Freire [Tue, 31 May 2011 15:54:46 +0000 (17:54 +0200)]
Merging with head
Claudio-Daniel Freire [Tue, 31 May 2011 15:53:51 +0000 (17:53 +0200)]
A series of synchronization fixes:
- remote_kill can be told not to wait, for increase parallelism if you'll be waiting later with remote_status
- somehow TunProto.checkpid gets called before the PID is ready (maybe before the tun_connect script is spawned).
In those cases, old pids get fetched, instead of simply retrying later.
To solve this, TunProto._make_home removes old pidfiles
- tests that didn't perform shutdown on exception conditions now do
Alina Quereilhac [Mon, 30 May 2011 17:09:32 +0000 (19:09 +0200)]
ns3 version 3_9_RC3 replaces for 3_9
Claudio-Daniel Freire [Mon, 30 May 2011 14:46:20 +0000 (16:46 +0200)]
Merging with HEAD
Fixing a few thingies in tunproto
Alina Quereilhac [Fri, 27 May 2011 15:26:48 +0000 (17:26 +0200)]
new tag: nepi_v2
Alina Quereilhac [Fri, 27 May 2011 14:54:18 +0000 (16:54 +0200)]
small bugfix in netns metadata
Claudio-Daniel Freire [Fri, 27 May 2011 14:48:12 +0000 (16:48 +0200)]
resourcealloc improvement: also force selection when the hamming cardinality is 1 (ie: only one partition to choose from)
Claudio-Daniel Freire [Fri, 27 May 2011 14:21:43 +0000 (16:21 +0200)]
Bugfix: NetPipe's addrlist validation was broken
Claudio-Daniel Freire [Fri, 27 May 2011 13:47:57 +0000 (15:47 +0200)]
Merging with head
Alina Quereilhac [Fri, 27 May 2011 13:46:33 +0000 (15:46 +0200)]
bug fixing: addresses and routes
Claudio-Daniel Freire [Fri, 27 May 2011 13:05:26 +0000 (15:05 +0200)]
Ticket #39, and a few fixes with find_candidates
Claudio-Daniel Freire [Fri, 27 May 2011 12:33:31 +0000 (14:33 +0200)]
Require vroute vsys tag if a node has routes
Claudio-Daniel Freire [Fri, 27 May 2011 10:51:48 +0000 (12:51 +0200)]
Ticket #22: complitid
Claudio-Daniel Freire [Fri, 27 May 2011 10:33:01 +0000 (12:33 +0200)]
Ticket #22: add nepi.util.settools to setup.py
Claudio-Daniel Freire [Fri, 27 May 2011 09:02:24 +0000 (11:02 +0200)]
Ticket #22: resource discovery and allocation, algorithmic implementation
Claudio-Daniel Freire [Wed, 25 May 2011 15:48:27 +0000 (17:48 +0200)]
Merge with head
Claudio-Daniel Freire [Wed, 25 May 2011 15:32:37 +0000 (17:32 +0200)]
Add RTT trace to V4Ping, update test to test the RTT trace
Claudio-Daniel Freire [Wed, 25 May 2011 10:35:47 +0000 (12:35 +0200)]
Resize big buck bunny so that the example works better
Alina Quereilhac [Wed, 25 May 2011 10:09:53 +0000 (12:09 +0200)]
deleted label from graphical info
Alina Quereilhac [Tue, 24 May 2011 16:55:18 +0000 (18:55 +0200)]
bug fix in traces
Alina Quereilhac [Tue, 24 May 2011 14:48:23 +0000 (16:48 +0200)]
ns3 testbed small bugfix in the schedule_event
Alina Quereilhac [Tue, 24 May 2011 13:14:08 +0000 (15:14 +0200)]
ns3 set/get during simulation execution
Alina Quereilhac [Tue, 24 May 2011 11:46:07 +0000 (13:46 +0200)]
added: experiment_description.get_element(guid)
Alina Quereilhac [Tue, 24 May 2011 10:44:45 +0000 (12:44 +0200)]
Added metods to obtain factory_id, testbed_id and testbed_version for a box using inly a guid, from the controller
Claudio-Daniel Freire [Tue, 24 May 2011 10:10:10 +0000 (12:10 +0200)]
Fix PL tests after controller interface change
Claudio-Daniel Freire [Tue, 24 May 2011 08:26:42 +0000 (10:26 +0200)]
Merge with head
Claudio-Daniel Freire [Tue, 24 May 2011 08:24:07 +0000 (10:24 +0200)]
Shorten big buck bunny film
Alina Quereilhac [Mon, 23 May 2011 23:26:36 +0000 (01:26 +0200)]
eliminated parameters testbed_guid in experiment controller methods when the guid is present. I might have broken pl :S.
Alina Quereilhac [Mon, 23 May 2011 21:01:50 +0000 (23:01 +0200)]
added tags to boxes. For now only one tag: MOBILE
Alina Quereilhac [Mon, 23 May 2011 17:22:07 +0000 (19:22 +0200)]
added category to attributes
Claudio-Daniel Freire [Mon, 23 May 2011 15:40:07 +0000 (17:40 +0200)]
Routing fixes in ns3: consider point-to-point patterns when figuring out nexthop/interface associations:
192.168.2.2/32 -> iface 10
192.168.3.0/24 -> 192.168.2.2
Claudio-Daniel Freire [Mon, 23 May 2011 15:39:01 +0000 (17:39 +0200)]
Fix routing: only consider gateway addresses for routes_here (ie: the GW must belong to the interface's network, the rest doesn't really matter)
Alina Quereilhac [Mon, 23 May 2011 12:17:47 +0000 (14:17 +0200)]
minor correction
Alina Quereilhac [Mon, 23 May 2011 11:58:52 +0000 (13:58 +0200)]
ns3 testbed receives a "StopTime" parameter to force the simulator to stop at a certain time.
Alina Quereilhac [Sun, 22 May 2011 09:49:02 +0000 (11:49 +0200)]
Added support for ns-3 Wimax module. wimax_ns3.py example not working: SS never registered with BS!
Claudio-Daniel Freire [Fri, 20 May 2011 14:35:31 +0000 (16:35 +0200)]
Synchronization fixes:
- tun_connect retries on binding error (happens regularly during tests and may happen in Real Life (tm) too)
- re-enabled wrongfully disabled ns3-in-pl tests
- added prestart global synchronization step, which solves many cross-testbed synchronization issues
Claudio-Daniel Freire [Fri, 20 May 2011 12:04:18 +0000 (14:04 +0200)]
Ticket #30: Routing in PlanetLab, with a (currently broken) test
TODO:
- dynamically modify routes
- dynamically query routes
- fix some synchronization issues with routes+cross-connections
- parallelize routing table setup
Claudio-Daniel Freire [Thu, 19 May 2011 16:07:00 +0000 (18:07 +0200)]
PL Point-to-point link support (TUNs automatically set their interfaces for P2P, but there's also a way to manually specify it)
It needs support from vsys
Claudio-Daniel Freire [Thu, 19 May 2011 16:05:33 +0000 (18:05 +0200)]
More descriptive exception messages for design errors
Claudio-Daniel Freire [Wed, 18 May 2011 12:05:20 +0000 (14:05 +0200)]
Fix XML generation for attribute-less boxes
Alina Quereilhac [Wed, 18 May 2011 10:29:40 +0000 (12:29 +0200)]
bugfix: graphical info was not being set when reconstructing the testbeds from the xml description in base.py
Claudio-Daniel Freire [Wed, 18 May 2011 09:43:32 +0000 (11:43 +0200)]
Back to 2-node snat test
Claudio-Daniel Freire [Wed, 18 May 2011 09:43:05 +0000 (11:43 +0200)]
Wait for node dependencies to be installed before using them (invoking gcc)
Claudio-Daniel Freire [Wed, 18 May 2011 09:42:47 +0000 (11:42 +0200)]
Fix TUNGETIFF ioctl invocation to use the correct buffer structure
Claudio-Daniel Freire [Tue, 17 May 2011 13:13:33 +0000 (15:13 +0200)]
Cross TUN test
Claudio-Daniel Freire [Tue, 17 May 2011 13:13:20 +0000 (15:13 +0200)]
General cross TUN fixes
Claudio-Daniel Freire [Tue, 17 May 2011 13:12:45 +0000 (15:12 +0200)]
get methods of proxies should pickle data, they need to preserve the data types.
Claudio-Daniel Freire [Tue, 17 May 2011 13:11:36 +0000 (15:11 +0200)]
Fix invisible attribute implementation: they should be both queriable and settable.
Claudio-Daniel Freire [Tue, 17 May 2011 13:09:40 +0000 (15:09 +0200)]
Preserve the traceback when relaying exceptions from within threads
Claudio-Daniel Freire [Mon, 16 May 2011 15:38:35 +0000 (17:38 +0200)]
TunChannel finalization fix
Claudio-Daniel Freire [Mon, 16 May 2011 15:38:24 +0000 (17:38 +0200)]
Missing imports
Claudio-Daniel Freire [Mon, 16 May 2011 15:06:34 +0000 (17:06 +0200)]
Initial u ntested implementation of TunChannel for netns
Claudio-Daniel Freire [Mon, 16 May 2011 14:59:44 +0000 (16:59 +0200)]
Add TUNGETIFF to constants, they're useful
Claudio-Daniel Freire [Mon, 16 May 2011 14:41:00 +0000 (16:41 +0200)]
Forgot to implement with_pi & ethernet_mode (oops)
Claudio-Daniel Freire [Mon, 16 May 2011 14:36:21 +0000 (16:36 +0200)]
Document stock implementation functions
Claudio-Daniel Freire [Mon, 16 May 2011 14:21:32 +0000 (16:21 +0200)]
Add tunchannel_impl, see previous commit
Claudio-Daniel Freire [Mon, 16 May 2011 14:21:10 +0000 (16:21 +0200)]
Refactor a bit more, connect, wait, create and configure functions are also general enough to be put in a shared utility module.
Move that code to tunchannel_impl, to separate it from the core tunchannel stuff (which may be required if that generic implementation isn't applicable for some - ie, for tun_connect in PL).
Claudio-Daniel Freire [Mon, 16 May 2011 14:05:59 +0000 (16:05 +0200)]
Refactor TunChannel implementation in ns3 to make it common to all testbeds:
it's quite generic and reusable.
Claudio-Daniel Freire [Mon, 16 May 2011 13:34:49 +0000 (15:34 +0200)]
Initial untested implementation of ns3 tun-compliant connections (Tunchannel)
Claudio-Daniel Freire [Mon, 16 May 2011 13:34:19 +0000 (15:34 +0200)]
Termination fix on tun_connect
Claudio-Daniel Freire [Mon, 16 May 2011 09:56:36 +0000 (11:56 +0200)]
Refactor tunnelling code to put VPN channel protocol stuff in nepi.util (so that testbeds other than PL can implement their own).
Claudio-Daniel Freire [Fri, 13 May 2011 13:53:46 +0000 (15:53 +0200)]
Lots of cross-connection fixes, TUN synchronization, etc
Redirect most PL tests to our NepiPLC
Add multi-PLC capabilities and tests
NOTE: Some tests are degraded because we don't have ennough nodes to do proper tests yet
Claudio-Daniel Freire [Fri, 13 May 2011 08:36:40 +0000 (10:36 +0200)]
Fix connection resolution order check
Claudio-Daniel Freire [Thu, 12 May 2011 14:44:36 +0000 (16:44 +0200)]
Allow customization of the PLC API to be used for experiments
Claudio-Daniel Freire [Thu, 12 May 2011 14:37:44 +0000 (16:37 +0200)]
Fix for 64-bit PL: shared object compilation must be done with -fPIC
Claudio-Daniel Freire [Thu, 12 May 2011 13:13:15 +0000 (15:13 +0200)]
Fix broken netref commit: do not consider them resolved if there's any exception, don't consider exceptions there as an error either. Premature resolution often results in KeyError exceptions (among possibly others)
Claudio-Daniel Freire [Thu, 12 May 2011 13:12:24 +0000 (15:12 +0200)]
Fix stupid bug: missing ns3 reference in _add_static_route
Claudio-Daniel Freire [Thu, 12 May 2011 13:05:42 +0000 (15:05 +0200)]
Woops... fix broken commit about netrefs
Claudio-Daniel Freire [Thu, 12 May 2011 12:29:25 +0000 (14:29 +0200)]
SNAT test
currently failing due to PL bug :-O
Claudio-Daniel Freire [Thu, 12 May 2011 12:29:03 +0000 (14:29 +0200)]
Capture packets on FD-based tuns, by spawning a tcpdump in the background
Claudio-Daniel Freire [Thu, 12 May 2011 12:28:15 +0000 (14:28 +0200)]
Netrefs: resolve at create time when possible, some NS3 objects require proper create-time values.
Claudio-Daniel Freire [Thu, 12 May 2011 12:27:25 +0000 (14:27 +0200)]
NS3 fix: properly handle default (0.0.0.0/0) and host (x.y.z.w/32) routes.
Claudio-Daniel Freire [Thu, 12 May 2011 07:26:50 +0000 (09:26 +0200)]
Big refactoring of proxy code.
* Decorator-based serverside dispatch code
which is easier to maintain
* Automatic proxy generation using introspection on
abstract interface (Proxy/ExperimentController) and
serverside dispatch code.
* Tried to maintain meaningful tracebacks
* No more repeated code - stuff is only written once,
so changes are easier to apply.
* Changed marshalling for setters to use pickling instead
of adding a fictious (and limited) type parameter.
* Fixed some interface mismatches in the process
Claudio-Daniel Freire [Thu, 12 May 2011 07:05:40 +0000 (09:05 +0200)]
Better credits for big buck bunny
Claudio-Daniel Freire [Wed, 11 May 2011 15:21:28 +0000 (17:21 +0200)]
CC-licensed movie for the example
Claudio-Daniel Freire [Tue, 10 May 2011 13:03:50 +0000 (15:03 +0200)]
Remove debugging output from tun_connect - oops
Claudio-Daniel Freire [Tue, 10 May 2011 12:58:32 +0000 (14:58 +0200)]
Synchronization fix for cross connections: wait for tunnels to be up before starting applications
Claudio-Daniel Freire [Tue, 10 May 2011 10:04:49 +0000 (12:04 +0200)]
Test adaptations for NS3-in-NEPI cross connections:
* don't make all tests use the same home - it's confusing for debugging
* Enable debugging output
* Include some useful traces
Claudio-Daniel Freire [Tue, 10 May 2011 08:58:27 +0000 (10:58 +0200)]
Fix super call, totally wrong
Claudio-Daniel Freire [Tue, 10 May 2011 08:57:53 +0000 (10:57 +0200)]
Minor strace fix (still commented though, so just fix commented code)
Claudio-Daniel Freire [Tue, 10 May 2011 08:56:49 +0000 (10:56 +0200)]
Fix cross-testbed netrefs when using NEPI-in-NEPI setups.
Claudio-Daniel Freire [Tue, 10 May 2011 08:55:39 +0000 (10:55 +0200)]
Add missing IPv6 connectors
Fix cross connections by properly handling linux abstract socket names
Claudio-Daniel Freire [Tue, 10 May 2011 08:54:41 +0000 (10:54 +0200)]
Try connecting to the FD-passing unix socket twice - to alleviate synchronization issues
Claudio-Daniel Freire [Tue, 10 May 2011 08:53:52 +0000 (10:53 +0200)]
Properly handle linux abstract socket names
Claudio-Daniel Freire [Tue, 10 May 2011 08:53:02 +0000 (10:53 +0200)]
Detect alternate NS3 installations (_ns3 module instead of ns3)
Claudio-Daniel Freire [Tue, 10 May 2011 08:52:24 +0000 (10:52 +0200)]
Fixed several typos
Somewhat better error handling