summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/maas_tpl/maas-nodes.yaml
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-07-25 12:47:44 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2017-07-25 14:46:38 -0500
commitbba15961e7ffeaa27bb1d0f9c2f975a7f187fdd5 (patch)
tree7675d6b9efbc5e81bf45eb740899b0040d03046e /ci/config_tpl/maas_tpl/maas-nodes.yaml
parent104b79844106eb6961b361b70071ad70f0dd9c95 (diff)
modified to accomodate OCL
Change-Id: Ib8227c4050b51adc2c466511bedf47e45a817db1 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/config_tpl/maas_tpl/maas-nodes.yaml')
-rw-r--r--ci/config_tpl/maas_tpl/maas-nodes.yaml28
1 files changed, 0 insertions, 28 deletions
diff --git a/ci/config_tpl/maas_tpl/maas-nodes.yaml b/ci/config_tpl/maas_tpl/maas-nodes.yaml
deleted file mode 100644
index e32dd7ca..00000000
--- a/ci/config_tpl/maas_tpl/maas-nodes.yaml
+++ /dev/null
@@ -1,28 +0,0 @@
-{% for node in lab.racks[0].nodes %}
- - interfaces:
-{% for nic in node.nics %}
- - mac_address: {{ nic.mac[0] }}
- mode: auto
- name: {{ nic.ifname }}
-{% endfor %}
-{% if node.architecture=='x86_64' %}
- architecture: amd64/generic
-{% endif %}
- mac_addresses:
-{% for nic in node.nics %}
- - {{ nic.mac[0] }}
-{% endfor %}
- name: {{ node.name }}
- power:
-{% if node.power.type=='ipmi' %}
- address: {{ node.power.address }}
- driver: LAN_2_0
- pass: {{ node.power.pass }}
- type: ipmi
- user: {{ node.power.user }}
-{% elif node.power.type=='wakeonlan' %}
- type: ether_wake
- mac_address: {{ node.power.mac_address }}
-{% endif %}
- tags: {{ ' '.join(node.roles) }}
-{% endfor %}