nautobot-app-firewall-models icon indicating copy to clipboard operation
nautobot-app-firewall-models copied to clipboard

'RestrictedQuerySet' object has no attribute 'net_in'

Open lvrfrc87 opened this issue 5 months ago • 3 comments

Environment

  • Python version: 3.11.9
  • Nautobot version: 2.2.7
  • nautobot-firewall-models version: 2.0.3
  • PSQL version: 15.4

Expected Behavior

When using /api/plugins/firewall/ip-range/?start_address=70.70.70.0 I would expect Nautobot to return all the IP in IP Range page that are within that range This also happening with start_address and end_address as per screenshot

Observed Behavior

{
  "error": "'RestrictedQuerySet' object has no attribute 'net_in'",
  "exception": "AttributeError",
  "nautobot_version": "2.2.7",
  "python_version": "3.11.9"
}

This is happing in UI as well as API

Steps to Reproduce

Screenshot 2024-09-10 at 15 09 34

lvrfrc87 avatar Sep 10 '24 14:09 lvrfrc87