1. 10 Jan, 2025 3 commits
    • Xavier Thompson's avatar
      slapconfiguration: Add .jsonschema recipe · 2b1713e6
      Xavier Thompson authored
      [slapconfiguration]
      <= slap-connection
      recipe = slapos.cookbook:slapconfiguration.jsonschema
      jsonschema = ${buildout:directory}/software.cfg.json
      
      The recipe validates instance parameters against the JSON schema, and
      automatically fills in values of parameters left unset from defaults
      specified in the schema, both for the main instance and for every
      shared instance, if any.
      
      Validation error or conflicting defaults - when the instance validates
      multiple combined schemas that each set different defaults - can occur.
      
      In case of error in the main instance parameters, the recipe raises an
      exception. Otherwise, the completed instance parameters are available
      in `configuration`.
      
      For shared instances, valid and conflict-free instances are
      collected in `valid-shared-instance-list` as dicts in the form of:
      ```
      {'reference': "...", 'parameters': {...}}
      ```
      with parameters completed by defaults as appropriate.
      
      Invalid shared instances are collected in `invalid-slave-instance-list`
      as dicts in the form of:
      ```
      {'reference': "...", 'parameters': {...}, 'errors': [...]}
      ```
      with parameters left as-is without added defaults.
      Co-authored-by: Thomas Gambier's avatarThomas Gambier <thomas.gambier@nexedi.com>
      2b1713e6
    • Xavier Thompson's avatar
      slapconfiguration: Enable <= slap-connection · eb6da27c
      Xavier Thompson authored
      Introduce alternative names for input parameters to enable
      
      ```
      [slap-configuration]
      <= slap-connection
      recipe = slapos.cookbook:slapconfiguration
      ```
      
      instead of
      
      ```
      [slap-configuration]
      recipe = slapos.cookbook:slapconfiguration
      computer = ${slap-connection:computer-id}
      partition = ${slap-connection:partition-id}
      url = ${slap-connection:server-url}
      key = ${slap-connection:key-file}
      cert = ${slap-connection:cert-file}
      ```
      eb6da27c
    • Thomas Gambier's avatar
      software/kvm: use sticky-compute-node instead of sticky-computer · 93374140
      Thomas Gambier authored
      This follows the new notation of slapos master.
      93374140
  2. 08 Jan, 2025 2 commits
  3. 07 Jan, 2025 1 commit
  4. 03 Jan, 2025 3 commits
  5. 02 Jan, 2025 6 commits
  6. 24 Dec, 2024 1 commit
  7. 19 Dec, 2024 1 commit
  8. 18 Dec, 2024 1 commit
  9. 17 Dec, 2024 1 commit
  10. 16 Dec, 2024 3 commits
  11. 12 Dec, 2024 1 commit
  12. 11 Dec, 2024 12 commits
  13. 10 Dec, 2024 5 commits