diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2018-05-25 08:21:20 +0200 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2018-05-26 06:03:12 +0000 |
commit | fb10579575c4cdc9c4de330c955cc470a8ca8892 (patch) | |
tree | 0197f9209baf53fd6c971be40611ec946e9ecc1d /vpp-management | |
parent | 223b2a315c5976efa040307f85d7cef7662fbb8f (diff) |
jvpp-benchmark: add option to select interface mode
Changes:
- use loopback interface instead of local0,
- if L3 (default) mode is selected, assing IP to the loop0 interface,
- if L2 mode is selected, create bridge domain and assing loop0 the BD.
To test interface in L2 mode, use:
sudo java -jar ./target/jvpp-benchmark-exec.jar -p mode=L2
Change-Id: I8450d42fe0d164c6dbedf1dacf1444a25d9932b8
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
(cherry picked from commit 6e5446c9d64df7f2cbde857d276e8685c9175089)
Diffstat (limited to 'vpp-management')
0 files changed, 0 insertions, 0 deletions