Merge "Fix indentation warnings LBaaS"
This commit is contained in:
commit
2b028b22db
@ -51,18 +51,18 @@ Methods:
|
||||
|
||||
deploy:
|
||||
Body:
|
||||
- If: not $.getAttr(installed, false)
|
||||
Then:
|
||||
- $securityGroupIngress:
|
||||
- ToPort: $this.port
|
||||
FromPort: $this.port
|
||||
IpProtocol: tcp
|
||||
External: true
|
||||
- $._environment.securityGroupManager.addGroupIngress($securityGroupIngress)
|
||||
- $this.installLB()
|
||||
- $.setAttr(installed, true)
|
||||
- $this.syncSettings()
|
||||
- $._environment.reporter.report($this, format('HA-proxy is available at {0}', $this.getEndpoint()))
|
||||
- If: not $.getAttr(installed, false)
|
||||
Then:
|
||||
- $securityGroupIngress:
|
||||
- ToPort: $this.port
|
||||
FromPort: $this.port
|
||||
IpProtocol: tcp
|
||||
External: true
|
||||
- $._environment.securityGroupManager.addGroupIngress($securityGroupIngress)
|
||||
- $this.installLB()
|
||||
- $.setAttr(installed, true)
|
||||
- $this.syncSettings()
|
||||
- $._environment.reporter.report($this, format('HA-proxy is available at {0}', $this.getEndpoint()))
|
||||
|
||||
createPool:
|
||||
Arguments:
|
||||
|
@ -54,10 +54,10 @@ Methods:
|
||||
|
||||
- $.environment.reporter.report($this, 'Creating security groups...')
|
||||
- $securityGroupIngress:
|
||||
- ToPort: 65535
|
||||
FromPort: 1
|
||||
IpProtocol: tcp
|
||||
External: true
|
||||
- ToPort: 65535
|
||||
FromPort: 1
|
||||
IpProtocol: tcp
|
||||
External: true
|
||||
- $.environment.securityGroupManager.addGroupIngress($securityGroupIngress)
|
||||
- $.environment.reporter.report($this, 'Creating instance for LBaaS...')
|
||||
- $.instance.deploy()
|
||||
|
@ -38,4 +38,4 @@ Properties:
|
||||
|
||||
Methods:
|
||||
|
||||
updateListener:
|
||||
updateListener:
|
||||
|
@ -38,7 +38,7 @@ Methods:
|
||||
Body:
|
||||
- If: len(list($this.listeners.where($.name = $listener.name))) = 0
|
||||
Then:
|
||||
- $.listeners.append($listener)
|
||||
- $.listeners.append($listener)
|
||||
Else:
|
||||
- $msg: 'Listener with provided name already exists'
|
||||
- $._environment.reporter.report_error($this, $msg)
|
||||
|
Loading…
x
Reference in New Issue
Block a user