• Cédric Le Ninivin's avatar
    resilient-stack : add -sla-%s-foo parameter magic · 6c7e54d9
    Cédric Le Ninivin authored
    You can provide sla parameters to each request you make.
    Parameters are analysed that way.
     * If it starts with "-sla-" it is not transmitted to requested instance and is used to do the request as sla.
     * -sla-foo-bar=example (foo being a magic key) will be use for each request considering "foo" as a key to use and the sla parameter is "bar". So for each group using the "foo" key, sla parameter "bar" is used with value "example"
    About magic keys:
    We can find 2 kinds of magic keys:
     * id : example, in "-sla-2-foo" 2 is the magic key and the parameter will be used for each request with id 2 (in case of kvm: kvm2 and PBS 2)
     * nameid : example, in "-sla-kvm2-foo", foo will be used for kvm2 request. Name for pbs is "pbs" -> "-sla-pbs2-foo".
    IMPORTANT NOTE: in case the same foo parameter is asked for the group, the nameid key prevail
    6c7e54d9
template-replicated.cfg.in 8.19 KB