Commit 0695d946 authored by Mike Hibler's avatar Mike Hibler

Lots of copyrights

parent 57121dbc
#
# EMULAB-COPYRIGHT
# Copyright (c) 2006 University of Utah and the Flux Group.
# All rights reserved.
#
source tb_compat.tcl source tb_compat.tcl
set ns [new Simulator] set ns [new Simulator]
......
#
# EMULAB-COPYRIGHT
# Copyright (c) 2006 University of Utah and the Flux Group.
# All rights reserved.
#
source tb_compat.tcl source tb_compat.tcl
set ns [new Simulator] set ns [new Simulator]
......
#!/usr/bin/perl #!/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: # cloudinfo-set: Set the cloud info based on an input file of the form:
......
#!/usr/bin/perl #!/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. # Hack to extract info from delay nodes about delay pipes.
......
#!/bin/sh #!/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 # Simple shell script to get some environment variables useful for pelab
# shell scripts # shell scripts
......
#!/bin/sh #!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2006 University of Utah and the Flux Group.
# All rights reserved.
#
ARGS=$* ARGS=$*
if [ -z "$PID" -o -z "$EID" ]; then if [ -z "$PID" -o -z "$EID" ]; then
......
#!/usr/bin/perl #!/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 # Periodically extract the latest path characteristics from the PELAB DB
# for paths from us (rather, the planetlab node we represent) to all other # for paths from us (rather, the planetlab node we represent) to all other
......
#!/bin/sh #!/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 # Script to run the monitor, collecting data from libnetmon
# #
......
#!/usr/bin/perl #!/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) # Based on pairwise characteristics of planet-* nodes (real planetlab nodes)
# in a pelab experiment, set the delay characteristics for the corresponding # in a pelab experiment, set the delay characteristics for the corresponding
......
#!/bin/sh #!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2006 University of Utah and the Flux Group.
# All rights reserved.
#
TEVC=/usr/testbed/bin/tevc TEVC=/usr/testbed/bin/tevc
if [ $# != 2 ]; then if [ $# != 2 ]; then
......
#
# EMULAB-COPYRIGHT
# Copyright (c) 2006 University of Utah and the Flux Group.
# All rights reserved.
#
CFLAGS=-std=c99 -pedantic -Wall -Werror -O CFLAGS=-std=c99 -pedantic -Wall -Werror -O
all: iperfd all: iperfd
#
# EMULAB-COPYRIGHT
# Copyright (c) 2006 University of Utah and the Flux Group.
# All rights reserved.
#
SYSTEM := $(shell uname -s) SYSTEM := $(shell uname -s)
# I like using -pedantic, but it gives us some trouble with function pointers # I like using -pedantic, but it gives us some trouble with function pointers
......
#!/bin/sh #!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2006 University of Utah and the Flux Group.
# All rights reserved.
#
# #
# Load in the appropriate environment variables # Load in the appropriate environment variables
......
#
# EMULAB-COPYRIGHT
# Copyright (c) 2006 University of Utah and the Flux Group.
# All rights reserved.
#
SRCS=$(wildcard *.cc) SRCS=$(wildcard *.cc)
OBJS=$(SRCS:.cc=.o) OBJS=$(SRCS:.cc=.o)
HDRS=$(wildcard *.h) HDRS=$(wildcard *.h)
......
#
# EMULAB-COPYRIGHT
# Copyright (c) 2006 University of Utah and the Flux Group.
# All rights reserved.
#
all: magent 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 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
......
#!/bin/sh #!/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" 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"
......
#!/bin/sh #!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2006 University of Utah and the Flux Group.
# All rights reserved.
#
ARGS=$* ARGS=$*
......
#!/usr/bin/perl -w #!/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 # Make an ipmap file from /etc/hosts
......
10.0.0.1 10.0.0.2 2000 20 0
10.0.0.2 10.0.0.1 2000 20 0
#!/bin/sh #!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2006 University of Utah and the Flux Group.
# All rights reserved.
#
. `dirname $0`/../common-env.sh . `dirname $0`/../common-env.sh
......
#!/bin/sh #!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2006 University of Utah and the Flux Group.
# All rights reserved.
#
# #
# Load in the appropriate environment variables # Load in the appropriate environment variables
......
#
# EMULAB-COPYRIGHT
# Copyright (c) 2006 University of Utah and the Flux Group.
# All rights reserved.
#
#Usage: tcpdump | python monitor.py <mapping-file> <experiment-name> #Usage: tcpdump | python monitor.py <mapping-file> <experiment-name>
# <my-address> [stub-address] # <my-address> [stub-address]
# mapping-file is a file which maps emulated addresses to real addresses. # mapping-file is a file which maps emulated addresses to real addresses.
......
#
# 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 -i 0.5 -c elab1 -t 30 -w 256k
#sh instrument.sh ../iperf -c elab1 -t 30 #sh instrument.sh ../iperf -c elab1 -t 30
#!/bin/sh #!/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 # Script to run the monitor, collecting data from libnetmon
# #
......
#
# EMULAB-COPYRIGHT
# Copyright (c) 2006 University of Utah and the Flux Group.
# All rights reserved.
#
# Usage: sh run-monitor.sh <experiment-name> <ip-address> # Usage: sh run-monitor.sh <experiment-name> <ip-address>
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 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
#! /usr/bin/perl -w #! /usr/bin/perl -w
#
# EMULAB-COPYRIGHT
# Copyright (c) 2006 University of Utah and the Flux Group.
# All rights reserved.
#
use Getopt::Std; use Getopt::Std;
our ($opt_d, $opt_n); our ($opt_d, $opt_n);
......
#
# EMULAB-COPYRIGHT
# Copyright (c) 2006 University of Utah and the Flux Group.
# All rights reserved.
#
$usage = "Usage: netmond2tput.pl <elab-file> <planet-file> <planet-logfile> $usage = "Usage: netmond2tput.pl <elab-file> <planet-file> <planet-logfile>
......
#
# EMULAB-COPYRIGHT
# Copyright (c) 2006 University of Utah and the Flux Group.
# All rights reserved.
#
CC = gcc CC = gcc
CFLAGS += -g CFLAGS += -g
......
#! /usr/bin/env python #! /usr/bin/env python
# #
# EMULAB-COPYRIGHT # EMULAB-COPYRIGHT
# Copyright (c) 2006 University of Utah and the Flux Group. # Copyright (c) 2006 University of Utah and the Flux Group.
......
#!/bin/sh #!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2006 University of Utah and the Flux Group.
# All rights reserved.
#
if [ $# -lt 2 ]; then if [ $# -lt 2 ]; then
echo "usage: run-tcpdump type index [ tcpdump-args ... ]" echo "usage: run-tcpdump type index [ tcpdump-args ... ]"
......
#
# EMULAB-COPYRIGHT
# Copyright (c) 2006 University of Utah and the Flux Group.
# All rights reserved.
#
SYSTEM := $(shell uname -s) SYSTEM := $(shell uname -s)
# I like using -pedantic, but it gives us some trouble with function pointers # I like using -pedantic, but it gives us some trouble with function pointers
......
/* /*
* EMULAB-COPYRIGHT * EMULAB-COPYRIGHT
* Copyright (c) 2000-2006 University of Utah and the Flux Group. * Copyright (c) 2000-2006 University of Utah and the Flux Group.
......
#!/usr/bin/perl #!/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. # Show latency and/or BW samples between a pair of sites based on indices.
# #
......
#!/usr/bin/perl -w #!/usr/bin/perl -w
#
# EMULAB-COPYRIGHT
# Copyright (c) 2006 University of Utah and the Flux Group.
# All rights reserved.
#
use strict; use strict;
use Getopt::Std; use Getopt::Std;
......
#!/bin/sh #!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2006 University of Utah and the Flux Group.
# All rights reserved.
#
waitfor="-w" waitfor="-w"
agent="" agent=""
......
#!/usr/bin/perl -w #!/usr/bin/perl -w
#
# EMULAB-COPYRIGHT
# Copyright (c) 2006 University of Utah and the Flux Group.
# All rights reserved.
#
use strict; use strict;
use Getopt::Std; use Getopt::Std;
......
#!/bin/sh #!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2006 University of Utah and the Flux Group.
# All rights reserved.
#
waitfor="-w" waitfor="-w"
agent="" agent=""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment