Skip to content

Commit

Permalink
fix: rewrite the fileter example in flowrules
Browse files Browse the repository at this point in the history
  • Loading branch information
Alonza0314 committed Oct 23, 2024
1 parent a1102a3 commit dece432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion free5gc-Webconsole.postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -1599,7 +1599,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"profileName\": \"test\",\n \"AccessAndMobilitySubscriptionData\": {\n \"gpsis\": [\n \"msisdn-0900000000\"\n ],\n \"nssai\": {\n \"defaultSingleNssais\": [\n {\n \"sst\": 1,\n \"sd\": \"010203\",\n \"isDefault\": true\n },\n {\n \"sst\": 1,\n \"sd\": \"112233\",\n \"isDefault\": true\n }\n ],\n \"singleNssais\": []\n },\n \"subscribedUeAmbr\": {\n \"downlink\": \"2 Gbps\",\n \"uplink\": \"1 Gbps\"\n }\n },\n \"SessionManagementSubscriptionData\": [\n {\n \"singleNssai\": {\n \"sst\": 1,\n \"sd\": \"010203\"\n },\n \"dnnConfigurations\": {\n \"internet\": {\n \"sscModes\": {\n \"defaultSscMode\": \"SSC_MODE_1\",\n \"allowedSscModes\": [\n \"SSC_MODE_2\",\n \"SSC_MODE_3\"\n ]\n },\n \"pduSessionTypes\": {\n \"defaultSessionType\": \"IPV4\",\n \"allowedSessionTypes\": [\n \"IPV4\"\n ]\n },\n \"sessionAmbr\": {\n \"uplink\": \"200 Mbps\",\n \"downlink\": \"100 Mbps\"\n },\n \"5gQosProfile\": {\n \"5qi\": 9,\n \"arp\": {\n \"priorityLevel\": 8\n },\n \"priorityLevel\": 8\n }\n },\n \"internet2\": {\n \"sscModes\": {\n \"defaultSscMode\": \"SSC_MODE_1\",\n \"allowedSscModes\": [\n \"SSC_MODE_2\",\n \"SSC_MODE_3\"\n ]\n },\n \"pduSessionTypes\": {\n \"defaultSessionType\": \"IPV4\",\n \"allowedSessionTypes\": [\n \"IPV4\"\n ]\n },\n \"sessionAmbr\": {\n \"uplink\": \"200 Mbps\",\n \"downlink\": \"100 Mbps\"\n },\n \"5gQosProfile\": {\n \"5qi\": 9,\n \"arp\": {\n \"priorityLevel\": 8\n },\n \"priorityLevel\": 8\n }\n }\n }\n },\n {\n \"singleNssai\": {\n \"sst\": 1,\n \"sd\": \"112233\"\n },\n \"dnnConfigurations\": {\n \"internet\": {\n \"sscModes\": {\n \"defaultSscMode\": \"SSC_MODE_1\",\n \"allowedSscModes\": [\n \"SSC_MODE_2\",\n \"SSC_MODE_3\"\n ]\n },\n \"pduSessionTypes\": {\n \"defaultSessionType\": \"IPV4\",\n \"allowedSessionTypes\": [\n \"IPV4\"\n ]\n },\n \"sessionAmbr\": {\n \"uplink\": \"200 Mbps\",\n \"downlink\": \"100 Mbps\"\n },\n \"5gQosProfile\": {\n \"5qi\": 9,\n \"arp\": {\n \"priorityLevel\": 8\n },\n \"priorityLevel\": 8\n }\n },\n \"internet2\": {\n \"sscModes\": {\n \"defaultSscMode\": \"SSC_MODE_1\",\n \"allowedSscModes\": [\n \"SSC_MODE_2\",\n \"SSC_MODE_3\"\n ]\n },\n \"pduSessionTypes\": {\n \"defaultSessionType\": \"IPV4\",\n \"allowedSessionTypes\": [\n \"IPV4\"\n ]\n },\n \"sessionAmbr\": {\n \"uplink\": \"200 Mbps\",\n \"downlink\": \"100 Mbps\"\n },\n \"5gQosProfile\": {\n \"5qi\": 9,\n \"arp\": {\n \"priorityLevel\": 8\n },\n \"priorityLevel\": 8\n }\n }\n }\n }\n ],\n \"SmfSelectionSubscriptionData\": {\n \"subscribedSnssaiInfos\": {\n \"01010203\": {\n \"dnnInfos\": [\n {\n \"dnn\": \"internet\"\n },\n {\n \"dnn\": \"internet2\"\n }\n ]\n },\n \"01112233\": {\n \"dnnInfos\": [\n {\n \"dnn\": \"internet\"\n },\n {\n \"dnn\": \"internet2\"\n }\n ]\n }\n }\n },\n \"AmPolicyData\": {\n \"subscCats\": [\n \"free5gc\"\n ]\n },\n \"SmPolicyData\": {\n \"smPolicySnssaiData\": {\n \"01010203\": {\n \"snssai\": {\n \"sst\": 1,\n \"sd\": \"010203\"\n },\n \"smPolicyDnnData\": {\n \"internet\": {\n \"dnn\": \"internet\"\n },\n \"internet2\": {\n \"dnn\": \"internet2\"\n }\n }\n },\n \"01112233\": {\n \"snssai\": {\n \"sst\": 1,\n \"sd\": \"112233\"\n },\n \"smPolicyDnnData\": {\n \"internet\": {\n \"dnn\": \"internet\"\n },\n \"internet2\": {\n \"dnn\": \"internet2\"\n }\n }\n }\n }\n },\n \"FlowRules\": [\n {\n \"snssai\": \"01010203\",\n \"dnn\": \"internet\",\n \"filter\": \"permit out 17 from 192.168.0.0/24 8000 to 60.60.0.0/24 \",\n \"qfi\": 5\n }\n ],\n \"QosFlows\": [\n {\n \"qfi\": 5, \n \"5qi\": 5,\n \"snssai\": \"01010203\",\n \"dnn\": \"internet\",\n \"gbrUL\": \"\",\n \"gbrDL\": \"\",\n \"mbrUL\": \"200 Mbps\",\n \"mbrDL\": \"100 Mbps\"\n }\n ]\n}",
"raw": "{\n \"profileName\": \"test\",\n \"AccessAndMobilitySubscriptionData\": {\n \"gpsis\": [\n \"msisdn-0900000000\"\n ],\n \"nssai\": {\n \"defaultSingleNssais\": [\n {\n \"sst\": 1,\n \"sd\": \"010203\",\n \"isDefault\": true\n },\n {\n \"sst\": 1,\n \"sd\": \"112233\",\n \"isDefault\": true\n }\n ],\n \"singleNssais\": []\n },\n \"subscribedUeAmbr\": {\n \"downlink\": \"2 Gbps\",\n \"uplink\": \"1 Gbps\"\n }\n },\n \"SessionManagementSubscriptionData\": [\n {\n \"singleNssai\": {\n \"sst\": 1,\n \"sd\": \"010203\"\n },\n \"dnnConfigurations\": {\n \"internet\": {\n \"sscModes\": {\n \"defaultSscMode\": \"SSC_MODE_1\",\n \"allowedSscModes\": [\n \"SSC_MODE_2\",\n \"SSC_MODE_3\"\n ]\n },\n \"pduSessionTypes\": {\n \"defaultSessionType\": \"IPV4\",\n \"allowedSessionTypes\": [\n \"IPV4\"\n ]\n },\n \"sessionAmbr\": {\n \"uplink\": \"200 Mbps\",\n \"downlink\": \"100 Mbps\"\n },\n \"5gQosProfile\": {\n \"5qi\": 9,\n \"arp\": {\n \"priorityLevel\": 8\n },\n \"priorityLevel\": 8\n }\n },\n \"internet2\": {\n \"sscModes\": {\n \"defaultSscMode\": \"SSC_MODE_1\",\n \"allowedSscModes\": [\n \"SSC_MODE_2\",\n \"SSC_MODE_3\"\n ]\n },\n \"pduSessionTypes\": {\n \"defaultSessionType\": \"IPV4\",\n \"allowedSessionTypes\": [\n \"IPV4\"\n ]\n },\n \"sessionAmbr\": {\n \"uplink\": \"200 Mbps\",\n \"downlink\": \"100 Mbps\"\n },\n \"5gQosProfile\": {\n \"5qi\": 9,\n \"arp\": {\n \"priorityLevel\": 8\n },\n \"priorityLevel\": 8\n }\n }\n }\n },\n {\n \"singleNssai\": {\n \"sst\": 1,\n \"sd\": \"112233\"\n },\n \"dnnConfigurations\": {\n \"internet\": {\n \"sscModes\": {\n \"defaultSscMode\": \"SSC_MODE_1\",\n \"allowedSscModes\": [\n \"SSC_MODE_2\",\n \"SSC_MODE_3\"\n ]\n },\n \"pduSessionTypes\": {\n \"defaultSessionType\": \"IPV4\",\n \"allowedSessionTypes\": [\n \"IPV4\"\n ]\n },\n \"sessionAmbr\": {\n \"uplink\": \"200 Mbps\",\n \"downlink\": \"100 Mbps\"\n },\n \"5gQosProfile\": {\n \"5qi\": 9,\n \"arp\": {\n \"priorityLevel\": 8\n },\n \"priorityLevel\": 8\n }\n },\n \"internet2\": {\n \"sscModes\": {\n \"defaultSscMode\": \"SSC_MODE_1\",\n \"allowedSscModes\": [\n \"SSC_MODE_2\",\n \"SSC_MODE_3\"\n ]\n },\n \"pduSessionTypes\": {\n \"defaultSessionType\": \"IPV4\",\n \"allowedSessionTypes\": [\n \"IPV4\"\n ]\n },\n \"sessionAmbr\": {\n \"uplink\": \"200 Mbps\",\n \"downlink\": \"100 Mbps\"\n },\n \"5gQosProfile\": {\n \"5qi\": 9,\n \"arp\": {\n \"priorityLevel\": 8\n },\n \"priorityLevel\": 8\n }\n }\n }\n }\n ],\n \"SmfSelectionSubscriptionData\": {\n \"subscribedSnssaiInfos\": {\n \"01010203\": {\n \"dnnInfos\": [\n {\n \"dnn\": \"internet\"\n },\n {\n \"dnn\": \"internet2\"\n }\n ]\n },\n \"01112233\": {\n \"dnnInfos\": [\n {\n \"dnn\": \"internet\"\n },\n {\n \"dnn\": \"internet2\"\n }\n ]\n }\n }\n },\n \"AmPolicyData\": {\n \"subscCats\": [\n \"free5gc\"\n ]\n },\n \"SmPolicyData\": {\n \"smPolicySnssaiData\": {\n \"01010203\": {\n \"snssai\": {\n \"sst\": 1,\n \"sd\": \"010203\"\n },\n \"smPolicyDnnData\": {\n \"internet\": {\n \"dnn\": \"internet\"\n },\n \"internet2\": {\n \"dnn\": \"internet2\"\n }\n }\n },\n \"01112233\": {\n \"snssai\": {\n \"sst\": 1,\n \"sd\": \"112233\"\n },\n \"smPolicyDnnData\": {\n \"internet\": {\n \"dnn\": \"internet\"\n },\n \"internet2\": {\n \"dnn\": \"internet2\"\n }\n }\n }\n }\n },\n \"FlowRules\": [\n {\n \"snssai\": \"01010203\",\n \"dnn\": \"internet\",\n \"filter\": \"1.1.1.1/32\",\n \"qfi\": 5\n }\n ],\n \"QosFlows\": [\n {\n \"qfi\": 5, \n \"5qi\": 5,\n \"snssai\": \"01010203\",\n \"dnn\": \"internet\",\n \"gbrUL\": \"\",\n \"gbrDL\": \"\",\n \"mbrUL\": \"200 Mbps\",\n \"mbrDL\": \"100 Mbps\"\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
Expand Down

0 comments on commit dece432

Please sign in to comment.