diff --git a/neutron_lib/placement/constants.py b/neutron_lib/placement/constants.py index ad4e7074d..bbf11c605 100644 --- a/neutron_lib/placement/constants.py +++ b/neutron_lib/placement/constants.py @@ -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 diff --git a/releasenotes/notes/remove-resource-classes-constants-81f01eaed9ac463d.yaml b/releasenotes/notes/remove-resource-classes-constants-81f01eaed9ac463d.yaml new file mode 100644 index 000000000..f3be1793f --- /dev/null +++ b/releasenotes/notes/remove-resource-classes-constants-81f01eaed9ac463d.yaml @@ -0,0 +1,6 @@ +--- +other: + - | + From '799676 change _ + neutron uses os-resource-classes lib constants. Neutron-lib copy constants + ``CLASS_NET_BW_EGRESS_KBPS`` and ``CLASS_NET_BW_INGRESS_KBPS`` are removed