nepi.git
12 years agoAllow sporadic failures while polling application status
Claudio-Daniel Freire [Tue, 27 Sep 2011 01:57:07 +0000 (03:57 +0200)]
Allow sporadic failures while polling application status

12 years agoMerge with head
Claudio-Daniel Freire [Sun, 25 Sep 2011 20:26:46 +0000 (22:26 +0200)]
Merge with head

12 years agoPL utilities, useful for experiment designers
Claudio-Daniel Freire [Sun, 25 Sep 2011 20:26:30 +0000 (22:26 +0200)]
PL utilities, useful for experiment designers

12 years agoUse system.multicall to accelerate batch API calls
Claudio-Daniel Freire [Sun, 25 Sep 2011 20:26:12 +0000 (22:26 +0200)]
Use system.multicall to accelerate batch API calls

12 years agowireless overlay example with ns3 and netns
Alina Quereilhac [Sun, 25 Sep 2011 17:20:10 +0000 (19:20 +0200)]
wireless overlay example with ns3 and netns

12 years agoTons of SSH improvements:
Claudio-Daniel Freire [Sat, 24 Sep 2011 07:23:08 +0000 (09:23 +0200)]
Tons of SSH improvements:
 - Use TCP Keepalives to immediately sense broken connections
 - Use SSH Keepalives to tampered connections
 - Use persistent connections to speed up batch commands considerably

12 years agoTrap errors in dropped packet trace dumps - no need to break the whole overlay if...
Claudio-Daniel Freire [Sat, 24 Sep 2011 07:21:20 +0000 (09:21 +0200)]
Trap errors in dropped packet trace dumps - no need to break the whole overlay if something goes wrong there

12 years agoGive the PLC API some time to recover when retrying
Claudio-Daniel Freire [Sat, 24 Sep 2011 07:20:32 +0000 (09:20 +0200)]
Give the PLC API some time to recover when retrying

12 years agoforgot the wimax overlay test
Alina Quereilhac [Thu, 22 Sep 2011 16:46:36 +0000 (18:46 +0200)]
forgot the wimax overlay test

12 years agowimax support.. still ongoing...
Alina Quereilhac [Thu, 22 Sep 2011 16:45:41 +0000 (18:45 +0200)]
wimax support.. still ongoing...

12 years agofixing wimax in ns3
Alina Quereilhac [Wed, 21 Sep 2011 13:09:38 +0000 (15:09 +0200)]
fixing wimax in ns3

12 years agoFix timeout option spec
Claudio-Daniel Freire [Mon, 19 Sep 2011 07:03:03 +0000 (09:03 +0200)]
Fix timeout option spec

12 years agoBetter network failure recovery: added some retries on connection error in applicatio...
Claudio-Daniel Freire [Mon, 19 Sep 2011 06:08:45 +0000 (08:08 +0200)]
Better network failure recovery: added some retries on connection error in application, added ssh timeout with automatic retry on timeout, in case of connection glitches

12 years agoFix a few cornercase bugs in resource allocation
Claudio-Daniel Freire [Mon, 19 Sep 2011 06:07:47 +0000 (08:07 +0200)]
Fix a few cornercase bugs in resource allocation

12 years agoEnable min/max cpu/load, forgot to do so in metadata when they were added
Claudio-Daniel Freire [Mon, 19 Sep 2011 06:07:17 +0000 (08:07 +0200)]
Enable min/max cpu/load, forgot to do so in metadata when they were added

12 years agoIgnore errors on yum cleanup, not really important
Claudio-Daniel Freire [Mon, 19 Sep 2011 01:02:20 +0000 (03:02 +0200)]
Ignore errors on yum cleanup, not really important

12 years agoRetry operations on networking errors. Really common from wan
Claudio-Daniel Freire [Sun, 18 Sep 2011 23:12:08 +0000 (01:12 +0200)]
Retry operations on networking errors. Really common from wan

12 years agoFix in node rating
Claudio-Daniel Freire [Sun, 18 Sep 2011 23:11:40 +0000 (01:11 +0200)]
Fix in node rating

12 years agoFix missing variable in classqueue
Claudio-Daniel Freire [Fri, 16 Sep 2011 03:41:21 +0000 (05:41 +0200)]
Fix missing variable in classqueue

12 years agoDon't silence important errors
Claudio-Daniel Freire [Fri, 16 Sep 2011 03:40:53 +0000 (05:40 +0200)]
Don't silence important errors

12 years agoMerge with head
Claudio-Daniel Freire [Wed, 14 Sep 2011 04:57:40 +0000 (06:57 +0200)]
Merge with head

12 years agoMake PlanetLab select lightly loaded nodes when given the chance (ie, when more candi...
Claudio-Daniel Freire [Wed, 14 Sep 2011 04:57:25 +0000 (06:57 +0200)]
Make PlanetLab select lightly loaded nodes when given the chance (ie, when more candidates than necessary are available)

12 years agoA little more on ExperimentSuite
Alina Quereilhac [Sun, 11 Sep 2011 12:33:31 +0000 (14:33 +0200)]
A little more on ExperimentSuite

12 years agoExperimentSuite still not working...
Alina Quereilhac [Sun, 11 Sep 2011 11:12:20 +0000 (13:12 +0200)]
ExperimentSuite still not working...

12 years agoexperimentsuite test working
Alina Quereilhac [Sat, 10 Sep 2011 17:48:17 +0000 (19:48 +0200)]
experimentsuite test working

12 years agomore on experiment suite
Alina Quereilhac [Sat, 10 Sep 2011 13:49:39 +0000 (15:49 +0200)]
more on experiment suite

12 years agoExperimentSuite strcuture. Still not working, missing proxy and tests.
Alina Quereilhac [Fri, 9 Sep 2011 11:50:30 +0000 (13:50 +0200)]
ExperimentSuite strcuture. Still not working, missing proxy and tests.

12 years agoFix logging
Claudio-Daniel Freire [Fri, 9 Sep 2011 05:24:43 +0000 (07:24 +0200)]
Fix logging

12 years agoAttempt at fixing NS3 in PL:
Claudio-Daniel Freire [Fri, 9 Sep 2011 05:21:54 +0000 (07:21 +0200)]
Attempt at fixing NS3 in PL:
 - Fix in shutdown order (again)
 - Do not check tun_port when raising tun channels, FD channels have no port and it's ok

12 years agoMake servers able to launch when a stale ctrl.sock from a pervious server remains.
Claudio-Daniel Freire [Thu, 8 Sep 2011 10:52:18 +0000 (12:52 +0200)]
Make servers able to launch when a stale ctrl.sock from a pervious server remains.
ctrl.sock sockets are usually left behind when servers are killed or die, since they're not cleaned up automatically by the OS like other sockets

12 years agoFix metadata bug: tun_cipher should also be flagged as META, make tun_cipher in ns3...
Claudio-Daniel Freire [Thu, 8 Sep 2011 10:51:03 +0000 (12:51 +0200)]
Fix metadata bug: tun_cipher should also be flagged as META, make tun_cipher in ns3's fdnd only support PLAIN cipher

12 years agoFix shutdown order to respect creation order (important when running nepi-in-nepi)
Claudio-Daniel Freire [Thu, 8 Sep 2011 10:49:34 +0000 (12:49 +0200)]
Fix shutdown order to respect creation order (important when running nepi-in-nepi)

12 years agoDo not use shell=True with Popen, some distros use dash, we need bash.
Claudio-Daniel Freire [Wed, 7 Sep 2011 21:52:11 +0000 (23:52 +0200)]
Do not use shell=True with Popen, some distros use dash, we need bash.

12 years agoEscape quotes as well - it's not always OK to leave them unquoted
Claudio-Daniel Freire [Wed, 7 Sep 2011 18:27:38 +0000 (20:27 +0200)]
Escape quotes as well - it's not always OK to leave them unquoted

12 years agoFix NS3: --enable-threading no longer valid or needed
Claudio-Daniel Freire [Wed, 7 Sep 2011 02:45:17 +0000 (04:45 +0200)]
Fix NS3: --enable-threading no longer valid or needed

12 years agoFix TUN shutdown: waitkill was not effective because of a faulty if_alive
Claudio-Daniel Freire [Wed, 7 Sep 2011 02:44:47 +0000 (04:44 +0200)]
Fix TUN shutdown: waitkill was not effective because of a faulty if_alive

12 years agoFix sudo in popen_python code
Claudio-Daniel Freire [Tue, 6 Sep 2011 18:06:40 +0000 (20:06 +0200)]
Fix sudo in popen_python code

12 years agoMake sure proxies load the right version of nepi in case multiple ones are installed.
Claudio-Daniel Freire [Mon, 5 Sep 2011 15:17:45 +0000 (17:17 +0200)]
Make sure proxies load the right version of nepi in case multiple ones are installed.

12 years agoFix NO_PI detection in netns
Claudio-Daniel Freire [Mon, 5 Sep 2011 01:20:01 +0000 (03:20 +0200)]
Fix NO_PI detection in netns

12 years agoWait for SERVER_READY or PROXY_READ, instead of expecting it as the first line.
Claudio-Daniel Freire [Mon, 5 Sep 2011 01:19:40 +0000 (03:19 +0200)]
Wait for SERVER_READY or PROXY_READ, instead of expecting it as the first line.
Allows spurious stderr output in environment_setup code (happens in OpenSUSE)

12 years agoFix testbed recovery after bad merge with TCP handshake stuff
Claudio-Daniel Freire [Mon, 5 Sep 2011 01:18:33 +0000 (03:18 +0200)]
Fix testbed recovery after bad merge with TCP handshake stuff

12 years agoFix testbed proxy serialization in the presence of missing values (ie: defaults or...
Claudio-Daniel Freire [Mon, 5 Sep 2011 01:17:46 +0000 (03:17 +0200)]
Fix testbed proxy serialization in the presence of missing values (ie: defaults or None)

12 years agoMerge with HEAD, close aly's branch.
Claudio-Daniel Freire [Sun, 4 Sep 2011 17:31:46 +0000 (19:31 +0200)]
Merge with HEAD, close aly's branch.

12 years agoFix metadata breakage from recent commit
Claudio-Daniel Freire [Sun, 4 Sep 2011 17:30:41 +0000 (19:30 +0200)]
Fix metadata breakage from recent commit

12 years agoMerge TCP handshake stuff
Claudio-Daniel Freire [Sun, 4 Sep 2011 17:27:37 +0000 (19:27 +0200)]
Merge TCP handshake stuff

12 years agoMerge non-handshake stuff
Claudio-Daniel Freire [Sun, 4 Sep 2011 16:54:21 +0000 (18:54 +0200)]
Merge non-handshake stuff

12 years agolog "Connected" after succefull handshake in tunchannel_impl.py
Alina Quereilhac [Sun, 4 Sep 2011 13:20:53 +0000 (15:20 +0200)]
log "Connected" after succefull handshake in tunchannel_impl.py

12 years agoadded Tun device for netns
Alina Quereilhac [Fri, 2 Sep 2011 10:19:31 +0000 (12:19 +0200)]
added Tun device for netns

12 years agoWORKING WORKING WOOOHOOO!!!!!!!!!
Claudio-Daniel Freire [Wed, 31 Aug 2011 18:08:38 +0000 (20:08 +0200)]
WORKING WORKING WOOOHOOO!!!!!!!!!
I'm outa here... must... get... drunk...

12 years agotcp_handshake works!
Alina Quereilhac [Wed, 31 Aug 2011 17:38:38 +0000 (19:38 +0200)]
tcp_handshake works!

12 years agoudp and gre are working. tcp_handshake is not working yet.
Alina Quereilhac [Wed, 31 Aug 2011 16:22:55 +0000 (18:22 +0200)]
udp and gre are working. tcp_handshake is not working yet.

12 years agoMulticast fixes
Claudio-Daniel Freire [Wed, 31 Aug 2011 12:57:44 +0000 (14:57 +0200)]
Multicast fixes

12 years agoWorking (and easy to use) multicast forwarding
Claudio-Daniel Freire [Tue, 30 Aug 2011 17:57:12 +0000 (19:57 +0200)]
Working (and easy to use) multicast forwarding

12 years agoAdded TCP-handshake for TunChannel and tun_connect.py
Alina Quereilhac [Tue, 30 Aug 2011 17:54:26 +0000 (19:54 +0200)]
Added TCP-handshake for TunChannel and tun_connect.py

12 years agoMulticast forwarding KINDA working
Claudio-Daniel Freire [Tue, 30 Aug 2011 13:48:33 +0000 (15:48 +0200)]
Multicast forwarding KINDA working

12 years agocorrected logging of function name in cross connection
Alina Quereilhac [Sun, 28 Aug 2011 16:51:51 +0000 (18:51 +0200)]
corrected logging of function name in cross connection

12 years agoAdded CLEAN_ROOT option to DEPLOYMENT_ATTRIBUTES. This option force removal of the...
Alina Quereilhac [Sun, 28 Aug 2011 16:12:44 +0000 (18:12 +0200)]
Added CLEAN_ROOT option to DEPLOYMENT_ATTRIBUTES. This option force removal of the server's root_directory if it exists already.

12 years agocorrected typo.
Alina Quereilhac [Fri, 26 Aug 2011 16:06:05 +0000 (18:06 +0200)]
corrected typo.

12 years agoOops - copypaste stupidity
Claudio-Daniel Freire [Fri, 26 Aug 2011 16:02:08 +0000 (18:02 +0200)]
Oops - copypaste stupidity
 Yep - there's a lot of it

12 years agoMerge with head
Claudio-Daniel Freire [Fri, 26 Aug 2011 15:58:33 +0000 (17:58 +0200)]
Merge with head

12 years agoIgnore MetaAttribute flags for local factories
Claudio-Daniel Freire [Fri, 26 Aug 2011 15:57:28 +0000 (17:57 +0200)]
Ignore MetaAttribute flags for local factories

12 years agobugfix: in server.Server, inside the message read loop, a break was donde after a...
Alina Quereilhac [Fri, 26 Aug 2011 15:41:37 +0000 (17:41 +0200)]
bugfix: in server.Server, inside the message read loop, a break was donde after a read timeout. After that the Server stayed blocked in accept().

12 years agoThe loglevel of logging is now set from the ExperimentController depending on the...
Alina Quereilhac [Fri, 26 Aug 2011 14:04:16 +0000 (16:04 +0200)]
The loglevel of logging is now set from the ExperimentController depending on the access_configuration setup.

12 years agoEnhanced multicast support: generate IGMP messages for join/leave
Claudio-Daniel Freire [Fri, 26 Aug 2011 11:07:46 +0000 (13:07 +0200)]
Enhanced multicast support: generate IGMP messages for join/leave
The kernel seems to miss many of them when they're associated to virtual interfaces

12 years agoAvoid using PLE for tests
Claudio-Daniel Freire [Thu, 25 Aug 2011 16:09:09 +0000 (18:09 +0200)]
Avoid using PLE for tests

12 years agoSilence Server in tests
Claudio-Daniel Freire [Thu, 25 Aug 2011 16:08:54 +0000 (18:08 +0200)]
Silence Server in tests

12 years agoMissing import
Claudio-Daniel Freire [Thu, 25 Aug 2011 16:07:36 +0000 (18:07 +0200)]
Missing import

12 years agoFix copypaste stupidity
Claudio-Daniel Freire [Thu, 25 Aug 2011 16:04:17 +0000 (18:04 +0200)]
Fix copypaste stupidity

12 years agoUDP TunChannel handshake
Claudio-Daniel Freire [Thu, 25 Aug 2011 15:40:49 +0000 (17:40 +0200)]
UDP TunChannel handshake

12 years agoImplement UDP handshake in tunchannel, so that other testbeds can use it
Claudio-Daniel Freire [Thu, 25 Aug 2011 15:40:22 +0000 (17:40 +0200)]
Implement UDP handshake in tunchannel, so that other testbeds can use it

12 years agoDo not require a real PL for tests.
Claudio-Daniel Freire [Thu, 25 Aug 2011 14:56:52 +0000 (16:56 +0200)]
Do not require a real PL for tests.
Mostly since it's lagging behind in features

12 years agoSanitizing os.reads for EINTR in server.py. The suspicion of pyqt using Twisted grows...
Alina Quereilhac [Thu, 25 Aug 2011 14:44:28 +0000 (16:44 +0200)]
Sanitizing os.reads for EINTR in server.py. The suspicion of pyqt using Twisted grows bigger.

12 years agoForwarder must also forward EOF!!
Claudio-Daniel Freire [Thu, 25 Aug 2011 14:34:00 +0000 (16:34 +0200)]
Forwarder must also forward EOF!!
(And server must detect it and re-listen)

12 years agoAutodetect NEPI's path
Claudio-Daniel Freire [Thu, 25 Aug 2011 12:26:00 +0000 (14:26 +0200)]
Autodetect NEPI's path

12 years agodisabled sudo integration test for netns testbed.
Alina Quereilhac [Thu, 25 Aug 2011 12:23:50 +0000 (14:23 +0200)]
disabled sudo integration test for netns testbed.

12 years agomerge.
Alina Quereilhac [Thu, 25 Aug 2011 11:22:29 +0000 (13:22 +0200)]
merge.

12 years agoDaemonized servers are now always launched with popen, and not directly invoked in...
Alina Quereilhac [Thu, 25 Aug 2011 11:12:54 +0000 (13:12 +0200)]
Daemonized servers are now always launched with popen, and not directly invoked in the same process.

12 years ago - Incomplete multicast support (initial work)
Claudio-Daniel Freire [Tue, 23 Aug 2011 16:13:19 +0000 (18:13 +0200)]
 - Incomplete multicast support (initial work)
 - Bandwidth limit for TUN/TAP
 - Classful queue improvements, especially on tunchannel when using custom queues

12 years agoClassQueueFilter working in PlanetLab. Results need to be verified.
Alina Quereilhac [Tue, 23 Aug 2011 00:00:38 +0000 (02:00 +0200)]
ClassQueueFilter working in PlanetLab. Results need to be verified.

12 years agoSSH timeout. It tends to... hang. Whatevah...
Claudio-Daniel Freire [Mon, 22 Aug 2011 16:35:53 +0000 (18:35 +0200)]
SSH timeout. It tends to... hang. Whatevah...

12 years agoMerge with head
Claudio-Daniel Freire [Mon, 22 Aug 2011 13:30:44 +0000 (15:30 +0200)]
Merge with head

12 years agotun_connect fix: forgot to pass queueclass to tun_fwd (oops)
Claudio-Daniel Freire [Mon, 22 Aug 2011 13:30:03 +0000 (15:30 +0200)]
tun_connect fix: forgot to pass queueclass to tun_fwd (oops)

12 years agoAdded trace netref to lookup for trace[trace_id].[attribute]
Alina Quereilhac [Fri, 19 Aug 2011 15:33:32 +0000 (17:33 +0200)]
Added trace netref to lookup for trace[trace_id].[attribute]

12 years ago+ClassQueueFilter
Claudio-Daniel Freire [Fri, 19 Aug 2011 11:28:32 +0000 (13:28 +0200)]
+ClassQueueFilter
+TosQueueFilter

And compacted metadata a bit

12 years agoAutomatic expansion in Metadata:
Claudio-Daniel Freire [Fri, 19 Aug 2011 11:28:10 +0000 (13:28 +0200)]
Automatic expansion in Metadata:
  (TESTBED_ID, (FACTORY_ID1, FACTORY_ID2), CONN)
->
  (TESTBED_ID, FACTORY_ID1, CONN)
  (TESTBED_ID, FACTORY_ID2, CONN)

12 years agomissing "scripts" dir in planetlab tunfilter classes path.
Alina Quereilhac [Fri, 19 Aug 2011 10:32:11 +0000 (12:32 +0200)]
missing "scripts" dir in planetlab tunfilter classes path.

12 years agoMake TunFilter find builtin scripts for the user
Claudio-Daniel Freire [Fri, 19 Aug 2011 10:12:04 +0000 (12:12 +0200)]
Make TunFilter find builtin scripts for the user

12 years agoClass-based queue for tunnels
Claudio-Daniel Freire [Fri, 19 Aug 2011 10:04:58 +0000 (12:04 +0200)]
Class-based queue for tunnels

12 years agoFinally a Serial Murder Death Killer do_cleanup
Claudio-Daniel Freire [Fri, 19 Aug 2011 08:04:20 +0000 (10:04 +0200)]
Finally a Serial Murder Death Killer do_cleanup

12 years agoValidate testbed attributes early
Claudio-Daniel Freire [Fri, 19 Aug 2011 08:03:47 +0000 (10:03 +0200)]
Validate testbed attributes early

12 years agoMerge with aly's
Claudio-Daniel Freire [Thu, 18 Aug 2011 15:18:26 +0000 (17:18 +0200)]
Merge with aly's

12 years agoPlanetLab recovery fix: if cleanup is enable, for Pete's sake DON'T CLEAN UP ON RECOVERY
Claudio-Daniel Freire [Thu, 18 Aug 2011 15:17:56 +0000 (17:17 +0200)]
PlanetLab recovery fix: if cleanup is enable, for Pete's sake DON'T CLEAN UP ON RECOVERY

12 years agoMake sure tests clean up after them, by setting dedicatedSlice=True and by trapping...
Claudio-Daniel Freire [Thu, 18 Aug 2011 15:17:12 +0000 (17:17 +0200)]
Make sure tests clean up after them, by setting dedicatedSlice=True and by trapping exceptions in shutdown.

12 years agoMore stable conditions for loss tests, make the tests succeed more consistently
Claudio-Daniel Freire [Thu, 18 Aug 2011 15:16:16 +0000 (17:16 +0200)]
More stable conditions for loss tests, make the tests succeed more consistently

12 years agoFix threadcache to reset itself upon fork.
Claudio-Daniel Freire [Thu, 18 Aug 2011 15:15:29 +0000 (17:15 +0200)]
Fix threadcache to reset itself upon fork.
Cached threads are no longer alive after a fork

12 years agoBe a little more verbose about filters
Claudio-Daniel Freire [Thu, 18 Aug 2011 15:14:45 +0000 (17:14 +0200)]
Be a little more verbose about filters

12 years agoFix plr50.c:
Claudio-Daniel Freire [Thu, 18 Aug 2011 15:14:21 +0000 (17:14 +0200)]
Fix plr50.c:
 - Allow specifying a seed (and seed to a default), for repeatable results
 - Fix PLR formula - was inverted

12 years agoReplace prints with logging
Claudio-Daniel Freire [Thu, 18 Aug 2011 15:12:12 +0000 (17:12 +0200)]
Replace prints with logging

12 years agomerge with head
Alina Quereilhac [Thu, 18 Aug 2011 12:33:36 +0000 (14:33 +0200)]
merge with head

12 years agobug fix in GUID/label replacement.
Alina Quereilhac [Thu, 18 Aug 2011 12:32:31 +0000 (14:32 +0200)]
bug fix in GUID/label replacement.