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

[intfutil] set speed to 0 when interface speed is not available #839

Merged
merged 1 commit into from
Mar 17, 2020

Commits on Mar 17, 2020

  1. [intfutil] set speed to 0 when interface speed is not available

    This is not an issue with normal and correct configuration. The
    issue was exposed when there is an incorrect configuration, e.g.
    contain wrong port names. These wrong port names will still get
    populated to the app_db but will not have speed associated.
    
    Lack of speed entry will cause "show interface status" to throw
    exception.
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Mar 17, 2020
    Configuration menu
    Copy the full SHA
    24a2e82 View commit details
    Browse the repository at this point in the history