s5uishida / free5gc_ueransim_ulcl_2_sample_config

free5GC 5GC & UERANSIM UE / RAN Sample Configuration - ULCL with one I-UPF and two PSA-UPFs
3 stars 1 forks source link

[feat] Dynamic change UE's Datapath from PSA-UPF1 to PSA-UPF2 #2

Open ghost opened 1 year ago

ghost commented 1 year ago

Hi @s5uishida,

is free5gc UPF support traffic influence ? change the UPF without restart any 5G function.

traffic influence policy apply on PCF and PCF update the policy in SMF. SMF change the datapath of UE from UPF-1 to UPF-2 without dropping the session.

PCF accept the request and update the SMF. SMF will notify the UPF that traffic will move to access application server from UPF-2 and also notify the UE for N1N2 request that datapath of UE for new application server from PSA-UPF2.

Application server details mentioned in below curl command in

"routeToLocs": [ { "dnai": "PSA-UPF2", "routeInfo": { "ipv4Addr": "192.168.7.131", "portNumber": 80 } } ]

curl command of PCF is as below :

curl --location --request POST 'http://127.0.0.7:8000/npcf-policyauthorization/v1/app-sessions' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data-raw '{ "ascReqData": { "afAppId": "SkypeVideoApp001", "afRoutReq": { "routeToLocs": [ { "dnai": "PSA-UPF2", "routeInfo": { "ipv4Addr": "192.168.7.131", "portNumber": 80 } } ] }, "dnn": "internet", "gpsi": "string", "medCompN": 1, "medComponents": { "MC1":{ "afAppId": "SkypeVideoApp001", "afRoutReq": { "routeToLocs": [ { "dnai": "PSA-UPF2", "routeInfo": { "ipv4Addr": "192.168.7.131", "portNumber": 80 } } ] }, "medSubComps": { "0": { "fDescs": [ "permit in 17 from 10.60.0.1 any to 192.168.7.131 80" ], "fNum": 1, "fStatus": "ENABLED" } } } }, "notifUri": "http://192.168.0.11:49158", "sliceInfo": { "sd": "010203", "sst": 1 }, "supi": "imsi-208930000000003", "suppFeat": "FFFFFF", "ueIpv4": "10.60.0.1" } }'

s5uishida commented 1 year ago

Hi @ishanshahnio

Regarding this issue, I don't know anything beyond what I wrote in the following issue of free5GC.

https://github.com/free5gc/free5gc/issues/400#issuecomment-1280305037

I hope to get an answer from free5GC...

ghost commented 1 year ago

Hi @s5uishida, I can understand and much appreciate for your kind support. I am eagerly waiting for reply of free5gc org.