for creole's zephir2 branch
This commit is contained in:
24
tests/flattener_dicos/60action_external/00-base.xml
Normal file
24
tests/flattener_dicos/60action_external/00-base.xml
Normal file
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<creole>
|
||||
|
||||
<files/>
|
||||
<containers/>
|
||||
|
||||
<variables>
|
||||
<family name='général'>
|
||||
<variable name='mode_conteneur_actif' type='oui/non' description="No change" hidden="True">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
</family>
|
||||
<separators/>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
</constraints>
|
||||
|
||||
<help/>
|
||||
|
||||
</creole>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
@ -0,0 +1,34 @@
|
||||
<creole>
|
||||
<family_action name="systeme"
|
||||
description="Liste des actions pour gérer le système EOLE"
|
||||
color="#ddc9e6"
|
||||
image="system.svg">
|
||||
<action type="external"
|
||||
title="Reconfigure"
|
||||
description="Reconfigurer le serveur"
|
||||
image="backup.svg"
|
||||
url="extra.test.calc_url"
|
||||
url_type="SymLinkOption">
|
||||
<input>Reconfigurer</input>
|
||||
<profile>ead_admin</profile>
|
||||
<ewtapp>ead</ewtapp>
|
||||
<tag>reconfigure</tag>
|
||||
</action>
|
||||
</family_action>
|
||||
<variables>
|
||||
<family name="test">
|
||||
<variable name="delay" type="number" description="délai en minutes avant lancement">
|
||||
<value>0</value>
|
||||
</variable>
|
||||
<variable name="calc_url" type="web_address" description="domain">
|
||||
<value>0</value>
|
||||
</variable>
|
||||
</family>
|
||||
</variables>
|
||||
<constraints>
|
||||
<auto name="calc_val" target="extra.test.calc_url">
|
||||
<param>http://localhost/</param>
|
||||
</auto>
|
||||
</constraints>
|
||||
<help/>
|
||||
</creole>
|
170
tests/flattener_dicos/60action_external/result/00-base.xml
Normal file
170
tests/flattener_dicos/60action_external/result/00-base.xml
Normal file
@ -0,0 +1,170 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<creole>
|
||||
<family name="actions" hidden="False" doc="actions">
|
||||
<family hidden="False" doc="systeme" name="systeme">
|
||||
<family doc="" hidden="False" name="action0">
|
||||
<variable doc="" multi="False" name="description" type="string">
|
||||
<value>Reconfigurer le serveur</value>
|
||||
</variable>
|
||||
<variable doc="" multi="True" name="ewtapp" type="string">
|
||||
<value>ead</value>
|
||||
</variable>
|
||||
<variable doc="" multi="False" name="image" type="string">
|
||||
<value>backup.svg</value>
|
||||
</variable>
|
||||
<variable doc="" multi="True" name="input" type="string">
|
||||
<value>Reconfigurer</value>
|
||||
</variable>
|
||||
<variable doc="" multi="False" name="name" type="string">
|
||||
<value>extra</value>
|
||||
</variable>
|
||||
<variable doc="" multi="True" name="profile" type="string">
|
||||
<value>ead_admin</value>
|
||||
</variable>
|
||||
<variable doc="" multi="False" name="save" type="boolean">
|
||||
<value>False</value>
|
||||
</variable>
|
||||
<variable doc="" multi="True" name="tag" type="string">
|
||||
<value>reconfigure</value>
|
||||
</variable>
|
||||
<variable doc="" multi="False" name="title" type="string">
|
||||
<value>Reconfigure</value>
|
||||
</variable>
|
||||
<variable doc="" multi="False" name="type" type="choice">
|
||||
<choice>form</choice>
|
||||
<choice>custom</choice>
|
||||
<choice>external</choice>
|
||||
<choice>reader</choice>
|
||||
<choice>apache</choice>
|
||||
<value>external</value>
|
||||
</variable>
|
||||
<variable multi="False" name="url" opt="extra.test.calc_url" type="symlink"/>
|
||||
<variable doc="" multi="False" name="activate" type="boolean">
|
||||
<value>True</value>
|
||||
</variable>
|
||||
</family>
|
||||
<variable doc="" multi="False" name="name" type="string">
|
||||
<value>systeme</value>
|
||||
</variable>
|
||||
<variable doc="" multi="False" name="color" type="string">
|
||||
<value>#ddc9e6</value>
|
||||
</variable>
|
||||
<variable doc="" multi="False" name="image" type="string">
|
||||
<value>system.svg</value>
|
||||
</variable>
|
||||
<variable doc="" multi="False" name="description" type="string">
|
||||
<value>Liste des actions pour gérer le système EOLE</value>
|
||||
</variable>
|
||||
</family>
|
||||
</family>
|
||||
<constraints>
|
||||
<fill name="calc_val" target="extra.test.calc_url">
|
||||
<param hidden="True" type="string">http://localhost/</param>
|
||||
</fill>
|
||||
</constraints>
|
||||
<family name="containers">
|
||||
<family name="containers">
|
||||
<family name="container0" doc="" hidden="False">
|
||||
<variable doc="" multi="False" name="group" type="string">
|
||||
<value>root</value>
|
||||
</variable>
|
||||
<variable doc="" multi="False" name="name" type="string">
|
||||
<value>root</value>
|
||||
</variable>
|
||||
<variable doc="" multi="False" name="container_group" type="string">
|
||||
<value>root</value>
|
||||
</variable>
|
||||
<variable doc="" multi="False" name="real_container" type="string">
|
||||
<value>root</value>
|
||||
</variable>
|
||||
<variable doc="" multi="False" name="id" type="number">
|
||||
<value>1</value>
|
||||
</variable>
|
||||
<variable multi="False" name="ip" opt="creole.containers.container_ip_root" type="symlink"/>
|
||||
<variable multi="False" name="path" opt="creole.containers.container_path_root" type="symlink"/>
|
||||
</family>
|
||||
</family>
|
||||
<family doc="" hidden="False" name="network">
|
||||
<variable multi="False" name="adresse_ip_br0" opt="creole.containers.adresse_ip_br0" type="symlink">
|
||||
<property>expert</property>
|
||||
</variable>
|
||||
<variable multi="False" name="adresse_netmask_br0" opt="creole.containers.adresse_netmask_br0" type="symlink">
|
||||
<property>expert</property>
|
||||
</variable>
|
||||
<variable multi="False" name="adresse_network_br0" opt="creole.containers.adresse_network_br0" type="symlink">
|
||||
<property>expert</property>
|
||||
</variable>
|
||||
<variable multi="False" name="adresse_broadcast_br0" opt="creole.containers.adresse_broadcast_br0" type="symlink">
|
||||
<property>expert</property>
|
||||
</variable>
|
||||
</family>
|
||||
<family doc="" hidden="False" name="services"/>
|
||||
<family doc="" hidden="False" name="service_accesss"/>
|
||||
<family doc="" hidden="False" name="service_restrictions"/>
|
||||
<family doc="" hidden="False" name="interfaces"/>
|
||||
<family doc="" hidden="False" name="packages"/>
|
||||
<family doc="" hidden="False" name="files"/>
|
||||
<family doc="" hidden="False" name="disknods"/>
|
||||
<family doc="" hidden="False" name="hosts"/>
|
||||
<family doc="" hidden="False" name="fstabs"/>
|
||||
</family>
|
||||
<help/>
|
||||
<family doc="" name="creole">
|
||||
<family doc="Containers informations" hidden="True" icon="puzzle-piece" mode="normal" name="containers">
|
||||
<variable doc="Bridge IP address" multi="False" name="adresse_ip_br0" type="string">
|
||||
<value>127.0.0.1</value>
|
||||
</variable>
|
||||
<variable doc="Bridge IP subnet mask" multi="False" name="adresse_netmask_br0" type="string">
|
||||
<value>255.0.0.0</value>
|
||||
</variable>
|
||||
<variable doc="Bridge IP network_br0 address" multi="False" name="adresse_network_br0" type="string">
|
||||
<value>127.0.0.0</value>
|
||||
</variable>
|
||||
<variable doc="Bridge broadcast IP address" multi="False" name="adresse_broadcast_br0" type="string">
|
||||
<value>127.255.255.255</value>
|
||||
</variable>
|
||||
<variable doc="Path of container root" multi="False" name="container_path_root" type="string">
|
||||
<value></value>
|
||||
</variable>
|
||||
<variable doc="IP address of container root" multi="False" name="container_ip_root" type="string">
|
||||
<value>127.0.0.1</value>
|
||||
</variable>
|
||||
<variable doc="Group name of container root" multi="False" name="container_name_root" type="string">
|
||||
<value>root</value>
|
||||
</variable>
|
||||
<variable doc="Path of container root" multi="False" name="adresse_ip_root" type="string">
|
||||
<property>force_default_on_freeze</property>
|
||||
<property>frozen</property>
|
||||
<value>localhost</value>
|
||||
</variable>
|
||||
</family>
|
||||
<family hidden="False" mode="basic" doc="général" name="general">
|
||||
<variable doc="No change" multi="False" name="mode_conteneur_actif" type="choice">
|
||||
<choice>oui</choice>
|
||||
<choice>non</choice>
|
||||
<property>force_default_on_freeze</property>
|
||||
<property>frozen</property>
|
||||
<property>hidden</property>
|
||||
<property>mandatory</property>
|
||||
<property>normal</property>
|
||||
<value>non</value>
|
||||
</variable>
|
||||
</family>
|
||||
<separators/>
|
||||
</family>
|
||||
<family doc="" name="extra">
|
||||
<family hidden="False" mode="basic" doc="test" name="test">
|
||||
<variable doc="délai en minutes avant lancement" multi="False" name="delay" type="number">
|
||||
<property>mandatory</property>
|
||||
<property>normal</property>
|
||||
<value>0</value>
|
||||
</variable>
|
||||
<variable doc="domain" multi="False" name="calc_url" type="web_address">
|
||||
<property>force_default_on_freeze</property>
|
||||
<property>frozen</property>
|
||||
<property>hidden</property>
|
||||
<property>normal</property>
|
||||
</variable>
|
||||
</family>
|
||||
</family>
|
||||
</creole>
|
Reference in New Issue
Block a user