Cleanup unused constants

As part of the cleanup tasks for openstack, there are a number
of attributes that are being cleaned up such as concurrent_disk_operations
and instance_backing.

The inventory repo has duplicated references to these, so many of them
are being removed here to coincide with the cleanup in sysinv.

Note: there are far more values that can be cleaned up, but this is mainly
to remove all traces of the deprecated features, rather than a generic
cleanup of inventory.

Change-Id: I6d582c83d6e86aa6a08cb110e9f009ff9549006d
Story: 2004764
Task: 34274
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
This commit is contained in:
Al Bailey 2019-06-21 08:24:23 -05:00
parent fb01944750
commit 354c253d04

View File

@ -305,27 +305,12 @@ CINDER_LVM_TYPE_THIN = 'thin'
CINDER_LVM_TYPE_THICK = 'thick'
# Storage: Volume Group Parameter Types
LVG_NOVA_PARAM_BACKING = 'instance_backing'
LVG_NOVA_PARAM_INST_LV_SZ = 'instances_lv_size_mib'
LVG_NOVA_PARAM_INST_LV_SZ_GIB = 'instances_lv_size_gib'
LVG_NOVA_PARAM_DISK_OPS = 'concurrent_disk_operations'
LVG_CINDER_PARAM_LVM_TYPE = 'lvm_type'
# Storage: Volume Group Parameter: Nova: Backing types
LVG_NOVA_BACKING_LVM = 'lvm'
LVG_NOVA_BACKING_IMAGE = 'image'
LVG_NOVA_BACKING_REMOTE = 'remote'
# Storage: Volume Group Parameter: Cinder: LVM provisioing
LVG_CINDER_LVM_TYPE_THIN = 'thin'
LVG_CINDER_LVM_TYPE_THICK = 'thick'
# Storage: Volume Group Parameter: Nova: Instances LV
LVG_NOVA_PARAM_INST_LV_SZ_DEFAULT = 0
# Storage: Volume Group Parameter: Nova: Concurrent Disk Ops
LVG_NOVA_PARAM_DISK_OPS_DEFAULT = 2
# Controller audit requests (force updates from agents)
DISK_AUDIT_REQUEST = "audit_disk"
LVG_AUDIT_REQUEST = "audit_lvg"