Merge pull request #1337 from nitin-maharana/CloudStack-Nitin20_4.7 CLOUDSTACK-9235: Autoscale button is missing in VPCAutoscale button is missing. This should not be the case since we are able to add NS as the external LB provider in VPC.
Steps: ===== 1. Create a VPC offering with NS as the external LB provider 2. Create a VPC and configure the public tier with the above offering 3. Acquire an IP address and try to configure Load Balancing rule Result: ====== Autoscale option is not visible at all for the LB. Expected Result: ============= Autoscale option should be available and should work exactly like the way it works for a normal isolated network with NS. If we choose NS as service provider for LB, autoscale should also be visible. If VR is chosen, only then we should not display autoscale. Fix: === In case of VPC, it checks the services available. If LB is there, It checks the provider is Netscaler then it shows the button or hides it. * pr/1337: CLOUDSTACK-9235: Autoscale button is missing in VPC Signed-off-by: Remi Bergsma <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/c14183bd Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/c14183bd Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/c14183bd Branch: refs/heads/master Commit: c14183bd25f6edfbda215533d8fb82f0337626d7 Parents: c99f57f b02e9f0 Author: Remi Bergsma <[email protected]> Authored: Wed Jan 20 22:17:54 2016 +0100 Committer: Remi Bergsma <[email protected]> Committed: Wed Jan 20 22:17:54 2016 +0100 ---------------------------------------------------------------------- ui/scripts/network.js | 29 +++++++++++------------------ 1 file changed, 11 insertions(+), 18 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c14183bd/ui/scripts/network.js ----------------------------------------------------------------------
