Sort out the hosts.json.

Make it clean and tidy, and easy to work with the add node capacity
scripts.

Change-Id: Ifc3463e6f56bbe3dc287a5fe5a58ed2a2ed96d83
This commit is contained in:
Weezer Su 2017-01-06 12:12:43 -06:00
parent 5b93b9a2c2
commit 4f64e92864

View File

@ -1,9 +1,5 @@
{ {
"cinder": { "infra": {
"cinder1": "140",
"cinder2": "141"
},
"infra": {
"infra1": "100", "infra1": "100",
"infra2": "101", "infra2": "101",
"infra3": "102" "infra3": "102"
@ -12,12 +8,16 @@
"logging1": "110" "logging1": "110"
}, },
"nova_compute": { "nova_compute": {
"compute1": "130", "compute1": "120",
"compute2": "131" "compute2": "121"
},
"cinder": {
"cinder1": "130",
"cinder2": "131"
}, },
"swift": { "swift": {
"swift1": "150", "swift1": "140",
"swift2": "151", "swift2": "141",
"swift3": "152" "swift3": "142"
} }
} }