From b999980ce85457a276bf0cda085c8dae9e0e8aaa Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Wed, 27 Jul 2011 19:41:28 -0700 Subject: [PATCH] cloudStack - Elastic Load Balancer feature - if listCapabilities returns supportELB as true, hide Acquire IP button and show Add Load Balancer and IP button on IP Address page. Clicking Add Load Balancer and IP button will pop up a dialog containing zone dropdown (populated with basic zones), name, public port, private port, algorithm dropdown. --- ui/jsp/ipaddress.jsp | 48 ++ ui/scripts/cloud.core.init.js | 4 +- ui/scripts/cloud.core.ipaddress.js | 745 +++++++++++++++++------------ ui/scripts/cloud.core.js | 4 +- 4 files changed, 480 insertions(+), 321 deletions(-) diff --git a/ui/jsp/ipaddress.jsp b/ui/jsp/ipaddress.jsp index dc8e2a85770..14711f57bfe 100644 --- a/ui/jsp/ipaddress.jsp +++ b/ui/jsp/ipaddress.jsp @@ -486,6 +486,15 @@ dictionary = { + + @@ -772,6 +781,45 @@ dictionary = { + +