gbp: fix set_mac() in unit tests 21/21721/2
authorBenoît Ganne <bganne@cisco.com>
Tue, 3 Sep 2019 15:54:21 +0000 (17:54 +0200)
committerDamjan Marion <dmarion@me.com>
Tue, 3 Sep 2019 19:52:40 +0000 (19:52 +0000)
commita03d25d327ed9db40922cfcf247c3ee793c4754d
treeaf4ef3d137299f65484ff71e26c43bb0833f1f0a
parentbdf9b97774f02458ede6b7c7ae2d5728bddba000
gbp: fix set_mac() in unit tests

Do not use low-level sw_interface_set_mac_address() directly and use
higher-level set_mac() instead, otherwise interface local_mac and
configured mac are out-of-sync

Type: fix
Fixes: 25b049484f

Change-Id: I9366e7afb95ef00e25a94ca3b0e6309871169878
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/plugins/gbp/test/test_gbp.py