3 # Vsys backend of the planetlab-umts-tools
8 . /usr/lib/umts_functions
11 PATH=/bin:/usr/bin:/sbin:/usr/sbin
13 if [[ $sliver == "" ]]; then
14 echo "I need the first argument (the sliver name)";
20 command=`echo ${line%% *}`
21 rest=`echo ${line#* }`
25 logger "Starting the umts connection for $sliver"
28 if [[ $? == 0 ]] ; then
37 logger "Stopping umts connection for $sliver"
40 if [[ $? == 0 ]] ; then
50 logger "Request to add a destination for the umts connection";
52 if ! valid_dotted_quad "$rest"; then
55 add_destination "$rest" $sliver;
56 if [[ $? == 0 ]] ; then
66 logger "Request to del a destination for the umts connection";
68 if ! valid_dotted_quad "$rest"; then
71 del_destination "$rest" $sliver;
72 if [[ $? == 0 ]] ; then