Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
ddd78a7c
Unverified
Commit
ddd78a7c
authored
Jul 14, 2024
by
Antoine Kaufmann
Committed by
GitHub
Jul 14, 2024
Browse files
orchestration: support absolute p4 path for bmv2
parent
88b1fa4c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
experiments/simbricks/orchestration/simulators.py
experiments/simbricks/orchestration/simulators.py
+5
-1
No files found.
experiments/simbricks/orchestration/simulators.py
View file @
ddd78a7c
...
...
@@ -933,6 +933,10 @@ class BMV2Net(NetSim):
for
_
,
n
in
self
.
connect_sockets
(
env
):
cmd
+=
f
' -i
{
port
}
@
{
n
}
'
port
+=
1
if
self
.
p4_path
.
startswith
(
'/'
):
cmd
+=
f
'
{
self
.
p4_path
}
'
else
:
cmd
+=
f
'
{
env
.
repodir
}
/
{
self
.
p4_path
}
'
print
(
cmd
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment