2 # SPDX-license-identifier: Apache-2.0
3 ##############################################################################
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 ##############################################################################
18 csar_id=49408ca6-b75b-11e8-8076-525400feed26
21 populate_CSAR_multus $csar_id
23 pushd ${CSAR_DIR}/${csar_id}
24 kubectl apply -f bridge-network.yaml
26 setup $multus_deployment_name
29 deployment_pod=$(kubectl get pods | grep $multus_deployment_name | awk '{print $1}')
30 echo "===== $deployment_pod details ====="
31 kubectl exec -it $deployment_pod -- ip a
32 multus_nic=$(kubectl exec -it $deployment_pod -- ip a)
33 if [[ $multus_nic != *"net1"* ]]; then
34 echo "The $deployment_pod pod doesn't contain the net1 nic"
37 echo "Test Completed!"
41 teardown $multus_deployment_name