drydock/tests/yaml_samples/invalid_hardwareProfile.yaml
Jason Beard 7af8623d91 Create schemas for Drydock YAML docs
Start writing JSON schema documents (in YAML) for
the YAML Kinds that Drydock defines

- Wrote schema for baremetalNode, hardwareProfile,
  hostProfile, network, networkLink, rack, and region.
- Unit tests for testing validation schemas

Change-Id: Iff52d522fc61893ab07e567e4a4e842c4b4cb25e
2017-11-20 11:14:04 -06:00

11 lines
162 B
YAML

---
apiVersion: 'drydock/v1'
kind: HardwareProfile
metadata:
name: HPGen9v3
region: sitename
date: 17-FEB-2017
author: Scott Hussey
spec:
foo: 'bar'
...