diff options
author | Hanoh Haim <hhaim@cisco.com> | 2015-06-24 14:03:29 +0300 |
---|---|---|
committer | Hanoh Haim <hhaim@cisco.com> | 2015-06-24 14:03:29 +0300 |
commit | 8b52a31ed2c299b759f330c4f976b9c70f5765f4 (patch) | |
tree | 9d6da5438b5b56b1d2d57e6c13494b4e65d000e7 /scripts/cfg |
first version
Diffstat (limited to 'scripts/cfg')
-rwxr-xr-x | scripts/cfg/cfg_example1.yaml | 27 | ||||
-rwxr-xr-x | scripts/cfg/cfg_example2.yaml | 26 | ||||
-rwxr-xr-x | scripts/cfg/ins1.yaml | 25 | ||||
-rwxr-xr-x | scripts/cfg/ins2.yaml | 25 | ||||
-rwxr-xr-x | scripts/cfg/ins3.yaml | 27 | ||||
-rwxr-xr-x | scripts/cfg/ucs_h0.yaml | 9 | ||||
-rwxr-xr-x | scripts/cfg/ucs_h1.yaml | 9 | ||||
-rwxr-xr-x | scripts/cfg/xl710.yaml | 29 |
8 files changed, 177 insertions, 0 deletions
diff --git a/scripts/cfg/cfg_example1.yaml b/scripts/cfg/cfg_example1.yaml new file mode 100755 index 00000000..bfd7fd88 --- /dev/null +++ b/scripts/cfg/cfg_example1.yaml @@ -0,0 +1,27 @@ +- port_limit : 2 # this option can limit the number of port of the platform + version : 2 + interfaces : ["03:00.0","03:00.1"] # + interface_mask : [ "0000:11:00.00", "0000:11:00.01" ] # deprecated + scan_only_1g : true + enable_zmq_pub : true # enable publisher for stats data + zmq_pub_port : 4507 + telnet_port : 4508 # the telnet port in case it is enable ( with intercative mode ) + port_info : # set eh mac addr + - dest_mac : [0x1,0x0,0x0,0x1,0x0,0x00] # port 0 + src_mac : [0x2,0x0,0x0,0x2,0x0,0x00] + - dest_mac : [0x3,0x0,0x0,0x3,0x0,0x00] # port 1 + src_mac : [0x4,0x0,0x0,0x4,0x0,0x00] + - dest_mac : [0x5,0x0,0x0,0x5,0x0,0x00] # port 2 + src_mac : [0x6,0x0,0x0,0x6,0x0,0x00] + - dest_mac : [0x7,0x0,0x0,0x7,0x0,0x01] # port 3 + src_mac : [0x0,0x0,0x0,0x8,0x0,0x02] + - dest_mac : [0x0,0x0,0x0,0x9,0x0,0x03] # port 4 + src_mac : [0x0,0x0,0x0,0xa,0x0,0x04] + - dest_mac : [0x0,0x0,0x0,0xb,0x0,0x05] # port 5 + src_mac : [0x0,0x0,0x0,0xc,0x0,0x06] + - dest_mac : [0x0,0x0,0x0,0xd,0x0,0x07] # port 6 + src_mac : [0x0,0x0,0x0,0xa,0x0,0x08] + - dest_mac : [0x0,0x0,0x0,0xb,0x0,0x09] # port 7 + src_mac : [0x0,0x0,0x0,0xc,0x0,0x0a] + + diff --git a/scripts/cfg/cfg_example2.yaml b/scripts/cfg/cfg_example2.yaml new file mode 100755 index 00000000..a381fb2f --- /dev/null +++ b/scripts/cfg/cfg_example2.yaml @@ -0,0 +1,26 @@ +- port_limit : 2 # this option can limit the number of port of the platform + version : 2 + interfaces : ["03:00.0","03:00.1","13:00.1","13:00.0"] # list of the interfaces to bind run ./dpdk_nic_bind.py --status + interface_mask : [ "0000:22:00.00", "0000:22:00.01" ] # deprecated + enable_zmq_pub : false # enable publisher for stats data + zmq_pub_port : 4500 + telnet_port : 4501 # the telnet port in case it is enable ( with intercative mode ) + port_info : # set eh mac addr + - dest_mac : [0x1,0x0,0x0,0x1,0x0,0x00] # port 0 + src_mac : [0x2,0x0,0x0,0x2,0x0,0x00] + - dest_mac : [0x3,0x0,0x0,0x3,0x0,0x00] # port 1 + src_mac : [0x4,0x0,0x0,0x4,0x0,0x00] + - dest_mac : [0x5,0x0,0x0,0x5,0x0,0x00] # port 2 + src_mac : [0x6,0x0,0x0,0x6,0x0,0x00] + - dest_mac : [0x7,0x0,0x0,0x7,0x0,0x01] # port 3 + src_mac : [0x0,0x0,0x0,0x8,0x0,0x02] + - dest_mac : [0x0,0x0,0x0,0x9,0x0,0x03] # port 4 + src_mac : [0x0,0x0,0x0,0xa,0x0,0x04] + - dest_mac : [0x0,0x0,0x0,0xb,0x0,0x05] # port 5 + src_mac : [0x0,0x0,0x0,0xc,0x0,0x06] + - dest_mac : [0x0,0x0,0x0,0xd,0x0,0x07] # port 6 + src_mac : [0x0,0x0,0x0,0xa,0x0,0x08] + - dest_mac : [0x0,0x0,0x0,0xb,0x0,0x09] # port 7 + src_mac : [0x0,0x0,0x0,0xc,0x0,0x0a] + + diff --git a/scripts/cfg/ins1.yaml b/scripts/cfg/ins1.yaml new file mode 100755 index 00000000..49278db4 --- /dev/null +++ b/scripts/cfg/ins1.yaml @@ -0,0 +1,25 @@ +- version : 2 + interfaces : ["03:00.0","03:00.1"] + port_limit : 2 + enable_zmq_pub : true # enable publisher for stats data + zmq_pub_port : 4507 + prefix : setup1 + limit_memory : 1024 + c : 4 +# for system of 1Gb/sec NIC or VM enable this + port_bandwidth_gb : 10 # port bandwidth 10Gb/sec , for VM put here 1 for XL710 put 40 + platform : + master_thread_id : 0 + latency_thread_id : 5 + dual_if : + - socket : 0 + threads : [1,2,3,4] + + + + + + + + + diff --git a/scripts/cfg/ins2.yaml b/scripts/cfg/ins2.yaml new file mode 100755 index 00000000..3a010750 --- /dev/null +++ b/scripts/cfg/ins2.yaml @@ -0,0 +1,25 @@ +- version : 2 + interfaces : ["82:00.0","82:00.1"] + port_limit : 2 + enable_zmq_pub : true # enable publisher for stats data + zmq_pub_port : 4510 + #prefix : setup3 + #limit_memory : 2048 + c : 4 +# for system of 1Gb/sec NIC or VM enable this + port_bandwidth_gb : 10 # port bandwidth 10Gb/sec , for VM put here 1 for XL710 put 40 + platform : + master_thread_id : 12 + latency_thread_id : 13 + dual_if : + - socket : 1 + threads : [8,9,10,11] + + + + + + + + + diff --git a/scripts/cfg/ins3.yaml b/scripts/cfg/ins3.yaml new file mode 100755 index 00000000..b03f7428 --- /dev/null +++ b/scripts/cfg/ins3.yaml @@ -0,0 +1,27 @@ +- version : 2 + interfaces : ["03:00.0","03:00.1","82:00.0","82:00.1"] + port_limit : 4 + enable_zmq_pub : true # enable publisher for stats data + zmq_pub_port : 4500 + #prefix : setup3 + #limit_memory : 2048 + c : 4 +# for system of 1Gb/sec NIC or VM enable this + port_bandwidth_gb : 10 # port bandwidth 10Gb/sec , for VM put here 1 for XL710 put 40 + platform : + master_thread_id : 0 + latency_thread_id : 5 + dual_if : + - socket : 1 + threads : [1,2,3,4] + - socket : 0 + threads : [8,9,10,11] + + + + + + + + + diff --git a/scripts/cfg/ucs_h0.yaml b/scripts/cfg/ucs_h0.yaml new file mode 100755 index 00000000..3b620e03 --- /dev/null +++ b/scripts/cfg/ucs_h0.yaml @@ -0,0 +1,9 @@ +- port_limit : 2 + version : 2 + interfaces : ["03:00.0","03:00.1","13:00.1","13:00.0"] # list of the interfaces to bind run ./dpdk_nic_bind.py --status + interface_mask : [ "0000:11:00.00", "0000:11:00.01" ,"0000:0b:00.02","0000:0b:00.03"] # deprecated + enable_zmq_pub : true # enable publisher for stats data + zmq_pub_port : 4500 + telnet_port : 4501 # the telnet port in case it is enable ( with intercative mode ) + + diff --git a/scripts/cfg/ucs_h1.yaml b/scripts/cfg/ucs_h1.yaml new file mode 100755 index 00000000..cb0caf54 --- /dev/null +++ b/scripts/cfg/ucs_h1.yaml @@ -0,0 +1,9 @@ +- port_limit : 2 + version : 2 + interfaces : ["03:00.0","03:00.1","13:00.1","13:00.0"] # list of the interfaces to bind run ./dpdk_nic_bind.py --status + interface_mask : [ "0000:11:00.00", "0000:11:00.01" ,"0000:0b:00.00","0000:0b:00.01"] # deprecated + enable_zmq_pub : true # enable publisher for stats data + zmq_pub_port : 4510 + telnet_port : 4511 # the telnet port in case it is enable ( with intercative mode ) + + diff --git a/scripts/cfg/xl710.yaml b/scripts/cfg/xl710.yaml new file mode 100755 index 00000000..ed66078a --- /dev/null +++ b/scripts/cfg/xl710.yaml @@ -0,0 +1,29 @@ +- version : 2 + interfaces : ["08:00.0","08:00.1"] + port_limit : 2 + enable_zmq_pub : true # enable publisher for stats data + zmq_pub_port : 4507 + c : 4 +# for system of 1Gb/sec NIC or VM enable this + port_bandwidth_gb : 40 # port bandwidth 10Gb/sec , for VM put here 1 for XL710 put 40 + platform : + master_thread_id : 0 + latency_thread_id : 5 + dual_if : + - socket : 0 + threads : [1,2,3,4,6,7] + port_info : # set eh mac addr + - dest_mac : [0x00,0x0c,0x29,0x55,0x37,0xc7] # port 0 + src_mac : [0x00,0x0c,0x29,0x55,0x37,0xbd] + - dest_mac : [0x00,0x0c,0x29,0x55,0x37,0xbd] # port 1 + src_mac : [0x00,0x0c,0x29,0x55,0x37,0xc7] + + + + + + + + + + |