summaryrefslogtreecommitdiffstats
path: root/scripts/cfg/cfg_example2.yaml
blob: d9797bf4df21f95b542af80df2357b448504f22b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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        :   [0x0,0x0,0x0,0x1,0x0,0x00]  # port 0
            src_mac         :   [0x0,0x0,0x0,0x2,0x0,0x00]
          - dest_mac        :   [0x0,0x0,0x0,0x2,0x0,0x00]  # port 1
            src_mac         :   [0x0,0x0,0x0,0x1,0x0,0x00]
          - dest_mac        :   [0x0,0x0,0x0,0x5,0x0,0x00]  # port 2
            src_mac         :   [0x0,0x0,0x0,0x6,0x0,0x00]
          - dest_mac        :   [0x0,0x0,0x0,0x6,0x0,0x01]  # port 3
            src_mac         :   [0x0,0x0,0x0,0x5,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,0xa,0x0,0x05]  # port 5
            src_mac         :   [0x0,0x0,0x0,0x9,0x0,0x06]
          - dest_mac        :   [0x0,0x0,0x0,0xd,0x0,0x07]  # port 6
            src_mac         :   [0x0,0x0,0x0,0xe,0x0,0x08]
          - dest_mac        :   [0x0,0x0,0x0,0xe,0x0,0x09]  # port 7
            src_mac         :   [0x0,0x0,0x0,0xd,0x0,0x0a]