Push application ID on UP4 termination tables
Actual application filtering tests will come later.
Change-Id: Ib4e3ec9a0d72bc09cf31bace64b3d448034f38d0
diff --git a/TestON/tests/USECASE/SegmentRouting/dependencies/up4.py b/TestON/tests/USECASE/SegmentRouting/dependencies/up4.py
index d509fa3..fe5ddf9 100644
--- a/TestON/tests/USECASE/SegmentRouting/dependencies/up4.py
+++ b/TestON/tests/USECASE/SegmentRouting/dependencies/up4.py
@@ -16,6 +16,7 @@
N_FLOWS_PER_UE = 5
+DEFAULT_APP_ID = 0
class UP4:
"""
@@ -464,7 +465,8 @@
teid=None, up_id=None, down_id=None,
teid_up=None, teid_down=None, ctr_id_up=None,
ctr_id_down=None, tunn_peer_id=None,
- qfi=0, five_g=False, action="program"):
+ qfi=0, five_g=False, app_id=DEFAULT_APP_ID,
+ action="program"):
if up_id is not None:
ctr_id_up = up_id
if down_id is not None:
@@ -523,6 +525,7 @@
# Match fields
matchFields['ue_address'] = str(ue_address)
+ matchFields['app_id'] = str(app_id)
# Action params
actionParams['ctr_idx'] = str(ctr_id_up)
# 1-1 mapping between QFI and TC
@@ -539,6 +542,7 @@
# Match fields
matchFields['ue_address'] = str(ue_address)
+ matchFields['app_id'] = str(app_id)
# Action params
actionParams['teid'] = str(teid_down)
actionParams['ctr_idx'] = str(ctr_id_down)