Created
February 8, 2018 11:42
-
-
Save eugeneia/3d422be61245551c5c5bb1abe8b3811a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!snabb snsh | |
local intel_mp = require('apps.intel_mp.intel_mp') | |
local c = config.new() | |
config.app(c, "nic0", intel_mp.Intel, { pciaddr = main.parameters[1] }) | |
config.app(c, "nic1", intel_mp.Intel, { pciaddr = main.parameters[2] }) | |
config.link(c, "nic0.output -> nic1.input") | |
config.link(c, "nic1.output -> nic0.input") | |
engine.log = true | |
engine.configure(c) | |
engine.main({duration=5}) | |
engine.report_links() |
Author
eugeneia
commented
Feb 8, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment