Commit Graph

20355 Commits

Author SHA1 Message Date
Prasanna Santhanam 698da2a279 Minor tagging and comments in tests
Adding tags to the deployvm test from the marvin tutorial
Adding docstrings to the vm snapshot tests
Add tag to the pvlan test

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-22 15:43:03 +05:30
Nitin Mehta a67728b312 CLOUDSTACK-2567 - check for ! dmcEnabled. 2013-05-22 15:31:18 +05:30
Hugo Trippaers 4e09079640 Update the Logical Router NatRules to be compatible with the NVP 3.x.x
platform

Use the Gson adapters to serialize/deserialize the NatRules

Switch the NiciraNvpApi to a single gson Object with the proper adapters

Fix missing order setting for static nat rules and portforwarding rules

Return an error when a port range is passed in a portforwarding rule

The serializer is not required

Fix a bug where an ip address could be released even if it was still in
use for SourceNat

Throw a json parse exception when the type is unknown to the adapter
2013-05-22 11:32:16 +02:00
Koushik Das 83f84adda2 CLOUDSTACK-2585: Failed to apply new PF rules after deleting the existing PF Rule with Cisco VNMC Provider
Each rule created in VNMC under a policy object needs to have an unique order value. Rules are evaluated based on this value.
Eariler order was computed based on the rule count under a policy object. This resulted in duplicate order value when rules get
deleted and recreated. Changed the logic to compute order based on the CS db id of the rule which is unique.
2013-05-22 14:49:48 +05:30
Pranav Saxena 5d3e6bd397 Implicit Dedication - Key and Value for iMplicit Dedication planner 2013-05-22 14:35:16 +05:30
Rajesh Battala 11f85c9c9e CLOUDSTACK-2398: ssvm-check.sh failed with permission error
RPCbind service is running in the 4.2 systemVMs resulting in ssvm-check
trying to write to the mountpoint. Avoid writing to the rpc_pipefs.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-22 13:58:36 +05:30
Pranav Saxena 49e39e51f2 CLOUDSTACK-681:Implicit Dedication UI support 2013-05-22 12:31:48 +05:30
Jayapal e31553aff8 CLOUDSTACK-2308 fixed adding route in vware for mgmt subnet
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-05-22 12:21:30 +05:30
Pranav Saxena ba08af9361 ACL List - Addition in the detail view for Tier 2013-05-22 10:50:15 +05:30
Min Chen 01e36538aa Fix a bug in creating volume path in copy command. 2013-05-21 22:18:35 -07:00
Min Chen f23f341922 Handle CopyCmdAnswer in VolumeObject.processEvent for image and
imageCache, and fix a bug in selecting endpoint.
2013-05-21 22:15:36 -07:00
Edison Su 383be568b3 CLOUDSTACK-2527: enable attach/detach xs tool iso 2013-05-21 19:13:29 -07:00
Edison Su 536feab856 when copy volume to secondary storage, need to add full volume path 2013-05-21 17:47:38 -07:00
Edison Su efd249d61d fix build 2013-05-21 17:34:39 -07:00
Edison Su 827a1a229b CLOUDSTACK-2584: fix create template from s3 2013-05-21 16:55:41 -07:00
Min Chen 235825dc33 Properly updated destroyed column in template_store_ref and
volume_store_ref in deleting template or volume.
2013-05-21 16:51:12 -07:00
Min Chen f5732fe3bf Consolidate code to use UriUtils.validateUrl instead of repeating code
several places.
2013-05-21 16:50:02 -07:00
Brian Federle 531a2f713f Add ACL lists count to VPC chart 2013-05-21 16:28:57 -07:00
Brian Federle a3e97bbc3f Remove console.log 2013-05-21 16:17:12 -07:00
Brian Federle 4ce76429e2 Add internal LB count to VPC chart 2013-05-21 16:16:27 -07:00
Prachi Damle dce4258171 CLOUDSTACK-2568: ACS41 regression in storage subsystem (seen with local storage and 2 or more hosts)
Changes:
- In VolumeReservationVO, the  getter method of a column had a typo, causing us to create a wrong searchbuilder. It was searching over the 'id' column instead of 'vm_reservation_id' causing
- This bug was causing the vm deployment to choose a wrong pool during deployment since the search was choosing incorrectly
- This bug in the GenericSearchBuilder is also fixed - if the getter method does not use the standard 'get' or 'is' prefix, one should annotate that method using
 @Column(name = "<column_name>") and indicate which column this method refers to. This will cause the GenericSearchBuilder to identify the field correctly.
2013-05-21 16:06:29 -07:00
Brian Federle d019359d59 Merge branch 'master' into ui-vpc-redesign 2013-05-21 16:02:12 -07:00
Jessica Wang 3c2be57c35 CLOUDSTACK-747: internalLb in VPC - internal LB detail View - implement action assign VM to internal lb. 2013-05-21 15:58:39 -07:00
Brian Federle 7c05bb13cc Fix quickview for ACL list 2013-05-21 15:51:15 -07:00
Brian Federle 62f7ab6ffe Delete ACL action: Rename to 'remove' to fix UI feedback 2013-05-21 15:48:11 -07:00
Brian Federle 24dd6fb66f Cleanup formatting 2013-05-21 15:40:00 -07:00
Brian Federle b88da4e1c1 VPC UI: Reload chart on perform detailView action 2013-05-21 15:36:50 -07:00
Brian Federle 0a443697ea Add base internal LB provider module 2013-05-21 15:26:59 -07:00
Brian Federle c6c85387fb VPC: Use listView selector for assignVm action 2013-05-21 15:09:30 -07:00
Brian Federle dfa93b52a8 Detail view actions: Add support listView selection
Adds a new dialog 'cloudStack.dialog.listView'

-- Supports displaying a list view in a popup dialog, for selecting
   items for an action (i.e., selecting VMs for an LB rule). Arguments
   are a list view object and the 'type' of selection: either
   'checkbox' or 'radio'

Example:

detailView: {
  name: 'Internal Lb details',
  actions: {
    assignVm: {
      label: 'Assign VMs to LB',
      messages: {
        notification: function(args) { return 'Assign VM to internal LB rule'; }
      },
      listView: $.extend(true, {}, cloudStack.sections.instances.listView, {
        type: 'checkbox',
        filters: false
      }),
      action: function(args) {
        args.response.success();
      },
      notification: {
        poll: function(args) {
          args.complete();
        }
      }
    }
  },
  ...
}
2013-05-21 15:07:21 -07:00
Min Chen 2aab3c8849 CLOUDSTACK-2594: Failed to add Secondary storage for second zone through
old addSecondaryStorage api.
2013-05-21 14:55:07 -07:00
Sheng Yang 92ad6abab0 PVLAN: Fix NPE when VM are in allocated state
If vlan is not assigned for VM, nic.getBroadcastUri() would be null. Then just
ignore it.
2013-05-21 14:51:35 -07:00
Min Chen a4e6784e0b CLOUDSTACK-2578: NPE in deleting template from S3. 2013-05-21 14:43:32 -07:00
Jessica Wang 41f9a12d38 CLOUDSTACK-747: internalLb in VPC - populate detailView of internal LB. 2013-05-21 13:48:27 -07:00
Jessica Wang c89ca6a92f CLOUDSTACK-747: internalLb in VPC - populate listView of internal LB. 2013-05-21 13:15:09 -07:00
Brian Federle 9fff2c4a66 Add VM total to dashboard 2013-05-21 12:54:07 -07:00
Brian Federle 451c83c998 Fix listView add/replace row for VPC section 2013-05-21 12:52:55 -07:00
Brian Federle e35f14439a Merge branch 'master' into ui-vpc-redesign 2013-05-21 12:30:01 -07:00
Min Chen cb0659ab33 CLOUDSTACK-2590: we should only search for active user templates when
deleting an image store.
2013-05-21 12:01:53 -07:00
Min Chen 2af36aa87b Clean up template_zone_ref entries in case of create template failure. 2013-05-21 12:00:59 -07:00
Min Chen 8f549db518 Clean up entries in template_store_ref, volume_store_ref and
snapshot_store_ref in case of operation failure.
2013-05-21 12:00:04 -07:00
Jessica Wang 0eceb0da60 CLOUDSTACK-747: UI - create network offering - default sourceNat type as per account instead of per zone. 2013-05-21 11:59:03 -07:00
Jessica Wang a75cf9a79d CLOUDSTACK-747: internalLb in VPC - UI - create network offering - when Lb service is checked and LB provider is InternalLbVm, pass capability type as lbSchemes and capability value as internal. 2013-05-21 11:44:50 -07:00
Jessica Wang 263cc9a62c CLOUDSTACK-747: internalLb in VPC - UI - create network offering - when VPC checkbox is checked, enable provider InternalLbVm, VpcVirtualRouter, Netscaler. When VPC checkbox is unchecked, disable provider InternalLbVm, VpcVirtualRouter. 2013-05-21 11:44:20 -07:00
Jessica Wang e42ddb83c2 CLOUDSTACK-747: internalLb in VPC - UI - create network offering - add LB Type dropdodwn which is shown when VPC is checked and LB service is checked, hidden otherwise. LB Type (publicLb, internalLb) will determine the options in LB Provider dropdown. 2013-05-21 11:43:54 -07:00
Jessica Wang 75df90663f CLOUDSTACK-747: internalLb in VPC - UI - create network offering - when Lb service is checked and LB provider is InternalLbVm, pass capability type as lbSchemes and capability value as internal. 2013-05-21 11:37:12 -07:00
Jessica Wang ccf1ebc26b CLOUDSTACK-747: internalLb in VPC - UI - create network offering - when VPC checkbox is checked, enable provider InternalLbVm, VpcVirtualRouter, Netscaler. When VPC checkbox is unchecked, disable provider InternalLbVm, VpcVirtualRouter. 2013-05-21 11:08:40 -07:00
Pranav Saxena e6382b1896 Delete ACL list filter and css 2013-05-21 22:15:15 +05:30
Girish Shilamkar 2bc88ea277 CLOUDSTACK-778: Add tests for user provided hostname for vms
Automation tests to qualify User provides hostname feature.
1. Defines services class
2. Test to verify custom hostname for the instance with internal name
3. Test to verify custom hostname for the instance without internal name

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-21 20:27:26 +05:30
Girish Shilamkar b74d13f9b1 CLOUDSTACK-2472: Fix unresolved reference to max_value
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-21 19:31:52 +05:30