Support for ipv6 in compute response JSON schema
JSON schema Draft-4 has changed the format 'ip-address' to 'ipv4'
and provide separate format for 'ipv6'.
http://json-schema.org/latest/json-schema-validation.html#anchor120
Current compute response schemas have 'ip-address' format for address
validation which only cover ipv4.
Those schema should support 'ipv6' format also.
This commit adds support for ipv6 address in schemas.
Also change 'anyOf' to 'oneOf' for address formating validation.
Closes-Bug: 1460984
Change-Id: I64883306235dc3b90a3a878674532f77d825d5c4
5 files changed