func TranslateSnssai(Snssai *models.Snssai) (upf string, ran string, id string, err error) {
	for _, v := range context.QOF_Self().Slice {
		if v.SNssai.Sst == Snssai.Sst && v.SNssai.Sd == Snssai.Sd {
			upf = v.CN
			ran = v.RAN
			id = v.ID
			return upf, ran, id, nil
		}
	}
	err = errors.New("impossibe to find a correct translation for S-NSSAI")
	return "", "", "", err
}
// TranslateSnssai returns the UPF and RAN IP
TranslateSnssai returns the UPF and RAN IP
// TranslateSnssai returns the UPF and RAN IP
func TranslateSnssai(Snssai *models.Snssai) (upf string, ran string, id string, err error) {
	for _, v := range context.QOF_Self().Slice {
		if v.SNssai.Sst == Snssai.Sst && v.SNssai.Sd == Snssai.Sd {
			upf = v.CN
			ran = v.RAN
			id = v.ID
			return upf, ran, id, nil
		}
	}
	err = errors.New("impossibe to find a correct translation for S-NSSAI")
	return "", "", "", err
}
func TranslateSnssai ( Snssai * models . Snssai ) ( upf string , ran string , id string , err error ) { for _ , v := range context . QOF_Self ( ) . Slice { if v . SNssai . Sst == Snssai . Sst && v . SNssai . Sd == Snssai . Sd { upf = v . CN ran = v . RAN id = v . ID return upf , ran , id , nil } } err = errors . New ( " " ) return " " , " " , " " , err }
TranslateSnssai returns the UPF and RAN IP
TranslateSnssai returns the UPF and RAN IP