rougail/src/rougail/data/rougail.dtd

156 lines
5.7 KiB
DTD
Raw Normal View History

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)
2020-04-18 09:00:03 +02:00
# Copyright (C) 2019-2020
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 -->
<!-- =============== -->
2020-07-06 19:47:45 +02:00
<!ELEMENT rougail (services | variables | constraints | help)*>
2019-11-23 08:17:35 +01:00
<!-- ============== -->
<!-- files element -->
<!-- ============== -->
2020-02-14 17:59:39 +01:00
<!ELEMENT services (service*)>
2019-11-23 08:17:35 +01:00
<!ELEMENT service ((port* | tcpwrapper* | ip* | interface* | package* | file* | digitalcertificate* | override*)*) >
2020-02-14 17:59:39 +01:00
<!ATTLIST service name CDATA #REQUIRED>
<!ATTLIST service manage (True|False) "True">
2019-11-23 08:17:35 +01:00
2019-12-22 14:46:16 +01:00
<!ELEMENT port (#PCDATA)>
<!ATTLIST port port_type (PortOption|SymLinkOption|variable) "PortOption">
2020-02-16 21:27:42 +01:00
<!ATTLIST port portlist CDATA #IMPLIED >
2019-11-23 08:17:35 +01:00
<!ATTLIST port protocol (tcp|udp) "tcp">
2019-12-22 14:46:16 +01:00
<!ELEMENT ip (#PCDATA)>
2020-02-16 21:27:42 +01:00
<!ATTLIST ip iplist CDATA #IMPLIED >
<!ATTLIST ip ip_type (NetworkOption|SymLinkOption|variable) "NetworkOption">
<!ATTLIST ip interface_type (UnicodeOption|SymLinkOption|variable) "UnicodeOption">
2019-12-22 14:46:16 +01:00
<!ATTLIST ip interface CDATA #REQUIRED>
<!ATTLIST ip netmask_type (NetmaskOption|SymLinkOption|variable) "NetmaskOption">
2019-12-22 14:46:16 +01:00
<!ATTLIST ip netmask CDATA "255.255.255.255">
2019-11-23 08:17:35 +01:00
<!ELEMENT file EMPTY>
<!ATTLIST file name CDATA #REQUIRED >
2020-02-14 17:59:39 +01:00
<!ATTLIST file file_type (UnicodeOption|SymLinkOption|variable) "UnicodeOption">
2019-12-22 14:46:16 +01:00
<!ATTLIST file variable CDATA #IMPLIED>
<!ATTLIST file variable_type (variable) "variable">
2019-11-23 08:17:35 +01:00
<!ATTLIST file source CDATA #IMPLIED>
2020-02-16 21:27:42 +01:00
<!ATTLIST file mode CDATA "0644">
<!ATTLIST file owner CDATA "root">
<!ATTLIST file group CDATA "root">
2019-11-23 08:17:35 +01:00
<!ATTLIST file filelist CDATA #IMPLIED >
<!ATTLIST file redefine (True|False) "False">
<!ATTLIST file templating (True|False) "True">
2019-11-23 08:17:35 +01:00
2020-02-16 21:27:42 +01:00
<!ELEMENT digitalcertificate EMPTY>
<!ATTLIST digitalcertificate name CDATA #REQUIRED >
<!ATTLIST digitalcertificate digitalcertificate_type (variable) "variable">
<!ATTLIST digitalcertificate certificate CDATA #REQUIRED >
<!ATTLIST digitalcertificate certificate_type (variable) "variable">
<!ATTLIST digitalcertificate type CDATA #REQUIRED >
<!ATTLIST digitalcertificate ca CDATA #REQUIRED >
<!ELEMENT override EMPTY>
<!ATTLIST override source CDATA #IMPLIED >
<!ATTLIST override templating (True|False) "True">
2019-11-23 08:17:35 +01:00
<!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 hidden (True|False) "False">
<!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">
<!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">
2020-02-18 22:12:55 +01:00
<!ATTLIST variable test CDATA #IMPLIED>
2019-11-23 08:17:35 +01:00
<!ELEMENT separators (separator*)>
<!ELEMENT separator (#PCDATA)>
<!ATTLIST separator name CDATA #REQUIRED>
<!ELEMENT value (#PCDATA)>
2020-07-06 19:47:45 +02:00
<!ELEMENT constraints ((fill* | check* | condition* | group*)*)>
2019-11-23 08:17:35 +01:00
<!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 condition ((target | param)+ )>
2020-07-24 14:59:09 +02:00
<!ATTLIST condition name (disabled_if_in|disabled_if_not_in|hidden_if_in|auto_hidden_if_not_in|hidden_if_not_in|mandatory_if_in|mandatory_if_not_in) #REQUIRED>
2019-11-23 08:17:35 +01:00
<!ATTLIST condition source CDATA #REQUIRED>
<!ATTLIST condition fallback (True|False) "False">
2020-07-24 14:59:09 +02:00
<!ATTLIST condition force_condition_on_fallback (True|False) "False">
<!ATTLIST condition force_inverse_condition_on_fallback (True|False) "False">
2019-11-23 08:17:35 +01:00
2020-04-18 09:00:03 +02:00
<!ELEMENT group (follower+)>
<!ATTLIST group leader 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)>
2020-10-04 15:11:44 +02:00
<!ATTLIST param type (string|number|variable|information|suffix) "string">
2019-11-23 08:17:35 +01:00
<!ATTLIST param name CDATA #IMPLIED>
2020-07-20 18:13:53 +02:00
<!ATTLIST param notraisepropertyerror (True|False) "False">
2019-11-23 08:17:35 +01:00
<!ATTLIST param optional (True|False) "False">
<!ELEMENT target (#PCDATA)>
2020-07-07 19:36:26 +02:00
<!ATTLIST target type (family|variable|filelist|iplist|portlist) "variable">
2019-11-23 08:17:35 +01:00
<!ATTLIST target optional (True|False) "False">
2020-04-18 09:00:03 +02:00
<!ELEMENT follower (#PCDATA)>
2019-11-23 08:17:35 +01:00
<!ELEMENT help ((variable* | family*)*)>