Added sample_environment.json

This commit is contained in:
Vitaly Kramskikh 2012-09-05 14:48:44 +04:00 committed by BeachHead Jenkins CI
parent b59202d3ad
commit ee280ec801

View File

@ -0,0 +1,290 @@
[
{
"pk": 1,
"model": "nailgun.release",
"fields": {
"name": "Essex",
"version": "1.2.3",
"description": "Essex release description",
"networks_metadata": [
{"name": "floating", "access": "public"},
{"name": "fixed", "access": "private"},
{"name": "admin", "access": "private"}
]
}
},
{
"pk": 1,
"model": "nailgun.cluster",
"fields": {
"name": "Production",
"release": 1
}
},
{
"pk": 2,
"model": "nailgun.cluster",
"fields": {
"name": "Staging",
"release": 1
}
},
{
"model": "nailgun.role",
"pk": 1,
"fields": {
"name": "Controller",
"release": 1
}
},
{
"model": "nailgun.role",
"pk": 2,
"fields": {
"name": "Compute",
"release": 1
}
},
{
"pk": 1,
"model": "nailgun.node",
"fields": {
"status": "ready",
"name": "",
"manufacturer": "Dell",
"platform_name": "Model-1",
"roles": [
1
],
"ip": "",
"fqdn": "",
"cluster": 1,
"mac": "C0:8D:DF:52:76:F1",
"meta": {
"block_device": {
"ram0": {
"removable": "0",
"size": "1228800"
},
"sda": {
"vendor": "ATA",
"removable": "0",
"rev": "0.14",
"state": "running",
"timeout": "30",
"model": "QEMU HARDDISK",
"size": "16777216"
}
},
"interfaces": [
{
"addresses": {
"fe80::5054:ff:fe28:16c3": {
"prefixlen": "64",
"scope": "Link",
"family": "inet6"
},
"52:54:00:28:16:C3": {
"family": "lladdr"
},
"10.20.0.229": {
"prefixlen": "24",
"scope": "Global",
"netmask": "255.255.255.0",
"broadcast": "10.20.0.255",
"family": "inet"
}
},
"name": "eth0"
},
{
"default_interface": "eth0"
},
{
"default_gateway": "10.20.0.2"
}
],
"cpu": {
"real": 0,
"0": {
"family": "6",
"vendor_id": "GenuineIntel",
"mhz": "3192.766",
"stepping": "3",
"cache_size": "4096 KB",
"flags": [
"fpu",
"lahf_lm"
],
"model": "2",
"model_name": "QEMU Virtual CPU version 0.14.1"
},
"total": 1
},
"memory": {
"anon_pages": "16420kB",
"vmalloc_total": "34359738367kB",
"bounce": "0kB",
"active": "28576kB",
"inactive": "20460kB",
"nfs_unstable": "0kB",
"vmalloc_used": "7160kB",
"total": "1019548kB",
"slab": "16260kB",
"buffers": "4888kB",
"slab_unreclaim": "7180kB",
"swap": {
"cached": "0kB",
"total": "0kB",
"free": "0kB"
},
"dirty": "84kB",
"writeback": "0kB",
"vmalloc_chunk": "34359729156kB",
"free": "322008kB",
"page_tables": "1328kB",
"cached": "27728kB",
"commit_limit": "509772kB",
"committed_as": "54864kB",
"mapped": "5380kB",
"slab_reclaimable": "9080kB"
},
"serial": "Unknown",
"networks": {
"floating": {
"access": "public",
"device": "eth0",
"netmask": "255.255.255.0",
"vlan_id": 300,
"address": "172.18.0.2"
},
"admin": {
"access": "private",
"device": "eth0",
"netmask": "255.255.255.0",
"vlan_id": 100,
"address": "10.0.0.2"
},
"storage": {
"access": "private",
"device": "eth0",
"netmask": "255.255.255.0",
"vlan_id": 200,
"address": "10.0.1.2"
}
}
}
}
},
{
"pk": 2,
"model": "nailgun.node",
"fields": {
"status": "error",
"name": "",
"manufacturer": "HP",
"platform_name": "Model-2",
"roles": [
1,
2
],
"ip": "",
"fqdn": "",
"cluster": 1,
"mac": "46:FC:5A:0C:F9:51"
}
},
{
"pk": 3,
"model": "nailgun.node",
"fields": {
"status": "deploying",
"name": "",
"manufacturer": "OpenVZ",
"platform_name": "Model-3",
"roles": [
2
],
"ip": "",
"fqdn": "",
"cluster": 1,
"mac": "2E:04:78:86:69:1F"
}
},
{
"pk": 4,
"model": "nailgun.node",
"fields": {
"status": "offline",
"name": "",
"manufacturer": "",
"platform_name": "No-Manufacturer",
"roles": [],
"ip": "",
"fqdn": "",
"cluster": 1,
"mac": "BC:10:A1:44:94:A0"
}
},
{
"pk": 5,
"model": "nailgun.node",
"fields": {
"status": "ready",
"name": "Node with name",
"manufacturer": "VMWare",
"platform_name": "",
"roles": [],
"ip": "",
"fqdn": "",
"cluster": 1,
"mac": "B6:17:54:39:27:EA"
}
},
{
"pk": 6,
"model": "nailgun.node",
"fields": {
"status": "ready",
"name": "Node without cluster",
"manufacturer": "",
"platform_name": "",
"roles": [],
"ip": "",
"fqdn": "",
"cluster": null,
"mac": "47:33:22:46:9B:92"
}
},
{
"pk": 7,
"model": "nailgun.node",
"fields": {
"status": "ready",
"name": "Another node without cluster",
"manufacturer": "QEMU",
"platform_name": "",
"roles": [],
"ip": "",
"fqdn": "",
"cluster": null,
"mac": "84:67:BA:CA:69:95"
}
},
{
"pk": 8,
"model": "nailgun.node",
"fields": {
"status": "ready",
"name": "node virtualbox",
"manufacturer": "virtualbox",
"platform_name": "",
"roles": [],
"ip": "",
"fqdn": "",
"cluster": null,
"mac": "3A:10:EC:04:9A:DE"
}
}
]