222 Commits

Author SHA1 Message Date
Brian Federle
42a9fd641e VPC UI: New ACL flow
-Remove the ACL action from the tier chart item

-Adds an ACL overview list view under the VPC configure menu which
 displays each tier and their total # of ACLs.

-Add ACL edit to tier detail view

- (misc) Also add IP address tab to tier detail view
2012-08-10 13:04:20 -07:00
Brian Federle
41afde3207 CS-15902: Remove loading overlay from VPC actions
For add VPN and add gateway actions: remove loading overlay to allow
user to perform other actions. The overlay is replaced with a set of
notification messages indicating the status of the job.
2012-08-09 16:15:29 -07:00
Jessica Wang
cd5b79414b CS-15773: cloudstack 3.0 UI - VPC - create private gateway dialog - add Physical Network dropdown. 2012-08-08 15:52:55 -07:00
Pranav Saxena
8f34776dd8 CS-15851:Intervlan - VMware - Enable Static NAT > if no tier selected> Apply> Status should display 'Please select a tier' 2012-08-08 18:02:39 +05:30
Pranav Saxena
dd7a0da9a7 CS-15901:InterVlan - UI - Site-to-Site VPN Gateway - Confirmation Message should mention Site-to-Site VPN Gateway instead of just VPN Gateway 2012-08-08 15:00:48 +05:30
Pranav Saxena
feaea413c7 CS-15844:InterVlan - UI - Remove ACL Icon is not displayed properly for ACL Rules 2012-08-06 16:06:30 +05:30
Brian Federle
26a4132b11 CS-15841: Better add VPC gateway flow
- Because only 1 gateway can exist per VPC, remove 'add' button from
  list view and immediately show create form on click if no gateway is
  present; show list view on successful creation. If there is a
  gateway, go to list view immediately.

- Rename "Gateways" -> "Private Gateway"
2012-08-03 12:26:34 -07:00
Brian Federle
5cb356024f CS-15802: Add VPC filter to instance wizard network select
Adds drop-down select to filter networks by VPC.

-If no VPC is selected, only show non-VPC isolated networks

-If VPC is selected, show tiers from specified VPC. Note that only one
 tier/network can be checked at a time in this mode, and 'add network'
 text field is hidden
2012-08-03 11:42:40 -07:00
Brian Federle
2cb141e6ae VPC: Update site-to-site VPN creation flow
If no VPN gateway exists for a VPC, then immediately show a dialog box
asking if user wants to add. If so, create VPN gateway and show list
view afterwards.

- This removes the 'add' button from the list view, moving the code up
  a level in the object to siteToSiteVPN.add

- In addition there is a new function, siteToSiteVPN.preCheck, which
  returns true/false. If true, then show list view immediately; if
  false, show dialog and go through creation process, showing list
  view afterwards.

Conflicts:
	ui/scripts/vpc.js
2012-08-02 11:34:51 -07:00
Brian Federle
1c7e68aa49 VPC widget: fix missing $browser reference 2012-07-31 14:37:55 -07:00
Alena Prokharchyk
a39fd61249 Merge branch 'master' into vpc
Conflicts:
	server/src/com/cloud/network/rules/RulesManagerImpl.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
	server/src/com/cloud/vm/VirtualMachineGuru.java
2012-07-27 13:47:46 -07:00
olgasmola
b7d68ac5d5 CS-15325: Fix selected name of user from the drop down list overlay. 2012-07-27 16:27:59 +03:00
olgasmola
b10a619635 CS-15518: Fix password field garbling on login screen. 2012-07-27 15:36:58 +03:00
Brian Federle
4a38f2be17 Cleanup formatting/whitespace
Conflicts:
	ui/scripts/vpc.js
2012-07-26 15:40:24 -07:00
Brian Federle
ae45ed65c6 VPC tier UI: Fix loading state for other actions
Fix actions other than the add VM action, whose loading state was
never removed
2012-07-26 14:41:37 -07:00
Brian Federle
1ba451b65f VPC UI: Better launch VM loading state for tiers
When launching a VM via the 'add VM' button on a VPC tier, show
loading icon to the side of the VM count, so that the tier area isn't
blocked, allowing the user to add more VMs or do other actions to the
tier.
2012-07-26 14:33:14 -07:00
olgasmola
1075344f03 CS-15353: Larger click boxes in UI. 2012-07-25 11:54:45 +03:00
olgasmola
dc19c86fde CS-15533: Add instance/Review tab fix empty value. 2012-07-25 10:42:43 +03:00
Jessica Wang
dc847ed832 cloudstack 3.0 UI - VPC - tier - implement "Add VM to tier" action. 2012-07-20 15:44:45 -07:00
bfederle
71bfeae487 Update VPC UI 2012-07-20 11:02:28 -07:00
Hugo Trippaers
79c7da07ab Phase 1 of Nicira integration 2012-07-11 17:16:06 -07:00
Brian Federle
262bbbe800 Add block to show/hide tier select
-- Hidden by default, needs real conditional code
2012-07-10 15:41:23 -07:00
Brian Federle
9f093817f3 Implement static NAT tier select UI
Adds a new drop-down to the enable static NAT dialog to allow selecting a tier to be associated with the VM. This is in the header of the list view.

It is defined as follows:

enableStaticNAT: {
  ...
    action: {
      noAdd: true,
      custom: cloudStack.uiCustom.enableStaticNAT({
        // VPC
        tierSelect: function(args) {
          args.response.success({
            data: [
              { id: '1', description: 'VPC 1' },
              { id: '2', description: 'VPC 2' }
            ]
          });
        },
    ...
2012-07-10 15:41:23 -07:00
Brian Federle
49c3c8b2e3 VPC UI: Add link to site-to-site VPN
Add link in tooltip for site-to-site VPN, which opens a new panel
showing the list view. This draws from the existing 'siteToSiteVpn'
network subsection, so no modification should be required to the
existing list view.
2012-06-29 13:36:07 -07:00
Brian Federle
683b7d7822 Add configure VPC tooltip and links 2012-06-29 13:13:59 -07:00
Brian Federle
f026387103 Add configure icon to VPC 2012-06-29 13:13:59 -07:00
Brian Federle
4c6738266d Fix add tier UI
Properly pass context for add tier dialog, which broke due to recent
changes that requires context to be present, for the action filter.
2012-06-28 15:34:22 -07:00
Brian Federle
b1a5ec13cd VPC tier UI: Update state after performing actions
After performing an action that changes state, namely starting and
stopping a tier, run through the action pre-filter again, to make sure
that the allowable actions are properly refreshed.

Conflicts:
	ui/scripts/ui-custom/vpc.js
2012-06-28 15:23:37 -07:00
Brian Federle
28e49e8880 VPC UI: Refactor tier action filter handling
For reusability, move action filter handling for VPC tier actions to a
separate function. This allows for easier refreshing of actions after a
tier's state has changed.
2012-06-28 15:22:41 -07:00
Brian Federle
9bbbc4e356 Pass _custom correctly to VPC tier add VM action 2012-06-28 14:21:08 -07:00
Brian Federle
6d78cc4000 Add Apache license to new JS files 2012-06-28 13:40:19 -07:00
Brian Federle
808a3d75d9 Instance wizard: Don't try to add a new row if list view isn't present 2012-06-28 11:14:02 -07:00
Brian Federle
c347c6bd09 Add base VPC UI
** Note: this is a work-in-progress, and only contains dummy content

Implement UI for managing VPC tiers, via a custom chart-like UI list
tiers and allowing the management of VMs associated with the VPCs.
2012-06-28 10:51:56 -07:00
Brian Federle
e6a6f84361 Pass context to instance wizard 2012-06-28 10:51:56 -07:00
David Nalley
9687520712 applying Chip Childer's patches for license headers in the ui directory 2012-06-26 10:46:53 -04:00
Jessica Wang
3ee3e4122a cloudstack 3.0 UI - add zone wizard - (1) When sdn.ovs.controller is true and when the physical network is in Advanced zone, show isolation method dropdown with two options (VLAN, GRE). VLAN is the default option in the dropdown.
(2) When sdn.ovs.controller is false: hide isolation method dropdown. isolationmethods parameter won’t be passed to createPhysicalNetwork API.
(3) When the physical network is in Basic zone (regardless of sdn.ovs.controller) : hide isolation method dropdown. isolationmethods parameter won’t be passed to createPhysicalNetwork API.
2012-06-22 16:07:12 -07:00
Jessica Wang
791986268a (1) CS-15311: cloudstack 3.0 UI - Add Zone Wizard - add physical network step - no isolation method dropdown if network type is Basic.
(2) CS-15312 - cloudstack 3.0 UI - Add Zone Wizard - add physical network - remove "L3" option from isolation method.
2012-06-21 13:48:11 -07:00
Jessica Wang
a00c21686f (1) CS-15057: Remove jquery.timer.js from source code. Replace it with native JavaScript functions.
(2) CS-14604: cloudstack 3.0 UI - Add Zone Wizard - skip Guest Traffic step if OVS tunnel manager is enabled.
(3) CS-15311: cloudstack 3.0 UI - Add Zone Wizard - add physical network step - no isolation method dropdown if network type is Basic.
(4) CS-14769:  Don't pass subdomainaccess param when scope=project.
(5) CS-15157: cloudstack 3.0 UI - infrastructure page - physical network - network service providers - reset nspMap before populating listNetworkServiceProviders response to nspMap.
2012-06-21 12:13:41 -07:00
Brian Federle
9f2a823d6e CS-13091: Enable/disable physical network UI actions 2012-05-24 12:17:58 -07:00
Jessica Wang
89f704d88c CS-13739: localize more labels 2012-05-23 17:21:39 -07:00
Brian Federle
4b88f454a3 CS-14953: 'CloudStack' -> 'CloudPlatform'
reviewed-by: brian

commit 4488f0a66766286e960a47d34cd2e5148162bcab
Author: Pranav Saxena <pranav.saxena@citrix.com>
Date:   Tue May 22 15:15:40 2012 +0530

    Renaming CloudStack to CloudPlatform for Proprietary builds
2012-05-22 11:45:58 -07:00
Brian Federle
eb6392d48c CS-12462: no close button on select project list view popup 2012-05-21 10:29:29 -07:00
Brian Federle
cf4ef95e9a CS-13123: Hide diagram parts on change password form 2012-05-15 11:56:45 -07:00
Brian Federle
0bc65768b7 CS-14339, CS-14241
In instance wizard, use configuration value for max. custom disk
offering size, instead of hardcoding the max size to 100 GB
2012-05-14 11:45:21 -07:00
Jessica Wang
89ee1b4814 cloudstack 3.0 UI - login page - add a blank option to language dropdown. When this blank option is selected, browser's default language will be used. 2012-05-03 15:41:38 -07:00
bfederle
57cc1ea378 WIP: Upload volume UI
Adds new action, upload volume, to the storage->volumes list view
header. This will present a dialog to specify URL & name of volume,
and select a VM to attach the volume to.

Server API calls are still incomplete and rely on hardcoded values.
2012-05-02 14:29:29 -07:00
bfederle
898952479e CS-14461: Add more infrastructure page shortcuts
-Add additional shortcuts for:
  -Primary storage
  -Secondary storgage
  -Virtual routers
  -System VMs

-Replace host stats with the new shortcuts

-Add 'zone' dropdown to create form for the newly added-shortcuts'
 sections, to support creating these items without a zone context
2012-04-30 10:32:43 -07:00
Jessica Wang
8d92440ec2 CS-14272: cloudstack 3.0 UI - Add Zone Wizard - physical networks step - add Isolation Method dropdown. 2012-04-26 16:19:46 -07:00
Jessica Wang
b7b77cea5c CS-14559: cloudstack 3.0 UI - VM Wizard - last step - screen doesn't change, but user-entered VM name will be passed as hostname and displayname to deployVirtualMachine API. Add validation of user-entered name field to match naming rule of hostname. 2012-04-18 17:45:41 -07:00
pranav
ee0f3e898c Bug 12833 addition of Fetch Latest Button on the Dashboard
Conflicts:

	client/WEB-INF/classes/resources/messages.properties
	ui/css/cloudstack3.css

reviewed-by: brian
2012-04-12 15:15:31 -07:00