CloudConfig editor: azs sub-properties added to schema

This commit is contained in:
Kris De Volder
2017-08-09 15:15:57 -07:00
parent 8f2582925b
commit e8b1c8658c
4 changed files with 41 additions and 1 deletions

View File

@@ -83,7 +83,7 @@ public class BoshCloudConfigSchema extends SchemaSupport implements YamlSchema {
YType t_network = createNetworkBlockSchema(models);
YBeanType t_az = f.ybean("AZ");
addProp(t_az, "name", t_az_def).isRequired(true);
addProp(t_az, "name", t_az_def).isPrimary(true);
addProp(t_az, "cloud_properties", t_params);
YBeanType t_compilation = f.ybean("Compilation");

View File

@@ -0,0 +1,11 @@
Describes any IaaS-specific properties needed to associated with AZ; for most IaaSes, some data here is actually required. Example: `availability_zone`. Default is `{}` (empty Hash).
See:
- [AWS CPI AZ cloud properties](https://bosh.io/docs/aws-cpi.html#azs)
- [Azure CPI AZ cloud properties](https://bosh.io/docs/azure-cpi.html#azs)
- [OpenStack CPI AZ cloud properties](https://bosh.io/docs/openstack-cpi.html#azs)
- [Softlayer CPI AZ cloud properties](https://bosh.io/docs/softlayer-cpi.html#azs)
- [Google Cloud Platform CPI AZ cloud properties](https://bosh.io/docs/google-cpi.html#azs)
- [vSphere CPI AZ cloud properties](https://bosh.io/docs/vsphere-cpi.html#azs)
- [vCloud CPI AZ cloud properties](https://bosh.io/docs/vcloud-cpi.html#azs)

View File

@@ -0,0 +1 @@
*Required*. Name of an AZ within the Director.