Skip to content

Commit ac407d9

Browse files
committed
Update global settings descrption
1 parent 3c53cf4 commit ac407d9

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

server/src/main/java/com/cloud/vm/UserVmManager.java

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,21 @@ public interface UserVmManager extends UserVmService {
6363
"Destroys the VM's root volume when the VM is destroyed.",
6464
true, ConfigKey.Scope.Domain);
6565

66+
ConfigKey<String> StrictHostTags = new ConfigKey<>(
67+
"Advanced",
68+
String.class,
69+
"vm.strict.host.tags",
70+
"",
71+
"A comma-separated list of tags which must match during operations like modifying the compute" +
72+
"offering for an instance, and starting or live migrating an instance to a specific host.",
73+
true);
6674
ConfigKey<Boolean> EnforceStrictResourceLimitHostTagCheck = new ConfigKey<Boolean>(
67-
"Advanced", Boolean.class, "vm.strict.resource.limit.host.tag.check", "true",
68-
"Determines whether the resource limits tags are considered strict or not", true);
69-
ConfigKey<String> StrictHostTags = new ConfigKey<>("Advanced", String.class, "vm.strict.host.tags", "",
70-
"A comma-separated list of tags for strict host check", true);
75+
"Advanced",
76+
Boolean.class,
77+
"vm.strict.resource.limit.host.tag.check",
78+
"true",
79+
"If set to true, tags specified in `resource.limit.host.tags` are also included in vm.strict.host.tags.",
80+
true);
7181

7282
static final int MAX_USER_DATA_LENGTH_BYTES = 2048;
7383

0 commit comments

Comments
 (0)