Commit Graph

3 Commits

Author SHA1 Message Date
sreeteja b51945a05f Removal of max_instances config parameter
There is a NumInstancesFilter which can be used to filter the number of
instances that are supposed to be launched on the host this replaces the
work that is planned for max_instances config parameter to perform.
It is removed as the main functionality of this parameter is not yet
implemented in the code.

Change-Id: Ie545a5f74f7b63ea56812577c201fcb443014998
2017-07-12 14:15:56 +05:30
sreeteja 37e2ca4215 Min value of max_memory is been added
512mb is the minimum memory that is required to launch a partition and
rounding off starts only from value greater that 512mb this decides the
min value needs to be set to the config parameter max_memory.

closes-Bug: 1689267

Change-Id: I493fec40b412feb5303ab7ca9ee2f78c9b9220db
2017-07-04 11:19:04 +00:00
sreeteja dbe45cf03f Added default value to the max_instances parameter of dpm.py
The default value is set to -1, which means that there is no artificial
upper bound for the number of instances on this CPC. The number of
instances is only limited by the number of (free) partitions on this
CPC.
closes-Bug: 1683318

Change-Id: I80f8b36fa21cef313e0b5a821a26877afd1af980
2017-05-29 11:20:40 +00:00