Add ability to pass hardware metadata
Related-Prod: PRODX-00000
Change-Id: I4c377558ffe13e28f8ac5ced45262ff67556f46c
diff --git a/de/heat-templates/env/bmt402-mstr1-wrkr3-cmp2-gtw0.yaml b/de/heat-templates/env/bmt402-mstr1-wrkr3-cmp2-gtw0.yaml
index d333f28..3fefa93 100644
--- a/de/heat-templates/env/bmt402-mstr1-wrkr3-cmp2-gtw0.yaml
+++ b/de/heat-templates/env/bmt402-mstr1-wrkr3-cmp2-gtw0.yaml
@@ -94,3 +94,87 @@
# NOTE(vsaienko): give some time to apply changes
sleep 15
}
+ hardware_metadata: |
+ '0c:c4:7a:20:19:8a':
+ write_files:
+ - path: /usr/share/metadata/ceph.yaml
+ content: |
+ storageDevices:
+ - name: sdb
+ role: hdd
+ sizeGb: 450
+ ram: 64
+ cores: 12
+ # The roles will be assigned based on node labels.
+ # roles:
+ # - mon
+ # - mgr
+ ips:
+ - 192.168.122.101
+ crushPath: {}
+
+ '0c:c4:7a:20:19:28':
+ write_files:
+ - path: /usr/share/metadata/ceph.yaml
+ content: |
+ storageDevices:
+ - name: sdb
+ role: hdd
+ sizeGb: 450
+ ram: 64
+ cores: 12
+ ips:
+ - 192.168.122.102
+ crushPath: {}
+ '0c:c4:7a:20:19:48':
+ write_files:
+ - path: /usr/share/metadata/ceph.yaml
+ content: |
+ storageDevices:
+ - name: sdb
+ role: hdd
+ sizeGb: 450
+ ram: 64
+ cores: 12
+ ips:
+ - 192.168.122.103
+ crushPath: {}
+ '0c:c4:7a:20:15:28':
+ write_files:
+ - path: /usr/share/metadata/ceph.yaml
+ content: |
+ storageDevices:
+ - name: sdb
+ role: hdd
+ sizeGb: 450
+ ram: 64
+ cores: 12
+ ips:
+ - 192.168.122.104
+ crushPath: {}
+ '0c:c4:7a:20:19:46':
+ write_files:
+ - path: /usr/share/metadata/ceph.yaml
+ content: |
+ storageDevices:
+ - name: sdb
+ role: hdd
+ sizeGb: 450
+ ram: 64
+ cores: 12
+ ips:
+ - 192.168.122.105
+ crushPath: {}
+ '0c:c4:7a:17:90:66':
+ write_files:
+ - path: /usr/share/metadata/ceph.yaml
+ content: |
+ storageDevices:
+ - name: sdb
+ role: hdd
+ sizeGb: 450
+ ram: 64
+ cores: 12
+ ips:
+ - 192.168.122.106
+ crushPath: {}