Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pydtnsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
discus
pydtnsim
Commits
0eaa4fca
Commit
0eaa4fca
authored
7 years ago
by
Jarrod Pas
Browse files
Options
Downloads
Patches
Plain Diff
Adds runner for some parameter sets
parent
4278666b
No related branches found
No related tags found
1 merge request
!3
Version 0.2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
runners/khadija-limited
+34
-0
34 additions, 0 deletions
runners/khadija-limited
runners/khadija-unlimited
+34
-0
34 additions, 0 deletions
runners/khadija-unlimited
runners/quick
+34
-0
34 additions, 0 deletions
runners/quick
with
102 additions
and
0 deletions
runners/khadija-limited
0 → 100755
+
34
−
0
View file @
0eaa4fca
#!/usr/bin/env bash
router
=
${
1
:-
hcbf
}
shed
=
shed1
epoch
=
$((
7
*
24
*
60
*
60
))
community
=
"louvain"
ticks_per_packet
=
$((
60
))
time_to_live
=
$epoch
buffer_size
=
$((
3
*
7
*
24
*
60
/
10
))
duty
=
300
time
python main.py
\
--router
"
${
router
}
"
\
--community
"
${
community
}
"
\
--community-args
\
"epoch=
${
epoch
}
"
\
--trace
"csv"
\
--trace-args
\
"path=shed/data/pp_
${
shed
}
_reduced.csv"
\
--node-args
\
"tick_time=
${
duty
}
"
\
"buffer_size=
${
buffer_size
}
"
\
--packet-args
\
"ticks_per_packet=
${
ticks_per_packet
}
"
\
"time_to_live=
${
time_to_live
}
"
\
"start_delay=
${
epoch
}
"
# send slack notification if the script exists
status
=
$?
notify
=
$HOME
/dev/slack-notifier/send_notification_via_slack.py
[[
-e
"
$notify
"
]]
&&
$notify
"
\`
khadija done: exit(
$status
)
\`
"
This diff is collapsed.
Click to expand it.
runners/khadija-unlimited
0 → 100755
+
34
−
0
View file @
0eaa4fca
#!/usr/bin/env bash
router
=
${
1
:-
hcbf
}
shed
=
shed1
epoch
=
$((
7
*
24
*
60
*
60
))
community
=
"louvain"
ticks_per_packet
=
$((
60
))
time_to_live
=
$((
3
*
$epoch
))
buffer_size
=
$((
3
*
7
*
24
*
60
*
60
))
duty
=
300
time
python main.py
\
--router
"
${
router
}
"
\
--community
"
${
community
}
"
\
--community-args
\
"epoch=
${
epoch
}
"
\
--trace
"csv"
\
--trace-args
\
"path=shed/data/pp_
${
shed
}
_reduced.csv"
\
--node-args
\
"tick_time=
${
duty
}
"
\
"buffer_size=
${
buffer_size
}
"
\
--packet-args
\
"ticks_per_packet=
${
ticks_per_packet
}
"
\
"time_to_live=
${
time_to_live
}
"
\
"start_delay=
${
epoch
}
"
# send slack notification if the script exists
status
=
$?
notify
=
$HOME
/dev/slack-notifier/send_notification_via_slack.py
[[
-e
"
$notify
"
]]
&&
$notify
"
\`
khadija done: exit(
$status
)
\`
"
This diff is collapsed.
Click to expand it.
runners/quick
0 → 100755
+
34
−
0
View file @
0eaa4fca
#!/usr/bin/env bash
router
=
${
1
:-
hcbf
}
shed
=
shed1
epoch
=
$((
7
*
24
*
60
*
60
))
community
=
"louvain"
ticks_per_packet
=
$((
60
*
120
))
time_to_live
=
$((
3
*
$epoch
))
buffer_size
=
$((
3
*
7
*
24
*
60
*
60
))
duty
=
300
time
python main.py
\
--router
"
${
router
}
"
\
--community
"
${
community
}
"
\
--community-args
\
"epoch=
${
epoch
}
"
\
--trace
"csv"
\
--trace-args
\
"path=shed/data/pp_
${
shed
}
_reduced.csv"
\
--node-args
\
"tick_time=
${
duty
}
"
\
"buffer_size=
${
buffer_size
}
"
\
--packet-args
\
"ticks_per_packet=
${
ticks_per_packet
}
"
\
"time_to_live=
${
time_to_live
}
"
\
"start_delay=
${
epoch
}
"
# send slack notification if the script exists
status
=
$?
notify
=
$HOME
/dev/slack-notifier/send_notification_via_slack.py
[[
-e
"
$notify
"
]]
&&
$notify
"
\`
khadija done: exit(
$status
)
\`
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment