diff --git a/ra/next/Makefile b/ra/next/Makefile index 128b6be..cb079fd 100644 --- a/ra/next/Makefile +++ b/ra/next/Makefile @@ -1,23 +1,23 @@ # Basic DocBook mangling makefile. # # BASENAME=resource-agent-api -GRAMMAR=ra-api.ng +GRAMMAR=ra-api.rng TEST_FILES=ra-metadata-example-1.0.xml ra-metadata-example.xml .PHONY: all clean %.html: %.md pandoc -f markdown -o $@ $^ %.pdf: %.md pandoc -f markdown -o $@ $^ all: $(BASENAME).pdf $(BASENAME).html clean: rm $(BASENAME).pdf $(BASENAME).html||true check: $(GRAMMAR) $(TEST_FILES) xmllint --relaxng $(GRAMMAR) --noout $(TEST_FILES) diff --git a/ra/next/ra-api.rng b/ra/next/ra-api.rng index 0877b05..7934b66 100644 --- a/ra/next/ra-api.rng +++ b/ra/next/ra-api.rng @@ -1,118 +1,128 @@ + + + + + + + + + + boolean string integer select 0 1 diff --git a/ra/next/ra-metadata-example.xml b/ra/next/ra-metadata-example.xml index 5f51554..ff43c12 100644 --- a/ra/next/ra-metadata-example.xml +++ b/ra/next/ra-metadata-example.xml @@ -1,121 +1,151 @@ 1.0 Filesystem matters. The resource name is the directory where the filesystem will be actually mounted. Please make sure it exists. Mountpoint When mounting a filesystem on a specific mountpoint, you have to specify which device should be mounted; this will usually be similiar to /dev/sda1 or /dev/volumegroup/logicalvolume when using LVM. Device to be mounted You should chose a journaled filesystem for the shared storage to ensure that the filesystem remains consistent and that it can be mounted without an expensive fsck run; recommendations include reiserfs, ext3 and XFS. Type of the filesystem The mount options used for mounting a filesystem; normally this is set to defaults, but you may want to modify this if you require a read-only mount or something similar. Mount options for this filesystem The fstype options is used to specify file system type. Filesystem type + + + +Some archaic parameter + +Archaic parameter + + + + + + +Some archaic parameter + +Archaic parameter + + + + + + Don't use foo, it's bad. + Nepoužívej foo, sic to schytáš + + +Some archaic parameter + +Archaic parameter + + + 403