14487 Commits

Author SHA1 Message Date
Rohit Yadav
7ce53e89aa cli: make parse in posix mode
Posix mode allows the parse to:
- split by whitespace but value="between quotes are retained or enclose"
- quotes are stripped out

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-11-17 04:07:35 +05:30
Alena Prokharchyk
f25a78111f CLOUDSTACK-493: 22x-30 upgrade for Advance SG enabled zone
* enable SG provider if the zone is SG enabled
* don't create public traffic type for the zone if there is no public network exist in the zone in 2.2.x
2012-11-16 10:00:45 -08:00
Marcus Sorensen
263b8eec14 Summary: Adding utility to make system vm maintenance easier for admins
Detail: new script called cloud-ssh replaces the long
'ssh -i /root/.ssh/id_rsa.cloud -p 3922 root@169.254.0.12'
users can now just run 'cloud-ssh 169.254.0.12'. Also adds it to deb and rpm
builds.

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1353086232 -0700
2012-11-16 10:17:12 -07:00
Brian Federle
fa1696e3e6 CS-16822: multi-edit UI: Fix blank fields on add item
When adding an item, show all returned fields if noSelect is
true. This prevents hidden conditional form fields from having their
row data hidden, such as if an ICMP rule is added and the TCP
start/end port form fields are hidden due to space constraints.
2012-11-16 08:50:17 -08:00
Rohit Yadav
aa3ae45e6b CLOUDSTACK-499: Fix cloudmonkey's request and response methods
The old way of parsing involved complex object loading and traversing, in
new implementation json is used directly and authenticated requests via port
8080 making use of api and secret keys are recommended.

All args on shell are created in {"key": "value"} pairs which are used to create
url with &key=value. This way maps can be passed as args, example:

create networkoffering name=unique-name guestiptype=Isolated traffictype=GUEST
supportedservices=Dhcp,Dns serviceproviderlist[0].service=Dhcp
serviceproviderlist[0].provider=VirtualRouter serviceproviderlist[1].service=Dns
serviceproviderlist[1].provider=VirtualRouter

Added new conf variables:
- timeout: the no. of seconds after which an async job query timeouts
  default value of 3600 seconds
- asycnblock: if user wants their async commands to be tracked
  default value is 'true', if set to false, user can query using jobid which is
  returned by the async command and queried using:
     query asyncjobresult jobid=<jobid>

BUG-ID : CLOUDSTACK-499
Reviewed-by: Rohit Yadav <bhaisaab@apache.org>
Reported-by: Dave Cahill

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-11-16 22:18:32 +05:30
Rohit Yadav
8ea2cc4e57 marvin: raise error so cli can pick it up
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-11-16 22:18:32 +05:30
Marcus Sorensen
b8af4278d0 Summary: VPC router needs /etc/hosts entry
Detail: This adjusts cloud-early-config to properly set the host entry for a
   vpc router. We were previously using the hostname command prior to the actual
   hostname being set, now we use the NAME variable passed to us.

BUG-ID: CLOUDSTACK-502
Bugfix-for: 4.0.1
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1353083661 -0700
2012-11-16 09:34:21 -07:00
Prasanna Santhanam
6e86fac8e5 Summary: Add autoscale categories
Detail:  Every new API that doesn't have  a valid category prefix needs
to be include in the gen_toc.py script for apidocs, marvin and
cloudmonkey to build.

BUG-ID:  CLOUDSTACK-501
Reviewed-by: mvn clean install -P developer
Reported-by: Rohit Yadav <bhaisaab@apache.org>
Signed-off-by: Prasanna Santhanam <tsp@apache.org> 1353063359 +0530
2012-11-16 16:25:59 +05:30
Vijay Venkatachalam
264f777a2d Remove AutoScale entities while deleting autoscaled loadbalancer. 2012-11-16 12:56:32 +05:30
Vijay Venkatachalam
aea87da410 Autoscale:Sending the Counter params as list
Conflicts:

	server/src/com/cloud/api/ApiResponseHelper.java
2012-11-16 11:07:24 +05:30
Pranav Saxena
8d5c78e3d4 CS-16209,CS-16262:AutoScale server side changes for Supporting network element independent counter parameters in AutoScaleVmProfile 2012-11-16 11:06:44 +05:30
Vijay Venkatachalam
affc162556 AutoScale: Fixing issues that occurred during rebase with master 2012-11-16 11:04:37 +05:30
Jessica Wang
8fdd0a469a CS-16459: cloudstack UI - network page - When creating Lb rules for a network that is not using netscaler for LB service, AutoScale button is hidden. 2012-11-16 10:57:00 +05:30
Vijay Venkatachalam
527b5c8ee2 Autoscale: Supporting network element independent counter parameters Reviewed-By:Devdeep 2012-11-16 10:57:00 +05:30
Jessica Wang
e88ca00eb4 CS-15687: cloudstack 3.0 UI - zone wizard - change timer setting for adding netcaler provider. 2012-11-16 10:57:00 +05:30
Vijay Vekatachalam
4836aba56f Create Autoscale config in Netscaler with unique Identifier based on Vmgroup 2012-11-16 10:56:59 +05:30
Vijay Vekatachalam
35b0e086d4 enable Autoscale VMs to be named as Autoscale-LB-<lbname> 2012-11-16 10:56:59 +05:30
Vijay Vekatachalam
57416188a2 Enabling aUtoscale VMs to be provisioned in a loadbalancer's network 2012-11-16 10:56:59 +05:30
Deepak Garg
bf1e6ed991 CS-15644-Autoscale: Implemented UUIDs for templateId-serviceOff Reviewed-By:Vijay 2012-11-16 10:56:58 +05:30
Vijay venkatachalam
3e32a29048 Autoscale:Changes for addressing AutoScale bugs CS-15930, CS-15931, CS-15934, CS-15935 2012-11-16 10:56:58 +05:30
Vijay venkatachalam
c1b4bc448c AutoScale. Check vm group's interval during update with existing policiy's duration 2012-11-16 10:56:58 +05:30
Vijay venkatachalam
c7f84cae77 Autoscale:7078-NetScaler's API changes for autoscale 2012-11-16 10:56:58 +05:30
Vijay venkatachalam
3ceebc140a AutoScale. Re-organized NetScalerResource. Bringing autoscale functions in a logical order. 2012-11-16 10:56:57 +05:30
Vijay venkatachalam
eec892dfbc Handling of errors during AutoScaleConfig in NetScaler. 2012-11-16 10:56:57 +05:30
Deepak Garg
d2155890cc CS-16168:AutoScale- Deletion of Account doesn't delete the AutoScale LB rule 2012-11-16 10:56:57 +05:30
Vijay Venkatachalam
58db4d0d88 CS-15729:AutoScale. Aligning the NetScaler response time counter, and correcting duration check against interval 2012-11-16 10:56:57 +05:30
Vijay Venkatachalam
acb963f1ee CS-15783: Creating mapping between job ids and autoscale entity ids 2012-11-16 10:56:56 +05:30
Pranav Saxena
8c681746b9 CS-16211:Autoscale UI should display Enable/Disable Autoscale as the tooltip message instead of specifying VM group 2012-11-16 10:56:56 +05:30
Deepak Garg
68fc64cfe9 CS-16159-Fixing the license headers 2012-11-16 10:56:56 +05:30
Deepak Garg
25b853b7d5 CS-16052 Introducing data-base indexes for autoscale db schema 2012-11-16 10:56:56 +05:30
Jessica Wang
3785d52b90 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-11-16 10:56:55 +05:30
Jessica Wang
ccc2368969 CS-16134: cloudstack 3.0 UI - autoscale - basic zone of elastic IP - Add Load Balancer tab - pass domainid and account to createLoadBalancerRule API since IP Address is not available. (Reviewed-by: Brian) 2012-11-16 10:56:55 +05:30
Jessica Wang
f35d2c23f1 CS-15955: cloudstack 3.0 UI - autoscale - validation - convert type of scale policy duration and polling interval when comparing them (Reviewed-by: Brian) 2012-11-16 10:56:55 +05:30
Jessica Wang
193a8c4edb CS-15863: cloudstack 3.0 UI - autoscale - LB listing - VM listing - hide delete button based on vm displayname instead of vm name (Reviewed-by: Brian) 2012-11-16 10:56:55 +05:30
Jessica Wang
9365e5403b CS-16096: cloudstack 3.0 UI - autoscale - fix a regression caused by a server-server side change: ad6ac9b4498cc47c5f111fc0627a7ccfcd3dfe78 (CS-15617. Changed CounterResponse to a List as queryAsyncJob expects it.) (Reviewed-by: Brian) 2012-11-16 10:56:54 +05:30
Pranav Saxena
e20f599a23 CS-15927:Filter to hide the autoscale VM's through a Regular expression for a Basic Zone 2012-11-16 10:56:54 +05:30
Pranav Saxena
373d4045c2 CS-15927:Filter to display only Non AutoscaleVMs (name to displayname property change) 2012-11-16 10:56:54 +05:30
Pranav Saxena
c26cb9d069 CS-16078:AutoScale UI development- adding sec to Duration field 2012-11-16 10:56:53 +05:30
Pranav Saxena
b8bb6f483e CS-15927:Filter to hide the autoscale VM's through a Regular expression for a load balancer Rule 2012-11-16 10:56:53 +05:30
Jessica Wang
ce8fe90aae CS-15863: cloudstack 3.0 UI - (1) extend multiEdit widget to be able to hide actions upon an each item's properties.
(2) IP Addresses page - load balancer listing - VM listing - hide destroy action for autoscale VM.
2012-11-16 10:56:53 +05:30
Pranav Saxena
2c98ec461f CS-15988:Load Balancing configuration multiEdit table reorganisation 2012-11-16 10:56:53 +05:30
Pranav Saxena
8bd0012e33 CS-16004:LB rule name , ports validation missing under the load balancers tab for a basic zone autoscale configuration 2012-11-16 10:56:52 +05:30
Jessica Wang
bcaa02fe09 CS-15956: cloudstack 3.0 UI - autoscale - create/update autoscale vm profile - change how data is passed to API. 2012-11-16 10:56:52 +05:30
Pranav Saxena
95738990a5 CS-15981:Add Load Balancer page inside Guest networks is blank 2012-11-16 10:56:52 +05:30
Jessica Wang
8b5ee6414d CS-15955: cloudstack 3.0 UI - autoscale - change validation error message of comparison of scale policy duration and polling interval. 2012-11-16 10:56:52 +05:30
Jessica Wang
6dddd2d7ae CS-15953: cloudstack 3.0 UI - autoscale - add UI validation to validate value in those fields is a number: Min Instances, Max Instances, Polling Interval, Quiet Time, Destroy VM grace period, SNMP Port, Scale Up Policy duration, Scale Down Policy duration. 2012-11-16 10:56:51 +05:30
Jessica Wang
52a9d0e64b cloudstack 3.0 UI - autoscale - LB rules - (1) hide AddVMs button on LB rules created by Autoscale. (2) hide Autoscale button on LB rules created by AddVMs. 2012-11-16 10:56:51 +05:30
Brian Federle
a7508c12c6 Add sample _hideFields to loadBalancer 2012-11-16 10:56:51 +05:30
Brian Federle
9fb33ecc21 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-11-16 10:56:50 +05:30
Brian Federle
2ffc381ea1 multiEdit: support hiding fields dynamically via dataProvider
If 'hideFields' array is passed to .success(), then hide the field IDs
specified.
2012-11-16 10:56:50 +05:30