Skip to content
Snippets Groups Projects
Commit 576444b8 authored by Robert Latta's avatar Robert Latta
Browse files

added parent and child circuit types to circuit_hierachy_query; added circuit...

added parent and child circuit types to circuit_hierachy_query; added circuit absid to coriant path response
parent ac824d4a
No related branches found
No related tags found
No related merge requests found
......@@ -12,9 +12,11 @@ geant_lambda_sql = """SELECT
circuit_hierarchy_query = """SELECT
pc.name AS parent_circuit,
pc.absid AS parent_circuit_id,
pc.circuit_type AS parent_circuit_type,
LOWER(pc.status) AS parent_circuit_status,
cc.name AS child_circuit,
cc.absid AS child_circuit_id,
cc.circuit_type AS child_circuit_type,
LOWER(cc.status) AS child_circuit_status,
cg.segment_group AS segment_group
FROM circuit_glue cg
......@@ -350,6 +352,7 @@ SELECT
}
return {
'id': row['absid'],
'category': row['category'],
'circuit_type': row['circuit_type'],
'service_type': row['service_type'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment