nepi.git
12 years agoRemember blacklisting of nodes, and accelerate detection of unresponsive nodes if...
Claudio-Daniel Freire [Thu, 23 Jun 2011 12:09:27 +0000 (14:09 +0200)]
Remember blacklisting of nodes, and accelerate detection of unresponsive nodes if they haven't been provisioned recently

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

12 years agoBlacklist nodes that are not so healthy
Claudio-Daniel Freire [Wed, 22 Jun 2011 15:14:31 +0000 (17:14 +0200)]
Blacklist nodes that are not so healthy

12 years agoTypo: Simulator.IsFinished() instead of Simulator.isFinished()
Alina Quereilhac [Wed, 22 Jun 2011 14:16:39 +0000 (16:16 +0200)]
Typo: Simulator.IsFinished() instead of Simulator.isFinished()

12 years agoShutdown fix: wait for the simulator to stop running before dereferencing elements.
Claudio-Daniel Freire [Wed, 15 Jun 2011 09:47:41 +0000 (11:47 +0200)]
Shutdown fix: wait for the simulator to stop running before dereferencing elements.
NS3 isn't thread-safe, so destroying elements (which could happen when dereferenced)
while the simulator is running could be disastruous

12 years agobugfix: EINTRs caught
Alina Quereilhac [Sun, 12 Jun 2011 10:37:23 +0000 (12:37 +0200)]
bugfix: EINTRs caught

12 years agomerge
Alina Quereilhac [Fri, 10 Jun 2011 11:11:37 +0000 (13:11 +0200)]
merge

12 years agocorrected typo
Alina Quereilhac [Fri, 10 Jun 2011 11:10:38 +0000 (13:10 +0200)]
corrected typo

12 years agoMerging with HEAD
Claudio-Daniel Freire [Thu, 9 Jun 2011 13:06:22 +0000 (15:06 +0200)]
Merging with HEAD

12 years agoDo check dependency install after the fact.
Claudio-Daniel Freire [Thu, 9 Jun 2011 13:05:45 +0000 (15:05 +0200)]
Do check dependency install after the fact.
Raise an exception if there was an error.

12 years agocreation of home directory in netns/execute.py
Alina Quereilhac [Wed, 8 Jun 2011 16:37:30 +0000 (18:37 +0200)]
creation of home directory in netns/execute.py

12 years agoAdded connection ordering in testbed_impl.py _do_connect by returning CONNECTION_DELA...
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.

12 years agoconnections for ns3 wifi managers.
Alina Quereilhac [Wed, 8 Jun 2011 13:24:53 +0000 (15:24 +0200)]
connections for ns3 wifi managers.

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 agominor bugfix in construction of ns3 waypoint mobility model.
Alina Quereilhac [Wed, 8 Jun 2011 09:56:45 +0000 (11:56 +0200)]
minor bugfix in construction of ns3 waypoint mobility model.

12 years agobug fixes
Alina Quereilhac [Tue, 7 Jun 2011 23:46:04 +0000 (01:46 +0200)]
bug fixes

12 years agopossible bug fix: reason why pyQt was freezing when shutting down the experiment
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

12 years agoConcurrency fix in netns: if there is more than one netns instance in the same host...
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.

12 years agonothing
Alina Quereilhac [Mon, 6 Jun 2011 16:25:11 +0000 (18:25 +0200)]
nothing

12 years agoimproved example/big_buck_bunny_420p_mpeg4.ts
Alina Quereilhac [Mon, 6 Jun 2011 14:13:15 +0000 (16:13 +0200)]
improved example/big_buck_bunny_420p_mpeg4.ts

12 years agoAdded WaypointMobilityModel to ns3 backend
Alina Quereilhac [Sun, 5 Jun 2011 16:23:55 +0000 (18:23 +0200)]
Added WaypointMobilityModel to ns3 backend

12 years agoadded: traces_info showing the filepath for all traces
Alina Quereilhac [Sun, 5 Jun 2011 13:03:35 +0000 (15:03 +0200)]
added: traces_info showing the filepath for all traces

12 years agonode trace added to netns:Node. Bug: netns doesn't properly close subprocesses not...
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

13 years agoBug fix: in netns DesignOnly attributes should not be set in the python objects
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

13 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().

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

13 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

13 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

13 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

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

13 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

13 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)

13 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

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

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

13 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

13 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

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

13 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

13 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

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

13 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

13 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

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

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

13 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

13 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

13 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)

13 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

13 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

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

13 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

13 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.

13 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

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

13 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

13 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)

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

13 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