2019-11-23 08:17:35 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
|
|
|
|
<!-- ===================================================================== -->
|
|
|
|
|
2019-12-22 08:58:37 +01:00
|
|
|
<!-- Rougail's DTD -->
|
2019-11-23 08:17:35 +01:00
|
|
|
|
|
|
|
<!-- ===================================================================== -->
|
|
|
|
|
|
|
|
<!--
|
2019-12-22 08:58:37 +01:00
|
|
|
# Created by:
|
|
|
|
# EOLE (http://eole.orion.education.fr)
|
2019-11-23 08:17:35 +01:00
|
|
|
# Copyright (C) 2005-2018
|
|
|
|
|
2019-12-22 08:58:37 +01:00
|
|
|
# Forked by:
|
|
|
|
# Cadoles (http://www.cadoles.com)
|
|
|
|
# Copyright (C) 2019
|
2019-11-23 08:17:35 +01:00
|
|
|
|
2019-12-22 08:58:37 +01:00
|
|
|
# distribued with GPL-2 or later license
|
2019-11-23 08:17:35 +01:00
|
|
|
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
2019-12-22 08:58:37 +01:00
|
|
|
-->
|
2019-11-23 08:17:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
<!--================ -->
|
|
|
|
<!-- root element -->
|
|
|
|
<!-- =============== -->
|
|
|
|
|
2019-11-24 20:25:09 +01:00
|
|
|
<!ELEMENT creole (containers | family_action | variables | constraints | help)*>
|
2019-11-23 08:17:35 +01:00
|
|
|
|
|
|
|
<!-- ============== -->
|
|
|
|
<!-- files element -->
|
|
|
|
<!-- ============== -->
|
|
|
|
|
|
|
|
<!ELEMENT family_action (action)>
|
|
|
|
<!ATTLIST family_action name CDATA #REQUIRED>
|
|
|
|
<!ATTLIST family_action description CDATA #IMPLIED>
|
|
|
|
<!ATTLIST family_action color CDATA #IMPLIED>
|
|
|
|
<!ATTLIST family_action image CDATA #IMPLIED>
|
|
|
|
<!ELEMENT action ((input* | profile* | ewtapp* | tag* | saltaction*)*)>
|
|
|
|
<!ATTLIST action type (form|custom|external|reader|apache) "custom">
|
|
|
|
<!ATTLIST action title CDATA #REQUIRED>
|
|
|
|
<!ATTLIST action description CDATA #REQUIRED>
|
|
|
|
<!ATTLIST action rewrite CDATA #IMPLIED>
|
|
|
|
<!ATTLIST action image CDATA #IMPLIED>
|
|
|
|
<!ATTLIST action actionlist CDATA #IMPLIED>
|
|
|
|
<!-- for apache action -->
|
|
|
|
<!ATTLIST action apache_path CDATA #IMPLIED>
|
2019-12-22 08:38:43 +01:00
|
|
|
<!ATTLIST action apache_path_type (FilenameOption|SymLinkOption|variable) "FilenameOption">
|
2019-11-23 08:17:35 +01:00
|
|
|
<!-- for external action -->
|
|
|
|
<!ATTLIST action url CDATA #IMPLIED>
|
2019-12-22 08:38:43 +01:00
|
|
|
<!ATTLIST action url_type (URLOption|SymLinkOption|variable) "URLOption">
|
2019-11-23 08:17:35 +01:00
|
|
|
<!-- for form action -->
|
|
|
|
<!ATTLIST action save (True|False) "False">
|
|
|
|
|
|
|
|
<!ELEMENT containers ((container* | all*)*)>
|
|
|
|
|
|
|
|
<!ELEMENT container ((service* | service_access* | service_restriction* | interface* | package* | file* | disknod* | host* | fstab*)*) >
|
|
|
|
<!ATTLIST container name CDATA #REQUIRED >
|
|
|
|
<!ATTLIST container id CDATA #IMPLIED >
|
|
|
|
<!ATTLIST container group CDATA #IMPLIED >
|
|
|
|
|
|
|
|
<!ELEMENT all ((service* | interface* | package* | file* | disknod* | host* | fstab*)*) >
|
|
|
|
|
|
|
|
<!ELEMENT service (#PCDATA)>
|
|
|
|
<!ATTLIST service servicelist CDATA #IMPLIED >
|
|
|
|
<!ATTLIST service method (systemd|upstart|apache|network) "systemd">
|
|
|
|
<!ATTLIST service redefine (True|False) "False">
|
|
|
|
|
|
|
|
<!ELEMENT input (#PCDATA)>
|
|
|
|
<!ELEMENT profile (#PCDATA)>
|
|
|
|
<!ELEMENT ewtapp (#PCDATA)>
|
|
|
|
<!ELEMENT tag (#PCDATA)>
|
|
|
|
<!ELEMENT saltaction (#PCDATA)>
|
|
|
|
|
|
|
|
<!ELEMENT service_access ((port | tcpwrapper)*)>
|
|
|
|
<!ATTLIST service_access service CDATA #REQUIRED >
|
|
|
|
|
|
|
|
<!ELEMENT port (#PCDATA)> <!--port_type-->
|
2019-12-22 08:38:43 +01:00
|
|
|
<!ATTLIST port port_type (PortOption|SymLinkOption|variable) "PortOption">
|
2019-11-23 08:17:35 +01:00
|
|
|
<!ATTLIST port service_accesslist CDATA #IMPLIED >
|
|
|
|
<!ATTLIST port protocol (tcp|udp) "tcp">
|
|
|
|
|
|
|
|
<!ELEMENT tcpwrapper (#PCDATA)> <!--tcpwrapper_type-->
|
2019-12-22 08:38:43 +01:00
|
|
|
<!ATTLIST tcpwrapper tcpwrapper_type (UnicodeOption|SymLinkOption|variable) "UnicodeOption">
|
2019-11-23 08:17:35 +01:00
|
|
|
<!ATTLIST tcpwrapper service_accesslist CDATA #IMPLIED >
|
|
|
|
|
|
|
|
<!ELEMENT service_restriction (ip*)>
|
|
|
|
<!ATTLIST service_restriction service CDATA #REQUIRED >
|
|
|
|
|
|
|
|
<!ELEMENT ip (#PCDATA)> <!--ip_type-->
|
|
|
|
<!ATTLIST ip service_restrictionlist CDATA #IMPLIED >
|
2019-12-22 08:38:43 +01:00
|
|
|
<!ATTLIST ip ip_type (NetworkOption|SymLinkOption|variable) "NetworkOption">
|
|
|
|
<!ATTLIST ip interface_type (UnicodeOption|SymLinkOption|variable) "UnicodeOption">
|
2019-11-23 08:17:35 +01:00
|
|
|
<!ATTLIST ip interface CDATA #REQUIRED> <!--interface_type-->
|
2019-12-22 08:38:43 +01:00
|
|
|
<!ATTLIST ip netmask_type (NetmaskOption|SymLinkOption|variable) "NetmaskOption">
|
2019-11-23 08:17:35 +01:00
|
|
|
<!ATTLIST ip netmask CDATA "255.255.255.255"> <!--netmask_type-->
|
|
|
|
|
|
|
|
<!ELEMENT interface (#PCDATA)>
|
|
|
|
<!ATTLIST interface interfacelist CDATA #IMPLIED >
|
|
|
|
<!ATTLIST interface linkto CDATA #REQUIRED >
|
2019-12-22 08:38:43 +01:00
|
|
|
<!ATTLIST interface ip CDATA #REQUIRED> <!--variable-->
|
|
|
|
<!ATTLIST interface ip_type (SymLinkOption|variable) "variable">
|
|
|
|
<!ATTLIST interface mask CDATA #REQUIRED> <!--variable-->
|
|
|
|
<!ATTLIST interface mask_type (SymLinkOption|variable) "variable">
|
|
|
|
<!ATTLIST interface bcast CDATA #IMPLIED> <!--variable-->
|
|
|
|
<!ATTLIST interface bcast_type (SymLinkOption|variable) "variable">
|
|
|
|
<!ATTLIST interface gateway CDATA #IMPLIED> <!--variable-->
|
|
|
|
<!ATTLIST interface gateway_type (variable) "variable">
|
2019-11-23 08:17:35 +01:00
|
|
|
<!ATTLIST interface method (bridge|macvlan) "macvlan" >
|
|
|
|
<!ATTLIST interface redefine (True|False) "False">
|
|
|
|
|
|
|
|
<!ELEMENT host EMPTY >
|
|
|
|
<!ATTLIST host hostlist CDATA #IMPLIED >
|
2019-12-22 08:38:43 +01:00
|
|
|
<!ATTLIST host name CDATA #REQUIRED > <!--variable-->
|
|
|
|
<!ATTLIST host name_type (SymLinkOption|variable) "variable">
|
|
|
|
<!ATTLIST host ip CDATA #REQUIRED > <!--variable-->
|
|
|
|
<!ATTLIST host ip_type (SymLinkOption|variable) "variable">
|
2019-11-23 08:17:35 +01:00
|
|
|
<!ATTLIST host crossed (True|False) "True" >
|
|
|
|
<!ATTLIST host comment CDATA #IMPLIED >
|
|
|
|
|
|
|
|
<!ELEMENT fstab EMPTY >
|
|
|
|
<!ATTLIST fstab name CDATA #REQUIRED> <!--name_type-->
|
2019-12-22 08:38:43 +01:00
|
|
|
<!ATTLIST fstab name_type (FilenameOption|SymLinkOption|variable) "FilenameOption">
|
2019-11-23 08:17:35 +01:00
|
|
|
<!ATTLIST fstab type (bind|normal) "bind">
|
|
|
|
<!ATTLIST fstab fstype (auto|ext3|ext4|nfs|smb) "auto">
|
|
|
|
<!ATTLIST fstab mount_point CDATA #IMPLIED> <!--mount_point_type-->
|
2019-12-22 08:38:43 +01:00
|
|
|
<!ATTLIST fstab mount_point_type (FilenameOption|SymLinkOption|variable) "FilenameOption">
|
2019-11-23 08:17:35 +01:00
|
|
|
<!ATTLIST fstab options CDATA #IMPLIED>
|
|
|
|
<!ATTLIST fstab checks CDATA #IMPLIED>
|
|
|
|
<!ATTLIST fstab fstablist CDATA #IMPLIED>
|
|
|
|
|
|
|
|
<!ELEMENT package (#PCDATA)>
|
2019-11-24 20:25:09 +01:00
|
|
|
<!ATTLIST package packagelist CDATA #IMPLIED>
|
2019-11-23 08:17:35 +01:00
|
|
|
|
|
|
|
<!ELEMENT disknod (#PCDATA)>
|
|
|
|
|
|
|
|
<!ELEMENT file EMPTY>
|
|
|
|
<!ATTLIST file name CDATA #REQUIRED >
|
2019-12-22 08:38:43 +01:00
|
|
|
<!ATTLIST file name_type (UnicodeOption|SymLinkOption|variable) "UnicodeOption">
|
2019-11-23 08:17:35 +01:00
|
|
|
<!ATTLIST file source CDATA #IMPLIED>
|
|
|
|
<!ATTLIST file mode CDATA #IMPLIED >
|
|
|
|
<!ATTLIST file owner CDATA #IMPLIED >
|
|
|
|
<!ATTLIST file group CDATA #IMPLIED >
|
|
|
|
<!ATTLIST file filelist CDATA #IMPLIED >
|
|
|
|
<!ATTLIST file mkdir (True|False) "False">
|
|
|
|
<!ATTLIST file rm (True|False) "False">
|
|
|
|
<!ATTLIST file del_comment CDATA #IMPLIED >
|
|
|
|
<!ATTLIST file redefine (True|False) "False">
|
|
|
|
|
|
|
|
<!ELEMENT variables (family*, separators*)>
|
|
|
|
<!ELEMENT family (#PCDATA | variable)*>
|
|
|
|
<!ATTLIST family name CDATA #REQUIRED>
|
|
|
|
<!ATTLIST family description CDATA #IMPLIED>
|
|
|
|
<!ATTLIST family mode (basic|normal|expert) "basic">
|
|
|
|
<!ATTLIST family icon CDATA #IMPLIED>
|
|
|
|
<!ATTLIST family hidden (True|False) "False">
|
2019-12-21 12:21:42 +01:00
|
|
|
<!ATTLIST family dynamic CDATA #IMPLIED>
|
2019-11-23 08:17:35 +01:00
|
|
|
|
|
|
|
<!ELEMENT variable (#PCDATA | value)*>
|
|
|
|
<!ATTLIST variable name CDATA #REQUIRED>
|
|
|
|
<!ATTLIST variable type CDATA #IMPLIED>
|
|
|
|
<!ATTLIST variable description CDATA #IMPLIED>
|
|
|
|
<!ATTLIST variable hidden (True|False) "False">
|
|
|
|
<!ATTLIST variable disabled (True|False) "False">
|
|
|
|
<!ATTLIST variable multi (True|False) "False">
|
2019-12-21 12:45:01 +01:00
|
|
|
<!ATTLIST variable submulti (True|False) "False">
|
2019-11-23 08:17:35 +01:00
|
|
|
<!ATTLIST variable redefine (True|False) "False">
|
|
|
|
<!ATTLIST variable exists (True|False) "True">
|
|
|
|
<!ATTLIST variable mandatory (True|False) "False">
|
|
|
|
<!ATTLIST variable auto_freeze (True|False) "False">
|
|
|
|
<!ATTLIST variable auto_save (True|False) "False">
|
|
|
|
<!ATTLIST variable mode (basic|normal|expert) "normal">
|
|
|
|
<!ATTLIST variable remove_check (True|False) "False">
|
|
|
|
<!ATTLIST variable remove_condition (True|False) "False">
|
|
|
|
|
|
|
|
<!ELEMENT separators (separator*)>
|
|
|
|
|
|
|
|
<!ELEMENT separator (#PCDATA)>
|
|
|
|
<!ATTLIST separator name CDATA #REQUIRED>
|
|
|
|
<!ATTLIST separator never_hidden CDATA #IMPLIED>
|
|
|
|
|
|
|
|
<!ELEMENT value (#PCDATA)>
|
|
|
|
|
|
|
|
<!ELEMENT constraints ((fill* | check* | condition* | auto* | group*)*)>
|
|
|
|
<!ELEMENT fill (param*)>
|
|
|
|
<!ATTLIST fill name CDATA #REQUIRED>
|
|
|
|
<!ATTLIST fill target CDATA #REQUIRED>
|
|
|
|
|
|
|
|
<!ELEMENT check (param*)>
|
|
|
|
<!ATTLIST check name CDATA #REQUIRED>
|
|
|
|
<!ATTLIST check target CDATA #REQUIRED>
|
|
|
|
<!ATTLIST check level (error|warning) "error">
|
|
|
|
|
|
|
|
<!ELEMENT auto ((param)*)>
|
|
|
|
<!ATTLIST auto name CDATA #REQUIRED>
|
|
|
|
<!ATTLIST auto target CDATA #REQUIRED>
|
|
|
|
|
|
|
|
<!ELEMENT condition ((target | param)+ )>
|
|
|
|
<!ATTLIST condition name CDATA #REQUIRED>
|
|
|
|
<!ATTLIST condition source CDATA #REQUIRED>
|
|
|
|
<!ATTLIST condition fallback (True|False) "False">
|
|
|
|
|
|
|
|
<!ELEMENT group (slave+)>
|
|
|
|
<!ATTLIST group master CDATA #REQUIRED>
|
2019-12-21 13:28:18 +01:00
|
|
|
<!ATTLIST group description CDATA #IMPLIED>
|
2019-11-23 08:17:35 +01:00
|
|
|
|
|
|
|
<!ELEMENT param (#PCDATA)>
|
2019-12-22 08:58:37 +01:00
|
|
|
<!ATTLIST param type (string|eole|variable|number|container|context|python) "string">
|
2019-11-23 08:17:35 +01:00
|
|
|
<!ATTLIST param name CDATA #IMPLIED>
|
|
|
|
<!ATTLIST param hidden (True|False) "True">
|
|
|
|
<!ATTLIST param optional (True|False) "False">
|
|
|
|
|
|
|
|
<!ELEMENT target (#PCDATA)>
|
|
|
|
<!ATTLIST target type (family|filelist|servicelist|interfacelist|variable|service_accesslist|service_restrictionlist|hostlist|fstablist|actionlist) "variable">
|
|
|
|
<!ATTLIST target optional (True|False) "False">
|
|
|
|
|
|
|
|
<!ELEMENT slave (#PCDATA)>
|
|
|
|
|
|
|
|
<!ELEMENT help ((variable* | family*)*)>
|
|
|
|
|