make test: FIB add/update/delete - ip4 routes

- JIRA:CSIT-483

Change-Id: Idb4c5bd7a234bc975f3380ece58c0e8d4bfdafd9
Signed-off-by: Matej Klotton <mklotton@cisco.com>
This commit is contained in:
Matej Klotton
2016-12-07 15:09:13 +01:00
committed by Damjan Marion
parent 82a06a9335
commit 16a14cdb16
3 changed files with 276 additions and 2 deletions

View File

@ -40,6 +40,13 @@ class _PacketInfo(object):
#: Store the copy of the former packet.
data = None
def __eq__(self, other):
index = self.index == other.index
src = self.src == other.src
dst = self.dst == other.dst
data = self.data == other.data
return index and src and dst and data
def pump_output(out, deque):
for line in iter(out.readline, b''):