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)
Reviewed: https:/ /review. openstack. org/607548 /git.openstack. org/cgit/ openstack/ os-win/ commit/ ?id=77c6d80b573 91e6c0851ec170e 77860195b0dc6d
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 77c6d80b57391e6 c0851ec170e7786 0195b0dc6d
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: I8086e7dd9e1347 49760b05469f5b2 c8bcfdcdbde b87fe1a0c45cbe6 11f85a4a3b)
(cherry picked from commit 865c1cfaa0e6984