Added NovaOVSDBConnection parameter

This parameter would be used by os-vif repo, this would
be used in ovs-vsctl commands to reach remote ovsdb over
tcp/ssl connection.

Depends-On: I0cb78399a777e70ed7c1bf7225574bed146728e1

Change-Id: Ie50e3e60cf44d48cf9cb6f3304520df257906b16
Signed-off-by: hanish gogada <hanishgogadahcu@gmail.com>
This commit is contained in:
hanish gogada 2018-08-06 14:25:27 +05:30
parent 5789a9694a
commit fb2843550d
2 changed files with 22 additions and 0 deletions

View File

@ -11,6 +11,7 @@ parameter_defaults:
LiquidioProviderMappings: 'datacentre:eth1'
ComputeLiquidioParameters:
KernelArgs: "intel_iommu=on iommu=pt"
NovaOVSDBConnection: "tcp:127.0.0.1:6640"
#NovaSchedulerDefaultFilters: ['RetryFilter', 'AvailabilityZoneFilter', 'RamFilter', 'ComputeFilter', 'ComputeCapabilitiesFilter', 'ImagePropertiesFilter', 'ServerGroupAntiAffinityFilter', 'ServerGroupAffinityFilter', 'PciPassthroughFilter']
#NovaPCIPassthrough:
# - address: "*:02:00.*"

View File

@ -189,6 +189,12 @@ parameters:
description: >
Endpoint interface to be used for the placement API.
default: 'internal'
NovaOVSDBConnection:
type: string
description: OVS DB connection string to used by Nova
default: ''
tags:
- role_specific
RpcPort:
default: 5672
description: The network port for messaging backend
@ -213,6 +219,20 @@ conditions:
compute_upgrade_level_empty: {equals : [{get_param: UpgradeLevelNovaCompute}, '']}
service_debug_unset: {equals : [{get_param: NovaDebug}, '']}
resources:
RoleParametersValue:
type: OS::Heat::Value
properties:
type: json
value:
map_replace:
- map_replace:
- nova::ovsdb_connection: NovaOVSDBConnection
- values: {get_param: [RoleParameters]}
- values:
NovaOVSDBConnection: {get_param: NovaOVSDBConnection}
outputs:
role_data:
description: Role data for the Nova base service.
@ -323,6 +343,7 @@ outputs:
nova::cron::purge_shadow_tables::age: {get_param: NovaCronPurgeShadowTablesAge}
nova::cron::purge_shadow_tables::verbose: {get_param: NovaCronPurgeShadowTablesVerbose}
nova::cron::purge_shadow_tables::all_cells: {get_param: NovaCronPurgeShadowTablesAllCells}
- get_attr: [RoleParametersValue, value]
-
if:
- compute_upgrade_level_empty