Change-Id: I28bbc7a6b5810dfb56b8391a557aecd1fa523385pull/73/head
@@ -355,6 +355,21 @@ Control VM provisioning | |||
image: snapshot.qcow | |||
- cinder-volume: | |||
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: | |||
control: | |||
@@ -381,6 +396,11 @@ Control VM provisioning | |||
rate: | |||
period: '1800' | |||
bytes: '1500' | |||
mac: | |||
nic01: AC:DE:48:AA:AA:AA | |||
nic02: AC:DE:48:AA:AA:BB | |||
Jinja options | |||
------------- |
@@ -51,6 +51,11 @@ salt_control_virt_{{ cluster_name }}_{{ node_name }}: | |||
{%- if node.img_dest is defined %} | |||
img_dest: {{ node.img_dest }} | |||
{%- 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 }}$" | |||
#salt_control_seed_{{ cluster_name }}_{{ node_name }}: |