summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorzsdc <taras@vyos.io>2020-04-20 21:46:41 +0300
committerzsdc <taras@vyos.io>2020-04-20 21:46:41 +0300
commit98f09ae586e01a7a16c7f1dae5e20b8331b97ee4 (patch)
tree2b21775cb94b23fae7092ca92e1ba85935f9fdeb /scripts
parentb385de7f4317f7e2b2852b198e555f4ddce4015b (diff)
downloadvyos-build-98f09ae586e01a7a16c7f1dae5e20b8331b97ee4.tar.gz
vyos-build-98f09ae586e01a7a16c7f1dae5e20b8331b97ee4.zip
VMware: T2343: Memory allocation change
Changed the OVF template to be sure that a router always has access to all the configured memory.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/template.ovf4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/template.ovf b/scripts/template.ovf
index 46ded545..4464e381 100644
--- a/scripts/template.ovf
+++ b/scripts/template.ovf
@@ -146,6 +146,7 @@
<rasd:InstanceID xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData">2</rasd:InstanceID>
<rasd:ResourceType>4</rasd:ResourceType>
<rasd:VirtualQuantity>512</rasd:VirtualQuantity>
+ <rasd:Reservation>512</rasd:Reservation>
</Item>
<Item configuration="4CPU-16GB">
<rasd:AllocationUnits>byte * 2^20</rasd:AllocationUnits>
@@ -154,6 +155,7 @@
<rasd:InstanceID xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData">2</rasd:InstanceID>
<rasd:ResourceType>4</rasd:ResourceType>
<rasd:VirtualQuantity>16384</rasd:VirtualQuantity>
+ <rasd:Reservation>16384</rasd:Reservation>
</Item>
<Item configuration="8CPU-32GB">
<rasd:AllocationUnits>byte * 2^20</rasd:AllocationUnits>
@@ -162,6 +164,7 @@
<rasd:InstanceID xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData">2</rasd:InstanceID>
<rasd:ResourceType>4</rasd:ResourceType>
<rasd:VirtualQuantity>32768</rasd:VirtualQuantity>
+ <rasd:Reservation>32768</rasd:Reservation>
</Item>
<Item>
<rasd:Address xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData">0</rasd:Address>
@@ -214,6 +217,7 @@
</ovf:Item>
<vmw:Config ovf:required="false" vmw:key="cpuHotAddEnabled" vmw:value="true"/>
<vmw:Config ovf:required="false" vmw:key="memoryHotAddEnabled" vmw:value="true"/>
+ <vmw:ExtraConfig ovf:required="false" vmw:key="sched.mem.pin" vmw:value="TRUE"/>
</VirtualHardwareSection>
</VirtualSystem>
</ovf:Envelope>