Ajay Lotan Thakur | 05ce5ce | 2022-09-25 20:36:16 -0700 | [diff] [blame] | 1 | .. |
| 2 | SPDX-FileCopyrightText: © 2022 Open Networking Foundation <support@opennetworking.org> |
| 3 | SPDX-License-Identifier: Apache-2.0 |
| 4 | |
| 5 | .. _sdcore-qos: |
| 6 | |
| 7 | QoS Support Overview |
| 8 | ============================== |
| 9 | |
| 10 | .. image:: ../_static/images/SDCore_Access_Control.png |
| 11 | :width: 700px |
| 12 | :align: center |
| 13 | |
| 14 | Below config snapshot shows how to configure application filtering in the network slice. |
| 15 | Each application filter in the network slice can have action either ``permit`` or ``deny`` |
| 16 | Also each application has QoS rates. QoS rates are part of device groups are per UE limit. |
| 17 | |
| 18 | .. code-block:: |
| 19 | |
| 20 | config: |
| 21 | simapp: |
| 22 | cfgFiles: |
| 23 | simapp.yaml: |
| 24 | configuration: |
| 25 | provision-network-slice: true |
| 26 | sub-provision-endpt: |
| 27 | addr: config4g |
| 28 | port: 5000 |
| 29 | subscribers: |
| 30 | - ueId-start: "208014567891201" |
| 31 | ueId-end: "208014567891211" |
| 32 | plmnId: "20801" |
| 33 | opc: "d4416644f6154936193433dd20a0ace0" |
| 34 | op: "" |
| 35 | key: "465b5ce8b199b49faa5f0a2ee238a6bc" |
| 36 | sequenceNumber: 96 |
| 37 | device-groups: |
| 38 | - name: "4g-oaisim-user" |
| 39 | imsis: |
| 40 | - "208014567891201" |
| 41 | - "208014567891202" |
| 42 | ip-domain-name: "pool1" |
| 43 | ip-domain-expanded: |
| 44 | dnn: internet |
| 45 | dns-primary: "8.8.8.8" |
| 46 | mtu: 1460 |
| 47 | ue-ip-pool: "172.250.0.0/16" |
| 48 | ue-dnn-qos: |
| 49 | dnn-mbr-downlink: 20000000 |
| 50 | dnn-mbr-uplink: 4000000 |
| 51 | bitrate-unit: bps |
| 52 | traffic-class: #default bearer QCI/ARP |
| 53 | name: "platinum" |
| 54 | qci: 9 |
| 55 | arp: 1 |
| 56 | pdb: 300 |
| 57 | pelr: 6 |
| 58 | site-info: "aiab" |
| 59 | |
| 60 | network-slices: |
| 61 | - name: "default" |
| 62 | slice-id: |
| 63 | sd: "010203" |
| 64 | sst: 1 |
| 65 | site-device-group: |
| 66 | - "4g-oaisim-user" |
| 67 | application-filtering-rules: |
| 68 | - rule-name: "deny-private1" |
| 69 | priority: 250 |
| 70 | action: permit |
| 71 | endpoint: "10.0.0.0/8" |
| 72 | protocol: 6 |
| 73 | dest-port-start: 20005 |
| 74 | dest-port-end : 20005 |
| 75 | app-mbr-uplink: 1000000 |
| 76 | app-mbr-downlink: 20000000 |
| 77 | bitrate-unit: bps |
| 78 | traffic-class: |
| 79 | name: “platinum” |
| 80 | qci: 9 |
| 81 | arp: 1 |
| 82 | pdb: 300 |
| 83 | pelr: 6 |
| 84 | - rule-name: “deny-private-2” |
| 85 | priority: 251 |
| 86 | action : permit |
| 87 | endpoint: "172.16.0.0/16" |
| 88 | protocol: 6 |
| 89 | dest-port-start: 20005 |
| 90 | dest-port-end : 20005 |
| 91 | app-mbr-uplink: 1000000 |
| 92 | app-mbr-downlink: 30000000 |
| 93 | bitrate-unit: bps |
| 94 | traffic-class: |
| 95 | name: “platinum” |
| 96 | qci: 9 |
| 97 | arp: 1 |
| 98 | pdb: 300 |
| 99 | pelr: 6 |
| 100 | site-info: |
| 101 | gNodeBs: |
| 102 | - name: "aiab-gnb1" |
| 103 | tac: 1 |
| 104 | plmn: |
| 105 | mcc: "208" |
| 106 | mnc: "01" |
| 107 | site-name: "aiab" |
| 108 | upf: |
| 109 | upf-name: "upf" |
| 110 | upf-port: 8805 |
Ajay Lotan Thakur | e1dfc22 | 2022-10-06 17:58:34 -0700 | [diff] [blame] | 111 | |
| 112 | BESS UPF Slice rate Configuration |
| 113 | ---------------------------------- |
| 114 | |
| 115 | .. code-block:: |
| 116 | |
| 117 | config: |
| 118 | upf: |
| 119 | cfgFiles: |
| 120 | upf.json: |
| 121 | # Default global rate limits. Can be changed at runtime via BESS gRPC. |
| 122 | slice_rate_limit_config: |
| 123 | # Uplink |
| 124 | n6_bps: 1000000000 # 1Gbps |
| 125 | n6_burst_bytes: 12500000 # 10ms * 1Gbps |
| 126 | # Downlink |
| 127 | n3_bps: 1000000000 # 1Gbps |
| 128 | n3_burst_bytes: 12500000 # 10ms * 1Gbps |
| 129 | |
| 130 | .. note:: |
| 131 | TBD : add REST api documentation to change slice QoS rates. |
| 132 | TBD : How to update slice QoS configuration in P4-UPF |