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

pass vlan for mirror port #344

Merged
merged 7 commits into from
Jun 27, 2024

Conversation

kthare10
Copy link
Collaborator

@kthare10 kthare10 self-assigned this Jun 26, 2024
@kthare10 kthare10 requested review from sajith and paul-ruth June 27, 2024 00:36
fabrictestbed_extensions/fablib/interface.py Show resolved Hide resolved
@@ -994,10 +996,11 @@ def config(self):
# manual mode... do nothing
pass

def add_mirror(self, port_name: str, name: str = "mirror"):
def add_mirror(self, port_name: str, name: str = "mirror", vlan: str = None):
Copy link
Member

Choose a reason for hiding this comment

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

Would be helpful to have a docstring. :-)

fabrictestbed_extensions/fablib/interface.py Outdated Show resolved Hide resolved
@kthare10 kthare10 merged commit 5d97e25 into rel1.7 Jun 27, 2024
19 checks passed
@kthare10 kthare10 deleted the 343-support-basic-nics-for-portmirror-service branch June 27, 2024 15:05
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