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