Skip to content

Commit 89a82c0

Browse files
robertfalkenbergcodebot
authored andcommitted
gnb: add config option to set external address of N3 interface
1 parent 179d0f2 commit 89a82c0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apps/gnb/gnb_appconfig_cli11_schema.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,10 @@ static void configure_cli11_amf_args(CLI::App& app, amf_appconfig& amf_params)
191191
->capture_default_str();
192192
app.add_option("--n2_bind_interface", amf_params.n2_bind_interface, "Network device to bind for N2 interface")
193193
->capture_default_str();
194+
app.add_option("--n3_ext_addr",
195+
amf_params.n3_ext_addr,
196+
"External IP address that is advertised to receive GTP-U packets from UPF via N3 interface")
197+
->check(CLI::ValidIPV4);
194198
app.add_option("--sctp_rto_initial", amf_params.sctp_rto_initial, "SCTP initial RTO value");
195199
app.add_option("--sctp_rto_min", amf_params.sctp_rto_min, "SCTP RTO min");
196200
app.add_option("--sctp_rto_max", amf_params.sctp_rto_max, "SCTP RTO max");

0 commit comments

Comments
 (0)