aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2018-11-30 12:03:04 -0800
committerOle Trøan <otroan@employees.org>2018-12-06 21:58:12 +0000
commit91afaab068e4f3452eda35053959a9015ae1d0d0 (patch)
tree809284ba392a7833b1bc34cd58ff8bbd37981fa3 /test
parentf18eb86c32732ca7397b66b421287f2326c1e2df (diff)
Fix L2BD arp termination Test Case
This patch is a followup to: https://gerrit.fd.io/r/#/c/16307/ which is currently causing ubuntu1804 to complain. See: https://logs.fd.io/production/vex-yul-rot-jenkins-1/vpp-beta-verify-master-ubuntu1804/3837/console-timestamp.log.gz s/RuntimeError/ for details. ============================================================================== L2BD arp termination Test Case ============================================================================== 12:02:21,850 Couldn't stat : /tmp/vpp-unittest-TestL2bdArpTerm-_h44qo/stats.sock L2BD arp term - add 5 hosts, verify arp responses OK L2BD arp term - delete 3 hosts, verify arp responses OK L2BD arp term - recreate BD1, readd 3 hosts, verify arp responses OK L2BD arp term - 2 IP4 addrs per host OK L2BD arp term - create and update 10 IP4-mac pairs OK L2BD arp/ND term - hosts with both ip4/ip6 OK L2BD ND term - Add and Del hosts, verify ND replies OK L2BD ND term - Add and update IP+mac, verify ND replies OK L2BD arp term - send garps, verify arp event reports OK L2BD arp term - send duplicate garps, verify suppression OK L2BD arp term - disable ip4 arp events,send garps, verify no events OK L2BD ND term - send NS packets verify reports OK L2BD ND term - send duplicate ns, verify suppression OK L2BD ND term - disable ip4 arp events,send ns, verify no events OK ============================================================================== TEST RESULTS: Scheduled tests: 14 Executed tests: 14 Passed tests: 14 ============================================================================== Test run was successful Change-Id: If66f22412f8aa36b183131cd22af4b3e7a20da46 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'test')
-rw-r--r--test/vpp_mac.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/vpp_mac.py b/test/vpp_mac.py
index 27814cdc761..787d77c58bd 100644
--- a/test/vpp_mac.py
+++ b/test/vpp_mac.py
@@ -8,7 +8,7 @@ from util import mactobinary
class VppMacAddress():
def __init__(self, addr):
- self.address = addr
+ self._address = addr
def encode(self):
return {
@@ -21,11 +21,7 @@ class VppMacAddress():
@property
def address(self):
- return self.address
-
- @address.setter
- def address(self, value):
- self.address = value
+ return self._address
def __str__(self):
return self.address