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

SNMP: STP: Allow custom topologies #912

Closed
wants to merge 2 commits into from
Closed

SNMP: STP: Allow custom topologies #912

wants to merge 2 commits into from

Conversation

nailyk-fr
Copy link

Those PS will allow custom topologies, as mentioned in #780

This is not perfect as it:

Thanks :)

CC: @Sims24

 * Allow topology overwrite with `--stp-overwrite-status`,
 * There are no security checks for the option,
 * If port is disabled, it will be skipped anyway.

 _Usage:_
 `--stp-overwrite-status 21@blocking:22@forwarding`
 Option is `--stp-overrite-status` each port are defined with `<port>@<needed status>` and separated with colon. In this example port `21` should be `blocking` and port `22` should be `forwarding` (`22@forwarding` is useless as it is default one)

Signed-off-by: nailyk-fr <nailyk_git@nailyk.fr>
 * With this patch, if an interface is provided
   as disabled from `stp-overwrite-status` option,
   do not skip it to report CRITICAL if necessary.

Signed-off-by: nailyk-fr <nailyk_git@nailyk.fr>
@Sims24
Copy link
Contributor

Sims24 commented Mar 23, 2018

Closing this one. Thanks for your contribution !

@Sims24 Sims24 closed this Mar 23, 2018
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