#!/bin/sh

if [ $# != 3 ]; then
  echo "usage $0 <port> <link name> <bw>"
  exit 1
fi

http_post http://localhost:$1/testconfig submit=Submit "spec=<maxbw name=\"$2\">$3</maxbw>"
echo
