Olivier Bourdon | 814f636 | 2017-06-12 10:59:06 +0200 | [diff] [blame^] | 1 | {%- from "nova/map.jinja" import controller with context %} |
2 | {%- if controller is defined and controller.get('enabled', False) and controller.cpu_allocation_ratio is defined %} | ||||
3 | remote_agent: | ||||
4 | input: | ||||
5 | openstack: | ||||
6 | cpu_ratio: "{{ controller.cpu_allocation_ratio }}" | ||||
7 | {%- endif %} |