From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Pokorný Date: Tue, 3 Dec 2013 19:26:11 +0100 Subject: [Cluster-devel] [resource-agents][PATCH 0/6] rgmanager: ra2rng.xsl: build up param datatyping infra Message-ID: <1386095178-23404-1-git-send-email-jpokorny@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit This changeset initiates the work on more tight check of cluster schema primarily by the means of RA parameters datatyping incl. other restrictions/facets as allowed by XML Schema Datatypes and, in turn, by Relax NG schemas. Last step demonstrates how easy is now to add such additional metainformation per specific parameter of specific agent. Alternative would be to track this piece of information separately per each agent, but it would be more complicated and the metadata format is not ready for that anyway (even though some more selective approach to the type of parameters has been voiced recently). Similar infrastructure can be applied to FA as well... Jan Pokorn? (6): rgmanager: ra2rng.xsl: extend infrastructure for XML rgmanager: ra2rng.xsl: make common params reuse XML pretty-print rgmanager: ra2rng.xsl: common params: prevent misleading combination rgmanager: ra2rng.xsl: control flow branches common business merge rgmanager: ra2rng.xsl: infra for param value datatyping/restriction rgmanager: ra2rng.xsl: script-file: try to prevent cluster's services rgmanager/src/resources/ra2rng.xsl | 443 +++++++++++++++++++++++++------------ 1 file changed, 297 insertions(+), 146 deletions(-) -- 1.8.1.4