diff --git a/pelab/auto-pelab.ns b/pelab/auto-pelab.ns index 6280f4e91e4f5208e6d63ef8c45e7952ead2af2d..7c53f3493c751dd1071bf72ed4c383f138a53d0e 100644 --- a/pelab/auto-pelab.ns +++ b/pelab/auto-pelab.ns @@ -1,3 +1,9 @@ +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# + source tb_compat.tcl set ns [new Simulator] diff --git a/pelab/auto-pelab.tm b/pelab/auto-pelab.tm index fdf39ef7fcdbe389de20ee2b34eed8f67977f6c2..be2688c1077ed9549dd0f8944e352205ffcdc6cd 100644 --- a/pelab/auto-pelab.tm +++ b/pelab/auto-pelab.tm @@ -1,3 +1,9 @@ +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# + source tb_compat.tcl set ns [new Simulator] diff --git a/pelab/cloudinfo-set b/pelab/cloudinfo-set index 50755ee8b60202be2f50cc92ab320a1ca5ac7dd1..73f1e2aaf9f3025640a5fee4f5fa44fd43bbc317 100755 --- a/pelab/cloudinfo-set +++ b/pelab/cloudinfo-set @@ -1,4 +1,9 @@ #!/usr/bin/perl +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# # # cloudinfo-set: Set the cloud info based on an input file of the form: diff --git a/pelab/cloudinfo.in b/pelab/cloudinfo.in index dac47f0d1716d5ddf9f03779d92a52b819a31b55..d764e1b6ff1a8b6274394672151bfb470fa20b19 100644 --- a/pelab/cloudinfo.in +++ b/pelab/cloudinfo.in @@ -1,4 +1,9 @@ #!/usr/bin/perl +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# # # Hack to extract info from delay nodes about delay pipes. diff --git a/pelab/common-env.sh b/pelab/common-env.sh index 9baef8fb98b0dd3c1454d388ca70f35d0a3c8ba5..c93ea947eb3903e941accc748bb4757f48881f4c 100755 --- a/pelab/common-env.sh +++ b/pelab/common-env.sh @@ -1,4 +1,10 @@ #!/bin/sh +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# + # # Simple shell script to get some environment variables useful for pelab # shell scripts diff --git a/pelab/dbmonitor/auto-dbmonitor.sh b/pelab/dbmonitor/auto-dbmonitor.sh index 55087dd20469982b0a289df80e230e1259fb271c..1631c03a0502ac306fe57fb53776faaac0ad69b8 100644 --- a/pelab/dbmonitor/auto-dbmonitor.sh +++ b/pelab/dbmonitor/auto-dbmonitor.sh @@ -1,4 +1,9 @@ #!/bin/sh +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# ARGS=$* if [ -z "$PID" -o -z "$EID" ]; then diff --git a/pelab/dbmonitor/dbmonitor.pl b/pelab/dbmonitor/dbmonitor.pl index 3a8a49d8c284bd1689ebe441e5fd7aeedc31b749..e581a1adbe5ca05c11e0222708ec773e6fdb2410 100755 --- a/pelab/dbmonitor/dbmonitor.pl +++ b/pelab/dbmonitor/dbmonitor.pl @@ -1,4 +1,10 @@ #!/usr/bin/perl +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# + # # Periodically extract the latest path characteristics from the PELAB DB # for paths from us (rather, the planetlab node we represent) to all other diff --git a/pelab/dbmonitor/run-dbmonitor.sh b/pelab/dbmonitor/run-dbmonitor.sh index b4bb902b958b84fb544feeffdea2ba2fca8e4326..3484a90fe9bd51791f2ce1dd7c3842df258da834 100644 --- a/pelab/dbmonitor/run-dbmonitor.sh +++ b/pelab/dbmonitor/run-dbmonitor.sh @@ -1,4 +1,10 @@ #!/bin/sh +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# + # # Script to run the monitor, collecting data from libnetmon # diff --git a/pelab/init-elabnodes.pl b/pelab/init-elabnodes.pl index f75b0082e68c15d71287a372a1b3072246d7e52d..05d8d3c68cf989b84b796114d4e379f5cbf85291 100755 --- a/pelab/init-elabnodes.pl +++ b/pelab/init-elabnodes.pl @@ -1,4 +1,10 @@ #!/usr/bin/perl +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# + # # Based on pairwise characteristics of planet-* nodes (real planetlab nodes) # in a pelab experiment, set the delay characteristics for the corresponding diff --git a/pelab/install-tarball b/pelab/install-tarball index 7e7be65a893a407e93ad8952e986c6390d40c660..fc0e0274523c0df291c0cd55000171a42593a684 100755 --- a/pelab/install-tarball +++ b/pelab/install-tarball @@ -1,4 +1,10 @@ #!/bin/sh +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# + TEVC=/usr/testbed/bin/tevc if [ $# != 2 ]; then diff --git a/pelab/iperfd/GNUmakefile b/pelab/iperfd/GNUmakefile index 593635911f1c2664def7b0462dfc57f5f9484e64..225b2099ff9ff3fef44505235f09a822a273a38c 100644 --- a/pelab/iperfd/GNUmakefile +++ b/pelab/iperfd/GNUmakefile @@ -1,2 +1,8 @@ +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# + CFLAGS=-std=c99 -pedantic -Wall -Werror -O all: iperfd diff --git a/pelab/libnetmon/GNUmakefile b/pelab/libnetmon/GNUmakefile index e637bd461f79115c2e74ae1751477aa7ab65dc66..52587bf69f12c86c174f33aadfed819f57255363 100644 --- a/pelab/libnetmon/GNUmakefile +++ b/pelab/libnetmon/GNUmakefile @@ -1,3 +1,9 @@ +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# + SYSTEM := $(shell uname -s) # I like using -pedantic, but it gives us some trouble with function pointers diff --git a/pelab/libnetmon/instrument-standalone.sh b/pelab/libnetmon/instrument-standalone.sh index 078c51784a0568f2ab16e85e47723c2271333551..924fe5c4aef3e0a61969540c9f097812f8479a1a 100755 --- a/pelab/libnetmon/instrument-standalone.sh +++ b/pelab/libnetmon/instrument-standalone.sh @@ -1,4 +1,9 @@ #!/bin/sh +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# # # Load in the appropriate environment variables diff --git a/pelab/magent/GNUmakefile b/pelab/magent/GNUmakefile index 497485c304debc7b73c9c68eae1cea36455570d6..baa36e6d85ceea4c82d0666e9466454461712409 100644 --- a/pelab/magent/GNUmakefile +++ b/pelab/magent/GNUmakefile @@ -1,3 +1,9 @@ +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# + SRCS=$(wildcard *.cc) OBJS=$(SRCS:.cc=.o) HDRS=$(wildcard *.h) diff --git a/pelab/magent/Makefile b/pelab/magent/Makefile index c177768351b7e7925da3f91fe6c7e8a1faa987ed..980cdf2c0384d68828d236a77f255f9dba2c165e 100644 --- a/pelab/magent/Makefile +++ b/pelab/magent/Makefile @@ -1,3 +1,9 @@ +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# + all: magent magent: CircularTraffic.o Command.o Connection.o Decayer.o DelaySensor.o DirectInput.o EwmaThroughputSensor.o KernelTcp.o MaxDelaySensor.o MinDelaySensor.o PacketSensor.o Sensor.o SensorList.o StateSensor.o ThroughputSensor.o Time.o TrivialCommandOutput.o log.o main.o saveload.o diff --git a/pelab/make-tarball b/pelab/make-tarball index 7dd40f1a6412d57e3789376820ea486f6014dcb5..acde58b7612afbde0c6acd907e8347203e5ece62 100755 --- a/pelab/make-tarball +++ b/pelab/make-tarball @@ -1,4 +1,9 @@ #!/bin/sh +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# files="pelab/auto-pelab.ns pelab/common-env.sh pelab/init-elabnodes.pl pelab/dbmonitor pelab/libnetmon pelab/magent pelab/monitor pelab/pelabdb.pwd pelab/stub pelab/iperfd pelab/bin" diff --git a/pelab/monitor/auto-monitor.sh b/pelab/monitor/auto-monitor.sh index 7d886c1eb703fc808ecb14d087aace46e8997e33..cb1a273b8f518ccaeca391f89d124ff7009b6420 100644 --- a/pelab/monitor/auto-monitor.sh +++ b/pelab/monitor/auto-monitor.sh @@ -1,4 +1,9 @@ #!/bin/sh +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# ARGS=$* diff --git a/pelab/monitor/gen-ip-mapping.pl b/pelab/monitor/gen-ip-mapping.pl index 2ef02908a9c7588121dc60539a7c8e51cf595fd7..c82ef522a9c6bd46f31d4a00e7d8f2836d79f073 100644 --- a/pelab/monitor/gen-ip-mapping.pl +++ b/pelab/monitor/gen-ip-mapping.pl @@ -1,4 +1,9 @@ #!/usr/bin/perl -w +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# # # Make an ipmap file from /etc/hosts diff --git a/pelab/monitor/initial.txt b/pelab/monitor/initial.txt deleted file mode 100644 index cc9946bb0603913ef3921637496103ff2b86caeb..0000000000000000000000000000000000000000 --- a/pelab/monitor/initial.txt +++ /dev/null @@ -1,2 +0,0 @@ -10.0.0.1 10.0.0.2 2000 20 0 -10.0.0.2 10.0.0.1 2000 20 0 diff --git a/pelab/monitor/instrument-env.sh b/pelab/monitor/instrument-env.sh index 49be389de237ab366d17117a6e9616d8b98e528e..99871351034d7c6a16b186176ac47287cf436e16 100755 --- a/pelab/monitor/instrument-env.sh +++ b/pelab/monitor/instrument-env.sh @@ -1,4 +1,9 @@ #!/bin/sh +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# . `dirname $0`/../common-env.sh diff --git a/pelab/monitor/instrument.sh b/pelab/monitor/instrument.sh index bc10d65ef1f15614f22b9dba804a3adcc88eefc3..12d41c1fb38b467994fa56574e8b6046807c3f6a 100755 --- a/pelab/monitor/instrument.sh +++ b/pelab/monitor/instrument.sh @@ -1,4 +1,9 @@ #!/bin/sh +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# # # Load in the appropriate environment variables diff --git a/pelab/monitor/monitor.py b/pelab/monitor/monitor.py index a1bfd92996ec691aed9c7bbb5cc819e631b854b4..1d42763264933d81924a1b120ab9fac467fb6933 100755 --- a/pelab/monitor/monitor.py +++ b/pelab/monitor/monitor.py @@ -1,3 +1,9 @@ +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# + #Usage: tcpdump | python monitor.py # [stub-address] # mapping-file is a file which maps emulated addresses to real addresses. diff --git a/pelab/monitor/run-iperf.sh b/pelab/monitor/run-iperf.sh index 97a62396a7393b3ad749ac514375ad3dd82409de..f08c40ae89d34ca6d43baa3cf56bf0f17390a3f5 100644 --- a/pelab/monitor/run-iperf.sh +++ b/pelab/monitor/run-iperf.sh @@ -1,2 +1,8 @@ +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# + sh instrument.sh ../iperf -i 0.5 -c elab1 -t 30 -w 256k #sh instrument.sh ../iperf -c elab1 -t 30 diff --git a/pelab/monitor/run-monitor-libnetmon.sh b/pelab/monitor/run-monitor-libnetmon.sh index 7f8244a70458ea183e15ba7b709527cfff4f48cc..9c948e77280dab75a77369f83bcb82b0e5c377f0 100755 --- a/pelab/monitor/run-monitor-libnetmon.sh +++ b/pelab/monitor/run-monitor-libnetmon.sh @@ -1,4 +1,10 @@ #!/bin/sh +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# + # # Script to run the monitor, collecting data from libnetmon # diff --git a/pelab/monitor/run-monitor.sh b/pelab/monitor/run-monitor.sh index bcff065ddf81428d7c8c09fada3b228f203bf979..868f2c590a998c10b4f31ba4c4e57731bbeb5a85 100755 --- a/pelab/monitor/run-monitor.sh +++ b/pelab/monitor/run-monitor.sh @@ -1,3 +1,9 @@ +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# + # Usage: sh run-monitor.sh sudo /usr/sbin/tcpdump -tt -n -i eth1 "!(dst host $2) && dst net 10 && tcp" | tee tcpdump.txt | python monitor.py ip-mapping.txt $1 $2 diff --git a/pelab/monitor/timediff.pl b/pelab/monitor/timediff.pl index a37daa7ff3d9db7c8956686a93b5d6bc417bb149..1b1d8afce9638af90cc38f622cb9410ca782918c 100755 --- a/pelab/monitor/timediff.pl +++ b/pelab/monitor/timediff.pl @@ -1,4 +1,10 @@ #! /usr/bin/perl -w +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# + use Getopt::Std; our ($opt_d, $opt_n); diff --git a/pelab/netmond2tput.pl b/pelab/netmond2tput.pl index 6bc1e464d361471824c4eebec70df06143029f74..c9d7ae3a395bd7bb9c41f4d0858e3a18f323af41 100644 --- a/pelab/netmond2tput.pl +++ b/pelab/netmond2tput.pl @@ -1,3 +1,8 @@ +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# $usage = "Usage: netmond2tput.pl diff --git a/pelab/parastream/GNUmakefile b/pelab/parastream/GNUmakefile index cb785801b89023837660cd2af87c25a8a89db334..b88c9b5114fc7e384b3c8fd21a8fb1e7a0193320 100644 --- a/pelab/parastream/GNUmakefile +++ b/pelab/parastream/GNUmakefile @@ -1,3 +1,9 @@ +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# + CC = gcc CFLAGS += -g diff --git a/pelab/resetlinks.py b/pelab/resetlinks.py index 903358b2c16fe4ae38967541e886e9c05ec5737e..21613615d83081b0014181f59d3ee24d33712027 100644 --- a/pelab/resetlinks.py +++ b/pelab/resetlinks.py @@ -1,5 +1,4 @@ #! /usr/bin/env python - # # EMULAB-COPYRIGHT # Copyright (c) 2006 University of Utah and the Flux Group. diff --git a/pelab/run-tcpdump.sh b/pelab/run-tcpdump.sh index c9ab0b6c90c12c4fb0c46d3dfaf18056ebaaa936..4c2b5df48ff7d4cc819d89ae13b0191f6fbfdd4b 100755 --- a/pelab/run-tcpdump.sh +++ b/pelab/run-tcpdump.sh @@ -1,4 +1,9 @@ #!/bin/sh +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# if [ $# -lt 2 ]; then echo "usage: run-tcpdump type index [ tcpdump-args ... ]" diff --git a/pelab/schedmon/GNUmakefile b/pelab/schedmon/GNUmakefile index 9a5e84c09908239fd5f5cc04f833c5647f429ea4..dde71b740464b1ee43d2eff5f9ce05b708d99c6f 100644 --- a/pelab/schedmon/GNUmakefile +++ b/pelab/schedmon/GNUmakefile @@ -1,3 +1,9 @@ +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# + SYSTEM := $(shell uname -s) # I like using -pedantic, but it gives us some trouble with function pointers diff --git a/pelab/schedmon/schedmon.c b/pelab/schedmon/schedmon.c index dc2aed94706e68d8e3252f9f09022b540b2bcac8..c326c2921375898fa7ebdfe5643815c6d941170c 100644 --- a/pelab/schedmon/schedmon.c +++ b/pelab/schedmon/schedmon.c @@ -1,4 +1,3 @@ - /* * EMULAB-COPYRIGHT * Copyright (c) 2000-2006 University of Utah and the Flux Group. diff --git a/pelab/showsamples.pl b/pelab/showsamples.pl index 705b850d7f10e9aa8f191e864b4ead4ac70ddad1..a04ed1919b7d2d9a71a80ec3c90b081fece9494f 100755 --- a/pelab/showsamples.pl +++ b/pelab/showsamples.pl @@ -1,4 +1,10 @@ #!/usr/bin/perl +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# + # # Show latency and/or BW samples between a pair of sites based on indices. # diff --git a/pelab/start-experiment b/pelab/start-experiment index 378c9f8ace5466d4a8a93fa9a5630299f7edc16e..9a7af50811bdd8c01f5d763b4ae734c476eed0d8 100644 --- a/pelab/start-experiment +++ b/pelab/start-experiment @@ -1,4 +1,9 @@ #!/usr/bin/perl -w +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# use strict; use Getopt::Std; diff --git a/pelab/start-run b/pelab/start-run index 8e5629ab6785cb7130595e9437d1a4ac55753434..86261f766f738909ad6ce54f3086f7a522775ffb 100755 --- a/pelab/start-run +++ b/pelab/start-run @@ -1,4 +1,9 @@ #!/bin/sh +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# waitfor="-w" agent="" diff --git a/pelab/stop-experiment b/pelab/stop-experiment index 57ca5438c7fb9e5a58e64fe11aa5327f4953ddab..7d50841638a194d9eab43b7ce3ee8f27ab836211 100644 --- a/pelab/stop-experiment +++ b/pelab/stop-experiment @@ -1,4 +1,9 @@ #!/usr/bin/perl -w +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# use strict; use Getopt::Std; diff --git a/pelab/stop-run b/pelab/stop-run index 0612f9e4d946d3373d1770238ab6f7603875139c..3356234bbe5d467fcf8be168b8c793cdd7f702ee 100755 --- a/pelab/stop-run +++ b/pelab/stop-run @@ -1,4 +1,9 @@ #!/bin/sh +# +# EMULAB-COPYRIGHT +# Copyright (c) 2006 University of Utah and the Flux Group. +# All rights reserved. +# waitfor="-w" agent=""