Skip to content

Conversation

@anaswarac-dac
Copy link

πŸ“Œ Description:
This PR introduces support for associating multiple DNNs to a single device group in the 5G Core, enabling flexible and scalable configurations in deployments with a single UPF.

βœ… Key Highlights:
Introduced configuration support for multiple DNNs per IMSI range in the sdcore-5g-values.yml file.

Each DNN can have its own:

IP pool

MTU

DNS

UE QoS profile (including MBR uplink/downlink and traffic class)

Validated end-to-end traffic flow for both ims and internet DNNs over the same UPF.

πŸ“‚ Configuration Changes (in sdcore-5g-values.yml):

βœ… device-groups Section:

ip-domains list now includes multiple DNNs (ims, internet) under a single group (gnbsim-user-group1).
ip-domain-expanded changed to ip-domains
Each DNN is mapped to a different ue-ip-pool and ue-dnn-qos.
device-groups:
- name: "gnbsim-user-group1"
imsis:
- "208930100007487"
- "208930100007488"
- "208930100007489"
- "208930100007490"
- "208930100007491"
- "208930100007492"
- "208930100007493"
- "208930100007494"
- "208930100007495"
- "208930100007496"
msisdns:
- "msisdn-9000000001"
- "msisdn-9000000002"
- "msisdn-9000000003"
- "msisdn-9000000004"
- "msisdn-9000000005"
- "msisdn-9000000006"
- "msisdn-9000000007"
- "msisdn-9000000008"
- "msisdn-9000000009"
- "msisdn-9000000010"
ip-domain-name: "pool1"
ip-domains:
- dnn: ims
dns-primary: "8.8.8.8"
mtu: 1400
ue-ip-pool: "172.252.0.0/16"
ue-dnn-qos:
dnn-mbr-downlink: 2400
dnn-mbr-uplink: 1200
bitrate-unit: Kbps
traffic-class:
name: "platinum"
qci: 5
arp: 1
pdb: 100
pelr: 6
- dnn: internet
dns-primary: "10.176.0.11"
mtu: 1460
ue-ip-pool: {{ core.upf.default_upf.ue_ip_pool }}
ue-dnn-qos:
dnn-mbr-downlink: 1000
dnn-mbr-uplink: 1000
bitrate-unit: Mbps
traffic-class:
name: "platinum"
qci: 9
arp: 6
pdb: 300
pelr: 6
site-info: "enterprise"

network-slices:
- name: "default" # can be any unique slice name
slice-id: # must match with slice configured in gNB, UE
sd: "000000"
sst: 1
site-device-group:
- "gnbsim-user-group1" # All UEs in this device-group are assigned to this slice
# Applicaiton filters control what each user can access.
# Default, allow access to all applications
application-filtering-rules:
- rule-name: "ALLOW-ALL-QCI-5"
priority: 250
action: "permit"
endpoint: "0.0.0.0/0"
traffic-class:
qci: 5
arp: 1
- rule-name: "ALLOW-ALL-QCI-9"
priority: 250
action: "permit"
endpoint: "0.0.0.0/0"
traffic-class:
qci: 9
arp: 6
site-info:
# Provide gNBs and UPF details and also PLMN for the site
gNodeBs:
- name: "gnb1"
tac: 1
- name: "gnb2"
tac: 2
plmn:
mcc: "001"
mnc: "01"
site-name: "enterprise"
upf:
upf-name: "upf" # associated UPF for this slice. One UPF per Slice.
upf-port: 8805

βœ… Userplane Section:
Defined dnn_list with individual DNNs and their respective ue_ip_pool.
cpiface:
dnn_list:
- dnn: "ims"
ue_ip_pool: "172.252.0.0/16"
- dnn: "internet"
ue_ip_pool: "172.250.0.0/16" # Must match slice DNN
hostname: "upf"
enable_ue_ip_alloc: false

@anaswarac-dac anaswarac-dac requested a review from a team January 9, 2026 09:47
@gab-arrobo gab-arrobo requested a review from Copilot January 9, 2026 20:02
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

for _, qosList := range dnnMap {
allQosProfiles = append(allQosProfiles, qosList...)
}
// Calculate aggragate QoS once for the entire group
Copy link

Copilot AI Jan 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected spelling of 'aggragate' to 'aggregate'.

Suggested change
// Calculate aggragate QoS once for the entire group
// Calculate aggregate QoS once for the entire group

Copilot uses AI. Check for mistakes.
@gab-arrobo
Copy link
Contributor

@anaswarac-dac, please rebase your PR. Thanks!

Signed-off-by: anaswara <anaswara.n@cdac.in>
Signed-off-by: anaswara <anaswara.n@cdac.in>
Signed-off-by: anaswara <anaswara.n@cdac.in>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants