- 14 Jun, 2011 22 commits
-
-
Vincent Pelletier authored
brctl is the only command which remains mandatory (except if alter_network is false), as it is used to fetch information from system that even an unprivileged user can see. Example use: PATH=$PATH:/usr/sbin ./bin/slapformat -cdv slapos.cfg
-
Vincent Pelletier authored
Prepares for incomming monkey-patching.
-
Vincent Pelletier authored
Output system commands and system-altering functions from python's os module.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
SLA XML is stored on Software Instance, but in many place the dictionary have to be used.
-
Łukasz Nowak authored
It will be later used to follow SLA.
-
Łukasz Nowak authored
Later is shall be used in order to being followed.
-
Łukasz Nowak authored
It is easier to store on higher level, as pure XML. Other methods will have to unserialise data from XML, which would be needed anyway in case of storing them this way.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
This reverts commit 79f0aaea. More code analysis is required in order to being able support required cases with parameters passed by user.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Kazuhiko Shiozaki authored
-
Łukasz Nowak authored
-
- 13 Jun, 2011 8 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
SlapTool itself shall not force to pass all possible parameters, as slap library calls it in different ways. Add support for lack of existence of computer_id and computer_partition_id, in this case assume that human (person) is logged in by slap library.
-
Łukasz Nowak authored
Person does not have to be validated to be loggable user, but Computer or Software Instance validation state is important, so split to two queries.
-
Łukasz Nowak authored
Note: No typo in exception.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
- 08 Jun, 2011 10 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
Two different scenarios are checked, for each start and destroy: * two different transactions, so activity tag is used * same transaction, so serialize blocking call is called
-
Łukasz Nowak authored
Whenever software instance is begin started or destroyed new packing list have to be created. But in both cases it is not desirable to have more then one active packing list related to current step of state. So dissallow it by passing tag and checking for its existence. Even more -- serialize in order to lock operation on one Software Instance in transaction.
-
Łukasz Nowak authored
Prepend with / in case of not matching in subdirectories. Append with / in case of directories.
-
Łukasz Nowak authored
Use socket/time timeouts in small loops to react on common usage cases. Be sure that supervisord is functional enough in order to avoid running other steps in case of deconfigured svc backend.
-
Łukasz Nowak authored
Currently slap library was coded with optimistic assumption, that remote system are not failing. But in order not to block library caller it is required to setup timeout on socket operations, with default different than infinity.
-
Łukasz Nowak authored
It is nice to have python with all slapos.core modules.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
While requesting Software Instance allow to edit instance XML, leave current default in user interface. While navigating to Software Instance make text_content editable and allow to edit the form.
-