+debug on gen_testdata
This commit is contained in:
parent
9458507ee9
commit
6d212abe4d
1 changed files with 2 additions and 1 deletions
|
@ -43,6 +43,7 @@ nf_id_map = {
|
|||
sss_sdnet_tuples.clear_tuple_files()
|
||||
|
||||
def applyPkt(pkt, ingress, time):
|
||||
print("Applying pkt on {} at {}".format(ingress, time))
|
||||
pktsApplied.append(pkt)
|
||||
sss_sdnet_tuples.sume_tuple_in['src_port'] = nf_port_map[ingress]
|
||||
sss_sdnet_tuples.sume_tuple_expect['src_port'] = nf_port_map[ingress]
|
||||
|
@ -108,7 +109,7 @@ def test_port1():
|
|||
|
||||
for inport in [ 'nf0', 'nf1', 'nf2', 'nf3' ]:
|
||||
# for inport in [ 'nf0' ]:
|
||||
# Send on nf0
|
||||
# Send on nf0..nf3
|
||||
applyPkt(pkt, inport, pktCnt)
|
||||
|
||||
# Always receive on nf0
|
||||
|
|
Loading…
Reference in a new issue