Fixes instance FIP assignment

YAQL expression for FIP resource were incorrect and left as is (as a string).
Thus  there were single resource for FIP with incorrect name instead of resource
per VM

Change-Id: Ieecdfdb0a7fbad82ef4344b4bac1a55656991e9e
Closes-Bug: #1435787
Closes-Bug: #1435961
This commit is contained in:
Stan Lagun 2015-03-25 03:52:53 +03:00
parent 7c25dff64d
commit cc1d5eb5be
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ Workflow:
- If: $assignFloatingIp - If: $assignFloatingIp
Then: Then:
- $floatingIpNeRef: $._externalNetworkId - $floatingIpNeRef: $._externalNetworkId
- $fipName: format('fip-{0}-{1}'. $.id(), $instance.name) - $fipName: format('fip-{0}-{1}', $.id(), $instance.name)
- Return: $.joinInstanceToNetwork( - Return: $.joinInstanceToNetwork(
instance => $instance, instance => $instance,

View File

@ -116,7 +116,7 @@ Methods:
- If: $assignFloatingIp - If: $assignFloatingIp
Then: Then:
- $extNetId: $._getExternalNetId() - $extNetId: $._getExternalNetId()
- $fipName: format('fip-{0}-{1}'. $.id(), $instance.name) - $fipName: format('fip-{0}-{1}', $.id(), $instance.name)
- $result: $.joinInstanceToNetwork( - $result: $.joinInstanceToNetwork(
instance => $instance, instance => $instance,