summaryrefslogtreecommitdiffstats
path: root/scripts/cfg
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/cfg')
-rw-r--r--scripts/cfg/simple_cfg.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/cfg/simple_cfg.yaml b/scripts/cfg/simple_cfg.yaml
new file mode 100644
index 00000000..218eb4f3
--- /dev/null
+++ b/scripts/cfg/simple_cfg.yaml
@@ -0,0 +1,10 @@
+- port_limit : 2 # this option can limit the number of port of the platform
+ version : 2
+ interfaces : ["03:00.0","03:00.1"] #the interfaces using ./dpdk_setup_ports.py -s
+ port_info : # set eh mac addr
+ - dest_mac : [1,0x0,0x0,0x1,0x0,0x00] # router mac addr
+ src_mac : [0x2,0x0,0x0,0x2,0x0,0x00] # source mac-addr
+ - dest_mac : [0x3,0x0,0x0,0x3,0x0,0x00] # router mac addr
+ src_mac : [0x4,0x0,0x0,0x4,0x0,0x00] #source mac-addr
+
+