
* LBaaS library is separate package now, it includes: - deploy method (implements all needed deployment workflow for LBaaS) - install LBaaS method - configure LBaaS method (for optional configuration) - start LBaaS method - get credentials method (for service broker) * Now it is possible to create package extending LBaaS library by overriding just 3 methods: - installLoadBalancer - installLBaaS - getOptionalConfig (for detailed configuration) * Minor changes for liberty compatibility: - "Require" key in manifest - using ".init" method instead of "initialize" TODO: - include LBaaS API python package in murano LBaaS package Change-Id: I6fe3e98c6876d3e57c5cca7f826ef0f8932f77bb
9 lines
164 B
Bash
9 lines
164 B
Bash
#!/bin/bash
|
|
|
|
section=$1
|
|
key=$2
|
|
value=$3
|
|
|
|
# Set value in lbaas config file.
|
|
sudo sed -i "/^\[$section\]$/,/^\[/ s/^#*$key.*=.*/$key = $value/" /etc/lbaas/lbaas.conf
|