Created
September 18, 2012 07:42
-
-
Save nlamirault/3741840 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 DATA Disks : | |
[ | |
{ | |
"StartCommand": { | |
"vm": { | |
"arch": "x86_64", | |
"bootArgs": "", | |
"bootloader": "HVM", | |
"cpus": 1, | |
"disks": [ | |
{ | |
"deviceId": 1, | |
"id": 777, | |
"mountPoint": "/ifs/cloud/chevilly/clustervmw-prod/primarystorage", | |
"name": "VolumeUn", | |
"path": "ebbc6c03571a4c0896976e3052416e28", | |
"size": 2147483648, | |
"storagePoolType": "NetworkFilesystem", | |
"storagePoolUuid": "d9ddfc82-c3a8-311f-b8c6-57b765af0630", | |
"type": "DATADISK" | |
}, | |
{ | |
"deviceId": 2, | |
"id": 778, | |
"mountPoint": "/ifs/cloud/chevilly/clustervmw-prod/primarystorage", | |
"name": "VolumeDeux", | |
"path": "60d9ed071ec2436e9ab1e1a57764cc7b", | |
"size": 3221225472, | |
"storagePoolType": "NetworkFilesystem", | |
"storagePoolUuid": "d9ddfc82-c3a8-311f-b8c6-57b765af0630", | |
"type": "DATADISK" | |
}, | |
{ | |
"deviceId": 0, | |
"id": 785, | |
"mountPoint": "/ifs/cloud/chevilly/clustervmw-prod/primarystorage", | |
"name": "ROOT-623", | |
"path": "ROOT-623", | |
"size": 9663676416, | |
"storagePoolType": "NetworkFilesystem", | |
"storagePoolUuid": "d9ddfc82-c3a8-311f-b8c6-57b765af0630", | |
"type": "ROOT" | |
}, | |
{ | |
"deviceId": 3, | |
"id": 623, | |
"name": "debian6#was#", | |
"size": 0, | |
"storagePoolType": "ISO", | |
"type": "ISO" | |
} | |
], | |
"enableHA": false, | |
"id": 623, | |
"limitCpuUse": false, | |
"maxRam": 1073741824, | |
"minRam": 1073741824, | |
"name": "i-26-623-VM", | |
"nics": [ | |
{ | |
"broadcastType": "Vlan", | |
"broadcastUri": "vlan://3061", | |
"defaultNic": true, | |
"deviceId": 0, | |
"dns1": "10.200.193.1", | |
"dns2": "10.94.53.3", | |
"gateway": "10.200.64.193", | |
"ip": "10.200.64.204", | |
"isSecurityGroupEnabled": false, | |
"isolationUri": "vlan://3061", | |
"mac": "06:86:3a:00:0d:76", | |
"netmask": "255.255.255.192", | |
"networkRateMbps": 200, | |
"tags": [], | |
"type": "Guest" | |
}, | |
{ | |
"broadcastType": "Vlan", | |
"broadcastUri": "vlan://3062", | |
"defaultNic": false, | |
"deviceId": 1, | |
"dns1": "10.200.193.1", | |
"dns2": "10.94.53.3", | |
"gateway": "10.200.128.193", | |
"ip": "10.200.128.214", | |
"isSecurityGroupEnabled": false, | |
"isolationUri": "vlan://3062", | |
"mac": "06:40:d4:00:0d:91", | |
"netmask": "255.255.255.128", | |
"networkRateMbps": 200, | |
"tags": [], | |
"type": "Guest" | |
}, | |
{ | |
"broadcastType": "Vlan", | |
"broadcastUri": "vlan://3060", | |
"defaultNic": false, | |
"deviceId": 2, | |
"dns1": "10.200.193.1", | |
"dns2": "10.94.53.3", | |
"gateway": "10.200.0.193", | |
"ip": "10.200.0.204", | |
"isSecurityGroupEnabled": false, | |
"isolationUri": "vlan://3060", | |
"mac": "06:20:9c:00:0d:5b", | |
"netmask": "255.255.255.192", | |
"networkRateMbps": 200, | |
"tags": [], | |
"type": "Guest" | |
} | |
], | |
"os": "Debian GNU/Linux 6(64-bit)", | |
"params": { | |
"nic_adapter": "E1000" | |
}, | |
"rebootOnCrash": false, | |
"speed": 1000, | |
"type": "User", | |
"vncPassword": "ea5089ed4fc14a85" | |
}, | |
"wait": 0 | |
} | |
} | |
] | |
and 3 DATA Disks : | |
[ | |
{ | |
"StartCommand": { | |
"vm": { | |
"arch": "x86_64", | |
"bootArgs": "", | |
"bootloader": "HVM", | |
"cpus": 1, | |
"disks": [ | |
{ | |
"deviceId": 1, | |
"id": 777, | |
"mountPoint": "/ifs/cloud/chevilly/clustervmw-prod/primarystorage", | |
"name": "VolumeUn", | |
"path": "ebbc6c03571a4c0896976e3052416e28", | |
"size": 2147483648, | |
"storagePoolType": "NetworkFilesystem", | |
"storagePoolUuid": "d9ddfc82-c3a8-311f-b8c6-57b765af0630", | |
"type": "DATADISK" | |
}, | |
{ | |
"deviceId": 1, | |
"id": 778, | |
"mountPoint": "/ifs/cloud/chevilly/clustervmw-prod/primarystorage", | |
"name": "VolumeDeux", | |
"path": "60d9ed071ec2436e9ab1e1a57764cc7b", | |
"size": 3221225472, | |
"storagePoolType": "NetworkFilesystem", | |
"storagePoolUuid": "d9ddfc82-c3a8-311f-b8c6-57b765af0630", | |
"type": "DATADISK" | |
}, | |
{ | |
"deviceId": 0, | |
"id": 785, | |
"mountPoint": "/ifs/cloud/chevilly/clustervmw-prod/primarystorage", | |
"name": "ROOT-623", | |
"path": "ROOT-623", | |
"size": 9663676416, | |
"storagePoolType": "NetworkFilesystem", | |
"storagePoolUuid": "d9ddfc82-c3a8-311f-b8c6-57b765af0630", | |
"type": "ROOT" | |
}, | |
{ | |
"deviceId": 2, | |
"id": 820, | |
"mountPoint": "/ifs/cloud/chevilly/clustervmw-prod/primarystorage", | |
"name": "VolumeTrois", | |
"path": "3beac67317c24e5291a9ce4e48bce5f3", | |
"size": 3221225472, | |
"storagePoolType": "NetworkFilesystem", | |
"storagePoolUuid": "d9ddfc82-c3a8-311f-b8c6-57b765af0630", | |
"type": "DATADISK" | |
}, | |
{ | |
"deviceId": 3, | |
"id": 623, | |
"name": "debian6#was#", | |
"size": 0, | |
"storagePoolType": "ISO", | |
"type": "ISO" | |
} | |
], | |
"enableHA": false, | |
"id": 623, | |
"limitCpuUse": false, | |
"maxRam": 1073741824, | |
"minRam": 1073741824, | |
"name": "i-26-623-VM", | |
"nics": [ | |
{ | |
"broadcastType": "Vlan", | |
"broadcastUri": "vlan://3061", | |
"defaultNic": true, | |
"deviceId": 0, | |
"dns1": "10.200.193.1", | |
"dns2": "10.94.53.3", | |
"gateway": "10.200.64.193", | |
"ip": "10.200.64.204", | |
"isSecurityGroupEnabled": false, | |
"isolationUri": "vlan://3061", | |
"mac": "06:86:3a:00:0d:76", | |
"netmask": "255.255.255.192", | |
"networkRateMbps": 200, | |
"tags": [], | |
"type": "Guest" | |
}, | |
{ | |
"broadcastType": "Vlan", | |
"broadcastUri": "vlan://3062", | |
"defaultNic": false, | |
"deviceId": 1, | |
"dns1": "10.200.193.1", | |
"dns2": "10.94.53.3", | |
"gateway": "10.200.128.193", | |
"ip": "10.200.128.214", | |
"isSecurityGroupEnabled": false, | |
"isolationUri": "vlan://3062", | |
"mac": "06:40:d4:00:0d:91", | |
"netmask": "255.255.255.128", | |
"networkRateMbps": 200, | |
"tags": [], | |
"type": "Guest" | |
}, | |
{ | |
"broadcastType": "Vlan", | |
"broadcastUri": "vlan://3060", | |
"defaultNic": false, | |
"deviceId": 2, | |
"dns1": "10.200.193.1", | |
"dns2": "10.94.53.3", | |
"gateway": "10.200.0.193", | |
"ip": "10.200.0.204", | |
"isSecurityGroupEnabled": false, | |
"isolationUri": "vlan://3060", | |
"mac": "06:20:9c:00:0d:5b", | |
"netmask": "255.255.255.192", | |
"networkRateMbps": 200, | |
"tags": [], | |
"type": "Guest" | |
} | |
], | |
"os": "Debian GNU/Linux 6(64-bit)", | |
"params": { | |
"nic_adapter": "E1000" | |
}, | |
"rebootOnCrash": false, | |
"speed": 1000, | |
"type": "User", | |
"vncPassword": "ea5089ed4fc14a85" | |
}, | |
"wait": 0 | |
} | |
} | |
] | |
$> diff 2.txt 3.txt | |
22c22 | |
< "deviceId": 2, | |
--- | |
> "deviceId": 1, | |
41a42,52 | |
> }, | |
> { | |
> "deviceId": 2, | |
> "id": 820, | |
> "mountPoint": "/ifs/cloud/chevilly/clustervmw-prod/primarystorage", | |
> "name": "VolumeTrois", | |
> "path": "3beac67317c24e5291a9ce4e48bce5f3", | |
> "size": 3221225472, | |
> "storagePoolType": "NetworkFilesystem", | |
> "storagePoolUuid": "d9ddfc82-c3a8-311f-b8c6-57b765af0630", | |
> "type": "DATADISK" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment