SLA from console
$ bin/slapconsole slapos.cfg
>>> erp5_instance = slap.registerOpenOrder().request(erp5_branch, "fourth_kvm",
filter_kw={ "computer_guid": "COMP-12345" })
>>> erp5_instance = slap.registerOpenOrder().request(erp5_branch, "fourth_erp5",
... partition_parameter_kw={'flavour':'configurator'},
... filter_kw={ "computer_guid": "COMP-12345" })
>>> erp5_instance.getState()
Started
>>> erp5_instance.getConnectionParameter('url')
[URL appears here]
>>> erp5_instance.getConnectionParameter('password')
[Password appears here]
Slapconsole allows your to interact with the SlapOS Master using the SLAP API.
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.