summaryrefslogtreecommitdiffstats
path: root/scripts/cfg/cfg_example2.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/cfg/cfg_example2.yaml')
-rwxr-xr-xscripts/cfg/cfg_example2.yaml26
1 files changed, 26 insertions, 0 deletions
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]
+
+