Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
tsn-measures
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
tsn-measures
Commits
5eda49f8
Commit
5eda49f8
authored
Jul 28, 2020
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the static ips in the wrapper scripts
parent
6db645f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
scripts/run-client
scripts/run-client
+4
-4
scripts/run-server
scripts/run-server
+4
-4
No files found.
scripts/run-client
View file @
5eda49f8
...
@@ -13,7 +13,7 @@ interval=100000
...
@@ -13,7 +13,7 @@ interval=100000
# Default options
# Default options
client_options
=
"-a -p 99 -f eth0"
client_options
=
"-a -p 99 -f eth0"
qdisc_options
=
""
qdisc_options
=
""
ip
=
"192.168.
99
."
ip
=
"192.168.
17
."
etf_offset
=
500
etf_offset
=
500
while
getopts
"bd:e:o:ghi:ptT:G"
opt
;
do
while
getopts
"bd:e:o:ghi:ptT:G"
opt
;
do
...
@@ -68,11 +68,11 @@ shift $((OPTIND-1))
...
@@ -68,11 +68,11 @@ shift $((OPTIND-1))
if
[
-n
"
$1
"
]
;
then
if
[
-n
"
$1
"
]
;
then
if
[
"
$1
"
==
"emerald"
]
;
then
if
[
"
$1
"
==
"emerald"
]
;
then
ip+
=
"
25
"
ip+
=
"
3
"
elif
[
"
$1
"
==
"slate"
]
;
then
elif
[
"
$1
"
==
"slate"
]
;
then
ip+
=
"2
6
"
ip+
=
"2"
elif
[
"
$1
"
==
"onyx"
]
;
then
elif
[
"
$1
"
==
"onyx"
]
;
then
ip+
=
"
27
"
ip+
=
"
4
"
else
else
usage
usage
exit
1
exit
1
...
...
scripts/run-server
View file @
5eda49f8
...
@@ -9,7 +9,7 @@ usage() {
...
@@ -9,7 +9,7 @@ usage() {
# Default options
# Default options
server_options
=
"-a -p 99 -f eth0"
server_options
=
"-a -p 99 -f eth0"
ip
=
"192.168.
99
."
ip
=
"192.168.
17
."
tcpdump_interval
=
1000000
tcpdump_interval
=
1000000
while
getopts
"b:htd:i:g:T:G"
opt
;
do
while
getopts
"b:htd:i:g:T:G"
opt
;
do
...
@@ -53,11 +53,11 @@ shift $((OPTIND-1))
...
@@ -53,11 +53,11 @@ shift $((OPTIND-1))
if
[
-n
"
${
use_rtt
}
"
]
;
then
if
[
-n
"
${
use_rtt
}
"
]
;
then
if
[
"
$board
"
==
"emerald"
]
;
then
if
[
"
$board
"
==
"emerald"
]
;
then
ip+
=
"
25
"
ip+
=
"
3
"
elif
[
"
$board
"
==
"slate"
]
;
then
elif
[
"
$board
"
==
"slate"
]
;
then
ip+
=
"2
6
"
ip+
=
"2"
elif
[
"
$board
"
==
"onyx"
]
;
then
elif
[
"
$board
"
==
"onyx"
]
;
then
ip+
=
"
27
"
ip+
=
"
4
"
else
else
usage
usage
exit
1
exit
1
...
...
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