X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Fext%2Fvom_test.cpp;fp=test%2Fext%2Fvom_test.cpp;h=c259bb071df49556e21b94a818bac085d7a04fff;hb=6fef74ad3083f630648eae65545a0dd46af1102e;hp=d72c4db97488615c6a5c257efdaec41203b4c1b9;hpb=22ad815d654294d77ccbb2b7286a73b544bf3f52;p=vpp.git diff --git a/test/ext/vom_test.cpp b/test/ext/vom_test.cpp index d72c4db9748..c259bb071df 100644 --- a/test/ext/vom_test.cpp +++ b/test/ext/vom_test.cpp @@ -1773,7 +1773,9 @@ BOOST_AUTO_TEST_CASE(test_routing) { HW::item hw_neighbour(true, rc_t::OK); mac_address_t mac_n({0,1,2,4,5,6}); neighbour *ne = new neighbour(itf1, nh_10, mac_n); - ADD_EXPECT(neighbour_cmds::create_cmd(hw_neighbour, hw_ifh.data(), mac_n, nh_10)); + ADD_EXPECT(neighbour_cmds::create_cmd(hw_neighbour, hw_ifh.data(), + mac_n, nh_10, + neighbour::flags_t::STATIC)); TRY_CHECK_RC(OM::write(ian, *ne)); /* @@ -1829,7 +1831,9 @@ BOOST_AUTO_TEST_CASE(test_routing) { delete mp1; delete mp2; - ADD_EXPECT(neighbour_cmds::delete_cmd(hw_neighbour, hw_ifh.data(), mac_n, nh_10)); + ADD_EXPECT(neighbour_cmds::delete_cmd(hw_neighbour, hw_ifh.data(), + mac_n, nh_10, + neighbour::flags_t::STATIC)); ADD_EXPECT(route::ip_route_cmds::delete_cmd(hw_route_dvr, 0, pfx_6, *path_l2)); ADD_EXPECT(route::ip_route_cmds::delete_cmd(hw_route_5_2, 1, pfx_5, *path_11)); ADD_EXPECT(route::ip_route_cmds::delete_cmd(hw_route_5_2, 1, pfx_5, *path_12));