Fix worker test client message.

Update the JSON message used by the test client for the latest
changes.

Change-Id: I1b811621f5593dd9155d9be0f874671b4e7a536f
This commit is contained in:
David Shrewsbury 2012-11-13 10:56:08 -05:00
parent 5d8adb3ff8
commit 16795aac6f

View File

@ -44,17 +44,22 @@ def main():
data = """ data = """
{ {
"hpcs_action": "create", "hpcs_action": "create",
"name": "a-new-loadbalancer", "loadbalancers": [
"nodes": [ {
{ "name": "a-new-loadbalancer",
"address": "10.1.1.1", "protocol": "http",
"port": "80" "nodes": [
}, {
{ "address": "10.1.1.1",
"address": "10.1.1.2", "port": "80"
"port": "81" },
} {
] "address": "10.1.1.2",
"port": "81"
}
]
}
]
} }
""" """