A python client library to access wazo-setupd
from wazo_setupd_client import Client
client = Client('localhost', verify_certificate=False, token=<auth-token>)
client.config.get()
client.status.get()
body = {
'engine_language': 'en_US',
'engine_password': 'secret',
'nestbox_host': 'nestbox.example.com',
'nestbox_port': 443,
'nestbox_service_id': 'nestbox-user',
'nestbox_service_key': 'secret',
'nestbox_instance_name': 'my-wazo',
'nestbox_engine_host': 'wazo.example.com',
'nestbox_engine_port': 443,
}
client.setup.create(body)
Follow the following steps to build a debian package for wazo-setupd-client manually.
- Copy the source directory to a machine with all dependencies installed
rsync -av . <builder-host>:~/wazo-setupd-client
- On the host, increment the changelog
dch -i
- Build the package
dpkg-buildpackage -us -uc