Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
Fix eswitch mode
Browse files Browse the repository at this point in the history
  • Loading branch information
chdxD1 committed Sep 20, 2023
1 parent 70e25ba commit 96ee5b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netplanner/sriov/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ def main(configuration: NetplannerConfig):
)
device.set_sriov_numvfs(interface_config.virtual_function_count)
if interface_config.embedded_switch_mode is not None:
device.set_eswitch_mode(str(interface_config.embedded_switch_mode))
device.set_eswitch_mode(interface_config.embedded_switch_mode.value)

0 comments on commit 96ee5b2

Please sign in to comment.