mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 20:02:38 +09:00
feature #1712: Default for DEFAULT_DS_SCHED
This commit is contained in:
1 parent
7967d8c428
commit
9b223bb6d5
1 file changed
+8
@@ -41,6 +41,7 @@ void SchedulerTemplate::set_conf_default()
|
||||
# MAX_DISPATCH
|
||||
# MAX_HOST
|
||||
# DEFAULT_SCHED
|
||||
# DEFAULT_DS_SCHED
|
||||
# LIVE_RESCHEDS
|
||||
# HYPERVISOR_MEM
|
||||
# LOG
|
||||
@@ -89,6 +90,13 @@ void SchedulerTemplate::set_conf_default()
|
||||
vattribute = new VectorAttribute("DEFAULT_SCHED",vvalue);
|
||||
conf_default.insert(make_pair(vattribute->name(),vattribute));
|
||||
|
||||
//DEFAULT_DS_SCHED
|
||||
vvalue.clear();
|
||||
vvalue.insert(make_pair("POLICY","1"));
|
||||
|
||||
vattribute = new VectorAttribute("DEFAULT_DS_SCHED",vvalue);
|
||||
conf_default.insert(make_pair(vattribute->name(),vattribute));
|
||||
|
||||
//HYPERVISOR_MEM
|
||||
value = "0.1";
|
||||
|
||||
|
||||
Reference in new issue
Block a user