HewlettPackard / PacketRusher

High performance 5G UE/gNB Simulator and CP/UP load tester.
Apache License 2.0
100 stars 21 forks source link

[FEATURE] Using FQDN/device name for the interface configuration #76

Closed Borjis131 closed 4 months ago

Borjis131 commented 4 months ago

I think it could be useful having the possibility to specify the gnodeb controlif (gNB N2), gnodeb dataif (gNB N3) and amfif ip (AMF N2) as FQDN/device name. Instead of using IP addresses, having a way to define a DNS name or a device name to automatically resolve the IP address.

This feature could be useful in a Docker Compose/kubernetes context where the IP addresses get automatically assigned.

# From IP address
gnodeb:
  controlif:
    ip: "192.168.11.13"

# To FQDN
gnodeb:
  controlif:
    ip: "gnb.controlif.internal"

# To device
gnodeb:
  controlif:
    ip: "eth0"

Open5GS implements this approach for their configuration files.

linouxis9 commented 4 months ago

Hi @Borjis131, Thanks for the great suggestion. Indeed, it can be very useful in container scenario. I'll add the FQDN feature for now. Thanks!