summaryrefslogtreecommitdiffstats
path: root/scripts/cfg
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2015-12-06 17:13:12 +0200
committerHanoh Haim <hhaim@cisco.com>2015-12-06 17:13:12 +0200
commit97cd0c4748938c783fc07ee2eb3450a851d3d93e (patch)
tree68c55dfc0753aa67962238bcad76e38a45783443 /scripts/cfg
parent15c30aa3b73c4f8714c2e3b4aab22a154f4a8fe9 (diff)
add simple configuration file
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
+
+