Commit 481bf445 authored by Shashi Guruprasad's avatar Shashi Guruprasad
Browse files

Added cpu speed and ram features for pnodes when sim nodes are being mapped.

Previously this happened only if jail virt nodes were requested.
parent 0f40da70
......@@ -350,6 +350,9 @@ foreach $node (keys(%nodes)) {
else {
push @types, "sim:$simnode_capacity";
# Add CPU and RAM information
push @features, "?+cpu:$cpu_speed";
push @features, "?+ram:$ram";
push @types, "*lan:*";
# Add trivial bw spec.
push @flags, "trivial_bw:100000";
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment