diff options
author | 2016-10-26 11:46:42 +0300 | |
---|---|---|
committer | 2016-10-26 11:46:42 +0300 | |
commit | 37400982f21c67317aaf7fc3311cc62785edaa7d (patch) | |
tree | 9338265685ac6f068a5c7fa2bb1a32e6a29b20cf | |
parent | 9c6e6d4b3789bfc2260a5d14355d588756318711 (diff) |
changed simple_cfg.yaml to be IP based
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
-rw-r--r-- | scripts/cfg/simple_cfg.yaml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/scripts/cfg/simple_cfg.yaml b/scripts/cfg/simple_cfg.yaml index 7b1dc393..c3564616 100644 --- a/scripts/cfg/simple_cfg.yaml +++ b/scripts/cfg/simple_cfg.yaml @@ -1,10 +1,11 @@ -- port_limit : 2 # this option can limit the number of port of the platform +- port_limit : 2 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 : [0x00,0x00,0x00,0x01,0x00,0x00] # router mac addr should be taken from router - src_mac : [0x00,0x00,0x00,0x02,0x00,0x00] # source mac-addr - taken from ifconfig - - dest_mac : [0x00,0x00,0x00,0x03,0x00,0x00] # router mac addr taken from router - src_mac : [0x00,0x00,0x00,0x04,0x00,0x00] #source mac-addr taken from ifconfig +#List of interfaces. Change to suit your setup. Use ./dpdk_setup_ports.py -s to see available options + interfaces : ["03:00.0","03:00.1"] + port_info : # Port IPs. Change to suit your needs. In case of loopback, you can leave as is. + - ip : 1.1.1.1 + default_gw : 2.2.2.2 + - ip : 2.2.2.2 + default_gw : 1.1.1.1 |