Support array for ovn-encap-type

The external_ids:ovn-encap-type option can accept multiple types with
a comma-separated list. This allows using a native array for this
option so that users can compose the expected value easily.

Change-Id: I743e96e4deff5536b0f3dc21cd24017c1328e34c
This commit is contained in:
Takashi Kajinami 2023-03-20 00:41:18 +09:00
parent 9c586c19ee
commit b6dd569b35
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ class ovn::controller(
$config_items = {
'external_ids:ovn-remote' => { 'value' => $ovn_remote },
'external_ids:ovn-encap-type' => { 'value' => $ovn_encap_type },
'external_ids:ovn-encap-type' => { 'value' => join(any2array($ovn_encap_type), ',') },
'external_ids:ovn-encap-ip' => { 'value' => $ovn_encap_ip },
'external_ids:hostname' => { 'value' => $hostname },
'external_ids:ovn-bridge' => { 'value' => $ovn_bridge },