diff options
author | Neale Ranns <nranns@cisco.com> | 2019-03-14 09:21:02 -0700 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-03-24 17:28:27 +0000 |
commit | 0d961549c08ccc6d25cf384fdc8a1c982384219e (patch) | |
tree | 0eb0f2694578512ec38b79b391a3a31d807f451d /src/plugins/unittest/bier_test.c | |
parent | 50a392f5a0981fb442449864c479511c54145a29 (diff) |
ADJ: more thorough link up check
Change-Id: I04dbfb914706b25fcc3bd6ee0d19cfdc810234ae
Signed-off-by: Neale Ranns <nranns@cisco.com>
(cherry picked from commit 3e2e1907d485ed321f99350dd46e6822db6ac4d4)
Diffstat (limited to 'src/plugins/unittest/bier_test.c')
-rw-r--r-- | src/plugins/unittest/bier_test.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/unittest/bier_test.c b/src/plugins/unittest/bier_test.c index d15ee595b64..087da6fbe09 100644 --- a/src/plugins/unittest/bier_test.c +++ b/src/plugins/unittest/bier_test.c @@ -127,6 +127,9 @@ bier_test_mk_intf (u32 ninterfaces) &tm->hw_if_indicies[i], /* flag change */ 0); + error = vnet_hw_interface_set_flags(vnet_get_main(), + tm->hw_if_indicies[i], + VNET_HW_INTERFACE_FLAG_LINK_UP); BIER_TEST((NULL == error), "ADD interface %d", i); tm->hw[i] = vnet_get_hw_interface(vnet_get_main(), |