33 lines
1.3 KiB
XML
33 lines
1.3 KiB
XML
|
<?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="client_" type="domainname" mandatory="True" supplier="RedisClient"/>
|
||
|
<variable name="username_" hidden="True" mandatory="True" provider="Redis:username"/>
|
||
|
<variable name="password_" hidden="True" type="password" mandatory="True" provider="Redis:password"/>
|
||
|
<variable name="index_" hidden="True" type="number" mandatory="True" supplier="RedisClient:index"/>
|
||
|
</family>
|
||
|
</variables>
|
||
|
<constraints>
|
||
|
<fill name="calc_value">
|
||
|
<param type="suffix"/>
|
||
|
<target>accounts.remote_.client_</target>
|
||
|
</fill>
|
||
|
<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>
|