SLA from console
Used to request instance on a specific computer.
$ bin/slapconsole slapos.cfg
>>> erp5_instance = request(erp5_branch, "first_erp5", \
filter_kw={ "computer_guid": "COMP-12345" })
>>> erp5_instance.getState()
Started
>>> erp5_instance.getConnectionParameter('url')
[URL appears here]
Replace the COMP-12345 by your Computer ID.
Launch slapconsole, then ask the Master to deploy an instance of your software. First, it will raise an exception meaning that the instance is not ready yet.
You will have to wait until the instance is ready. From time to time, run again the same command to fetch up-to-date informations.
When it does not longer throw an exception, your instance is ready. You can then fetch the informations you need to connect to your instance.