forked from mirrors/thatmattlove-hyperglass
remove source addr from queries that don't need it
This commit is contained in:
parent
cbb225b3fb
commit
ea83cb4e99
1 changed files with 2 additions and 4 deletions
|
|
@ -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,
|
||||
}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue