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

STP: Add stp.port_type configuration for Cumulus 4.x/NVUE, EOS and Dell OS10 #1617

Open
wants to merge 18 commits into
base: dev
Choose a base branch
from

Conversation

jbemmel
Copy link
Collaborator

@jbemmel jbemmel commented Dec 6, 2024

  • Option to auto-configure stp.port_type as 'edge' for ports with only hosts connected, default disabled
  • Feature flag stp.port_type (not supported by FRR)

@ipspace
Copy link
Owner

ipspace commented Dec 6, 2024

Would it be too hard to finish your work before opening a pull request? Nobody is interested in notifications about your interim fixes.

@jbemmel
Copy link
Collaborator Author

jbemmel commented Dec 6, 2024

Would it be too hard to finish your work before opening a pull request? Nobody is interested in notifications about your interim fixes.

Sorry, will try to do better - I get ahead of myself sometimes

docs/module/stp.md Outdated Show resolved Hide resolved
docs/module/stp.md Outdated Show resolved Hide resolved
netsim/ansible/templates/stp/eos.j2 Outdated Show resolved Hide resolved
@jbemmel jbemmel marked this pull request as draft December 8, 2024 13:46
@jbemmel jbemmel marked this pull request as ready for review December 8, 2024 15:04
Copy link
Owner

@ipspace ipspace left a comment

Choose a reason for hiding this comment

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

It looks to me like the node.port_type and vlan.port_type attributes would not work. Also, I'm wondering whether it's OK to set the global default to "edge".

As for the templates, do whatever you feel is best.

docs/module/stp.md Show resolved Hide resolved
netsim/ansible/templates/stp/cumulus.j2 Outdated Show resolved Hide resolved
docs/module/stp.md Outdated Show resolved Hide resolved
netsim/modules/stp.py Outdated Show resolved Hide resolved
docs/module/stp.md Outdated Show resolved Hide resolved
@jbemmel jbemmel marked this pull request as draft December 9, 2024 14:31
jbemmel and others added 12 commits December 15, 2024 19:00
* Option to configure host-facing ports as 'edge', default enabled
* Feature flag to indicate support (FRR does not support specific configuration for port_type)
…ction on EOS

* Renamed ```host_edge_port``` to ```stub_port_type``` (default "edge"), also allow "none" to disable setting
* Updated documentation
* Manually copy node level stp.port_type to interfaces that support STP (only)
* VLAN attribute not being picked up yet
@jbemmel jbemmel marked this pull request as ready for review December 16, 2024 05:13
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