Merging upstream version 2.3~rc1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
972d2d9aa2
commit
ca2ec6771a
37 changed files with 1946 additions and 407 deletions
|
@ -12,6 +12,7 @@ import os
|
|||
import sys
|
||||
import shutil
|
||||
import platform
|
||||
from libnvme import nvme
|
||||
from staslib.version import KernelVersion
|
||||
|
||||
try:
|
||||
|
@ -48,4 +49,8 @@ SYS_CONF_FILE = '/etc/stas/sys.conf'
|
|||
STAFD_CONF_FILE = '/etc/stas/stafd.conf'
|
||||
STACD_CONF_FILE = '/etc/stas/stacd.conf'
|
||||
|
||||
HAS_NBFT_SUPPORT = hasattr(nvme, 'nbft_get')
|
||||
NBFT_SYSFS_PATH = "/sys/firmware/acpi/tables"
|
||||
NBFT_SYSFS_FILENAME = "NBFT*"
|
||||
|
||||
SYSTEMCTL = shutil.which('systemctl')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue