diff options
author | Alexander Chernavin <achernavin@netgate.com> | 2018-12-13 09:08:09 -0500 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-01-13 13:36:22 +0000 |
commit | ad9d528314a049971b1fb9a42562b00e07cf93f4 (patch) | |
tree | 31173f45bc3558c2ad3df62ad84b8ba6b4705788 /test | |
parent | e589b38f98e9d8f88a3bae56549ea49d9d802989 (diff) |
bonding: support custom interface IDs
Change-Id: I78fe58144fa3ba2e1c7135897a13a2541f235c91
Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/vpp_papi_provider.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py index 0ee51c4677f..584fe191a1b 100644 --- a/test/vpp_papi_provider.py +++ b/test/vpp_papi_provider.py @@ -3884,19 +3884,22 @@ class VppPapiProvider(object): mode, lb, use_custom_mac, - mac_address=''): + mac_address='', + interface_id=0xFFFFFFFF): """ :param mode: mode :param lb: load balance :param use_custom_mac: use custom mac :param mac_address: mac address + :param interface_id: custom interface ID """ return self.api( self.papi.bond_create, {'mode': mode, 'lb': lb, 'use_custom_mac': use_custom_mac, - 'mac_address': mac_address + 'mac_address': mac_address, + 'id': interface_id }) def bond_delete( |