commit | cd06c69b69e4e326980b09eb08396ae06b792915 | [log] [tgz] |
---|---|---|
author | Charles Chan <rascov@gmail.com> | Thu Apr 27 20:46:06 2017 -0700 |
committer | Thomas Vachuska <tom@onlab.us> | Mon May 29 18:19:19 2017 +0000 |
tree | 31a1b606b9661e571760183efa6cd6a77aff81bb | |
parent | 3ca0b2e0278623da892a8cec0cc6d1ccc1d4fb52 [diff] |
Extend host structures to store multiple locations Also update host location format in CLI and REST API Change-Id: I0fbd655f642627dd3eb8a2925f83a3ee016fe4aa
diff --git a/core/common/src/test/resources/org/onosproject/codec/impl/VirtualHost.json b/core/common/src/test/resources/org/onosproject/codec/impl/VirtualHost.json index ab5a81b..818ce0b 100644 --- a/core/common/src/test/resources/org/onosproject/codec/impl/VirtualHost.json +++ b/core/common/src/test/resources/org/onosproject/codec/impl/VirtualHost.json
@@ -6,8 +6,10 @@ "1.1.1.1", "2.2.2.2" ], - "location": { - "elementId": "of:d1", - "port": "1" - } + "locations": [ + { + "elementId": "of:d1", + "port": "1" + } + ] }