VBoxManage createvm --name "Debian 9" --register
VBoxManage modifyvm "Debian 9" --memory 1024
The following document describes how we can communicate with IBSng API through JSONRPC.
Note that IBSng is capable of handling requests in XML format as well, which in this case the IBSng XMLRPC server is responsible of processing/answering the requests but it is not the purpose of this document
All the samples of this document are implemented with curl
command to make it independent of any programming languages.
Each operation in IBSng can be done by calling its appropriate method. The methods are categorized in different sections called handler. All the handlers/methods are described in here. So if we want to refer to an specific method it has following form: <handler_name>.<method_name>
.
To handle this issue, you need to get openldap internal fields by adding a +
sign at the end of search query like so:
$ ldapsearch -h localhost -w 'admin' -x -D "cn=admin,dc=example,dc=org" -b "DC=example,DC=org" +
And in python code it would like this:
r = l.search_ext("dc=example,dc=org", ldap.SCOPE_SUBTREE, "objectClass=*", ["+",], 0)
import sys, ldap | |
# DN = username@example.com, secret = password, un = username | |
DN, secret, un = sys.argv[1:4] | |
server = "ldap://server.com" | |
port = 389 | |
base = "dc=example,dc=com" | |
scope = ldap.SCOPE_SUBTREE |
tor
and privoxy
and config them.touch /etc/systemd/system/docker.service.d/http-proxy.conf
[Service]
Environment="HTTP_PROXY=127.0.0.1:8118"
# Docker installation script for Debian 8 Jessie on Azure | |
# Usage: execute sudo -i, first. | |
# wget -q -O - "$@" https://gist.githubusercontent.com/tsaqib/b2c83ac30f962ab78a5472902c325aa9/raw/ --no-cache | sh | |
# After running the script reboot and check whether docker is running. | |
apt-get purge lxc-docker* | |
apt-get purge docker.io* | |
apt-get update -y && sudo apt-get upgrade -y | |
apt-get install -y apt-transport-https ca-certificates |
The following document describes how we can communicate with IBSng API through JSONRPC.
Note that IBSng is capable of handling requests in XML format as well, which in this case the IBSng XMLRPC server is responsible of processing/answering the requests but it is not the purpose of this document
All the samples of this document are implemented with curl
command to make it independent of any programming languages.
Each operation in IBSng can be done by calling its appropriate method. The methods are categorized in different sections called handler. All the handlers/methods are described in here. So if we want to refer to a specific method it has the following form: <handler_name>.<method_name>
.
For example, if you decide to send the Recharge Users request, you must find its handler and of course its method. In this case, the method is rechargeUsers
and its handler is user
. So in your reques