Skip to content

Get MAC OUI from settings.py#611

Merged
catborise merged 1 commit intoretspen:masterfrom
MisterBlueBear:MAC_OUI
Oct 20, 2023
Merged

Get MAC OUI from settings.py#611
catborise merged 1 commit intoretspen:masterfrom
MisterBlueBear:MAC_OUI

Conversation

@MisterBlueBear
Copy link
Copy Markdown
Contributor

@MisterBlueBear MisterBlueBear commented Oct 18, 2023

Removed the hard coded MAC OUI in the code and instead fetches the OUI from settings.py

If independent instances of WebVirtCloud (or any libvirt) exists on the same subnet and VMs are configured to use a bridge interface, this could lead to duplicate MACs on the same subnet (low probability, but still possible).
This change gives the user a choice to define an OUI.

@catborise
Copy link
Copy Markdown
Collaborator

It is a standart Kvm ethernet MAC prefix. It should not be problem. This prefix defines that Ethernet is a Kvm vm Ethernet. But your suggestion does not Break anything.

@catborise catborise merged commit 9a67591 into retspen:master Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants