From 354c253d043d6216285f84d6160b133183c4ae92 Mon Sep 17 00:00:00 2001 From: Al Bailey Date: Fri, 21 Jun 2019 08:24:23 -0500 Subject: [PATCH] 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 --- inventory/inventory/inventory/common/constants.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/inventory/inventory/inventory/common/constants.py b/inventory/inventory/inventory/common/constants.py index a3207e8e..cd38462c 100644 --- a/inventory/inventory/inventory/common/constants.py +++ b/inventory/inventory/inventory/common/constants.py @@ -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"