osmo-smdpp.py: enable --host and --port cmdline args (and document)

Change-Id: Ic98dac1e1e713d74c3f8052c5bbeb44445aa8ab4
This commit is contained in:
Neels Hofmeyr
2025-02-28 21:02:30 +01:00
parent 80a5dd1cf6
commit 1d962ec8c8
2 changed files with 15 additions and 5 deletions

View File

@@ -92,10 +92,20 @@ The `smdpp-data/upp` directory contains the UPP (Unprotected Profile Package) us
commandline options
~~~~~~~~~~~~~~~~~~~
osmo-smdpp currently doesn't have any configuration file or command line options. You just run it,
and it will bind its plain-HTTP ES9+ interface to local TCP port 8000.
Typically, you just run it without any arguments, and it will bind its plain-HTTP ES9+ interface to
`localhost` TCP port 8000.
osmo-smdpp currently doesn't have any configuration file.
There are command line options for binding:
Bind the HTTP ES9+ to a port other than 8000::
./osmo-smdpp.py -p 8001
Bind the HTTP ES9+ to a different local interface::
./osmo-smdpp.py -H 127.0.0.1
DNS setup for your LPA
~~~~~~~~~~~~~~~~~~~~~~