Add a tag to all the role specific parameters
With parameter tags, it is possible to categorize the parameters. In this patch, all role-specific parameters of the services are categorized as role_specific, which will help in adding validation during the deployment (to ensure the provided role-specific parameter is actually implemented as role-specific). This patch adds only the tags, and the validation will done via workflows. Change-Id: Ic053111298e7872a3a3cd11e6249dbd85707cc29
This commit is contained in:
parent
8ff4c03d28
commit
d0702e82b5
@ -18,6 +18,8 @@ parameters:
|
|||||||
default: false
|
default: false
|
||||||
description: Whether or not to configure enable DPDK in OVS
|
description: Whether or not to configure enable DPDK in OVS
|
||||||
type: boolean
|
type: boolean
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
OvsDpdkCoreList:
|
OvsDpdkCoreList:
|
||||||
description: >
|
description: >
|
||||||
List of cores to be used for DPDK lcore threads. Note, these threads
|
List of cores to be used for DPDK lcore threads. Note, these threads
|
||||||
@ -26,12 +28,16 @@ parameters:
|
|||||||
constraints:
|
constraints:
|
||||||
- allowed_pattern: "[0-9,-]*"
|
- allowed_pattern: "[0-9,-]*"
|
||||||
default: ""
|
default: ""
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
OvsDpdkMemoryChannels:
|
OvsDpdkMemoryChannels:
|
||||||
description: Number of memory channels per socket to be used for DPDK
|
description: Number of memory channels per socket to be used for DPDK
|
||||||
type: string
|
type: string
|
||||||
constraints:
|
constraints:
|
||||||
- allowed_pattern: "[0-9]*"
|
- allowed_pattern: "[0-9]*"
|
||||||
default: ""
|
default: ""
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
OvsDpdkSocketMemory:
|
OvsDpdkSocketMemory:
|
||||||
default: ""
|
default: ""
|
||||||
description: >
|
description: >
|
||||||
@ -41,6 +47,8 @@ parameters:
|
|||||||
mem>, <socket n mem>", where the value is specified in MB. For example:
|
mem>, <socket n mem>", where the value is specified in MB. For example:
|
||||||
"1024,0".
|
"1024,0".
|
||||||
type: string
|
type: string
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
OvsPmdCoreList:
|
OvsPmdCoreList:
|
||||||
description: >
|
description: >
|
||||||
A list or range of CPU cores for PMD threads to be pinned to. Note, NIC
|
A list or range of CPU cores for PMD threads to be pinned to. Note, NIC
|
||||||
@ -55,6 +63,8 @@ parameters:
|
|||||||
- allowed_pattern: "[0-9,-]*"
|
- allowed_pattern: "[0-9,-]*"
|
||||||
type: string
|
type: string
|
||||||
default: ""
|
default: ""
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
deployment_actions:
|
deployment_actions:
|
||||||
default: ['CREATE', 'UPDATE']
|
default: ['CREATE', 'UPDATE']
|
||||||
type: comma_delimited_list
|
type: comma_delimited_list
|
||||||
@ -70,6 +80,27 @@ parameters:
|
|||||||
config during an upgrade. By default DPDK will be enabled during the
|
config during an upgrade. By default DPDK will be enabled during the
|
||||||
CREATE action only. But on cases when it requires for certain migration,
|
CREATE action only. But on cases when it requires for certain migration,
|
||||||
it may be required to run it for UPDATE action too.
|
it may be required to run it for UPDATE action too.
|
||||||
|
KernelArgs:
|
||||||
|
default: ""
|
||||||
|
type: string
|
||||||
|
description: Kernel Args to apply to the host
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
|
TunedProfileName:
|
||||||
|
default: ""
|
||||||
|
type: string
|
||||||
|
description: Tuned Profile to apply to the host
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
|
IsolCpusList:
|
||||||
|
default: ""
|
||||||
|
type: string
|
||||||
|
description: >
|
||||||
|
List of logical CPU ids whic need to be isolated from the host processes.
|
||||||
|
This input is provided to the tuned profile cpu-partitioning to configure
|
||||||
|
systemd and repin interrupts (IRQ repinning).
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
# DEPRECATED: the following options are deprecated and are currently maintained
|
# DEPRECATED: the following options are deprecated and are currently maintained
|
||||||
# for backwards compatibility. They will be removed in the Queens cycle.
|
# for backwards compatibility. They will be removed in the Queens cycle.
|
||||||
HostCpusList:
|
HostCpusList:
|
||||||
|
@ -37,10 +37,14 @@ parameters:
|
|||||||
default: ""
|
default: ""
|
||||||
description: Datapath type for ovs bridges
|
description: Datapath type for ovs bridges
|
||||||
type: string
|
type: string
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
NeutronVhostuserSocketDir:
|
NeutronVhostuserSocketDir:
|
||||||
default: ""
|
default: ""
|
||||||
description: The vhost-user socket directory for OVS
|
description: The vhost-user socket directory for OVS
|
||||||
type: string
|
type: string
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
@ -40,6 +40,8 @@ parameters:
|
|||||||
Example "tenant0:ens2f0,tenant1:ens2f1"
|
Example "tenant0:ens2f0,tenant1:ens2f1"
|
||||||
type: comma_delimited_list
|
type: comma_delimited_list
|
||||||
default: ""
|
default: ""
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
NeutronExcludeDevices:
|
NeutronExcludeDevices:
|
||||||
description: >
|
description: >
|
||||||
List of <network_device>:<excluded_devices> mapping
|
List of <network_device>:<excluded_devices> mapping
|
||||||
@ -50,6 +52,8 @@ parameters:
|
|||||||
physical_device_mappings list.
|
physical_device_mappings list.
|
||||||
type: comma_delimited_list
|
type: comma_delimited_list
|
||||||
default: ""
|
default: ""
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
NeutronSriovNumVFs:
|
NeutronSriovNumVFs:
|
||||||
description: >
|
description: >
|
||||||
Provide the list of VFs to be reserved for each SR-IOV interface.
|
Provide the list of VFs to be reserved for each SR-IOV interface.
|
||||||
@ -57,11 +61,15 @@ parameters:
|
|||||||
Example "eth1:4096,eth2:128"
|
Example "eth1:4096,eth2:128"
|
||||||
type: comma_delimited_list
|
type: comma_delimited_list
|
||||||
default: ""
|
default: ""
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
NeutronSriovAgentExtensions:
|
NeutronSriovAgentExtensions:
|
||||||
default: ""
|
default: ""
|
||||||
description: >
|
description: >
|
||||||
Comma-separated list of extensions enabled for the Neutron SR-IOV agents.
|
Comma-separated list of extensions enabled for the Neutron SR-IOV agents.
|
||||||
type: comma_delimited_list
|
type: comma_delimited_list
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
@ -38,6 +38,8 @@ parameters:
|
|||||||
Example "eth1:4096,eth2:128"
|
Example "eth1:4096,eth2:128"
|
||||||
type: comma_delimited_list
|
type: comma_delimited_list
|
||||||
default: ""
|
default: ""
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
@ -79,6 +79,8 @@ parameters:
|
|||||||
Ex. NovaVcpuPinSet: ['4-12','^8'] will reserve cores from 4-12 excluding 8
|
Ex. NovaVcpuPinSet: ['4-12','^8'] will reserve cores from 4-12 excluding 8
|
||||||
type: comma_delimited_list
|
type: comma_delimited_list
|
||||||
default: []
|
default: []
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
NovaReservedHostMemory:
|
NovaReservedHostMemory:
|
||||||
description: >
|
description: >
|
||||||
Reserved RAM for host processes.
|
Reserved RAM for host processes.
|
||||||
@ -86,6 +88,8 @@ parameters:
|
|||||||
default: 4096
|
default: 4096
|
||||||
constraints:
|
constraints:
|
||||||
- range: { min: 512 }
|
- range: { min: 512 }
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
MonitoringSubscriptionNovaCompute:
|
MonitoringSubscriptionNovaCompute:
|
||||||
default: 'overcloud-nova-compute'
|
default: 'overcloud-nova-compute'
|
||||||
type: string
|
type: string
|
||||||
|
@ -33,16 +33,22 @@ parameters:
|
|||||||
Required for VLAN deployments. For example physnet1 -> eth1.
|
Required for VLAN deployments. For example physnet1 -> eth1.
|
||||||
type: comma_delimited_list
|
type: comma_delimited_list
|
||||||
default: "datacentre:br-ex"
|
default: "datacentre:br-ex"
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
HostAllowedNetworkTypes:
|
HostAllowedNetworkTypes:
|
||||||
description: Allowed tenant network types for this OVS host. Note this can
|
description: Allowed tenant network types for this OVS host. Note this can
|
||||||
vary per host or role to constrain which hosts nova instances
|
vary per host or role to constrain which hosts nova instances
|
||||||
and networks are scheduled to.
|
and networks are scheduled to.
|
||||||
type: comma_delimited_list
|
type: comma_delimited_list
|
||||||
default: ['local', 'vlan', 'vxlan', 'gre']
|
default: ['local', 'vlan', 'vxlan', 'gre']
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
OvsEnableDpdk:
|
OvsEnableDpdk:
|
||||||
description: Whether or not to configure enable DPDK in OVS
|
description: Whether or not to configure enable DPDK in OVS
|
||||||
default: false
|
default: false
|
||||||
type: boolean
|
type: boolean
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
OvsVhostuserMode:
|
OvsVhostuserMode:
|
||||||
description: Specify the mode for OVS with vhostuser port creation. In
|
description: Specify the mode for OVS with vhostuser port creation. In
|
||||||
client mode, the hypervisor will be responsible for creating
|
client mode, the hypervisor will be responsible for creating
|
||||||
@ -51,10 +57,14 @@ parameters:
|
|||||||
default: "client"
|
default: "client"
|
||||||
constraints:
|
constraints:
|
||||||
- allowed_values: [ 'client', 'server' ]
|
- allowed_values: [ 'client', 'server' ]
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
VhostuserSocketDir:
|
VhostuserSocketDir:
|
||||||
description: Specify the directory to use for vhostuser sockets
|
description: Specify the directory to use for vhostuser sockets
|
||||||
type: string
|
type: string
|
||||||
default: "/var/run/openvswitch"
|
default: "/var/run/openvswitch"
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
EndpointMap:
|
EndpointMap:
|
||||||
default: {}
|
default: {}
|
||||||
description: Mapping of service endpoint -> protocol. Typically set
|
description: Mapping of service endpoint -> protocol. Typically set
|
||||||
|
@ -38,12 +38,16 @@ parameters:
|
|||||||
constraints:
|
constraints:
|
||||||
- allowed_pattern: "[0-9,-]*"
|
- allowed_pattern: "[0-9,-]*"
|
||||||
default: ""
|
default: ""
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
OvsDpdkMemoryChannels:
|
OvsDpdkMemoryChannels:
|
||||||
description: Number of memory channels per socket to be used for DPDK
|
description: Number of memory channels per socket to be used for DPDK
|
||||||
type: string
|
type: string
|
||||||
constraints:
|
constraints:
|
||||||
- allowed_pattern: "[0-9]*"
|
- allowed_pattern: "[0-9]*"
|
||||||
default: ""
|
default: ""
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
OvsDpdkSocketMemory:
|
OvsDpdkSocketMemory:
|
||||||
default: ""
|
default: ""
|
||||||
description: >
|
description: >
|
||||||
@ -53,12 +57,16 @@ parameters:
|
|||||||
mem>, <socket n mem>", where the value is specified in MB. For example:
|
mem>, <socket n mem>", where the value is specified in MB. For example:
|
||||||
"1024,0".
|
"1024,0".
|
||||||
type: string
|
type: string
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
OvsDpdkDriverType:
|
OvsDpdkDriverType:
|
||||||
default: "vfio-pci"
|
default: "vfio-pci"
|
||||||
description: >
|
description: >
|
||||||
DPDK Driver type. Ensure the Overcloud NIC to be used for DPDK supports
|
DPDK Driver type. Ensure the Overcloud NIC to be used for DPDK supports
|
||||||
this UIO/PMD driver.
|
this UIO/PMD driver.
|
||||||
type: string
|
type: string
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
OvsPmdCoreList:
|
OvsPmdCoreList:
|
||||||
description: >
|
description: >
|
||||||
A list or range of CPU cores for PMD threads to be pinned to. Note, NIC
|
A list or range of CPU cores for PMD threads to be pinned to. Note, NIC
|
||||||
@ -73,6 +81,8 @@ parameters:
|
|||||||
- allowed_pattern: "[0-9,-]*"
|
- allowed_pattern: "[0-9,-]*"
|
||||||
type: string
|
type: string
|
||||||
default: ""
|
default: ""
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
# DEPRECATED: the following options are deprecated and are currently maintained
|
# DEPRECATED: the following options are deprecated and are currently maintained
|
||||||
# for backwards compatibility. They will be removed in the Queens cycle.
|
# for backwards compatibility. They will be removed in the Queens cycle.
|
||||||
HostCpusList:
|
HostCpusList:
|
||||||
|
@ -34,6 +34,8 @@ parameters:
|
|||||||
default: ''
|
default: ''
|
||||||
description: Tuned Profile to apply to the host
|
description: Tuned Profile to apply to the host
|
||||||
type: string
|
type: string
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
role_data:
|
role_data:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user