This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
2_x:datamodel:ip-addresses [2023/10/03 15:00] – [Automation] cnaud | 2_x:datamodel:ip-addresses [2023/10/03 15:45] – [Automation] cnaud | ||
---|---|---|---|
Line 224: | Line 224: | ||
* **Allow attachment of already allocated IPs to CIs** be set to **Yes**, TeemIp will allow, from the CI details screen, the attachment of an allocated IP to a CI. | * **Allow attachment of already allocated IPs to CIs** be set to **Yes**, TeemIp will allow, from the CI details screen, the attachment of an allocated IP to a CI. | ||
+ | These actions are handled by background tasks which default parameters can be overwritten in the configuration file. | ||
< | < | ||
' | ' | ||
... | ... | ||
- | 'ip_release_on_ci_status' => array ( | + | 'ip_allocate_on_ci_status' => array ( |
' | ' | ||
' | ' | ||
' | ' | ||
- | ' | + | ' |
- | | + | 0 => 'implementation', |
- | 0 => 'obsolete', | + | 1 => ' |
), | ), | ||
), | ), | ||
- | 'ip_allocate_on_ci_status' => array ( | + | 'ip_release_on_ci_status' => array ( |
' | ' | ||
' | ' | ||
' | ' | ||
- | ' | + | ' |
- | | + | 0 => 'obsolete', |
- | 0 => 'implementation', | + | |
- | 1 => ' | + | |
), | ), | ||
), | ), | ||
Line 257: | Line 256: | ||
</ | </ | ||
+ | |||
+ | ^ Parameter | ||
+ | | enabled| Enable or disable the function | | ||
+ | | debug | Add verbosity to the process | | ||
+ | | periodicity | Periodicity of the background task | | ||
+ | | status_list | List of status that trigger the action | | ||
+ | | target_status | Status of the IP once the action is done | | ||
+ |