gbp: fix set_mac() in unit tests 99/22299/2
authorBenoît Ganne <bganne@cisco.com>
Tue, 3 Sep 2019 15:54:21 +0000 (17:54 +0200)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Sun, 29 Sep 2019 13:07:26 +0000 (13:07 +0000)
commitd89329a90f1db45846369ba554fbc1f86e55d09f
tree8a8d9fcf56240c95cc892079e9091fe3c1d1560a
parent8d5959f45e6e01a636cd5eea9e637776332ffada
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>
(cherry picked from commit a03d25d327ed9db40922cfcf247c3ee793c4754d)
src/plugins/gbp/test/test_gbp.py