need to have 'switch' attribute so the switch objects are contained in
the grouping by switch in the UI
Change-Id: I77071c6b0e7bdfc495e0d6708bfa1aec96b10532
Signed-off-by: yayogev <yaronyogev@gmail.com>
spine_json = {
"id": db_spine_id,
"type": "switch",
+ "switch": db_spine_id,
"aci_document": spine
}
# Region name is the same as region id
"id": db_leaf_id,
"ip_address": leaf_data["address"],
"type": "switch",
- "host": db_leaf_id,
+ "switch": db_leaf_id,
"aci_document": leaf_data
}
# Region name is the same as region id