libvirt/docs/schemas
Daniel P. Berrange 615bdfda07 rng: fix port number range validation
The PortNumber data type is declared to derive from 'short'.
Unfortunately this is an signed type, so validates the range
[-32,768, 32,767] which excludes valid port numbers between
32767 and 65535.

We can't use 'unsignedShort', since we need -1 to be a valid
port number too.

This change is to use 'int' and set an explicit max boundary
instead of relying on the data types' built-in max.

One of the existing tests is changed to use a high port number
to validate the schema.

https://bugzilla.redhat.com/show_bug.cgi?id=1214664

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2015-04-23 12:59:52 +01:00
..
basictypes.rng rng: fix port number range validation 2015-04-23 12:59:52 +01:00
capability.rng schemas: finish virTristate{Bool,Switch} transition 2014-09-17 16:10:26 +02:00
domain.rng conf: set up for per-grammar overrides in schemas 2014-04-15 21:07:59 +02:00
domaincaps.rng domaincaps: Expose UEFI binary path, if it exists 2014-09-17 16:29:49 +02:00
domaincommon.rng rng: Move sgio attr definition to a separate block 2015-04-20 10:13:36 +02:00
domainsnapshot.rng conf: split <disk> schema into more pieces 2014-04-16 10:45:55 +02:00
interface.rng interface: allow multiple IPv4 addresses in interface XML 2015-04-06 13:27:15 -04:00
Makefile.am Introduce domain_capabilities 2014-07-03 12:22:37 +02:00
network.rng schema: Fix interface link state schema 2015-03-03 09:43:13 +01:00
networkcommon.rng RNG schema: allow plain @floor to <bandwidth/> 2015-04-16 09:07:43 +02:00
nodedev.rng SRIOV NIC offload feature discovery 2015-03-05 11:31:05 +01:00
nwfilter.rng nwfilter: Add support for icmpv6 filtering 2015-01-07 11:41:49 -05:00
secret.rng schemas: finish virTristate{Bool,Switch} transition 2014-09-17 16:10:26 +02:00
storagecommon.rng add ploop fs driver type 2015-01-16 14:07:46 +01:00
storagepool.rng storage: unify permission formatting 2014-12-16 15:47:56 +01:00
storagevol.rng storage: unify permission formatting 2014-12-16 15:47:56 +01:00