-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed as not planned
Closed as not planned
Copy link
Labels
pending closureRequires immediate attention to avoid being closed for inactivityRequires immediate attention to avoid being closed for inactivityseverity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: needs ownerThis issue is tentatively accepted pending a volunteer committed to its implementationThis issue is tentatively accepted pending a volunteer committed to its implementationtopic: OpenAPItype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox version
v3.4.5-dev
Python version
3.9
Steps to Reproduce
- Open the API docs at
/api/docs/
- Find the
/ipam/prefixes/{id}/available-prefixes/
endpoint - See that it says that you can only specify the
prefix_length
in the body
Expected Behavior
That I can use all the fields set on a prefix.
I have successfully tested with the following fields:
{
"prefix_length": 0,
"site": 0,
"role": 0,
"tenant": 0,
"vrf": 0,
"vlan": 0,
"status": "container",
"is_pool": true,
"mark_utilized": true,
"description": "string",
"comments": "string"
}
Observed Behavior
That the API docs shows all the available fields that I can set.
I have been playing around with it locally, so I will be happy to do a pull request for it.
OrKarstoft, ChristianGroentved, Andrei-Predoiu, brondum, dennisc87 and 2 more
Metadata
Metadata
Assignees
Labels
pending closureRequires immediate attention to avoid being closed for inactivityRequires immediate attention to avoid being closed for inactivityseverity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: needs ownerThis issue is tentatively accepted pending a volunteer committed to its implementationThis issue is tentatively accepted pending a volunteer committed to its implementationtopic: OpenAPItype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application