diff options
| author | jc0b <j@jc0b.computer> | 2020-08-05 18:37:42 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-08-24 19:48:49 +0200 |
| commit | c387fc718d0003ce39e727aa51aaf1b7fea7b846 (patch) | |
| tree | 96ca2b08ce4488e22dc4509642d5215bbfa3c3ff /database/mongo-init-opendc-db.sh | |
| parent | c5f7d4c20a12d226fdae3cd6806b67c967bc3277 (diff) | |
Added prefabs for HPC
Diffstat (limited to 'database/mongo-init-opendc-db.sh')
| -rw-r--r-- | database/mongo-init-opendc-db.sh | 182 |
1 files changed, 91 insertions, 91 deletions
diff --git a/database/mongo-init-opendc-db.sh b/database/mongo-init-opendc-db.sh index 3a4c4e9b..28a75f5c 100644 --- a/database/mongo-init-opendc-db.sh +++ b/database/mongo-init-opendc-db.sh @@ -35,95 +35,95 @@ $MONGO_CMD --eval 'db.traces.update( {"upsert": true} );' -echo 'Loading test data' +# echo 'Loading test data' -$MONGO_CMD --eval 'db.prefabs.insertOne( - { - "type": "rack", - "name": "testRack3", - "size": 42, - "depth": 42, - "author": "Jacob Burley", - "visibility": "public", - "children": [ - { - "type": "switch", - "ports": 48, - "powerDraw": 150, - "psus": 1, - "size": 1 - }, - { - "type": "chassis", - "size": 4, - "children": [ - { - "type": "mainboard", - "sockets": 1, - "dimmSlots": 4, - "nics": 1, - "pcieSlots": 2, - "children": [ - { - "type": "CPU", - "coreCount": 4, - "SMT": true, - "baseClk": 3.5, - "boostClk": 3.9, - "brand": "Intel", - "SKU": "i7-3770K", - "socket": "LGA1155", - "TDP": 77 - }, - { - "type": "DDR3", - "capacity": 4096, - "memfreq": 1333, - "ecc": false - }, - { - "type": "DDR3", - "capacity": 4096, - "memfreq": 1333, - "ecc": false - }, - { - "type": "DDR3", - "capacity": 4096, - "memfreq": 1333, - "ecc": false - }, - { - "type": "DDR3", - "capacity": 4096, - "memfreq": 1333, - "ecc": false - }, - { - "type": "GPU", - "VRAM": 8192, - "coreCount": 2304, - "brand": "AMD", - "technologies": "OpenCL", - "pcieGen": "3x16", - "tdp": 169, - "slots": 2 - } - ] - }, - { - "type": "PSU", - "wattage": 550, - "ac": true - }, - { - "type": "disk", - "size": 2000, - "interface": "SATA", - "media": "flash", - "formFactor": 2.5 - } - ] - } - ] - });' +# $MONGO_CMD --eval 'db.prefabs.insertOne( +# { +# "type": "rack", +# "name": "testRack3", +# "size": 42, +# "depth": 42, +# "author": "Jacob Burley", +# "visibility": "public", +# "children": [ +# { +# "type": "switch", +# "ports": 48, +# "powerDraw": 150, +# "psus": 1, +# "size": 1 +# }, +# { +# "type": "chassis", +# "size": 4, +# "children": [ +# { +# "type": "mainboard", +# "sockets": 1, +# "dimmSlots": 4, +# "nics": 1, +# "pcieSlots": 2, +# "children": [ +# { +# "type": "CPU", +# "coreCount": 4, +# "SMT": true, +# "baseClk": 3.5, +# "boostClk": 3.9, +# "brand": "Intel", +# "SKU": "i7-3770K", +# "socket": "LGA1155", +# "TDP": 77 +# }, +# { +# "type": "DDR3", +# "capacity": 4096, +# "memfreq": 1333, +# "ecc": false +# }, +# { +# "type": "DDR3", +# "capacity": 4096, +# "memfreq": 1333, +# "ecc": false +# }, +# { +# "type": "DDR3", +# "capacity": 4096, +# "memfreq": 1333, +# "ecc": false +# }, +# { +# "type": "DDR3", +# "capacity": 4096, +# "memfreq": 1333, +# "ecc": false +# }, +# { +# "type": "GPU", +# "VRAM": 8192, +# "coreCount": 2304, +# "brand": "AMD", +# "technologies": "OpenCL", +# "pcieGen": "3x16", +# "tdp": 169, +# "slots": 2 +# } +# ] +# }, +# { +# "type": "PSU", +# "wattage": 550, +# "ac": true +# }, +# { +# "type": "disk", +# "size": 2000, +# "interface": "SATA", +# "media": "flash", +# "formFactor": 2.5 +# } +# ] +# } +# ] +# });' |
