You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
231 B

  1. #!/bin/bash
  2. set -e
  3. echo "Starting cleanup"
  4. ovs-vsctl list-br | grep contiv | xargs -I % ovs-vsctl del-br %
  5. for p in $(ifconfig | grep vport | awk '{print $1}');
  6. do
  7. ip link delete $p type veth
  8. done
  9. touch /tmp/cleanup.done
  10. sleep 60