Merge "Fix indentation warnings LBaaS"

This commit is contained in:
Jenkins 2016-08-08 10:35:49 +00:00 committed by Gerrit Code Review
commit 2b028b22db
4 changed files with 18 additions and 18 deletions

View File

@ -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:

View File

@ -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()

View File

@ -38,4 +38,4 @@ Properties:
Methods:
updateListener:
updateListener:

View File

@ -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)