Add missing hoverdoc for 'vm_extensions' property
This commit is contained in:
@@ -132,7 +132,6 @@ public class BoshCloudConfigSchema extends SchemaSupport implements YamlSchema {
|
||||
for (YType defType : getDefinitionTypes()) {
|
||||
toplevelType.require(Constraints.uniqueDefinition(astTypes, defType, YamlSchemaProblems.problemType("BOSH_CC_DUPLICATE_"+defType)));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private YType createNetworkBlockSchema(BoshModels models) {
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
Specifies the [VM extensions](https://bosh.io/docs/terminology.html#vm-extension) available to deployments.
|
||||
|
||||
Example:
|
||||
|
||||
vm_extensions:
|
||||
- name: pub-lbs
|
||||
cloud_properties:
|
||||
elbs: [main]
|
||||
|
||||
Any IaaS specific configuration could be placed into a VM extension’s `cloud_properties`.
|
||||
@@ -1900,6 +1900,7 @@ public class BoshEditorTest {
|
||||
Editor editor = harness.newEditor(LanguageId.BOSH_CLOUD_CONFIG,
|
||||
"azs: []\n" +
|
||||
"vm_types: []\n" +
|
||||
"vm_extensions: []\n" +
|
||||
"disk_types: []\n" +
|
||||
"networks: []\n" +
|
||||
"compilation: {}\n"
|
||||
@@ -1909,6 +1910,7 @@ public class BoshEditorTest {
|
||||
editor.assertHoverContains("vm_types", "Specifies the [VM types](https://bosh.io/docs/terminology.html#vm-type) available to deployments.");
|
||||
editor.assertHoverContains("disk_types", "Specifies the [disk types](https://bosh.io/docs/terminology.html#disk-types) available to deployments.");
|
||||
editor.assertHoverContains("compilation", "A compilation definition allows to specify VM characteristics.");
|
||||
editor.assertHoverContains("vm_extensions", "Specifies the [VM extensions](https://bosh.io/docs/terminology.html#vm-extension) available to deployments.");
|
||||
}
|
||||
|
||||
@Test public void cloudconfig_compilation_subproperties() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user