|
for pol in instance.peer_group.import_policies.difference( |
|
for pol in instance.peer_group.export_policies.difference( |
The intent of these lines was to only show session policies that were not in the peer group. However in my testing this behavior was implemented in reverse. (The difference should be reversed). Will submit PR when time allows.
netbox-bgp/netbox_bgp/api/serializers.py
Line 165 in b620b72
netbox-bgp/netbox_bgp/api/serializers.py
Line 175 in b620b72
The intent of these lines was to only show session policies that were not in the peer group. However in my testing this behavior was implemented in reverse. (The difference should be reversed). Will submit PR when time allows.