Commit Graph

12 Commits

Author SHA1 Message Date
Pau Espin b0c18591b0 README: Drop python2 references
Python2 support was dropped recently, remove references informing how to
install python2 modules (operation would fail).

Change-Id: Iffe403377afe9534dbd61d65bfd52e479e125e68
2021-01-12 18:04:16 +01:00
Neels Hofmeyr ff0607cbf7 tweak README
Most importantly, mention 'python3 setup.py'.

Tweak indenting and some wording.

Change-Id: Id8c277de280b54d04edcafa77ed93017d6da473d
2019-07-08 15:19:19 +02:00
Max 684388f4e1 Add initial version of asyncio trap2cgi script
It uses the same config file format to simplify migration from ctrl2cgi.py

Change-Id: I7428cbfbc9f1b80ce42a70be555a38a3497d1cf9
Related: SYS#4399
2019-01-08 15:19:05 +01:00
Max 7230f68311 Mark soap.py as deprecated
It might be removed in one of the future releases as we move away from
Twisted. Let's mark it as deprecated to make sure it won't be a
surprise.

Change-Id: Iefd69e7712d456e3bc42c3277bbfa103a2448bb6
2019-01-07 17:04:10 +01:00
Max 5baba8c078 Move common Trap-related code into separate file
The ctrl2cgi.py is heavily based upon soap.py - let's move all the
shared code into separate file to make further modifications easier.

Change-Id: I7b59f2dbded9074d15f2d2f40bf5a92ed02601e2
Related: SYS#4399
2018-11-27 11:51:37 +00:00
Pau Espin 10fbb40b24 Introduce script ctrl2cgi.py
This scripts implements a similar proxy to the one already available in
soapy.py, but aiming at converting CTRl into a regular HTTP POST Request
to be handled by a CGI script in the HTTP server.

Furthermore, it includes several improvements over the soapy.py script,
such as using a token to authenticate users and capability to read some
parameters from a cfg file.

Change-Id: I7a83ecb379835e295c8cb4c27c39883783746544
2018-07-11 22:47:54 +02:00
Max 34d2ca5bc8 Add rate counter dumper
This simple tool dump all the rate counters available via ctrl interface
to cvs file (or stdout).

Change-Id: I12b369434e4ee9b38f92872f297e1f3d4f0698c2
Fixes: OS#2550
2018-01-12 16:43:37 +01:00
Neels Hofmeyr 4c283e4f4a README: mention twisted_ipa.py in scripts section, not as lib
Change-Id: Ie536d61c5af89a530533b22d8ecab1c804a38289
2017-12-20 16:03:47 +00:00
Neels Hofmeyr e5731e03b6 README: mention osmo_interact_* and osmo_verify_transcript_*
Move the libs/scripts that they (possibly) replace below the new additions and
mention that they are superseded.

Change-Id: Ic50e15d6cb6e94b6e171d954d75b94e09b22d548
2017-12-20 16:03:35 +00:00
Max e732c2ca3b Add *.py from OsmoBSC
Those are generic enough and can be used as advanced example of uzing
CTRL interface from python on top of osmo_ipa.

Change-Id: Ic4e1155d3bd546feaabab34a46e354c69058056e
2017-11-27 14:07:07 +00:00
Max 32d0fd8872 Expand installation instructions 2016-03-31 11:59:10 +02:00
Kat a8ee6bb97b Documentation: added a README, more docstrings; +x'd setup.py 2013-04-05 17:08:28 +02:00