-
Notifications
You must be signed in to change notification settings - Fork 0
ols-909-autoneg-port-draft #54
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
base: main
Are you sure you want to change the base?
Conversation
mikehansen1970
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I may be mistaken but I think this was already discussed?
I had thought it would work as follows:
If speed is set then the assumption is auto negotiation is 'false' and the requested speed is forced
If speed is not set (this would be the change, allowing it to not be set) then auto negotiation is implicitly true.
To me the attribute itself seems superfluous.
yes this is what we discussed and spoke about in an OLS Dev call 3 weeks ago. Yesterday i had a discussion with @phwhite , and he believes adding a separate parameter would be the best way forward. Hence i had raised this adding him in review. Let us discuss here and close. |
Hi @mikehansen1970 I have proposed to add a new parameter to maintain forward/backward compatibility, otherwise rolling out support for this would be challenging. I also think it's nice to have the ability to keep auto_neg enabled, but limit the advertised speed for debugging/troubleshooting purposes. By having a new parameter, the original behavior is left as default and if the cloud wants to disable auto negotiation, it would provide the new parameter with a value of false. Any specific concerns with this approach we should consider? |
Hi @phwhite I don't understand the forward/backward compatibility aspect, unless you mean the fact that the client as currently written requires a speed setting? |
Hi @mikehansen1970, I’m referring to forward/backward compatibility in the cloud, at least for Shasta. We have multiple customer deployments, and today we avoid tailoring config pushes based on specific switch models or firmware versions. Coordinating switch firmware rollout alongside cloud updates would be extremely difficult. A couple of examples:
Either sequence results in breakage. This is exactly the kind of situation we’re trying to avoid — conditionals like “if this model and firmware, then do X” end up messy and fragile long-term. Adding a new field with a sane default gives us a way to support auto-negotiation cleanly without impacting existing configs or workflows. Hope that helps clarify the reasoning behind the request — and I want to be sure the community is aligned and comfortable with this direction. Thanks, |
Hi @phwhite , |
Refer https://telecominfraproject.atlassian.net/browse/OLS-909
This will be one item for enhancement in Sprint-17, December OLS 4.2.
Currently there is no way that OLS can configure Port Speed As Auto.
If the Speed attribute is not sent on the config, its considered an exception, rather than assuming as default.
Its proposed to add a parameter called auto negotiation, so that the Speed & Duplex settings take effect when Speed is not auto-negotiated, but forced through that settings.
For a physical interface schema, auto negotiation is a fundamental attribute, because:
Currently since we only send Speed and Duplex, some switches keep Auto Negotiation always ON.