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

[subport] Allow to add Subport without vlan argument #3309

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gord1306
Copy link
Contributor

@gord1306 gord1306 commented Oct 1, 2024

What I did
Allow to add Subport without vlan argument

Why I did it
The alias of subport already contains the VLAN ID information. If no vlan be specified in the input argument, it would use the vlan in the alias as the vlan id

How I verified it
Use swssconfig to generate config to make sure the subport be created

Details if related

The alias of subport already contains the VLAN ID information. If no vlan
be specified in the input argument, it would use the vlan in the alias as
the vlan id

Signed-off-by: gord_chen <[email protected]>
@gord1306 gord1306 requested a review from prsunny as a code owner October 1, 2024 08:47
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.

1 participant