Skip to content

Conversation

@rafalglx
Copy link

@rafalglx rafalglx commented Oct 24, 2025

Fixes #31

Copilot AI review requested due to automatic review settings October 24, 2025 13:05
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for optional additional parameters when creating network bridges in the Linux IP feature implementation. The change allows users to pass extra configuration options to the underlying ip link add command for more flexible bridge creation.

Key Changes:

  • Added additional_parameters parameter to the create_bridge method with a default empty string value
  • Updated the command construction to include the additional parameters in the bridge creation command

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Fixes intel#31
Signed-off-by: Rafał Głombiowski rafalx.glombiowski@intel.com
@rafalglx rafalglx force-pushed the fix__Add_optional_additional_parameters_for_bridge_creation branch from cd5ed6d to 9bd461d Compare October 24, 2025 13:14

def create_bridge(self, bridge_name: str, namespace: Optional[str] = None) -> None:
def create_bridge(
self, bridge_name: str, additional_parameters: Optional[str] = None, namespace: Optional[str] = None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

[Linux] Add optional additional parameters for bridge creation

2 participants