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:
parent
7c25dff64d
commit
cc1d5eb5be
@ -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,
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user