fix: mml2 for standard upf

This commit is contained in:
2024-03-01 16:59:54 +08:00
parent 0fe92a0d51
commit f676e5e9b3
2 changed files with 5 additions and 5 deletions

View File

@@ -63,8 +63,8 @@ func init() {
}
}
func PostMMLToSUPF(w http.ResponseWriter, r *http.Request) {
log.Info("PostMMLToSUPF processing... ")
func PostMML2ToNF(w http.ResponseWriter, r *http.Request) {
log.Info("PostMML2ToNF processing... ")
vars := mux.Vars(r)
neType := vars["elementTypeValue"]

View File

@@ -179,9 +179,9 @@ func init() {
Register("POST", mml.UriOmMmlExt, mml.PostMMLToOMC, midware.LogMML)
Register("POST", mml.CustomUriMML, mml.PostMMLToNF, midware.LogMML)
Register("POST", mml.CustomUriOmMmlExt, mml.PostMMLToOMC, midware.LogMML)
Register("POST", mml.UriMML2, mml.PostMMLToSUPF, midware.LogMML)
Register("POST", mml.CustomUriMML2, mml.PostMMLToSUPF, midware.LogMML)
// post mml2 (standard upf port=5002)
Register("POST", mml.UriMML2, mml.PostMML2ToNF, midware.LogMML)
Register("POST", mml.CustomUriMML2, mml.PostMML2ToNF, midware.LogMML)
// Northbound Get NRM
Register("GET", nbi.GetNRMUri, nbi.NBIGetNRMFromNF, nil)