-
Notifications
You must be signed in to change notification settings - Fork 906
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(provider/openstack): load balancer network and sg creation bugfix…
…es (#4281) fix(provider/openstack): Fixed network so it is filtered by account for load balancer creation. fix(provider/openstack): Fixed network so it refreshes when a new account is selected. fix(provider/openstack): Fixed network so it resets to default when a new account is selected and the selected network becomes invalid. fix(provider/openstack): Fixed security groups so it clears and refreshes when a new account is selected. fix(provider/openstack): Fixed security groups refresh button. fix(provider/openstack): Removed security group refresh tooltip that wasn't showing any data.
- Loading branch information
1 parent
f2bb3f8
commit e0cce40
Showing
4 changed files
with
22 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 13 additions & 6 deletions
19
app/scripts/modules/openstack/loadBalancer/configure/wizard/interface.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
<ng-form class="container-fluid form-horizontal" name="interfaceForm"> | ||
<div class="modal-body"> | ||
<network-select-field model="loadBalancer.networkId" help-key="openstack.loadBalancer.network" read-only="!isNew"></network-select-field> | ||
<network-select-field | ||
model="loadBalancer.networkId" | ||
help-key="openstack.loadBalancer.network" | ||
read-only="!isNew" | ||
filter="{ account: loadBalancer.account }"> | ||
</network-select-field> | ||
|
||
<os-cache-backed-multi-select-field label="Security Groups" | ||
cache="allSecurityGroups" | ||
refresh-cache="updateSecurityGroups" | ||
required="true" | ||
model="loadBalancer.securityGroups"></os-cache-backed-multi-select-field> | ||
<os-cache-backed-multi-select-field | ||
label="Security Groups" | ||
cache="allSecurityGroups" | ||
refresh-cache="updateSecurityGroups" | ||
required="true" | ||
model="loadBalancer.securityGroups"> | ||
</os-cache-backed-multi-select-field> | ||
</div> | ||
</ng-form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters