Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | vici: Put source distribution in the dist dir in the build directory | Tobias Brunner | 2016-05-11 | 1 | -1/+3 |
| | | | | This fixes the out-of-tree build. | ||||
* | vici: Add target to build a source package and universal wheel of the Python ↵ | Tobias Brunner | 2016-05-11 | 1 | -0/+6 |
| | | | | package | ||||
* | vici: Add README.rst to be used as description on PyPI | Tobias Brunner | 2016-05-11 | 4 | -8/+28 |
| | |||||
* | vici: Replace dr with dev in version numbers for the Python egg | Tobias Brunner | 2016-05-10 | 1 | -5/+5 |
| | | | | | | The versioning scheme used by Python (PEP 440) supports the rcN suffix but development releases have to be named devN, not drN, which are not supported and considered legacy versions. | ||||
* | vici: Update setup.py | Tobias Brunner | 2016-05-10 | 1 | -4/+5 |
| | |||||
* | vici: Ensure we read exactly the specified amount of bytes from the socket ↵ | Tobias Brunner | 2016-05-10 | 1 | -2/+9 |
| | | | | | | | in Python recv() will return less bytes than specified (as that's the buffer size) if not as many are ready to be read from the socket. | ||||
* | vici: Add redirect command | Tobias Brunner | 2016-03-04 | 1 | -0/+8 |
| | | | | | This allows redirecting IKE_SAs by multiple different selectors, if none are given all SAs are redirected. | ||||
* | vici: Add listen methods to receive arbitrary events in Python library | Tobias Brunner | 2015-08-17 | 1 | -0/+34 |
| | |||||
* | vici: Move event (un-)registration to a helper method in Python library | Tobias Brunner | 2015-08-17 | 3 | -49/+60 |
| | | | | | Also make sure events are unregistered in case of exceptions in streamed_request(). | ||||
* | vici: Make installation of Ruby Gem and Python Egg optional | Tobias Brunner | 2015-05-21 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | Installing them might not work well when building distro packages (e.g. with DESTDIR installs). It might be easier to install them later with a script in the distro package. When building from source on the local system it could still be useful to install the packages directly, which can be enabled with separate configure options. The main problem with DESTDIR installations of the Python Egg is that easy_install creates or modifies a file called easy-install.pth in the installation directory. So it's not actually possible to simply copy the results in DESTDIR over to the actual system as that file would have to be merged with any existing one. Fixes #914. | ||||
* | vici: Support out-of-tree build of Python Egg | Tobias Brunner | 2015-05-21 | 1 | -5/+5 |
| | | | | | | | We also don't require setup.py to exist during cleanup, as e.g. with make distcheck the source directory is not writable when the build directory is cleaned, so setup.py can't be created (to just get removed again anyway if VICI and the Python Eggs haven't been enabled previously). | ||||
* | vici: Add support for python 3 | Björn Schuberg | 2015-03-18 | 5 | -8/+29 |
| | |||||
* | vici: Execute python tests during "check" if py.test is available | Martin Willi | 2015-03-18 | 1 | -0/+4 |
| | |||||
* | vici: Add test of Packet layer in python library | Björn Schuberg | 2015-03-18 | 1 | -1/+47 |
| | |||||
* | vici: Add test of Message (de)serialization in python library | Björn Schuberg | 2015-03-18 | 3 | -0/+100 |
| | |||||
* | vici: Evaluate Python streamed command results, and raise CommandException | Martin Willi | 2015-03-18 | 1 | -1/+10 |
| | |||||
* | vici: Catch Python GeneratorExit to properly cancel streamed event iteration | Martin Willi | 2015-03-18 | 1 | -1/+7 |
| | |||||
* | vici: Return a Python generator instead of a list for streamed responses | Martin Willi | 2015-03-18 | 1 | -43/+21 |
| | | | | | | | In addition that it may reduce memory usage and improve performance for large responses, it returns immediate results. This is important for longer lasting commands, such as initiate/terminate, where immediate log feedback is preferable when interactively calling such commands. | ||||
* | vici: Raise a Python CommandException instead of returning a CommandResult | Martin Willi | 2015-03-18 | 2 | -82/+42 |
| | |||||
* | vici: Use OrderedDict to handle vici responses in Python library | Martin Willi | 2015-03-18 | 1 | -2/+3 |
| | | | | | The default Python dictionaries are unordered, but order is important for some vici trees (for example the order of authentication rounds). | ||||
* | vici: Support non-Unix sockets for vici connections using Python | Martin Willi | 2015-03-18 | 2 | -7/+9 |
| | |||||
* | vici: Add python egg setuptools building and installation using easy_install | Martin Willi | 2015-03-18 | 1 | -0/+15 |
| | | | | | | An uninstall target is currently not supported, as there is no trivial way with either plain setuptools or with easy_install. pip would probably be the best choice, but we currently don't depend on it. | ||||
* | vici: Generate a version specific setup.py for setuptools installation | Martin Willi | 2015-03-18 | 3 | -0/+41 |
| | |||||
* | vici: Include python package in distribution | Martin Willi | 2015-03-18 | 1 | -0/+5 |
| | |||||
* | vici: Add python package MIT license | Björn Schuberg | 2015-03-18 | 2 | -0/+20 |
| | |||||
* | vici: Expose Session as a top-level symbol in python package | Björn Schuberg | 2015-03-18 | 1 | -0/+1 |
| | |||||
* | vici: Introduce main API Session class in python package | Björn Schuberg | 2015-03-18 | 1 | -1/+244 |
| | |||||
* | vici: Add a python vici command execution handler | Björn Schuberg | 2015-03-18 | 2 | -1/+134 |
| | |||||
* | vici: Add vici python protocol handler | Björn Schuberg | 2015-03-18 | 4 | -0/+199 |