'1 is not a valid choice' when adding interface #191
Labels
No labels
help wanted
need testing
status: accepted
status: discussing
type: bug
type: documentation
type: duplicate
type: enhancement
type:hardware
type: invalid
type: major feature
type: minor feature
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: DGNum/netbox-agent#191
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
when running
netbox_agent -c netbox_agent.yml --register
it breaks with:Expected behavior
It should create the interface with the ip
Configuration file
Environment:
We found there is a switch in how it stores status, so by changing from ' status=1' to 'status="active", we got past that problem
Can confirm.
I have the "active" status
query_params = { 'address': ip, 'status': "active", 'assigned_object_type': self.assigned_object_type, 'assigned_object_id': interface.id }
if there is no ipmi on the server, I can collect the information