Unit tests were only working on py35 and not py36, this is because
the unit test in test_api_validations were only checking for
py35. Use the six library to detect the python version used.
Change-Id: Iab10228e911a9efc0e18b04667596342ee949642
Signed-off-by: Chuck Short <chucks@redhat.com>
This patch adds a base jsonschema framework which will be used
by other subsequent patches for adding jsonschema validation
support for Karbor V1 APIs.
This patch adds jsonschema validation for Karbor Plans API.
This patch follows the Cinder-Schema-framework:
https://github.com/openstack/cinder/tree/master/cinder/api/validation
Change-Id: I5a552f33608a924b0a410fdf1b83b7f5c4759aae
Partial-Implements: bp karbor-json-schema-validation