Hello,
anyone in the community with Python knowledge using Postgres that can
spend a bit of time to add support in kamcli?
* https://github.com/kamailio/kamcli
It should be mainly about the content of the code corresponding to db
subcommand:
* https://github.com/kamailio/kamcli/blob/master/kamcli/commands/cmd_db.py
The target for it is to replace kamdbctl and has some command line
variants for couple of its functions, now being implemented for MySQL.
The rest of the code relies on sqlalchemy, which should have transparent
support for both mysql and postgress (even more). Testing the other
commands connecting to database with postgres would be good, though.
With more and more diversity in the default shell by main Linux/Unix
distros, we hope to be able to replace in the near future the kamctl and
kamdbctl tools, which are more like bash scripting (a few issue being
reported and fixed lately). Besides that, using python allows better
input/parameter checking/validation as well as more options for
formatted output.
Cheers,
Daniel
--
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - March 9-11, 2020, Berlin - www.asipto.com
Kamailio World Conference - April 27-29, 2020, in Berlin -- www.kamailioworld.com
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users