Commit Graph

3126 Commits

Author SHA1 Message Date
Brian Federle 21904cf33b UI, add network offering: Disable VPC virtual router by default
reviewed-by: jessica
2012-08-27 15:32:24 -07:00
Brian Federle 7e591a442d CS-15811: Network offering: filter by VPC supported services
Introduce a new checkbox which indicates that this service offering is
for VPC networks. If enabled, then only show the VpcVirtualRouter
option for all supported services. If disabled, then disable the
VpcVirtualRouter options

reviewed-by: jessica
2012-08-27 15:21:08 -07:00
Jessica Wang f9fdbcddb1 cloudstack 3.0 UI - VPC feature - localize network.js (Reviewed-by: Brian) 2012-08-24 15:41:41 -07:00
Pranav Saxena e4c51e92ef CS-16152:Projects:Not shown max.vpcs entry in the resourcelimits 2012-08-24 05:18:43 +05:30
Brian Federle 00323f0e5a CS-15967: Don't pass projectId=-1 to zone->guest networks list
reviewed-by: jessica
2012-08-23 13:16:42 -07:00
Brian Federle c0b92958ef CS-16001: Show VPC router details for domain admins 2012-08-23 12:26:03 -07:00
Brian Federle b302ed904a CS-16144: Show warning before enabling local storage in zone wizard
Conflicts:
	ui/dictionary.jsp
2012-08-23 11:08:48 -07:00
Brian Federle 7e3b4408cb UI create form: Support custom checkbox 'on change' event
If field is a checkbox (isBoolean: true) and onChange function is
specified, then call this onChange everytime checkbox is clicked.
2012-08-23 11:08:12 -07:00
Jessica Wang b5d00724fa cloudstack 3.0 UI - basic zone - elastic IP - Add Load Balancer tab - Add VMs button - add a comment to specify code area. (Reviewed-by: Brian) 2012-08-23 10:40:05 -07:00
Brian Federle e6ef6985f8 CS-16138: Fix instance wizard 'add network' radio button
When no guest networks are present but VPC tier is, fix 'add new
network' radio button being unselected.

reviewed-by: jessica
2012-08-22 15:24:58 -07:00
Pranav Saxena 2cd6382f73 CS-16133:Removing the infinte API add load balancer calls in a basic zone while adding VMs to create a lb rule 2012-08-23 01:21:20 +05:30
Mice Xia eb4e09ec58 CS-16048 Failled to assign VLAN to storage network in zoneWizard 2012-08-22 18:06:03 +08:00
Jessica Wang 576f7f6ecb cloudstack 3.0 UI - VPC feature - localize vpc.js (Reviewed-by: Brian) 2012-08-21 16:52:04 -07:00
Jessica Wang 57d95d27f1 cloudstack 3.0 UI - VPC feature - fix a bug that shortLabel was not localizable. (Reviewed-by: Brian) 2012-08-21 16:51:22 -07:00
Brian Federle 5d94a8de8c VPC UI: Network ACL: Only show 'acl' tab on detail view
reviewed-by: jessica
2012-08-21 13:12:52 -07:00
Pranav Saxena b7f920b4c0 CS-16018:Resources tab not displaying the Resource limits in both in default view as well as projects view 2012-08-22 01:38:10 +05:30
Brian Federle 93834ea6c6 CS-16007: Show tier name (associated network name) in place of VM name
reviewed-by: jessica
2012-08-21 11:33:03 -07:00
Pranav Saxena 568cc88c20 CS-15898:Change drop down options in vm tier for vpc 2012-08-21 15:51:41 +05:30
Brian Federle 7d934d1039 CS-16085: Fix networks checkboxes
When both VPC and isolated networks are present, fix case where
unchecking first isolated networks triggers checkbox for VPC tier
network, thus making it appear as if no network is selected.

reviewed-by: jessica
2012-08-20 15:00:44 -07:00
Brian Federle ad2b8d7579 CS-16044: Zone wizard: Add 'use local storage' checkbox
Add checkbox to zone wizard indicating whether zone will use local
storage. If checked, bypass add primary storage step and enable local
storage for zone on creation.

Conflicts:
	ui/index.jsp
2012-08-20 11:36:57 -07:00
Brian Federle ba2b0c3974 CS-16050: Pass listAll=true to listTags API call, if admin 2012-08-20 10:40:37 -07:00
Brian Federle 4b57e7b602 CS-16002: Fix ACL list view when no networks present 2012-08-16 14:08:30 -07:00
Brian Federle b391a1c5b1 CS-16010: Add missing alt tag for 'move to bottom' reorder action 2012-08-16 13:56:07 -07:00
Brian Federle 5633ad0beb CS-16016: Reset input field to default value on add
Conflicts:
	ui/scripts/vpc.js
2012-08-16 13:48:21 -07:00
Brian Federle 9394e838a5 CS-16001: Show router details on click of 'virtual router'
Clicking the 'Virtual Router' button will show the same router tab as seen on
the VPC detail view.

 -- Note that this is only clickable for admins, as users cannot view router
      details in the API.
2012-08-16 12:36:03 -07:00
Brian Federle 59743018e6 VPN Customer Gateway: Fix missing capital letters 2012-08-16 11:33:16 -07:00
Jessica Wang e6130d3384 CS-16018: cloudstack 3.0 UI - create VPN Customer Gateway - IKE DH, Perfect Forward Secrecy dropdown - restore blank option back and label it as "None". 2012-08-16 11:24:02 -07:00
Pranav Saxena 9ac17b35db CS-16018:InterVlan- Blank Options on Add VPN Customer Gateway replaced by Group2mod(1024p) 2012-08-16 21:27:14 +05:30
Pranav Saxena 1ec3fed0e6 CS-16019:InterVlan CIDR list in Add VPN Customer Gateway doesnt let the User know that CIDR list is a comma seperated list 2012-08-16 20:53:51 +05:30
Mice Xia 5dcf639acc Fix a bug, failed to show resource limit page in project view due to missing vpc limit type 2012-08-16 20:17:42 +08:00
Pranav Saxena 938498c7fe CS-15962:InterVlan-Router details tabs to be visible only for admin and hidden for regular accounts 2012-08-16 16:56:15 +05:30
Pranav Saxena a7b7465bec CS-15961:InterVlan Box for Creation of ACL Rules on ICMP Protocol should convey User that -1 for Type and Code means any Type and Code 2012-08-16 14:56:23 +05:30
Jessica Wang ccf99beaed cloudstack 3.0 UI - Instances page - VM Wizard - select network step - VPC filter - list only VPCs belonging to the current login (i.e. If the current login is root-admin, do not show VPCs belonging to regular-user/domain-admin in Instances page's VM Wizard.) 2012-08-15 15:00:26 -07:00
Jessica Wang 6c33763d86 cloudstack 3.0 UI - VPN Customer Gateway - IKE DH field, Perfect Forward Secrecy field - change option description of to 'Group 2(modp1024)', 'Group 5(modp1536)'. 2012-08-15 13:59:28 -07:00
Jessica Wang 07efdb6409 cloudstack 3.0 UI - IP Address page - detailView - Network Name is referring to name of associated network. 2012-08-15 11:41:38 -07:00
Brian Federle dc07b2e3e6 VPC UI: Fix IP details when no network is present 2012-08-15 10:28:14 -07:00
Brian Federle 95a60dc8bc VPC UI: Hide tier dropdown if viewing from tier detail view 2012-08-15 10:14:22 -07:00
Jessica Wang 78b3b1ad83 CS-15977: cloudstack 3.0 UI - VM Wizard - select network step (5th step) - if there is no visible network in Existing Networks Area, check checkbox in Add Network Area. 2012-08-14 15:53:18 -07:00
Jessica Wang aa9dd422d9 CS-15985: cloudstack 3.0 UI - IP Address page - should use associatednetworkid instead of networkid when trying to grep an IP Address' parent network. 2012-08-14 12:35:41 -07:00
Brian Federle e986d03fc9 CS-15916: Show network name in IP details
Conflicts:
	ui/scripts/network.js
2012-08-14 12:35:33 -07:00
Jessica Wang 1fd771f871 cloudstack 3.0 UI - DeleteVpnCustomerGateway API response name has been changed, here is corresponding UI change. 2012-08-14 10:10:03 -07:00
Pranav Saxena 37f646f3ff CS-15981:changing addvm's to add 2012-08-14 18:13:22 +05:30
Pranav Saxena 9c6254046a CS-15976:when vpc fails to create, UI keeps on showing that the creation is in progress 2012-08-14 17:24:07 +05:30
Pranav Saxena 8553918d08 CS-15981:Add Load Balancer page inside Guest networks is blank 2012-08-14 16:34:07 +05:30
Mice Xia 29459549ba Fix a bug: zoneWizard uses incorrect vlan parameter to create storage network 2012-08-14 13:43:09 +08:00
Jessica Wang cc2dec9fe1 cloudstack 3.0 UI - network page - LB listing - VM listing - VM name - no need to choose between id, displayname, name property in VM object. Always use displayname property in VM object. This also fixes a bug that VM name did not show right after an VM was assigned to a LB rule. 2012-08-13 16:09:06 -07:00
Jessica Wang 9a8089e02c cloudstack 3.0 UI - network page - LB listing - comment out obsolete unused code. 2012-08-13 14:46:02 -07:00
Pranav Saxena dabb827922 CS-15961:InterVlan Box for Creation of ACL Rules on ICMP Protocol should convey User the default value and Tooltip description for ICMP Type and Code 2012-08-14 01:52:00 +05:30
Pranav Saxena 4da87bd9dd Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2012-08-14 01:16:50 +05:30
Pranav Saxena 6de089810d CS-15962: Inter VLAN Virtual router tab development under VPC section 2012-08-14 01:16:11 +05:30
Jessica Wang e002dd0998 CS-15957: cloudstack 3.0 UI - VPC - private gateway - if not root-admin, show private gateway listView instead of create private gateway dialog because only root-admin is allowed to create private gateway. 2012-08-13 12:45:50 -07:00
Brian Federle 9bf7d757e8 multiEdit: Support default value and description
-If 'defaultValue' is specified for a text field, then put that value
 into the text field on load.

-If 'desc' is specified for any field, then use it as a 'title'
 attribute to show a tooltip description.

Example:

      'icmptype': {
        ...
        defaultValue: '-1',
        desc: 'Please specify -1 if you want to allow all'
        ...
      }
2012-08-13 12:16:43 -07:00
Brian Federle 41a383f0f9 CS-15877: Fix static routes
Fix static routes not being shown when viewed as a domain admin
2012-08-13 10:56:59 -07:00
Pranav Saxena 94d8eb71fb ACL restructuring label renaming 2012-08-13 14:29:21 +05:30
Pranav Saxena f285ce4ef0 ACL restructuring UI changes 2012-08-13 14:22:32 +05:30
Pranav Saxena caece12823 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2012-08-13 13:12:38 +05:30
Pranav Saxena 531cfa76f4 CS-15960:InterVlan - UI - Network-VPC view should list the status of the VPCs 2012-08-13 13:11:54 +05:30
Mice Xia 00b2a8040b Remove @author tag from non third-party source files in agent-simulator, cloud-cli, test, ui and utils folder 2012-08-13 15:30:42 +08:00
Pranav Saxena 5111fee70c CS-15959:InterVlan - UI - Name Label changes required for Add VPC box parameters 2012-08-13 12:00:25 +05:30
Alena Prokharchyk b61468d65c Merge branch 'master' into vpc
Conflicts:
	plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
2012-08-11 18:27:18 -07:00
Brian Federle abbfd74077 Fix _hideFields array not hiding add VM button 2012-08-10 14:03:17 -07:00
Brian Federle 66e3387b2a Fix _hideFields array not hiding add VM button 2012-08-10 14:03:00 -07:00
Edison Su 263216caa5 Adds CLVM as an option for primary storage. It copies most of the RBD bits, in most cases simply adding an 'else if' or similar. In the managesnapshot.sh we add the ability to manipulate snapshots for the CLVM volumes, as well as a few minor fixes like adjusting the usage for the -b option to reflect that it accepts four arguments (note that it already accepted four args, it just wasn't reflected in the usage).
RB: https://reviews.apache.org/r/6470/
Send-by: shadowsor@gmail.com
2012-08-10 13:33:06 -07:00
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
Jessica Wang 569afefc6d CS-15945: cloudstack 3.0 UI - Infrastructure page - zone detail page - create guest network - make start IP, end IP field required. 2012-08-10 11:12:04 -07:00
Alena Prokharchyk ccac505944 Merge branch 'master' into vpc 2012-08-10 10:47:49 -07:00
Brian Federle 83361776fa multiEdit: Allow disabling fields per-row
If _hideFields array is passed with row item data, then field IDs
specified will be disabled, if they are custom button actions.
2012-08-10 10:43:35 -07:00
Brian Federle a6f59e31d5 multiEdit: Allow disabling fields per-row
If _hideFields array is passed with row item data, then field IDs
specified will be disabled, if they are custom button actions.
2012-08-10 10:43:17 -07:00
Jessica Wang 0384259298 CS-15939: cloudstack 3.0 UI - VPC - create VPN connection - add error handling. 2012-08-10 10:29:03 -07:00
Brian Federle a96c9013d4 multiEdit: pass context to select handler 2012-08-10 09:17:48 -07:00
Brian Federle b9e1cb640a multiEdit: pass context to select handler 2012-08-10 09:17:28 -07:00
Jessica Wang 60f1dbe572 CS-15883: cloudstack 3.0 UI - VPC - VM Wizard - step 1 - zone dropdown - populate only one zone, the one that the VPC is under. 2012-08-09 17:09:19 -07:00
Brian Federle df4a4a6b21 CS-15913: Add state column to VPN connection listing 2012-08-09 16:15:29 -07:00
Brian Federle 241d83aa09 VPC UI, VPN connections: fix 'DPD' boolean field 2012-08-09 16:15:29 -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 3b8494131f CS-15803: cloudstack 3.0 UI - VPC - fix a bug that root-admin failed to create a VM in a tier that belonged to regular-user or domain-admin. 2012-08-09 14:53:06 -07:00
Jessica Wang ed28accdf0 CS-15801: cloudstack 3.0 UI - VPC - create new tier - fix an error "Owner of vpc with specified vpcId is different from the network owner Acct[2-admin]". 2012-08-09 14:30:07 -07:00
Mice Xia c91463f43e show zone name in secondary storage detail page 2012-08-09 17:29:11 +08:00
Pranav Saxena 695f727cfd CS-15915:InterVlan - UI - Static route - instead of CIDR should say CIDR of destination network 2012-08-09 10:37:09 +05:30
Jessica Wang 965da2ce99 CS-15825: cloudstack 3.0 UI - VPC - Tier - detailView - allow all actions for regular-user and domain-admin since server-side doesn't have restriction. 2012-08-08 16:08:36 -07:00
Jessica Wang c33c19dd31 CS-15773: cloudstack 3.0 UI - VPC - create private gateway dialog - add Physical Network dropdown. 2012-08-08 15:53:36 -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
Alena Prokharchyk 048c5e50cf Merge branch 'master' into vpc
Conflicts:
	utils/test/com/cloud/utils/component/MockComponentLocator.java
2012-08-08 11:50:39 -07:00
Jessica Wang b74a6a7a9c cloudstack 3.0 UI - VPC - private gateways - preCheck() should not call args.response.success(). 2012-08-08 10:27:51 -07:00
Jessica Wang 406ae0d724 cloudstack 3.0 UI - site to site VPN - create VPN connection - fix a bug that wrong vpnGatewayId is passed to API command where there are multiple VPN gateways are present in one account. 2012-08-08 10:26:52 -07:00
Jessica Wang 0db332887e cloudstack 3.0 UI - VPC - IP Address page - configuration tab - fix a bug that root-admin was unable to see LB service of IP Address owned by regular-user or domain-admin. 2012-08-08 10:22:49 -07:00
Jessica Wang 0c8ce06f6b cloudstack 3.0 UI - infrastructure - Virtual Routers - detailView - add Reboot action to VPC Virtual Router. 2012-08-08 10:13:17 -07:00
Jessica Wang a1143acf85 cloudstack 3.0 UI - infrastructure - zone detail - network service providers - VPC Virtual Router - Instances tab - detailView - add Reboot action. 2012-08-08 10:08:38 -07:00
Pranav Saxena a5f979355b CS-15900:InterVlan UI - Confirmation Note on Acquisition of a Public IP Address to a VPC should mention this VPC instead of this Network 2012-08-08 20:29:27 +05:30
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 1323d7f32f CS-15903:Detail page of vpn connection miss ike/esp lifetime 2012-08-08 13:59:34 +05:30
Mice Xia 8d75c8fe7d fix for empty event detail page 2012-08-08 15:49:27 +08:00
Pranav Saxena 1aea98f622 CS-15898:Change drop down options in vm tier for vpc 2012-08-08 11:03:08 +05:30
Brian Federle b5e1c53137 CS-15892: Tier detail view: Show 'tier details' instead of 'details'
Conflicts:
	ui/index.jsp
2012-08-07 16:02:07 -07:00
Brian Federle 7de225baa9 CS-15890: ACL multiEdit: Change 'Source CIDR' -> 'CIDR' 2012-08-07 16:00:44 -07:00
Brian Federle 72651f62b7 CS-15891: Add view console action to VPC instances list view
Conflicts:
	ui/css/cloudstack3.css
2012-08-07 16:00:35 -07:00
Brian Federle 310b24b285 List view: support external link actions
Support actions which point to an external link, primary to support
launching the console proxy.

Example:

listView: {
  actions: {
    viewConsole: {
      label: 'label.view.console',
      action: {
        externalLink: {
          url: function(args) {
            return clientConsoleUrl + '?cmd=access&vm=' + args.context.vpcTierInstances[0].id;
          },
          title: function(args) {
            return args.context.vpcTierInstances[0].id.substr(0,8);
          },
          width: 820,
          height: 640
        }
      }
    }
  }
}
2012-08-07 15:59:36 -07:00
Brian Federle 8630891c07 List view: support external link actions
Support actions which point to an external link, primary to support
launching the console proxy.

Example:

listView: {
  actions: {
    viewConsole: {
      label: 'label.view.console',
      action: {
        externalLink: {
          url: function(args) {
            return clientConsoleUrl + '?cmd=access&vm=' + args.context.vpcTierInstances[0].id;
          },
          title: function(args) {
            return args.context.vpcTierInstances[0].id.substr(0,8);
          },
          width: 820,
          height: 640
        }
      }
    }
  }
}
2012-08-07 15:58:57 -07:00
Brian Federle c6e58b6ece multiEdit: support validate on custom action
If requireValidation: true is set for a custom action, then only
perform action if multiEdit's form fields are valid. This does not
apply to clicking on existing rules' action buttons.

Syntax:

multiEdit: {
  fields: {
    testField: {
      custom: {
        requireValidation: true,
        ...
      },
      ...
    },
    ...
  }
}

Conflicts:
	ui/scripts/ui/widgets/multiEdit.js
2012-08-07 13:48:27 -07:00