Skip to content

Commit

Permalink
Support array for ovn-encap-type
Browse files Browse the repository at this point in the history
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
  • Loading branch information
kajinamit committed Mar 19, 2023
1 parent 9c586c1 commit b6dd569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/controller.pp
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@

$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 },
Expand Down

0 comments on commit b6dd569

Please sign in to comment.