Hi Ahnaf,
On Tue, Aug 30, 2022 at 11:55:42PM +0600, Ahnaf Tahmid wrote:
I am Ahnaf Tahmid Chowdhury, currently building Osmocom graphical user interface. I have created a subscriber page where one can add/remove/update subscriber. The repo is available at:
Thanks for your contribution and for sharing your project.
Unfortunately it uses the VTY, which is primarily intended for human interaction, as we can not make guarantees that printed output of the VTY will remain stable.
On the other hand, the CTRL interface of the various Osmocom CNI programs is an interface intended for programmatic use by external software. I'm not sure if all of the information you're interested in reading or all of the commands you need are available via CTRL, but I think it would be a good idea to investigate and let us know, maybe we can add any missing bits to CTRL.
A python module implementing the CTRL protocol can be found in 'class Ctrl' of https://gitea.osmocom.org/cellular-infrastructure/osmo-python-tests/src/bran...
Regards, Harald