[source,python]
----
- - port_limit : 2 <1>
- version : 2 <2>
- interfaces : ["03:00.0","03:00.1"] <3>
- enable_zmq_pub : true <4>
- zmq_pub_port : 4500 <5>
- prefix : setup1 <6>
- limit_memory : 1024 <7>
+ - port_limit : 2 #mandatory <1>
+ version : 2 #mandatory <2>
+ interfaces : ["03:00.0","03:00.1"] #mandatory <3>
+ #enable_zmq_pub : true <4>
+ #zmq_pub_port : 4500 <5>
+ #prefix : setup1 <6>
+ #limit_memory : 1024 <7>
c : 4 <8>
port_bandwidth_gb : 10 <9>
- port_info : # set eh mac addr
+ port_info : # set eh mac addr mandatory
- dest_mac : [0x1,0x0,0x0,0x1,0x0,0x00] # port 0 <10>
src_mac : [0x2,0x0,0x0,0x2,0x0,0x00]
- dest_mac : [0x3,0x0,0x0,0x3,0x0,0x00] # port 1
src_mac : [0x0,0x0,0x0,0x8,0x0,0x02]
- dest_mac : [0x0,0x0,0x0,0x9,0x0,0x03] # port 4
----
-<1> The number of ports, should be equal to the number of interfaces in 3)
-<2> Must be set to 2
-<3> Interface that should be used. used `sudo ./dpdk_setup_ports.py --show`
-<4> Enable the ZMQ publisher for stats data.
-<5> ZMQ port number.
+<1> The number of ports, should be equal to the number of interfaces in 3) - mandatory
+<2> Must be set to 2 - mandatory
+<3> Interface that should be used. used `sudo ./dpdk_setup_ports.py --show` - mandatory
+<4> Enable the ZMQ publisher for stats data, default is true.
+<5> ZMQ port number. the default value is good. you can remove this line
<6> The name of the setup should be distinct ( DPDK --file-prefix )
<7> DPDK -m limit the packet memory
- 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 <1>
limit_memory : 1024 <2>
c : 4 <3>