Adding cluster meta data and saving in etcd
[multicloud/k8s.git] / kud / tests / sdwan.sh
1 #!/bin/bash
2 # SPDX-license-identifier: Apache-2.0
3 ##############################################################################
4 # Copyright (c) 2018
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
10
11 set -o errexit
12 set -o nounset
13 set -o pipefail
14
15 echo "Create pods ..."
16 kubectl apply -f sdwan/ovn-pod.yml
17 kubectl apply -f sdwan/sdwan-openwrt-ovn.yml
18
19 bash sdwan/test.sh
20
21 echo "Clear pods ..."
22 kubectl delete -f sdwan/ovn-pod.yml
23 kubectl delete -f sdwan/sdwan-openwrt-ovn.yml
24
25 echo "Test Completed!"