vici 6.0.1
pip install vici
Latest version
Released:
Native Python interface for strongSwan's VICI protocol
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: strongSwan Project
Classifiers
- Development Status
- Intended Audience
- License
- Natural Language
- Programming Language
- Topic
Project description
About
The strongSwan VICI protocol allows external applications to monitor, configure and control the IKE daemon charon. This Python package provides a native client side implementation of the VICI protocol, well suited to script automated tasks in a reliable way.
Example Usage
>>> import vici
>>> s = vici.Session()
>>> s.version()
OrderedDict([('daemon', b'charon'), ('version', b'5.4.0'),
('sysname', b'Linux'), ('release', b'3.13.0-27-generic'), ('machine', b'x86_64')])
>>> s.load_pool({"p1": {"addrs": "10.0.0.0/24"}})
OrderedDict([('success', b'yes')])
>>> s.get_pools()
OrderedDict([('p1', OrderedDict([('base', b'10.0.0.0'), ('size', b'254'),
('online', b'0'), ('offline', b'0')]))])
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: strongSwan Project
Classifiers
- Development Status
- Intended Audience
- License
- Natural Language
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file vici-6.0.1.tar.gz
.
File metadata
- Download URL: vici-6.0.1.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 076fd38fe0ac4c4570a1a09f78049b395d1685ea45d2225b580d4bf2ffea0e8a |
|
MD5 | 0e038b76efcd6600f703ea5981767fff |
|
BLAKE2b-256 | 0e309cd499da5f8db573ba5e9332b0aef526ad4aaa0032470a84306172957823 |
File details
Details for the file vici-6.0.1-py3-none-any.whl
.
File metadata
- Download URL: vici-6.0.1-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cb53868a9d40e8848b5ac925f237456d8b3a184a3ff96d591a911670df6c95c |
|
MD5 | 46e01a4cbc96fd491edfbdfb3579bff7 |
|
BLAKE2b-256 | c13ca94d367b8f537a37f469bcfd772baee308d95adf52fa90e91482f1543e43 |