nepi.git
12 years agoTicket #45: spanning tree deployment
Claudio-Daniel Freire [Wed, 8 Jun 2011 11:58:23 +0000 (13:58 +0200)]
Ticket #45: spanning tree deployment

12 years agoremote_kill wasn't working as hot with nowait
Claudio-Daniel Freire [Wed, 8 Jun 2011 11:57:58 +0000 (13:57 +0200)]
remote_kill wasn't working as hot with nowait

12 years agoSupport for poststep hooks (mainly for parallelization of step tasks)
Claudio-Daniel Freire [Wed, 8 Jun 2011 10:45:43 +0000 (12:45 +0200)]
Support for poststep hooks (mainly for parallelization of step tasks)

12 years agobug fix: work arround to the problem of RealtimeSimulatorImpl not finishing with...
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().

12 years agoMerging with head
Claudio-Daniel Freire [Tue, 31 May 2011 15:54:46 +0000 (17:54 +0200)]
Merging with head

12 years agoA series of synchronization fixes:
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

12 years agons3 version 3_9_RC3 replaces for 3_9
Alina Quereilhac [Mon, 30 May 2011 17:09:32 +0000 (19:09 +0200)]
ns3 version 3_9_RC3 replaces for 3_9

12 years agoMerging with HEAD
Claudio-Daniel Freire [Mon, 30 May 2011 14:46:20 +0000 (16:46 +0200)]
Merging with HEAD
Fixing a few thingies in tunproto

12 years agonew tag: nepi_v2
Alina Quereilhac [Fri, 27 May 2011 15:26:48 +0000 (17:26 +0200)]
new tag: nepi_v2

12 years agosmall bugfix in netns metadata nepi_v2
Alina Quereilhac [Fri, 27 May 2011 14:54:18 +0000 (16:54 +0200)]
small bugfix in netns metadata

12 years agoresourcealloc improvement: also force selection when the hamming cardinality is 1...
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)

12 years agoBugfix: NetPipe's addrlist validation was broken
Claudio-Daniel Freire [Fri, 27 May 2011 14:21:43 +0000 (16:21 +0200)]
Bugfix: NetPipe's addrlist validation was broken

12 years agoMerging with head
Claudio-Daniel Freire [Fri, 27 May 2011 13:47:57 +0000 (15:47 +0200)]
Merging with head

12 years agobug fixing: addresses and routes
Alina Quereilhac [Fri, 27 May 2011 13:46:33 +0000 (15:46 +0200)]
bug fixing: addresses and routes

12 years agoTicket #39, and a few fixes with find_candidates
Claudio-Daniel Freire [Fri, 27 May 2011 13:05:26 +0000 (15:05 +0200)]
Ticket #39, and a few fixes with find_candidates

12 years agoRequire vroute vsys tag if a node has routes
Claudio-Daniel Freire [Fri, 27 May 2011 12:33:31 +0000 (14:33 +0200)]
Require vroute vsys tag if a node has routes

12 years agoTicket #22: complitid
Claudio-Daniel Freire [Fri, 27 May 2011 10:51:48 +0000 (12:51 +0200)]
Ticket #22: complitid

12 years agoTicket #22: add nepi.util.settools to setup.py
Claudio-Daniel Freire [Fri, 27 May 2011 10:33:01 +0000 (12:33 +0200)]
Ticket #22: add nepi.util.settools to setup.py

12 years agoTicket #22: resource discovery and allocation, algorithmic implementation
Claudio-Daniel Freire [Fri, 27 May 2011 09:02:24 +0000 (11:02 +0200)]
Ticket #22: resource discovery and allocation, algorithmic implementation

12 years agoMerge with head
Claudio-Daniel Freire [Wed, 25 May 2011 15:48:27 +0000 (17:48 +0200)]
Merge with head

12 years agoAdd RTT trace to V4Ping, update test to test the RTT trace
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

12 years agoResize big buck bunny so that the example works better
Claudio-Daniel Freire [Wed, 25 May 2011 10:35:47 +0000 (12:35 +0200)]
Resize big buck bunny so that the example works better

12 years agodeleted label from graphical info
Alina Quereilhac [Wed, 25 May 2011 10:09:53 +0000 (12:09 +0200)]
deleted label from graphical info

12 years agobug fix in traces
Alina Quereilhac [Tue, 24 May 2011 16:55:18 +0000 (18:55 +0200)]
bug fix in traces

12 years agons3 testbed small bugfix in the schedule_event
Alina Quereilhac [Tue, 24 May 2011 14:48:23 +0000 (16:48 +0200)]
ns3 testbed small bugfix in the schedule_event

12 years agons3 set/get during simulation execution
Alina Quereilhac [Tue, 24 May 2011 13:14:08 +0000 (15:14 +0200)]
ns3 set/get during simulation execution

12 years agoadded: experiment_description.get_element(guid)
Alina Quereilhac [Tue, 24 May 2011 11:46:07 +0000 (13:46 +0200)]
added: experiment_description.get_element(guid)

12 years agoAdded metods to obtain factory_id, testbed_id and testbed_version for a box using...
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

12 years agoFix PL tests after controller interface change
Claudio-Daniel Freire [Tue, 24 May 2011 10:10:10 +0000 (12:10 +0200)]
Fix PL tests after controller interface change

12 years agoMerge with head
Claudio-Daniel Freire [Tue, 24 May 2011 08:26:42 +0000 (10:26 +0200)]
Merge with head

12 years agoShorten big buck bunny film
Claudio-Daniel Freire [Tue, 24 May 2011 08:24:07 +0000 (10:24 +0200)]
Shorten big buck bunny film

12 years agoeliminated parameters testbed_guid in experiment controller methods when the guid...
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.

12 years agoadded tags to boxes. For now only one tag: MOBILE
Alina Quereilhac [Mon, 23 May 2011 21:01:50 +0000 (23:01 +0200)]
added tags to boxes. For now only one tag: MOBILE

12 years agoadded category to attributes
Alina Quereilhac [Mon, 23 May 2011 17:22:07 +0000 (19:22 +0200)]
added category to attributes

12 years agoRouting fixes in ns3: consider point-to-point patterns when figuring out nexthop...
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

12 years agoFix routing: only consider gateway addresses for routes_here (ie: the GW must belong...
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)

12 years agominor correction
Alina Quereilhac [Mon, 23 May 2011 12:17:47 +0000 (14:17 +0200)]
minor correction

12 years agons3 testbed receives a "StopTime" parameter to force the simulator to stop at a certa...
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.

13 years agoAdded support for ns-3 Wimax module. wimax_ns3.py example not working: SS never regis...
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!

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

13 years agoTicket #30: Routing in PlanetLab, with a (currently broken) test
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

13 years agoPL Point-to-point link support (TUNs automatically set their interfaces for P2P,...
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

13 years agoMore descriptive exception messages for design errors
Claudio-Daniel Freire [Thu, 19 May 2011 16:05:33 +0000 (18:05 +0200)]
More descriptive exception messages for design errors

13 years agoFix XML generation for attribute-less boxes
Claudio-Daniel Freire [Wed, 18 May 2011 12:05:20 +0000 (14:05 +0200)]
Fix XML generation for attribute-less boxes

13 years agobugfix: graphical info was not being set when reconstructing the testbeds from the...
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

13 years agoBack to 2-node snat test
Claudio-Daniel Freire [Wed, 18 May 2011 09:43:32 +0000 (11:43 +0200)]
Back to 2-node snat test

13 years agoWait for node dependencies to be installed before using them (invoking gcc)
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)

13 years agoFix TUNGETIFF ioctl invocation to use the correct buffer structure
Claudio-Daniel Freire [Wed, 18 May 2011 09:42:47 +0000 (11:42 +0200)]
Fix TUNGETIFF ioctl invocation to use the correct buffer structure

13 years agoCross TUN test
Claudio-Daniel Freire [Tue, 17 May 2011 13:13:33 +0000 (15:13 +0200)]
Cross TUN test

13 years agoGeneral cross TUN fixes
Claudio-Daniel Freire [Tue, 17 May 2011 13:13:20 +0000 (15:13 +0200)]
General cross TUN fixes

13 years agoget methods of proxies should pickle data, they need to preserve the data types.
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.

13 years agoFix invisible attribute implementation: they should be both queriable and settable.
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.

13 years agoPreserve the traceback when relaying exceptions from within threads
Claudio-Daniel Freire [Tue, 17 May 2011 13:09:40 +0000 (15:09 +0200)]
Preserve the traceback when relaying exceptions from within threads

13 years agoTunChannel finalization fix
Claudio-Daniel Freire [Mon, 16 May 2011 15:38:35 +0000 (17:38 +0200)]
TunChannel finalization fix

13 years agoMissing imports
Claudio-Daniel Freire [Mon, 16 May 2011 15:38:24 +0000 (17:38 +0200)]
Missing imports

13 years agoInitial u ntested implementation of TunChannel for netns
Claudio-Daniel Freire [Mon, 16 May 2011 15:06:34 +0000 (17:06 +0200)]
Initial u ntested implementation of TunChannel for netns

13 years agoAdd TUNGETIFF to constants, they're useful
Claudio-Daniel Freire [Mon, 16 May 2011 14:59:44 +0000 (16:59 +0200)]
Add TUNGETIFF to constants, they're useful

13 years agoForgot to implement with_pi & ethernet_mode (oops)
Claudio-Daniel Freire [Mon, 16 May 2011 14:41:00 +0000 (16:41 +0200)]
Forgot to implement with_pi & ethernet_mode (oops)

13 years agoDocument stock implementation functions
Claudio-Daniel Freire [Mon, 16 May 2011 14:36:21 +0000 (16:36 +0200)]
Document stock implementation functions

13 years agoAdd tunchannel_impl, see previous commit
Claudio-Daniel Freire [Mon, 16 May 2011 14:21:32 +0000 (16:21 +0200)]
Add tunchannel_impl, see previous commit

13 years agoRefactor a bit more, connect, wait, create and configure functions are also general...
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).

13 years agoRefactor TunChannel implementation in ns3 to make it common to all testbeds:
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.

13 years agoInitial untested implementation of ns3 tun-compliant connections (Tunchannel)
Claudio-Daniel Freire [Mon, 16 May 2011 13:34:49 +0000 (15:34 +0200)]
Initial untested implementation of ns3 tun-compliant connections (Tunchannel)

13 years agoTermination fix on tun_connect
Claudio-Daniel Freire [Mon, 16 May 2011 13:34:19 +0000 (15:34 +0200)]
Termination fix on tun_connect

13 years agoRefactor tunnelling code to put VPN channel protocol stuff in nepi.util (so that...
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).

13 years agoLots of cross-connection fixes, TUN synchronization, etc
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

13 years agoFix connection resolution order check
Claudio-Daniel Freire [Fri, 13 May 2011 08:36:40 +0000 (10:36 +0200)]
Fix connection resolution order check

13 years agoAllow customization of the PLC API to be used for experiments
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

13 years agoFix for 64-bit PL: shared object compilation must be done with -fPIC
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

13 years agoFix broken netref commit: do not consider them resolved if there's any exception...
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)

13 years agoFix stupid bug: missing ns3 reference in _add_static_route
Claudio-Daniel Freire [Thu, 12 May 2011 13:12:24 +0000 (15:12 +0200)]
Fix stupid bug: missing ns3 reference in _add_static_route

13 years agoWoops... fix broken commit about netrefs
Claudio-Daniel Freire [Thu, 12 May 2011 13:05:42 +0000 (15:05 +0200)]
Woops... fix broken commit about netrefs

13 years agoSNAT test
Claudio-Daniel Freire [Thu, 12 May 2011 12:29:25 +0000 (14:29 +0200)]
SNAT test
currently failing due to PL bug :-O

13 years agoCapture packets on FD-based tuns, by spawning a tcpdump in the background
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

13 years agoNetrefs: resolve at create time when possible, some NS3 objects require proper create...
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.

13 years agoNS3 fix: properly handle default (0.0.0.0/0) and host (x.y.z.w/32) routes.
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.

13 years agoBig refactoring of proxy code.
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

13 years agoBetter credits for big buck bunny
Claudio-Daniel Freire [Thu, 12 May 2011 07:05:40 +0000 (09:05 +0200)]
Better credits for big buck bunny

13 years agoCC-licensed movie for the example
Claudio-Daniel Freire [Wed, 11 May 2011 15:21:28 +0000 (17:21 +0200)]
CC-licensed movie for the example

13 years agoRemove debugging output from tun_connect - oops
Claudio-Daniel Freire [Tue, 10 May 2011 13:03:50 +0000 (15:03 +0200)]
Remove debugging output from tun_connect - oops

13 years agoSynchronization fix for cross connections: wait for tunnels to be up before starting...
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

13 years agoTest adaptations for NS3-in-NEPI cross connections:
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

13 years agoFix super call, totally wrong
Claudio-Daniel Freire [Tue, 10 May 2011 08:58:27 +0000 (10:58 +0200)]
Fix super call, totally wrong

13 years agoMinor strace fix (still commented though, so just fix commented code)
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)

13 years agoFix cross-testbed netrefs when using NEPI-in-NEPI setups.
Claudio-Daniel Freire [Tue, 10 May 2011 08:56:49 +0000 (10:56 +0200)]
Fix cross-testbed netrefs when using NEPI-in-NEPI setups.

13 years agoAdd missing IPv6 connectors
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

13 years agoTry connecting to the FD-passing unix socket twice - to alleviate synchronization...
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

13 years agoProperly handle linux abstract socket names
Claudio-Daniel Freire [Tue, 10 May 2011 08:53:52 +0000 (10:53 +0200)]
Properly handle linux abstract socket names

13 years agoDetect alternate NS3 installations (_ns3 module instead of ns3)
Claudio-Daniel Freire [Tue, 10 May 2011 08:53:02 +0000 (10:53 +0200)]
Detect alternate NS3 installations (_ns3 module instead of ns3)

13 years agoFixed several typos
Claudio-Daniel Freire [Tue, 10 May 2011 08:52:24 +0000 (10:52 +0200)]
Fixed several typos
Somewhat better error handling

13 years agoNS3-in-PL fixes all over the place.
Claudio-Daniel Freire [Fri, 6 May 2011 16:46:41 +0000 (18:46 +0200)]
NS3-in-PL fixes all over the place.
Cross-connection fixes all over the place too.
Still couldn't get cross connections working, but that's specific to FileDescriptorNetDevice

13 years agoCreate home directory if not found - NS3 needs it indeed
Claudio-Daniel Freire [Fri, 6 May 2011 16:45:32 +0000 (18:45 +0200)]
Create home directory if not found - NS3 needs it indeed

13 years agoRemember root directory - it's useful
Claudio-Daniel Freire [Fri, 6 May 2011 16:45:07 +0000 (18:45 +0200)]
Remember root directory - it's useful

13 years agoContract attributes cannot be read-only
Claudio-Daniel Freire [Fri, 6 May 2011 16:44:51 +0000 (18:44 +0200)]
Contract attributes cannot be read-only

13 years agoSome fixes to TUN/TAP devices
Claudio-Daniel Freire [Fri, 6 May 2011 16:44:00 +0000 (18:44 +0200)]
Some fixes to TUN/TAP devices
Fixed support for FileDescriptor-based taps.
(still ongoing though)

13 years agoProvide better failure messages
Claudio-Daniel Freire [Fri, 6 May 2011 16:42:56 +0000 (18:42 +0200)]
Provide better failure messages

13 years agoTypos, type, environment, synchronization and other small fixes to Proxies
Claudio-Daniel Freire [Fri, 6 May 2011 16:42:36 +0000 (18:42 +0200)]
Typos, type, environment, synchronization and other small fixes to Proxies

13 years agoFix typo
Claudio-Daniel Freire [Fri, 6 May 2011 15:19:28 +0000 (17:19 +0200)]
Fix typo

13 years agoDo not rebuild ns3 if it's already built.
Claudio-Daniel Freire [Wed, 4 May 2011 16:39:40 +0000 (18:39 +0200)]
Do not rebuild ns3 if it's already built.
Normally, make and friends already do this natively, but waf seems to get confused because we do ./waf clean

13 years agoTicket #14: cross-connections between NS3 and PlanetLab through file descriptors...
Claudio-Daniel Freire [Wed, 4 May 2011 15:03:01 +0000 (17:03 +0200)]
Ticket #14: cross-connections between NS3 and PlanetLab through file descriptors (that means, NS3 instances running inside PL ATM)