summaryrefslogtreecommitdiffstats
path: root/scripts/cfg/cfg_example1.yaml
blob: bfd7fd88403e90dd25c05b9b7cd712792afcdef7 (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
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]