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
5ee74015
Commit
5ee74015
authored
Feb 01, 2024
by
Hejing Li
Browse files
homanode: pass node cfg to app cfg prepare cmd
parent
d63364dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
experiments/simbricks/orchestration/nodeconfig.py
experiments/simbricks/orchestration/nodeconfig.py
+4
-4
No files found.
experiments/simbricks/orchestration/nodeconfig.py
View file @
5ee74015
...
@@ -484,8 +484,8 @@ class HomaClientNode(AppConfig):
...
@@ -484,8 +484,8 @@ class HomaClientNode(AppConfig):
self
.
workload
=
2
self
.
workload
=
2
self
.
protocol
=
'homa'
self
.
protocol
=
'homa'
def
prepare_post_cp
(
self
)
->
tp
.
List
[
str
]:
def
prepare_post_cp
(
self
,
node
)
->
tp
.
List
[
str
]:
return
super
().
prepare_post_cp
()
+
[
return
super
().
prepare_post_cp
(
node
)
+
[
'insmod homa.ko'
'insmod homa.ko'
]
]
# pylint: disable=consider-using-with
# pylint: disable=consider-using-with
...
@@ -513,8 +513,8 @@ class HomaServerNode(AppConfig):
...
@@ -513,8 +513,8 @@ class HomaServerNode(AppConfig):
super
().
__init__
()
super
().
__init__
()
self
.
protocol
=
'homa'
self
.
protocol
=
'homa'
def
prepare_post_cp
(
self
)
->
tp
.
List
[
str
]:
def
prepare_post_cp
(
self
,
node
)
->
tp
.
List
[
str
]:
return
super
().
prepare_post_cp
()
+
[
return
super
().
prepare_post_cp
(
node
)
+
[
'insmod homa.ko'
'insmod homa.ko'
]
]
# pylint: disable=consider-using-with
# pylint: disable=consider-using-with
...
...
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