Comment 3 for bug 1794291

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-win (stable/rocky)

Reviewed: https://review.openstack.org/607548
Committed: https://git.openstack.org/cgit/openstack/os-win/commit/?id=77c6d80b57391e6c0851ec170e77860195b0dc6d
Submitter: Zuul
Branch: stable/rocky

commit 77c6d80b57391e6c0851ec170e77860195b0dc6d
Author: Lucian Petrut <email address hidden>
Date: Tue Sep 25 15:44:25 2018 +0300

    Fix port metrics

    At the moment, port metrics are not enabled. The reason is that we're
    using the wrong switch port WMI class.

    This issue went more or less unnoticed, especially due to the fact that
    we're currently ignoring the according WMI method return code.

    This change ensures that port metrics are properly enabled and that an
    exception will be raised when failing to do so.

    Closes-Bug: #1794291

    Change-Id: I8086e7dd9e134749760b05469f5b2c8bcfdcdbde
    (cherry picked from commit 865c1cfaa0e6984b87fe1a0c45cbe611f85a4a3b)