Reviewed: https://review.openstack.org/607863 Committed: https://git.openstack.org/cgit/openstack/os-win/commit/?id=ec37c647adb1452d8f9562ef7b18154859a8382a Submitter: Zuul Branch: stable/queens
commit ec37c647adb1452d8f9562ef7b18154859a8382a 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) (cherry picked from commit 77c6d80b57391e6c0851ec170e77860195b0dc6d)
Reviewed: https:/ /review. openstack. org/607863 /git.openstack. org/cgit/ openstack/ os-win/ commit/ ?id=ec37c647adb 1452d8f9562ef7b 18154859a8382a
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit ec37c647adb1452 d8f9562ef7b1815 4859a8382a
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) c0851ec170e7786 0195b0dc6d)
(cherry picked from commit 865c1cfaa0e6984
(cherry picked from commit 77c6d80b57391e6