Commit 2fae7346 authored by Stauros Kroustouris's avatar Stauros Kroustouris

remove site specific query for interfaces

parent 2686cc16
......@@ -19,7 +19,7 @@ def peer_ifces(request, peer_id):
for ifce in ifces:
response.append(ifce.to_dict())
ifces = Ifce.objects.filter(description__contains=peer.peer_tag).filter(description__contains='PTSAL').exclude(name__contains='.')
ifces = Ifce.objects.filter(description__contains=peer.peer_tag).exclude(name__contains='.')
for ifce in ifces:
response.append({
'node': ifce.node.name,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment