Merge topic 'lbaas'
* changes: LBaaS package: improving compatibility with liberty and mitaka releases Adding action for retrieving credentials
This commit is contained in:
commit
2447b48449
@ -18,7 +18,7 @@ Namespaces:
|
||||
|
||||
Name: HAProxy
|
||||
|
||||
Extends: =:LoadBalancer
|
||||
Extends: LoadBalancer
|
||||
|
||||
Properties:
|
||||
|
||||
|
@ -38,6 +38,10 @@ Properties:
|
||||
Contract: $.class(std:Environment)
|
||||
Usage: Runtime
|
||||
|
||||
url:
|
||||
Contract: $.string()
|
||||
Usage: Out
|
||||
|
||||
Methods:
|
||||
initialize:
|
||||
Body:
|
||||
@ -67,9 +71,17 @@ Methods:
|
||||
- $host: $.instance.floatingIpAddress
|
||||
Else:
|
||||
- $host: $.instance.ipAddresses[0]
|
||||
- $.environment.reporter.report($this, format('LBaaS is available at http://{0}:{1}{2}', $host, $lbaas.port, $lbaas.path))
|
||||
- $.url: format('http://{0}:{1}{2}', $host, $lbaas.port, $lbaas.path)
|
||||
- $.environment.reporter.report($this, format('LBaaS is available at {0}', $.url))
|
||||
- $.setAttr(deployed, true)
|
||||
|
||||
getCredentials:
|
||||
Usage: Action
|
||||
Body:
|
||||
- Return:
|
||||
credentials:
|
||||
uri: $.url
|
||||
|
||||
installLoadBalancer:
|
||||
|
||||
installLBaaS:
|
||||
|
Loading…
x
Reference in New Issue
Block a user