Commit Graph

17931 Commits

Author SHA1 Message Date
Jessica Wang ff58052d2c CLOUDSTACK-747: internal LB in VPC - internal LB detailView - add rules tab, assignedVMs tab. 2013-05-22 13:18:53 -07:00
Brian Federle 9e0733c83e Add dashboard count for IPs with port forwarding 2013-05-22 12:28:02 -07:00
Brian Federle 763f6fd47b Add dashboard counts for static NAT IPs 2013-05-22 12:15:45 -07:00
Brian Federle f2dd65c397 Add dashboard counts for private gateways, ip addresses and vpns 2013-05-22 12:01:22 -07:00
Brian Federle 7ac0141f7e Merge branch 'master' into ui-vpc-redesign 2013-05-22 11:45:50 -07:00
Jessica Wang a0e75c12cd CLOUDSTACK-747: internal LB in VPC - fix a bug that Source IP Address column was not filled after Add Internal LB action was complete. 2013-05-22 11:21:20 -07:00
Brian Federle b11c44f91d Internal LB: Pre-select existing VMs on LB rule 2013-05-22 11:11:33 -07:00
Jessica Wang 8acdd6f436 CLOUDSTACK-747: internal LB in VPC - remove module internalLbProvider since internalLbVm section has been added in system.js 2013-05-22 11:07:34 -07:00
Jessica Wang c7976b6685 CLOUDSTACK-747: internal LB in VPC - remove module internalLbProvider since internalLbVm section has been added in system.js 2013-05-22 11:03:56 -07:00
Jessica Wang c7b902024c CLOUDSTACK-747: internalLb in VPC - Infrastructure menu - network service provider - add InternalLbVm. Clicking it will lead to a screen that can enable/disable provider and have instances tab that can start/stop LB Instance. 2013-05-22 10:49:26 -07:00
Jessica Wang 29574267c9 CLOUDSTACK-747: UI - create network offering - default sourceNat type as per account instead of per zone. 2013-05-22 10:48:44 -07:00
Jessica Wang 1f420ec085 CLOUDSTACK-747: internalLb in VPC - Infrastructure menu - network service provider - add InternalLbVm. Clicking it will lead to a screen that can enable/disable provider and have instances tab that can start/stop LB Instance. 2013-05-22 10:42:49 -07:00
Chip Childers e720e8a1a6 CLOUDSTACK-2516: Adding upgrade steps to deal with authenticator changes 2013-05-22 12:16:13 -04:00
Likitha Shetty 5b80af0cda Add missing license headers 2013-05-22 18:17:11 +05:30
Likitha Shetty 9a33fd181f CLOUDSTACK-2623. Provide appropriate AWS EC2 error codes in error thrown by CS AWSAPI. Since CS has very few generic errorcode groups, in AWSAPI parse the response message and translate the CS error to AWS EC2 error code.
Provide support for the following error codes -
AuthFailure, DependencyViolation, IncorrectState, InvalidAMIID.NotFound, InvalidAttachment.NotFound, InvalidDevice.InUse, InvalidFilter, InvalidGroup.Duplicate, InvalidGroup.InUse, InvalidGroup.NotFound
InvalidInstanceID.NotFound, InvalidKeyPair.Duplicate, InvalidKeyPair.Format, InvalidKeyPair.NotFound, InvalidParameterCombinatio, InvalidParameterValue, InvalidPermission.Duplicate, InvalidPermission.Malformed
InvalidSnapshot.NotFound, InvalidVolume.NotFound, InvalidVolumeID.Duplicate, InvalidZone.NotFound, MissingParameter, UnsupportedOperation, SignatureDoesNotMatch, InternalError, AddressLimitExceeded, InstanceLimitExceeded
VolumeLimitExceeded, Unavailable, ResourceLimitExceeded

CLOUDSTACK-2624. Support ModifyInstanceAttribute API in AWSAPI.
2 AWS instance attributes will be supported, 'InstanceType' and 'UserData'
As per AWS EC2, to modify both the attributes, the instance must be stopped. If not throw 'IncorrectInstanceState' error
2013-05-22 18:17:11 +05:30
Devdeep Singh 85ff507094 CLOUDSTACK-2602. XenServer storage motion strategy returns true for canHandle even though hosts are of different hypervisor type. Fixed the canHandle routine to return true only if source and destination hosts are of type XenServer. 2013-05-22 17:47:11 +05:30
Radhika PC f7eb139ce2 portable ip and api changes 2013-05-22 17:28:06 +05:30
Murali Reddy 62d320454a CLOUDSTACK-2360: listnetscalerloadbalancerresponse is not including any
information about GSLB status

adds the infomration if NetScaler is provisioned as GSLB service
provider
2013-05-22 16:26:46 +05:30
Murali Reddy 53499c0858 changing default 'GSLB provider' check box value to unchecked in UI 2013-05-22 16:26:46 +05:30
Prasanna Santhanam b3096db600 Bad indentation corrected
For some reason test got unindented wrongly by Eclipse.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-22 16:22:26 +05:30
Girish Shilamkar 44a81f0b6f CLOUDSTACK-2577: Fix exception handling for listPortForwarding API
listPortForwarding API returns an exception if the PF is deleted.
Changed testcases to handle this exception.

Signed-off-by: Girish Shilamkar <girish@clogeny.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-22 15:52:31 +05:30
Prasanna Santhanam 616011020b Refactoring the planner tests
1. Planner tests rewritten to use marvin integration libraries
2. Included verification of multi VM deployment for user dispersion
3. Included a test for user concentrated planner

TODO: firstfit planner test doesn't actually test the planner strategy.
It only deploys a VM using the offering.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-22 15:43:04 +05:30
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
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
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
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