Adds major_version for Sandisk FusionIO

Nailgun agent will fail to recognize FusionIO flash storage devices as valid block storage. Added "251", the device major number, to the whitelist of valid block storage devices.

Change-Id: I374920f00141ffd3e4263e7c6ec340216b2c39d9
Signed-off-by: Will Kline <will@wolfdenassociates.com>
This commit is contained in:
Will Kline 2016-04-06 16:27:56 -04:00
parent 182fa75917
commit 4b83a7943e
1 changed files with 1 additions and 1 deletions

2
agent
View File

@ -48,7 +48,7 @@ AGENT_CONFIG = "/etc/nailgun-agent/config.yaml"
# Please also update the device codes here
# https://github.com/stackforge/fuel-astute/blob/master/mcagents/erase_node.rb#L81
# NVMe has code 259
STORAGE_CODES = [3, 8, 9, 65, 66, 67, 68, 69, 70, 71, 104, 105, 106, 107, 108, 109, 110, 111, 202, 252, 253, 259]
STORAGE_CODES = [3, 8, 9, 65, 66, 67, 68, 69, 70, 71, 104, 105, 106, 107, 108, 109, 110, 111, 202, 251, 252, 253, 259]
REMOVABLE_VENDORS = [
"Adaptec", "IBM", "ServeRA",
]