[Cluster-devel] [resource-agents][PATCH 0/6] rgmanager: ra2rng.xsl: build up param datatyping infra

Jan Pokorný jpokorny at redhat.com
Tue Dec 3 18:26:11 UTC 2013


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




More information about the Cluster-devel mailing list