summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2015-12-06 17:13:12 +0200
committerHanoh Haim <hhaim@cisco.com>2015-12-06 17:13:12 +0200
commit97cd0c4748938c783fc07ee2eb3450a851d3d93e (patch)
tree68c55dfc0753aa67962238bcad76e38a45783443 /scripts
parent15c30aa3b73c4f8714c2e3b4aab22a154f4a8fe9 (diff)
add simple configuration file
Diffstat (limited to 'scripts')
-rw-r--r--scripts/cfg/simple_cfg.yaml10
-rwxr-xr-xscripts/stl/imix_3pkt.yaml6
2 files changed, 13 insertions, 3 deletions
diff --git a/scripts/cfg/simple_cfg.yaml b/scripts/cfg/simple_cfg.yaml
new file mode 100644
index 00000000..218eb4f3
--- /dev/null
+++ b/scripts/cfg/simple_cfg.yaml
@@ -0,0 +1,10 @@
+- port_limit : 2 # this option can limit the number of port of the platform
+ version : 2
+ interfaces : ["03:00.0","03:00.1"] #the interfaces using ./dpdk_setup_ports.py -s
+ port_info : # set eh mac addr
+ - dest_mac : [1,0x0,0x0,0x1,0x0,0x00] # router mac addr
+ src_mac : [0x2,0x0,0x0,0x2,0x0,0x00] # source mac-addr
+ - dest_mac : [0x3,0x0,0x0,0x3,0x0,0x00] # router mac addr
+ src_mac : [0x4,0x0,0x0,0x4,0x0,0x00] #source mac-addr
+
+
diff --git a/scripts/stl/imix_3pkt.yaml b/scripts/stl/imix_3pkt.yaml
index 5405edb0..74ae41a8 100755
--- a/scripts/stl/imix_3pkt.yaml
+++ b/scripts/stl/imix_3pkt.yaml
@@ -7,7 +7,7 @@
binary: stl/udp_64B_no_crc.pcap # pcap should not include CRC
mode:
type: continuous
- pps: 100
+ pps: 28
rx_stats: []
- name: udp_594B
stream:
@@ -16,7 +16,7 @@
binary: stl/udp_594B_no_crc.pcap # pcap should not include CRC
mode:
type: continuous
- pps: 100
+ pps: 20
rx_stats: []
- name: udp_1518B
stream:
@@ -25,5 +25,5 @@
binary: stl/udp_1518B_no_crc.pcap # pcap should not include CRC
mode:
type: continuous
- pps: 100
+ pps: 4
rx_stats: [] \ No newline at end of file