Change-Id: I28bbc7a6b5810dfb56b8391a557aecd1fa523385pull/73/head
image: snapshot.qcow | image: snapshot.qcow | ||||
- cinder-volume: | - cinder-volume: | ||||
size: 2048 | size: 2048 | ||||
nic: | |||||
control: | |||||
- name: nic01 | |||||
bridge: br-pxe | |||||
model: virtio | |||||
- name: nic02 | |||||
bridge: br-cp | |||||
model: virtio | |||||
- name: nic03 | |||||
bridge: br-store-front | |||||
model: virtio | |||||
- name: nic04 | |||||
bridge: br-public | |||||
model: virtio | |||||
salt: | salt: | ||||
control: | control: | ||||
rate: | rate: | ||||
period: '1800' | period: '1800' | ||||
bytes: '1500' | bytes: '1500' | ||||
mac: | |||||
nic01: AC:DE:48:AA:AA:AA | |||||
nic02: AC:DE:48:AA:AA:BB | |||||
Jinja options | Jinja options | ||||
------------- | ------------- |
{%- if node.img_dest is defined %} | {%- if node.img_dest is defined %} | ||||
img_dest: {{ node.img_dest }} | img_dest: {{ node.img_dest }} | ||||
{%- endif %} | {%- endif %} | ||||
{%- if node.mac is defined %} | |||||
{%- for mac_name, mac in node.mac.items() %} | |||||
{{ mac_name }}_mac: {{ mac }} | |||||
{%- endfor %} | |||||
{%- endif %} | |||||
- unless: virsh list --all --name| grep -E "^{{ node_name }}.{{ cluster.domain }}$" | - unless: virsh list --all --name| grep -E "^{{ node_name }}.{{ cluster.domain }}$" | ||||
#salt_control_seed_{{ cluster_name }}_{{ node_name }}: | #salt_control_seed_{{ cluster_name }}_{{ node_name }}: |