Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
daniele-moro committed Mar 18, 2022
1 parent 6a3ff3e commit a40bd9e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scenarios/pfcp-app-filtering.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,25 @@
<step name="Check-Flow-Rules-App-Filtering-1" requires="Pfcp-Push-App-Filtering-1" delay="5"
exec="onos-check-flows ${OCI}"/>
</group>
<!-- Verify that traffic not matching the application filter is dropped -->
<group name="Check-Traffic-App-Filtering-Negative-1" requires="Pfcp-Setup-App-Filtering-1" delay="5">
<parallel var="${ENODEB#}">
<!-- Downlink -->
<step name="Downlink-Enb-Recv-Gtp-Drop-App-Filtering-${#}-1" requires="Pfcp-Setup-App-Filtering-1"
exec="mn-cmd ${ENODEB#} traffic.py recv-none -t 10"/>
<step name="Downlink-Pdn-Send-Udp-Drop-App-Filtering-${#}-1" requires="Pfcp-Setup-App-Filtering-1" delay="5"
exec="mn-cmd pdn traffic.py send-udp -c 10 --ue-pool 17.0.${#-1}.0/24 --enb-addr 140.0.10${#-1}.1 --pdn-port ${#}00"/>
exec="mn-cmd pdn traffic.py send-udp -c 10 --ue-pool 17.0.${#-1}.0/24 --enb-addr 140.0.10${#-1}.1 --pdn-port 100"/>
<!-- Uplink -->
<step name="Uplink-Pdn-Recv-Udp-Drop-App-Filtering-${#}-1"
requires="Pfcp-Setup-App-Filtering-1,~Downlink-Enb-Recv-Gtp-Drop-App-Filtering-${#}-1,~Downlink-Pdn-Send-Udp-Drop-App-Filtering-${#}-1"
exec="mn-cmd pdn traffic.py recv-none -t 10"/>
<step name="Uplink-Enb-Send-Gtp-Drop-App-Filtering-${#}-1"
requires="Pfcp-Setup-App-Filtering-1,~Downlink-Enb-Recv-Gtp-Drop-App-Filtering-${#}-1,~Downlink-Pdn-Send-Udp-Drop-App-Filtering-${#}-1"
delay="5"
exec="mn-cmd ${ENODEB#} traffic.py send-gtp -c 10 --teid-base ${#}0 --ue-pool 17.0.${#-1}.0/24 --enb-addr 140.0.10${#-1}.1 --pdn-port ${#}00"/>
exec="mn-cmd ${ENODEB#} traffic.py send-gtp -c 10 --teid-base ${#}0 --ue-pool 17.0.${#-1}.0/24 --enb-addr 140.0.10${#-1}.1 --pdn-port 100"/>
</parallel>
</group>
<!-- Verify that traffic matching the application filter is forwarded -->
<group name="Check-Traffic-App-Filtering-Positive-1" requires="~Check-Traffic-App-Filtering-Negative-1" delay="5">
<parallel var="${ENODEB#}">
<!-- Downlink -->
Expand Down

0 comments on commit a40bd9e

Please sign in to comment.