nepi.git
13 years agoSlice cleanup: dedicated slices can be cleaned up thoroughly.
Claudio-Daniel Freire [Tue, 9 Aug 2011 15:34:19 +0000 (17:34 +0200)]
Slice cleanup: dedicated slices can be cleaned up thoroughly.
The user only has to set the appropriate testbed attribute

13 years agoYumDependency fix: try tar twice, yum seems to be working in the background at times
Claudio-Daniel Freire [Tue, 9 Aug 2011 15:32:24 +0000 (17:32 +0200)]
YumDependency fix: try tar twice, yum seems to be working in the background at times

13 years agoBUgfix in ns3 testbed, when scheuling an event, the condition was released always...
Alina Quereilhac [Mon, 8 Aug 2011 08:36:08 +0000 (10:36 +0200)]
BUgfix in ns3 testbed, when scheuling an event, the condition was released always after a wait.

13 years agoBugFix: Tixket #84 - [NEF] netns can't run with daemonized experiment controller.
Alina Quereilhac [Sat, 6 Aug 2011 07:31:39 +0000 (09:31 +0200)]
BugFix: Tixket #84 - [NEF] netns can't run with daemonized experiment controller.

13 years agoadded integration test fot netns
Alina Quereilhac [Fri, 5 Aug 2011 15:58:21 +0000 (17:58 +0200)]
added integration test fot netns

13 years agobugfix: ns3 connection metadata
Alina Quereilhac [Thu, 4 Aug 2011 15:58:02 +0000 (17:58 +0200)]
bugfix: ns3 connection metadata

13 years agoMore encodign fixes, xml does not know how to encode \x00
Claudio-Daniel Freire [Thu, 4 Aug 2011 12:29:56 +0000 (14:29 +0200)]
More encodign fixes, xml does not know how to encode \x00

13 years agoMerge with head
Claudio-Daniel Freire [Thu, 4 Aug 2011 11:24:39 +0000 (13:24 +0200)]
Merge with head

13 years agoEncoding fix: make sure to pass unicode objects for xml serialization
Claudio-Daniel Freire [Thu, 4 Aug 2011 11:23:51 +0000 (13:23 +0200)]
Encoding fix: make sure to pass unicode objects for xml serialization

13 years agoFix shutdown to use the proper stop procedure (schedule the stop event thread-safely...
Claudio-Daniel Freire [Wed, 3 Aug 2011 16:33:58 +0000 (18:33 +0200)]
Fix shutdown to use the proper stop procedure (schedule the stop event thread-safely) and wait for the simulator thread to stop.

13 years agoMore optimizations: remove packet logging, not needed now that tunnels use tcpdump...
Claudio-Daniel Freire [Wed, 3 Aug 2011 13:10:52 +0000 (15:10 +0200)]
More optimizations: remove packet logging, not needed now that tunnels use tcpdump for that

13 years agoTUN/TAP optimizations, generizations, and a benchmark
Claudio-Daniel Freire [Wed, 3 Aug 2011 11:47:39 +0000 (13:47 +0200)]
TUN/TAP optimizations, generizations, and a benchmark

13 years agoSome apps need more than one kill to die.
Claudio-Daniel Freire [Wed, 3 Aug 2011 11:47:03 +0000 (13:47 +0200)]
Some apps need more than one kill to die.

13 years agoFix the txqueuelen TUN/TAP attribute (typo)
Claudio-Daniel Freire [Wed, 3 Aug 2011 11:46:40 +0000 (13:46 +0200)]
Fix the txqueuelen TUN/TAP attribute (typo)

13 years agoSet TUN/TAP devices to ONE_QUEUE mode, which is more stable.
Claudio-Daniel Freire [Wed, 3 Aug 2011 10:31:22 +0000 (12:31 +0200)]
Set TUN/TAP devices to ONE_QUEUE mode, which is more stable.
Otherwise, heavily-loaded tunnels can destabilize PlanetLab kernels.

13 years agoAllow multiple occurrences (even recursive occurrences) of netrefs
Claudio-Daniel Freire [Wed, 3 Aug 2011 10:30:43 +0000 (12:30 +0200)]
Allow multiple occurrences (even recursive occurrences) of netrefs

13 years agoAdded FdNetDevice test for ns3 integration.
Alina Quereilhac [Mon, 1 Aug 2011 15:05:11 +0000 (17:05 +0200)]
Added FdNetDevice test for ns3 integration.

13 years agoAdapted ns3 testbed to changes in FdNetDevice.
Alina Quereilhac [Mon, 1 Aug 2011 10:31:37 +0000 (12:31 +0200)]
Adapted ns3 testbed to changes in FdNetDevice.

13 years agoFix etherStrip bug
Claudio-Daniel Freire [Mon, 1 Aug 2011 08:40:15 +0000 (10:40 +0200)]
Fix etherStrip bug

13 years agoAdapting nepi to ns3.11
Alina Quereilhac [Sat, 30 Jul 2011 10:30:54 +0000 (12:30 +0200)]
Adapting nepi to ns3.11

13 years agoTunChannel optimization: do not even format packets if there is no stderr output...
Claudio-Daniel Freire [Fri, 29 Jul 2011 15:28:13 +0000 (17:28 +0200)]
TunChannel optimization: do not even format packets if there is no stderr output to write to

13 years agoYumDependency fix in install commands - typos galore
Claudio-Daniel Freire [Fri, 29 Jul 2011 14:49:02 +0000 (16:49 +0200)]
YumDependency fix in install commands - typos galore

13 years agoTestbed status
Claudio-Daniel Freire [Thu, 28 Jul 2011 17:09:32 +0000 (19:09 +0200)]
Testbed status

13 years agoAdd useful and important tag filters for node selection:
Claudio-Daniel Freire [Thu, 28 Jul 2011 16:19:01 +0000 (18:19 +0200)]
Add useful and important tag filters for node selection:
 - Location
 - CPU available
 - Load average

13 years agoCross-connection recovery among PlanetLab instances
Claudio-Daniel Freire [Thu, 28 Jul 2011 15:13:17 +0000 (17:13 +0200)]
Cross-connection recovery among PlanetLab instances
Still not tested with other testbeds

13 years agoUse repr for showing invalid values, helps detecting type mismatches
Claudio-Daniel Freire [Thu, 28 Jul 2011 15:12:40 +0000 (17:12 +0200)]
Use repr for showing invalid values, helps detecting type mismatches

13 years agoHigher parallelism
Claudio-Daniel Freire [Thu, 28 Jul 2011 15:12:16 +0000 (17:12 +0200)]
Higher parallelism

13 years agoGeneric number validator (accepting multiple numeric types)
Claudio-Daniel Freire [Thu, 28 Jul 2011 15:11:53 +0000 (17:11 +0200)]
Generic number validator (accepting multiple numeric types)

13 years agoMulti PL tests are not expensive, remove the NEPI_FULL_TESTS requirement
Claudio-Daniel Freire [Thu, 28 Jul 2011 10:18:36 +0000 (12:18 +0200)]
Multi PL tests are not expensive, remove the NEPI_FULL_TESTS requirement

13 years agoMore documentation of recovery procedures
Claudio-Daniel Freire [Thu, 28 Jul 2011 10:02:48 +0000 (12:02 +0200)]
More documentation of recovery procedures

13 years agoDocument the recovery procedure
Claudio-Daniel Freire [Thu, 28 Jul 2011 10:00:03 +0000 (12:00 +0200)]
Document the recovery procedure

13 years agoRecovery policy for testbeds, and recovery implementation in PlanetLab.
Claudio-Daniel Freire [Thu, 28 Jul 2011 09:57:38 +0000 (11:57 +0200)]
Recovery policy for testbeds, and recovery implementation in PlanetLab.
Not fully tested yet, especially untested are cross connections.

13 years agoMerge with head
Claudio-Daniel Freire [Wed, 27 Jul 2011 14:01:38 +0000 (16:01 +0200)]
Merge with head

13 years agoUpdate PlanetLab's NS3Dependency to work with ns 3.11
Claudio-Daniel Freire [Wed, 27 Jul 2011 14:00:27 +0000 (16:00 +0200)]
Update PlanetLab's NS3Dependency to work with ns 3.11

13 years agoAbility to recover local controllers
Claudio-Daniel Freire [Wed, 27 Jul 2011 14:00:01 +0000 (16:00 +0200)]
Ability to recover local controllers

13 years agoconstants for recovery policy
Alina Quereilhac [Wed, 27 Jul 2011 11:56:28 +0000 (13:56 +0200)]
constants for recovery policy

13 years agobugfix for finding ns3 bindings when installed in the system
Alina Quereilhac [Wed, 27 Jul 2011 09:33:13 +0000 (11:33 +0200)]
bugfix for finding ns3 bindings when installed in the system

13 years agoMerge with tip
Claudio-Daniel Freire [Tue, 26 Jul 2011 16:24:29 +0000 (18:24 +0200)]
Merge with tip

13 years agoFix YumDependency: clean packages.tar before archiving
Claudio-Daniel Freire [Tue, 26 Jul 2011 16:17:31 +0000 (18:17 +0200)]
Fix YumDependency: clean packages.tar before archiving

13 years agoMake spanning deployment optional, both for security and interactivity reasons (spann...
Claudio-Daniel Freire [Tue, 26 Jul 2011 16:16:57 +0000 (18:16 +0200)]
Make spanning deployment optional, both for security and interactivity reasons (spanning deployment is interactive, it may not always be appropriate, like in tests)

13 years agoTicket #73: part 1, enable spanning tree deployment of package dependencies
Claudio-Daniel Freire [Tue, 26 Jul 2011 15:47:08 +0000 (17:47 +0200)]
Ticket #73: part 1, enable spanning tree deployment of package dependencies

13 years agoMerge ns-3.11 branch
Claudio-Daniel Freire [Tue, 26 Jul 2011 15:35:21 +0000 (17:35 +0200)]
Merge ns-3.11 branch

13 years agoClose ns-3.11 branch
Claudio-Daniel Freire [Tue, 26 Jul 2011 15:34:59 +0000 (17:34 +0200)]
Close ns-3.11 branch

13 years agoMerge ns-3.11 branch
Claudio-Daniel Freire [Tue, 26 Jul 2011 15:34:33 +0000 (17:34 +0200)]
Merge ns-3.11 branch

13 years agoSchedulerType attribute for ns3 testbed
Claudio-Daniel Freire [Tue, 26 Jul 2011 15:17:07 +0000 (17:17 +0200)]
SchedulerType attribute for ns3 testbed
Defaulted to ns3::ThreadsafeMapScheduler, since nepi requires thread-safe scheduling.

13 years agoMerge
Claudio-Daniel Freire [Tue, 26 Jul 2011 15:07:06 +0000 (17:07 +0200)]
Merge

13 years agons3_bindings_import
Alina Quereilhac [Tue, 26 Jul 2011 15:10:47 +0000 (17:10 +0200)]
ns3_bindings_import

13 years agoMerge default
Claudio-Daniel Freire [Tue, 26 Jul 2011 14:58:11 +0000 (16:58 +0200)]
Merge default

13 years agoController resucitation fixes.
Claudio-Daniel Freire [Mon, 25 Jul 2011 16:54:00 +0000 (18:54 +0200)]
Controller resucitation fixes.

13 years agoReconnection fix: testbed deserialization was completely borked
Claudio-Daniel Freire [Mon, 25 Jul 2011 13:19:39 +0000 (15:19 +0200)]
Reconnection fix: testbed deserialization was completely borked

13 years agoUseful directory argument to environ.homepath
Claudio-Daniel Freire [Mon, 25 Jul 2011 10:28:59 +0000 (12:28 +0200)]
Useful directory argument to environ.homepath

13 years agoSSH daemonization test fix, along with environment setup fixes.
Claudio-Daniel Freire [Fri, 22 Jul 2011 14:49:34 +0000 (16:49 +0200)]
SSH daemonization test fix, along with environment setup fixes.
 - NEPI_TESTBEDS: new environment variable that allows the specification of a mapping between testbed_id and testbed modules, for custom (eg: mock) testbeds
 - environment_setup now does work with locally daemonized testbeds (it wasn't working)

13 years agoVarious fixes:
Claudio-Daniel Freire [Fri, 22 Jul 2011 08:57:38 +0000 (10:57 +0200)]
Various fixes:
 - Parallelization fix: sync before post-actions
 - Fix port randomization in PL tests

13 years agons-3.11
Alina Quereilhac [Fri, 22 Jul 2011 08:52:10 +0000 (10:52 +0200)]
ns-3.11

13 years agoremoved tag ROUTER from tags
Alina Quereilhac [Fri, 22 Jul 2011 08:38:47 +0000 (10:38 +0200)]
removed tag ROUTER from tags

13 years agoTicket #69: tun/tap port base allows concurrent experiments in the same slice (if...
Claudio-Daniel Freire [Thu, 21 Jul 2011 13:12:51 +0000 (15:12 +0200)]
Ticket #69: tun/tap port base allows concurrent experiments in the same slice (if configured correctly)

13 years agoLogging for testbed_impl
Claudio-Daniel Freire [Thu, 21 Jul 2011 12:50:51 +0000 (14:50 +0200)]
Logging for testbed_impl

13 years agoMerge with head
Claudio-Daniel Freire [Thu, 21 Jul 2011 12:21:56 +0000 (14:21 +0200)]
Merge with head

13 years agoTicket #70: Logging instead of prints for PlanetLab
Claudio-Daniel Freire [Thu, 21 Jul 2011 12:21:45 +0000 (14:21 +0200)]
Ticket #70: Logging instead of prints for PlanetLab

13 years agotypo corrected in execute.py
Alina Quereilhac [Thu, 21 Jul 2011 11:54:25 +0000 (13:54 +0200)]
typo corrected in execute.py

13 years agoTicket #61: test daemonization
Claudio-Daniel Freire [Thu, 21 Jul 2011 11:28:25 +0000 (13:28 +0200)]
Ticket #61: test daemonization

13 years agoMade automatic proxy reconnection more robust
Claudio-Daniel Freire [Wed, 20 Jul 2011 12:33:38 +0000 (14:33 +0200)]
Made automatic proxy reconnection more robust

13 years agoCatch socket timeouts too and retry
Claudio-Daniel Freire [Wed, 20 Jul 2011 10:34:09 +0000 (12:34 +0200)]
Catch socket timeouts too and retry

13 years agoFix typo
Claudio-Daniel Freire [Wed, 20 Jul 2011 10:33:30 +0000 (12:33 +0200)]
Fix typo

13 years agoTicket #71: inner parallelization of setup phases
Claudio-Daniel Freire [Tue, 19 Jul 2011 14:46:35 +0000 (16:46 +0200)]
Ticket #71: inner parallelization of setup phases

13 years agoFix can_connect logic
Claudio-Daniel Freire [Tue, 19 Jul 2011 13:20:54 +0000 (15:20 +0200)]
Fix can_connect logic

13 years agoAlways kill tcpdumps, even on errors
Claudio-Daniel Freire [Tue, 19 Jul 2011 13:20:44 +0000 (15:20 +0200)]
Always kill tcpdumps, even on errors

13 years agoTicket #58: remove the emulation flag, instead, pick correctly configured nodes only
Claudio-Daniel Freire [Tue, 19 Jul 2011 12:09:47 +0000 (14:09 +0200)]
Ticket #58: remove the emulation flag, instead, pick correctly configured nodes only

13 years agoFix crossconnection bug: undefer cross_connection data for proper serialization
Claudio-Daniel Freire [Tue, 19 Jul 2011 12:09:07 +0000 (14:09 +0200)]
Fix crossconnection bug: undefer cross_connection data for proper serialization

13 years agoMake sure "if <deferred>:" is equivalent to the undeferred case by implementing __non...
Claudio-Daniel Freire [Tue, 19 Jul 2011 12:08:27 +0000 (14:08 +0200)]
Make sure "if <deferred>:" is equivalent to the undeferred case by implementing __nonzero__

13 years agoFix test: TestbedControllers now don't take a version parameter
Claudio-Daniel Freire [Tue, 19 Jul 2011 09:30:11 +0000 (11:30 +0200)]
Fix test: TestbedControllers now don't take a version parameter

13 years ago_program_testbed_controllers should skip deferred testbeds
Claudio-Daniel Freire [Mon, 18 Jul 2011 17:30:26 +0000 (19:30 +0200)]
_program_testbed_controllers should skip deferred testbeds

13 years agoFix default value in tun_key which should be ascii (encode in base-64 to fix)
Claudio-Daniel Freire [Mon, 18 Jul 2011 17:30:09 +0000 (19:30 +0200)]
Fix default value in tun_key which should be ascii (encode in base-64 to fix)

13 years agoFix typing annotations in proxy get_attribute_list: flags must accept null
Claudio-Daniel Freire [Mon, 18 Jul 2011 17:29:39 +0000 (19:29 +0200)]
Fix typing annotations in proxy get_attribute_list: flags must accept null

13 years agobug fix in core/execute.py when programming defered cross connections
Alina Quereilhac [Mon, 18 Jul 2011 15:31:29 +0000 (17:31 +0200)]
bug fix in core/execute.py when programming defered cross connections

13 years agoFix ns3-3.9 URL
Claudio-Daniel Freire [Mon, 18 Jul 2011 14:18:54 +0000 (16:18 +0200)]
Fix ns3-3.9 URL
Fix installation to not break everything when ${BUILD}/target does not exist (or is empty)

13 years agoProgress logging should ALL go to stderr
Claudio-Daniel Freire [Mon, 18 Jul 2011 11:52:17 +0000 (13:52 +0200)]
Progress logging should ALL go to stderr

13 years agoMerging with head
Claudio-Daniel Freire [Mon, 18 Jul 2011 11:29:18 +0000 (13:29 +0200)]
Merging with head

13 years agoProxying and marshalling fixes
Claudio-Daniel Freire [Mon, 18 Jul 2011 11:28:41 +0000 (13:28 +0200)]
Proxying and marshalling fixes

13 years agominor bug fixing
Alina Quereilhac [Sun, 17 Jul 2011 16:48:13 +0000 (18:48 +0200)]
minor bug fixing

13 years agoRemoved version number from testbed file names. Only 1 version permitted at the time.
Alina Quereilhac [Sun, 17 Jul 2011 16:27:04 +0000 (18:27 +0200)]
Removed version number from testbed file names. Only 1 version permitted at the time.

13 years agoAllow filtering attributes that do NOT have some flags (in get_attribute_list)
Claudio-Daniel Freire [Tue, 12 Jul 2011 16:21:45 +0000 (18:21 +0200)]
Allow filtering attributes that do NOT have some flags (in get_attribute_list)

13 years agoTicket #54: experiment controller now creates an "execution xml" with run-time attrib...
Claudio-Daniel Freire [Tue, 12 Jul 2011 16:11:38 +0000 (18:11 +0200)]
Ticket #54: experiment controller now creates an "execution xml" with run-time attribute values
Useful when there are execute-only attributes or attributes that are defined at execute time only.

13 years agoTicket #55: generate pcap traces for PlanetLab
Claudio-Daniel Freire [Tue, 12 Jul 2011 14:11:22 +0000 (16:11 +0200)]
Ticket #55: generate pcap traces for PlanetLab

13 years agominor bugfix in attribute tags for ns3 metadata
Alina Quereilhac [Fri, 8 Jul 2011 15:06:52 +0000 (17:06 +0200)]
minor bugfix in attribute tags for ns3 metadata

13 years agocode clean up
Alina Quereilhac [Fri, 8 Jul 2011 13:57:29 +0000 (15:57 +0200)]
code clean up

13 years agoMerge with head
Claudio-Daniel Freire [Wed, 6 Jul 2011 15:22:54 +0000 (17:22 +0200)]
Merge with head

13 years agoResource discovery fix
Claudio-Daniel Freire [Wed, 6 Jul 2011 15:22:35 +0000 (17:22 +0200)]
Resource discovery fix

13 years agobugfix: can_cross and must_cross platform fixed in connetot.py
Alina Quereilhac [Wed, 6 Jul 2011 15:02:30 +0000 (17:02 +0200)]
bugfix: can_cross and must_cross platform fixed in connetot.py

13 years agofilter attributes by flag
Alina Quereilhac [Wed, 6 Jul 2011 13:16:53 +0000 (15:16 +0200)]
filter attributes by flag

13 years agoadded tagged attributes in metadata.py
Alina Quereilhac [Wed, 6 Jul 2011 12:04:24 +0000 (14:04 +0200)]
added tagged attributes in metadata.py

13 years agoenforce tags system
Alina Quereilhac [Wed, 6 Jul 2011 10:36:00 +0000 (12:36 +0200)]
enforce tags system

13 years agometadata.py clean up
Alina Quereilhac [Tue, 5 Jul 2011 16:56:02 +0000 (18:56 +0200)]
metadata.py clean up

13 years agomerged Factory from design and execute
Alina Quereilhac [Tue, 5 Jul 2011 13:39:29 +0000 (15:39 +0200)]
merged Factory from design and execute

13 years agomerged ConnectorTyper for design and execution
Alina Quereilhac [Tue, 5 Jul 2011 10:50:03 +0000 (12:50 +0200)]
merged ConnectorTyper for design and execution

13 years agoTagging stable version for packaging
Claudio-Daniel Freire [Tue, 5 Jul 2011 10:35:45 +0000 (12:35 +0200)]
Tagging stable version for packaging

13 years agoAdded attribute MaxAddresses for interface factories to design nepi_v2_1
Alina Quereilhac [Mon, 4 Jul 2011 17:21:25 +0000 (19:21 +0200)]
Added attribute MaxAddresses for interface factories to design

13 years agoadded metric to routes
Alina Quereilhac [Mon, 4 Jul 2011 13:29:31 +0000 (15:29 +0200)]
added metric to routes

13 years agoMerge with head
Claudio-Daniel Freire [Mon, 4 Jul 2011 10:59:53 +0000 (12:59 +0200)]
Merge with head

13 years agoRouting fix: TunIface.routes_here was not accounting for automatic p2p linkage
Claudio-Daniel Freire [Mon, 4 Jul 2011 10:59:30 +0000 (12:59 +0200)]
Routing fix: TunIface.routes_here was not accounting for automatic p2p linkage