add another machine json

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
This commit is contained in:
Adam Stokes 2015-08-31 09:37:39 -04:00
parent e1739bb615
commit 4ff83aa99e
1 changed files with 285 additions and 0 deletions

285
examples/tribaal.json Normal file
View File

@ -0,0 +1,285 @@
{
"network": {
"eth0": {
"hardware": {
"DEVPATH": "/devices/virtual/net/eth0",
"IFINDEX": "7",
"INTERFACE": "eth0",
"SUBSYSTEM": "net",
"attrs": {
"addr_assign_type": "3",
"addr_len": "6",
"address": "00:16:3e:05:f2:b0",
"broadcast": "ff:ff:ff:ff:ff:ff",
"carrier": "1",
"carrier_changes": "2",
"dev_id": "0x0",
"dev_port": "0",
"dormant": "0",
"duplex": "full",
"flags": "0x1003",
"gro_flush_timeout": "0",
"ifalias": "",
"ifindex": "7",
"iflink": "7",
"link_mode": "0",
"mtu": "1500",
"name_assign_type": "4",
"netdev_group": "0",
"operstate": "up",
"phys_port_id": null,
"phys_switch_id": null,
"speed": "10000",
"subsystem": "net",
"tx_queue_len": "1000",
"type": "1",
"uevent": "INTERFACE=eth0\nIFINDEX=7"
}
},
"ip": {
"addr": "10.0.3.124",
"broadcast": "10.0.3.255",
"netmask": "255.255.255.0"
},
"type": "eth"
},
"lo": {
"hardware": {
"DEVPATH": "/devices/virtual/net/lo",
"IFINDEX": "1",
"INTERFACE": "lo",
"SUBSYSTEM": "net",
"attrs": {
"addr_assign_type": "0",
"addr_len": "6",
"address": "00:00:00:00:00:00",
"broadcast": "00:00:00:00:00:00",
"carrier": "1",
"carrier_changes": "0",
"dev_id": "0x0",
"dev_port": "0",
"dormant": "0",
"duplex": null,
"flags": "0x9",
"gro_flush_timeout": "0",
"ifalias": "",
"ifindex": "1",
"iflink": "1",
"link_mode": "0",
"mtu": "65536",
"name_assign_type": null,
"netdev_group": "0",
"operstate": "unknown",
"phys_port_id": null,
"phys_switch_id": null,
"speed": null,
"subsystem": "net",
"tx_queue_len": "0",
"type": "772",
"uevent": "INTERFACE=lo\nIFINDEX=1"
}
},
"ip": {
"addr": "127.0.0.1",
"netmask": "255.0.0.0",
"peer": "127.0.0.1"
},
"type": "lo"
}
},
"storage": {
"/dev/bcache0": {
"DEVNAME": "/dev/bcache0",
"DEVPATH": "/devices/virtual/block/bcache0",
"DEVTYPE": "disk",
"MAJOR": "251",
"MINOR": "0",
"SUBSYSTEM": "block",
"attrs": {
"alignment_offset": "0",
"bcache": null,
"bdi": null,
"capability": "10",
"dev": "251:0",
"discard_alignment": "0",
"ext_range": "1",
"inflight": " 0 0",
"range": "1",
"removable": "0",
"ro": "0",
"size": "2000397877248",
"stat": " 118340 0 5059178 94484 201086 0 5860600 910672 0 133096 1005236",
"subsystem": "block",
"uevent": "MAJOR=251\nMINOR=0\nDEVNAME=bcache0\nDEVTYPE=disk"
}
},
"/dev/sda": {
"DEVNAME": "/dev/sda",
"DEVPATH": "/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda",
"DEVTYPE": "disk",
"MAJOR": "8",
"MINOR": "0",
"SUBSYSTEM": "block",
"attrs": {
"alignment_offset": "0",
"bdi": null,
"capability": "50",
"dev": "8:0",
"device": null,
"discard_alignment": "0",
"events": "",
"events_async": "",
"events_poll_msecs": "-1",
"ext_range": "256",
"inflight": " 0 0",
"range": "16",
"removable": "0",
"ro": "0",
"size": "256060514304",
"stat": " 197956 4626 10095451 136508 82998 160783 6481663 518564 0 143796 655656",
"subsystem": "block",
"uevent": "MAJOR=8\nMINOR=0\nDEVNAME=sda\nDEVTYPE=disk"
}
},
"/dev/sda1": {
"DEVNAME": "/dev/sda1",
"DEVPATH": "/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda1",
"DEVTYPE": "partition",
"MAJOR": "8",
"MINOR": "1",
"SUBSYSTEM": "block",
"attrs": {
"alignment_offset": "0",
"dev": "8:1",
"discard_alignment": "0",
"inflight": " 0 0",
"partition": "1",
"ro": "0",
"size": "4094689280",
"start": "2048",
"stat": " 102 0 1944 164 0 0 0 0 0 164 164",
"subsystem": "block",
"uevent": "MAJOR=8\nMINOR=1\nDEVNAME=sda1\nDEVTYPE=partition"
}
},
"/dev/sda2": {
"DEVNAME": "/dev/sda2",
"DEVPATH": "/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda2",
"DEVTYPE": "partition",
"MAJOR": "8",
"MINOR": "2",
"SUBSYSTEM": "block",
"attrs": {
"alignment_offset": "0",
"dev": "8:2",
"discard_alignment": "0",
"inflight": " 0 0",
"partition": "2",
"ro": "0",
"size": "26708279296",
"start": "7999488",
"stat": " 50380 3804 2602898 67292 6342 8616 1317944 297324 0 23584 364612",
"subsystem": "block",
"uevent": "MAJOR=8\nMINOR=2\nDEVNAME=sda2\nDEVTYPE=partition"
}
},
"/dev/sda3": {
"DEVNAME": "/dev/sda3",
"DEVPATH": "/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda3",
"DEVTYPE": "partition",
"MAJOR": "8",
"MINOR": "3",
"SUBSYSTEM": "block",
"attrs": {
"alignment_offset": "0",
"dev": "8:3",
"discard_alignment": "0",
"inflight": " 0 0",
"partition": "3",
"ro": "0",
"size": "225256144896",
"start": "60164096",
"stat": " 147370 822 7488897 69040 76646 152167 5163719 221212 0 130124 290208",
"subsystem": "block",
"uevent": "MAJOR=8\nMINOR=3\nDEVNAME=sda3\nDEVTYPE=partition"
}
},
"/dev/sdb": {
"DEVNAME": "/dev/sdb",
"DEVPATH": "/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sdb",
"DEVTYPE": "disk",
"MAJOR": "8",
"MINOR": "16",
"SUBSYSTEM": "block",
"attrs": {
"alignment_offset": "0",
"bdi": null,
"capability": "50",
"dev": "8:16",
"device": null,
"discard_alignment": "0",
"events": "",
"events_async": "",
"events_poll_msecs": "-1",
"ext_range": "256",
"inflight": " 0 0",
"range": "16",
"removable": "0",
"ro": "0",
"size": "2000398934016",
"stat": " 4430 73 278090 38788 35846 1471 3375701 50368 0 32324 89148",
"subsystem": "block",
"uevent": "MAJOR=8\nMINOR=16\nDEVNAME=sdb\nDEVTYPE=disk"
}
},
"/dev/sdb1": {
"DEVNAME": "/dev/sdb1",
"DEVPATH": "/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb1",
"DEVTYPE": "partition",
"MAJOR": "8",
"MINOR": "17",
"SUBSYSTEM": "block",
"attrs": {
"alignment_offset": "0",
"dev": "8:17",
"discard_alignment": "0",
"inflight": " 0 0",
"partition": "1",
"ro": "0",
"size": "2000397885440",
"start": "2048",
"stat": " 4344 73 276522 38752 26196 1471 3375701 43504 0 25868 82248",
"subsystem": "block",
"uevent": "MAJOR=8\nMINOR=17\nDEVNAME=sdb1\nDEVTYPE=partition"
}
},
"/dev/sr0": {
"DEVNAME": "/dev/sr0",
"DEVPATH": "/devices/pci0000:00/0000:00:1f.2/ata3/host2/target2:0:0/2:0:0:0/block/sr0",
"DEVTYPE": "disk",
"MAJOR": "11",
"MINOR": "0",
"SUBSYSTEM": "block",
"attrs": {
"alignment_offset": "0",
"bdi": null,
"capability": "119",
"dev": "11:0",
"device": null,
"discard_alignment": "0",
"events": "media_change eject_request",
"events_async": "",
"events_poll_msecs": "2000",
"ext_range": "1",
"inflight": " 0 0",
"range": "1",
"removable": "1",
"ro": "0",
"size": "1073741312",
"stat": " 0 0 0 0 0 0 0 0 0 0 0",
"subsystem": "block",
"uevent": "MAJOR=11\nMINOR=0\nDEVNAME=sr0\nDEVTYPE=disk"
}
}
}
}