Remove unused placement constants

Neutron now uses os-resources-classes lib constants [1],
neutron-lib constants can be removed.

1) https://review.opendev.org/c/openstack/neutron/+/799676/

Change-Id: I940cb6b66a9d79b45fb29db1afdfea1aea621f76
This commit is contained in:
Nurmatov Mamatisa 2022-07-01 16:17:08 +03:00
parent c8132ff1b0
commit 89dc650220
2 changed files with 6 additions and 8 deletions

View File

@ -16,14 +16,6 @@
TRAIT_PREFIX_VNIC_TYPE = 'VNIC_TYPE_'
TRAIT_PREFIX_PHYSNET = 'PHYSNET_'
# TODO(przszc): Remove resource classes constants with next major release of
# neutron-lib. There were only a few occurrences in neutron source code where
# those constants were used, and all of them were replaced with
# os-resource-classes lib.
# **DEPRECATED** resource classes
CLASS_NET_BW_EGRESS_KBPS = 'NET_BW_EGR_KILOBIT_PER_SEC'
CLASS_NET_BW_INGRESS_KBPS = 'NET_BW_IGR_KILOBIT_PER_SEC'
# Optionally reported inventory parameters. Mandatory parameters like 'total'
# are left out intentionally. See also:
# https://docs.openstack.org/api-ref/placement

View File

@ -0,0 +1,6 @@
---
other:
- |
From '799676 change <https://review.opendev.org/c/openstack/neutron/+/799676/`>_
neutron uses os-resource-classes lib constants. Neutron-lib copy constants
``CLASS_NET_BW_EGRESS_KBPS`` and ``CLASS_NET_BW_INGRESS_KBPS`` are removed