Fixed virtual network cards creation #208
No reviewers
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#208
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/chriss/virtual_network_nic_mac_addr"
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?
This patch fixes a mismatch between the way network interfaces are looked for from network cards, and the way they are created:
find the network interface
the creation parameters
This raises an exception when a virtual card has a MAC address:
exists
This patch sets the MAC address on the interface if it exists, no matter if it is virtual or not.