[SDFAB-861] Add a testcase to UP4 with PFCP agent
- Due to only being able to add one application filter per ue
session with the pfcpsim, created a new testcase to individually
test the apllication filters from the params file plus the default
application filter
- Using a Mock SMF to send messages to the pfcp agent
- Add a parameter to topo file to use mock_smf or p4rt cli to add
flows
- Modify ue ips to work around smf limitations
- Modify teids for UL and DL to be different. This reduces
differences between smf and p4rtcli generated flows
Change-Id: I1ba3ef43919dd375f5e5bf54e97f61c09c7323d9
diff --git a/TestON/tests/USECASE/SegmentRouting/UP4/UP4.params b/TestON/tests/USECASE/SegmentRouting/UP4/UP4.params
index e1f522c..184de59 100644
--- a/TestON/tests/USECASE/SegmentRouting/UP4/UP4.params
+++ b/TestON/tests/USECASE/SegmentRouting/UP4/UP4.params
@@ -1,5 +1,5 @@
<PARAMS>
- <testcases>1,2,3,4,5</testcases>
+ <testcases>1,2,3,4,5,11</testcases>
<GRAPH>
<nodeCluster>pairedleaves</nodeCluster>
@@ -18,6 +18,7 @@
<UP4>
<pdn_host>MgmtServer</pdn_host>
+ <ue_range>10.240.0.0/16</ue_range>
<enodebs>
<enodeb_1>
<host>Compute3</host>
@@ -36,24 +37,24 @@
<slice_id>1</slice_id>
<ues>
<ue1>
- <ue_address>10.240.0.1</ue_address>
- <teid>100</teid>
+ <ue_address>10.240.0.10</ue_address>
+ <teid>10</teid>
<up_id>10</up_id>
<down_id>11</down_id>
<tc>0</tc>
<five_g>False</five_g>
</ue1>
<ue2>
- <ue_address>10.240.0.2</ue_address>
- <teid>200</teid>
+ <ue_address>10.240.0.20</ue_address>
+ <teid>20</teid>
<up_id>20</up_id>
<down_id>21</down_id>
<tc>0</tc>
<five_g>False</five_g>
</ue2>
<ue3>
- <ue_address>10.240.0.3</ue_address>
- <teid>250</teid>
+ <ue_address>10.240.0.30</ue_address>
+ <teid>30</teid>
<up_id>30</up_id>
<down_id>31</down_id>
<tc>0</tc>
@@ -67,7 +68,7 @@
<!-- MgmtServer -->
<ip_prefix>10.32.11.1/32</ip_prefix>
<ip_proto>17</ip_proto>
- <port_range>80..80</port_range>
+ <port_range>80..400</port_range>
<priority>20</priority>
<action>allow</action>
</allowPort>