Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NEW] Linux bridge configuration support for virtual networks #1

Open
IceManGreen opened this issue Mar 2, 2023 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@IceManGreen
Copy link
Contributor

Is your feature request related to a problem? Please describe.
When a new network is created, you cannot chose what bridge it will use and is bound to libvirt's virbr0 bridge by default.
This is inconvenient in some cases where an external DHCP (other than the libvirt's internal dhcp) is related to another bridge (and so another host interface) and has to be used for new VMs IPs management.

Describe the solution you'd like
A new configuration for Freyja where a bridge can be OPTIONALLY configured for a network. Default behavior will attach the new network to virbr0.

Additional context
Actual behavior :

freyja network info ctrl-plane-test
ctrl-plane-test:
  Active: 'yes'
  Autostart: 'yes'
  Bridge: virbr0  # SHOULD BE chosen by configuration, or default
  Name: ctrl-plane-test
  Persistent: 'yes'
  UUID: 1dd6a6b4-2b3b-46e1-acf3-6051bfd023c1

New conf proposition :

---
version: "v0.1.0-beta"
hosts:
  - image: "$HOME/Images/debian11"
    os: "debian11"
    hostname: "freyja" 
    networks:
      - name: "ctrl-plane-test"
        bridge: "br-ctrl-plane"
        address: "52:54:02:aa:aa:bb"
@IceManGreen IceManGreen added the enhancement New feature or request label Mar 2, 2023
@IceManGreen IceManGreen self-assigned this Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant