1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

remove source addr from queries that don't need it

This commit is contained in:
checktheroads
2019-11-17 16:35:26 -07:00
parent cbb225b3fb
commit ea83cb4e99

View File

@ -224,8 +224,7 @@ class Construct:
{
"query_type": "bgp_community",
"vrf": afi_attr.vrf_name,
"afi": query_protocol,
"source": afi_attr.source_address.compressed,
"afi": afi,
"target": self.query_target,
}
)
@ -274,8 +273,7 @@ class Construct:
{
"query_type": "bgp_aspath",
"vrf": afi_attr.vrf_name,
"afi": query_protocol,
"source": afi_attr.source_address.compressed,
"afi": afi,
"target": self.query_target,
}
)