dataset/seed/postgresql/extras/accounts/00_accounts.xml
2023-08-29 10:37:29 +02:00

19 lines
1 KiB
XML

<?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.10">
<variables>
<variable name="remotes" description="Create account and connexion to a PostgreSQL server" type="domainname" multi="True" provider="Postgresql" hidden="True"/>
<family name="remote_" description="Account for " dynamic="accounts.remotes" hidden="True">
<variable name="remote_ip_" description="Remote IP " type="ip" mandatory="True"/>
<variable name="database_" description="Postgresql database name for " mandatory="True" provider="Postgresql:database"/>
<variable name="username_" description="Postgresql username for " mandatory="True" provider="Postgresql:username"/>
<variable name="password_" description="Postgresql password for " type="password" mandatory="True" provider="Postgresql:password"/>
</family>
</variables>
<constraints>
<fill name="get_ip">
<param type="information">zones</param>
<param type="suffix"/>
<target>accounts.remote_.remote_ip_</target>
</fill>
</constraints>
</rougail>