37ad5d3ebe
JSON formatting can be optimized for size or for readability. The JSON files in openstack-manuals favor readability (for obvious reasons). Unlike typical JSON formatted for reading (see Wikipedia article on JSON, or Python's JSON output), however, the files have no space after the name-separator, making them somewhat harder to read. This changeset adds the missing space after the name-separator. It also changes indenting from 3 to 4 spaces (matching our conventions for Python and shell code). The order of keys (which doesn't matter for the software parser) has been preserved, because the order may be intentional (to help human readers). For instance: "uuid":"d8e02d56-2648-49a3-bf97-6be8f1204f38", becomes: "uuid": "d8e02d56-2648-49a3-bf97-6be8f1204f38", It also changes a few overly long empty sets. For instance: "volume:create":[ ], becomes: "volume:create": [], Change-Id: I559907e72578e6fb1a1a6895bd005ad9b22210d7
14 lines
520 B
JSON
14 lines
520 B
JSON
{
|
|
"uuid": "d8e02d56-2648-49a3-bf97-6be8f1204f38",
|
|
"availability_zone": "nova",
|
|
"hostname": "test.novalocal",
|
|
"launch_index": 0,
|
|
"meta": {
|
|
"priority": "low",
|
|
"role": "webserver"
|
|
},
|
|
"public_keys": {
|
|
"mykey": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDYVEprvtYJXVOBN0XNKVVRNCRX6BlnNbI+USLGais1sUWPwtSg7z9K9vhbYAPUZcq8c/s5S9dg5vTHbsiyPCIDOKyeHba4MUJq8Oh5b2i71/3BISpyxTBH/uZDHdslW2a+SrPDCeuMMoss9NFhBdKtDkdG9zyi0ibmCP6yMdEX8Q== Generated by Nova\n"
|
|
},
|
|
"name": "test"
|
|
} |