Lab 1: Network Slicing using Slice Profile
In this lab you will learn how to leverage BubbleRAN's Slice Operator for deploying end-to-end network slices through the definition of SliceProfiles
.
eMBB_slice.yaml
apiVersion: athena.trirematics.io/v1
kind: Slice
metadata:
name: embb
namespace: trirematics
spec:
slices:
- ambr:
downlink: 50000000
uplink: 2000000
id: 16777217
isolation-model: {}
plmn:
mcc: "001"
mnc: "02"
regions:
- name: region1-zone-one
user-density: 1
sd: 1
sessions:
- ambr:
downlink: 50000000
uplink: 2000000
dnn: internet
flows:
- arp:
preemption-capability: false
preemption-vulnerability: false
priority-level: 15
gbr:
downlink: 50000000
uplink: 2000000
mbr:
downlink: 50000000
uplink: 2000000
plr: 100
qfi: 15
quality: 15
ue-initiated: false
id: 0
type: IPV4
sst: eMBB
user-equipment-type: rfsim
In this sample, a SliceProfile with a single eMBB traffic slice is defined with an AMBR of 50Mbps in DL and 2Mbps in uplink.
To deploy this Slice Profile run brc install slice eMBB_slice.yaml
.
It should finish without errors and printout the three Kubernetes resource names that were created.
Check for the status of the deployment using the command brc observe
.
Wait until all the Elements are in the STATUS
set to 1/1 Y
state.
Within the brc observe
dashboard you may also press Tab key until the Slices
tab of the dashboard where you should see the following slice information.