Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples/trex: change dir name #113

Merged
merged 1 commit into from
Dec 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion examples/trex/dual_node_single_instance/client.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
- port_limit: 2
version: 2
interfaces: ["net0","dum0"]
interfaces:
- "net0"
- "dum0"
platform:
master_thread_id: 3
latency_thread_id: 4
Expand Down
4 changes: 3 additions & 1 deletion examples/trex/dual_node_single_instance/server.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
- port_limit: 2
version: 2
interfaces: ["dum0","net0"]
interfaces:
- "dum0"
- "net0"
platform:
master_thread_id: 0
latency_thread_id: 1
Expand Down
2 changes: 1 addition & 1 deletion examples/trex/dual_node_single_instance/tcp_open.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def create_profile(self, cps):
dist_server=ip_gen_s)

# template
temp_c = ASTFTCPClientTemplate(program=prog_c, ip_gen=ip_gen, cps=cps,limit=cps)
temp_c = ASTFTCPClientTemplate(program=prog_c, ip_gen=ip_gen, cps=cps)
temp_s = ASTFTCPServerTemplate(program=prog_s)
template = ASTFTemplate(client_template=temp_c, server_template=temp_s)

Expand Down
2 changes: 1 addition & 1 deletion examples/trex/dual_node_single_instance/tcp_openclose.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def create_profile(self, cps):
dist_server=ip_gen_s)

# template
temp_c = ASTFTCPClientTemplate(program=prog_c, ip_gen=ip_gen, cps=cps,limit=cps)
temp_c = ASTFTCPClientTemplate(program=prog_c, ip_gen=ip_gen, cps=cps)
temp_s = ASTFTCPServerTemplate(program=prog_s)
template = ASTFTemplate(client_template=temp_c, server_template=temp_s)

Expand Down
5 changes: 5 additions & 0 deletions examples/trex/simple/cfg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- port_limit: 2
version: 2
interfaces:
- "net0"
- "net1"
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def create_profile(self, cps):
dist_server=ip_gen_s)

# template
temp_c = ASTFTCPClientTemplate(program=prog_c, ip_gen=ip_gen, cps=cps,limit=cps)
temp_c = ASTFTCPClientTemplate(program=prog_c, ip_gen=ip_gen, cps=cps)
temp_s = ASTFTCPServerTemplate(program=prog_s)
template = ASTFTemplate(client_template=temp_c, server_template=temp_s)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def create_profile(self, cps):
dist_server=ip_gen_s)

# template
temp_c = ASTFTCPClientTemplate(program=prog_c, ip_gen=ip_gen, cps=cps,limit=cps)
temp_c = ASTFTCPClientTemplate(program=prog_c, ip_gen=ip_gen, cps=cps)
temp_s = ASTFTCPServerTemplate(program=prog_s)
template = ASTFTemplate(client_template=temp_c, server_template=temp_s)

Expand Down
4 changes: 3 additions & 1 deletion examples/trex/single_node_dual_instance/client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
prefix: client
zmq_pub_port: 4600
zmq_rpc_port: 4601
interfaces: ["net0","dum0"]
interfaces:
- "net0"
- "dum0"
platform:
master_thread_id: 3
latency_thread_id: 4
Expand Down
4 changes: 3 additions & 1 deletion examples/trex/single_node_dual_instance/server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
prefix: server
zmq_pub_port: 4700
zmq_rpc_port: 4701
interfaces: ["dum1","net1"]
interfaces:
- "dum1"
- "net1"
platform:
master_thread_id: 0
latency_thread_id: 1
Expand Down
2 changes: 1 addition & 1 deletion examples/trex/single_node_dual_instance/tcp_open.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def create_profile(self, cps):
dist_server=ip_gen_s)

# template
temp_c = ASTFTCPClientTemplate(program=prog_c, ip_gen=ip_gen, cps=cps,limit=cps)
temp_c = ASTFTCPClientTemplate(program=prog_c, ip_gen=ip_gen, cps=cps)
temp_s = ASTFTCPServerTemplate(program=prog_s)
template = ASTFTemplate(client_template=temp_c, server_template=temp_s)

Expand Down
2 changes: 1 addition & 1 deletion examples/trex/single_node_dual_instance/tcp_openclose.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def create_profile(self, cps):
dist_server=ip_gen_s)

# template
temp_c = ASTFTCPClientTemplate(program=prog_c, ip_gen=ip_gen, cps=cps,limit=cps)
temp_c = ASTFTCPClientTemplate(program=prog_c, ip_gen=ip_gen, cps=cps)
temp_s = ASTFTCPServerTemplate(program=prog_s)
template = ASTFTemplate(client_template=temp_c, server_template=temp_s)

Expand Down
3 changes: 0 additions & 3 deletions examples/trex/single_node_single_instance/cfg.yaml

This file was deleted.

Loading