Change Schedule to Scheduler for consistent naming

Change [1] introduced a new param NovaSchedulePlacementAggregateRequiredForTenants
which has minor inconsistent naming issue. This patch changes it to
NovaSchedulerPlacementAggregateRequiredForTenants

[1] https://review.opendev.org/#/c/716154/

Change-Id: I34005d28eae325197225918720da7aa0b8878510
This commit is contained in:
Archit Modi 2020-05-11 14:38:20 -04:00
parent a44b659bcf
commit 61f2bd017c
2 changed files with 5 additions and 5 deletions

View File

@ -88,10 +88,10 @@ parameters:
hosts in tenant-isolated host aggregate and availability zones will
only be available to specific set of tenants.
type: boolean
NovaSchedulePlacementAggregateRequiredForTenants:
NovaSchedulerPlacementAggregateRequiredForTenants:
default: false
description: >
This setting, when `NovaScheduleLimitTenantsToPlacementAggregate` is true,
This setting, when `NovaSchedulerLimitTenantsToPlacementAggregate` is true,
controls whether or not a tenant with no aggregate affinity will be allowed
to schedule to any available node.
If aggregates are used to limit some tenants but not all, then this should be
@ -152,7 +152,7 @@ outputs:
nova::scheduler::discover_hosts_in_cells_interval: {get_param: NovaSchedulerDiscoverHostsInCellsInterval}
nova::scheduler::query_placement_for_image_type_support: {get_param: NovaSchedulerQueryImageType}
nova::scheduler::limit_tenants_to_placement_aggregate: {get_param: NovaSchedulerLimitTenantsToPlacementAggregate}
nova::scheduler::placement_aggregate_required_for_tenants: {get_param: NovaSchedulePlacementAggregateRequiredForTenants}
nova::scheduler::placement_aggregate_required_for_tenants: {get_param: NovaSchedulerPlacementAggregateRequiredForTenants}
nova::scheduler::enable_isolated_aggregate_filtering: {get_param: NovaSchedulerEnableIsolatedAggregateFiltering}
-
if:

View File

@ -1,11 +1,11 @@
---
features:
- |
Add boolean parameter `NovaSchedulePlacementAggregateRequiredForTenants`
Add boolean parameter `NovaSchedulerPlacementAggregateRequiredForTenants`
which allows to set `scheduler/placement_aggregate_required_for_tenants`
parameter. It controls whether or not a tenant with no aggregate affinity
will be allowed to schedule to any available node.
If aggregates are used to limit some tenants but not all, then this should
be False. If all tenants should be confined via aggregate, then this
should be True.
Default value for NovaSchedulePlacementAggregateRequiredForTenants is false.
Default value for NovaSchedulerPlacementAggregateRequiredForTenants is false.