diff options
author | 2016-11-04 11:11:44 +0100 | |
---|---|---|
committer | 2016-11-11 10:29:04 +0000 | |
commit | 0178d52384e0428368f1acf3163e664ecda7b64c (patch) | |
tree | 8f6e09a23ca9b332df92f0ac16cc7d2526d7e4b6 /test/test_l2xc.py | |
parent | 9db551cf50da13bf82d3a735ea6b56912a97d5c6 (diff) |
Add IRB test
- JIRA: CSIT-255
- create loopback interfaces
- move pg-interface specific arp and neighbor discovery from vpp_interface to vpp_pg_interface
- base configuration of IRB tests
- IP test scenario
Change-Id: I9945a188163652a4e22325877aef008c4d029557
Signed-off-by: Matej Klotton <mklotton@cisco.com>
Diffstat (limited to 'test/test_l2xc.py')
-rw-r--r-- | test/test_l2xc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_l2xc.py b/test/test_l2xc.py index 35c7a818..23fd7577 100644 --- a/test/test_l2xc.py +++ b/test/test_l2xc.py @@ -9,7 +9,7 @@ from scapy.layers.inet import IP, UDP from logging import * from framework import VppTestCase, VppTestRunner -from util import TestHost +from util import Host class TestL2xc(VppTestCase): @@ -85,7 +85,7 @@ class TestL2xc(VppTestCase): self.hosts_by_pg_idx[pg_if.sw_if_index] = [] hosts = self.hosts_by_pg_idx[pg_if.sw_if_index] for j in range(0, count): - host = TestHost( + host = Host( "00:00:00:ff:%02x:%02x" % (pg_if.sw_if_index, j), "172.17.1%02x.%u" % (pg_if.sw_if_index, j)) hosts.append(host) |