diff --git a/lib/nodes/addon/components/driver-vmwarevsphere/component.js b/lib/nodes/addon/components/driver-vmwarevsphere/component.js index 7d97ae068..bcb7bb2f1 100644 --- a/lib/nodes/addon/components/driver-vmwarevsphere/component.js +++ b/lib/nodes/addon/components/driver-vmwarevsphere/component.js @@ -367,6 +367,17 @@ export default Component.extend(NodeDriver, { set(this, 'vappMode', getInitialVappMode(get(this, 'config'))); }, + initCustomAttributes() { + set(this, 'initialCustomAttributes', get(this, 'config.customAttribute').map((v) => { + const [key, value] = v.split('='); + + return { + key, + value, + }; + })); + }, + updateVappOptions(opts) { set(this, 'config.vappIpprotocol', opts.vappIpprotocol); set(this, 'config.vappIpallocationpolicy', opts.vappIpallocationpolicy);