Fix getting local ip address in CSIT setup scripts 48/104148/1
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>
Mon, 23 Mar 2020 11:57:08 +0000 (12:57 +0100)
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>
Mon, 23 Mar 2020 11:57:08 +0000 (12:57 +0100)
commit5f7b64b22b44e0866842b778760cf5ccfc23201b
treef14754e50a2dd61e21212951a3007a1d27e086de
parent940b6d936da7a3be6cfd5bd903ef40c6da9592ae
Fix getting local ip address in CSIT setup scripts

Assumption that last field in routing entry is the
local src address is no longer valide in the latest
iproute2 releases as it adds UID information.
The correct way is to get the 7th field, not the last.

Change-Id: Id2289fbf9b916ccab3ac7949d4f8118ef0571935
Issue-ID: INT-1497
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
plans/dcaegen2-collectors-restconf/testsuites/setup.sh
plans/dcaegen2/testsuites/setup.sh
plans/portal-sdk/testsuite/setup.sh
plans/portal/testsuite/setup.sh
plans/usecases/5G-bulkpm/setup.sh
plans/vfc-nfvo-wfengine/sanity-check/setup.sh