2023-06-29 18:53:31 +02:00
|
|
|
<?xml version='1.0' encoding='UTF-8'?>
|
|
|
|
<rougail version="0.10">
|
|
|
|
<variables>
|
|
|
|
<variable name="remotes" type="domainname" provider="Redis" mandatory="True" multi="True" hidden="True"/>
|
|
|
|
<family name="remote_" dynamic="accounts.remotes">
|
|
|
|
<variable name="ip_" type="ip" mandatory="True"/>
|
|
|
|
<variable name="username_" hidden="True" mandatory="True" provider="Redis:username"/>
|
|
|
|
<variable name="password_" hidden="True" type="password" mandatory="True" provider="Redis:password"/>
|
2023-07-31 15:30:32 +02:00
|
|
|
<variable name="index_" hidden="True" type="number" mandatory="True" supplier="Redis:index"/>
|
2023-06-29 18:53:31 +02:00
|
|
|
</family>
|
|
|
|
</variables>
|
|
|
|
<constraints>
|
|
|
|
<fill name="get_ip">
|
|
|
|
<param type="information">zones</param>
|
|
|
|
<param type="suffix"/>
|
|
|
|
<target>accounts.remote_.ip_</target>
|
|
|
|
</fill>
|
|
|
|
<fill name="redis_index_of">
|
|
|
|
<param type="variable">accounts.remotes</param>
|
|
|
|
<param type="suffix"/>
|
|
|
|
<target>accounts.remote_.index_</target>
|
|
|
|
</fill>
|
|
|
|
<check name="redis_only_one">
|
|
|
|
<target>accounts.remote_.index_</target>
|
|
|
|
</check>
|
|
|
|
</constraints>
|
|
|
|
</rougail>
|