Skip to content

Commit 1640b2d

Browse files
authored
Merge pull request #39 from nmsprime/feature/netbox
NetBox: Configure to allow getting all entries at once via API.
2 parents f4416c8 + 2c94fc8 commit 1640b2d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

SPECS/netbox.spec

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,12 @@ CSRF_TRUSTED_ORIGINS = [
3535
]
3636

3737
# Prohibit creation of duplicate IP addresses
38+
# Default: False
3839
ENFORCE_GLOBAL_UNIQUE = True
40+
41+
# Allow to retrieve all entries at once via API (using ?limit=0)
42+
# Default: 1000
43+
MAX_PAGE_SIZE = None
3944
EOF
4045

4146
sed -e 's/User=netbox/User=nobody/' -e 's/Group=netbox/Group=nobody/' -i contrib/*.service

0 commit comments

Comments
 (0)