Skip to content
Snippets Groups Projects
Commit a879b9f0 authored by Erik Reid's avatar Erik Reid
Browse files

added coriant path name to response

parent 15c9f627
No related branches found
No related tags found
No related merge requests found
......@@ -255,6 +255,7 @@ SELECT
vcc.service_type,
vcc.peering_type,
vcc.status,
vcc.name,
eq_a.name as equipment_name_a,
eq_b.name as equipment_name_b,
eqc_a.card_id as card_id_a,
......@@ -289,6 +290,7 @@ SELECT
'service_type': row['service_type'],
'peering_type': row['peering_type'],
'status': row['status'],
'name': row['name'],
'a': {
'name': row['equipment_name_a'],
'card id': row['card_id_a'],
......
......@@ -75,6 +75,7 @@ CORIANT_PATH_METADATA = {
'service_type': {"type": "string"},
'peering_type': {"type": "string"},
'status': {"type": "string"},
'name': {"type": "string"},
'a': {"$ref": "#/definitions/endpoint"},
'b': {"$ref": "#/definitions/endpoint"}
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment