diff options
author | Ritu Sood <ritu.sood@intel.com> | 2021-10-25 18:59:48 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-10-25 18:59:48 +0000 |
commit | 6c28e5a7ca5a0688f5aefad010e0a3071ff6fe0b (patch) | |
tree | a2b23da29027fca828960097276d7ea299775f32 /kud | |
parent | dfdc2f25446e9cbf3c7adc689c5636ecbf089954 (diff) | |
parent | 9f9680f11d37a8499f20b839d8413d459c9bdb6d (diff) |
Merge "Remove usage of deprecated route command"
Diffstat (limited to 'kud')
-rwxr-xr-x | kud/tests/multus.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kud/tests/multus.sh b/kud/tests/multus.sh index 4f94791f..24c5314f 100755 --- a/kud/tests/multus.sh +++ b/kud/tests/multus.sh @@ -41,7 +41,7 @@ NET function generate_CRD_for_macvlan_cni { local csar_id=$1 - local master_name=$(ssh_cluster route | grep 'default' | awk '{print $8}' |head -n 1) + local master_name=$(ssh_cluster ip route | grep 'default' | awk '{print $5}' |head -n 1) _checks_args $csar_id pushd ${CSAR_DIR}/${csar_id} @@ -67,7 +67,7 @@ NET function generate_CRD_for_ipvlan_cni { local csar_id=$1 - local master_name=$(ssh_cluster route | grep 'default' | awk '{print $8}' |head -n 1) + local master_name=$(ssh_cluster ip route | grep 'default' | awk '{print $5}' |head -n 1) _checks_args $csar_id pushd ${CSAR_DIR}/${csar_id} |