14290 Commits

Author SHA1 Message Date
Wido den Hollander
a24ec2bdcc debian: Initial work to get the Debian packaging working again
Right now it isn't working yet, but this is the way it should start working
like the RPM package building is.

This commit is to clean up the rules file a bit and lay the groundwork for
the Debian packaging
2012-11-06 16:19:07 +01:00
Rohit Yadav
36e7a7884e cli: fix autocompletion binding bug, make all params lowercase
- fix weird autocompletion bug which won't let you enter the letter b [0]
- make set params, api and secret key vars lowercase
- use partition to get strings for do_set
- while installing, check and only then add readline (requires gcc and can fail)
- show monkey prompt by default, let users change if needed

[0] http://superuser.com/questions/297527/cant-type-the-b-letter-in-python-shell-in-os-x

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-11-06 19:41:07 +05:30
Rohit Yadav
ac8ae30658 cli: fix argument parsing for set command, fixes unicode monkey char
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-11-06 17:59:53 +05:30
Rohit Yadav
77e957c91b cli: fix python sdist, add readline as installation requirement
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-11-06 17:06:11 +05:30
Rohit Yadav
b713865308 cli: pip install cloudmonkey works
Patch makes cloudmonkey installable and redistributable using source dist from
pypi under apache compliant license. Most visible issues have been solved and
cloudmonkey should work well with CloudStack 4.0 and master, also until APIs do
not change.

To install now:
    pip install cloudmonkey

or, if you have to:
    easy_install cloudmonkey

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-11-06 16:07:42 +05:30
Rohit Yadav
a94f6f19bb cli: make parsing robust using shlex
Parsing bug fixed using the simple lexical analysis library

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-11-06 15:19:08 +05:30
Rohit Yadav
5c24c34d7f cli: use partition instead of split to parse through args
Use partition instead of splitting on whitespace. This is little robust, but
may still fail for parameters whose values have whitespaces such as names etc.

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-11-06 14:54:35 +05:30
Rohit Yadav
9e6b366023 cli: add autocompletion and dynamic help doc
- autocompletions for help docs
- more verbose doc strings with __doc__ import from the module and list of
  required args and all args

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-11-06 14:28:40 +05:30
Rohit Yadav
a1089c4304 cli: move code, refactor and add docstring
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-11-06 14:28:40 +05:30
Rohit Yadav
d0f9610355 cli: add feature to cache docstrings for an api
cached verb dictionary stores the following as a list:
- name of the API
- params (list of args)
- docstring

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-11-06 14:28:39 +05:30
Rohit Yadav
00d5c3f35c cli: fix help and doc strings, comments
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-11-06 14:28:39 +05:30
Pranav Saxena
2add554a6a Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2012-11-06 13:40:00 +05:30
Pranav Saxena
b67cd923d1 CS-16752:Mode option need to be removed whiile adding Netscaler Device 2012-11-06 13:32:43 +05:30
Jessica Wang
126b4b5790 CS-16483: cloudstack UI - template page, ISO page - delete action is available if template/ISO and the login user is under the same project. 2012-11-05 16:34:07 -08:00
Brian Federle
46cce3a891 Multi-edit: Fix width of select inputs 2012-11-05 16:06:12 -08:00
Brian Federle
ee72ae677f Fix input field widths for multi-edit
Conflicts:
	ui/css/cloudstack3.css
2012-11-05 16:06:06 -08:00
Brian Federle
d4c1848f33 Fix zone wizard multi-edit for Firefox 2012-11-05 15:50:03 -08:00
Brian Federle
13f286158b Disable egress UI, for now 2012-11-05 15:42:11 -08:00
Brian Federle
7707b3b4b3 Update tabFilter for egress rules 2012-11-05 15:42:11 -08:00
Brian Federle
c3f1a694ae Add network-level egress UI
Adds new tab to network section details to add/remove/list
network-level egress rules. This tab only appears for isolated source
NAT networks. It is based on the same format as the firewall rule
edit.
2012-11-05 15:42:11 -08:00
Brian Federle
58de3c3dfe CS-16735: Tier details: Disable IP address tab
Disables IP address tab for VPC tier detail view, as it is redundant
with the 'view all' button.
2012-11-05 15:42:10 -08:00
Brian Federle
a7138d9665 CS-16732: Show virtual router actions on VPC detail view 2012-11-05 15:42:10 -08:00
Brian Federle
c91bde7d4b Fix capitalization of 'Site-to-site VPN' 2012-11-05 15:42:10 -08:00
Jessica Wang
becd611c07 cloudstack UI - Infrastructure page - (1) restore hosts count on UI since listHosts API has been fixed. (2) specifying pagesize as 1 because we don't need any embedded objects to be returned for count display. 2012-11-05 15:40:27 -08:00
Jessica Tomechak
c2ccc52c4d Docs. Remove inaccurate CloudStack software version number from table heading. 2012-11-05 12:51:58 -08:00
Jessica Tomechak
514a7e31d4 Docs. CLOUDSTACK-134. Copying vhd-util is required only when XenServer is used. 2012-11-05 12:51:56 -08:00
Dave Cahill
476e771c1c SSH key changes 2012-11-05 11:24:33 -08:00
Brian Federle
716c35645b CSS: fix small formatting issue 2012-11-05 11:19:23 -08:00
Brian Federle
9e729fa166 Zone wizard UI: fix multi-edit table width 2012-11-05 11:19:17 -08:00
Jessica Wang
29dda3f41a CS-16599: cloudstack UI - guest network page - fix a bug that networkdomain didn't show in a shared network. 2012-11-05 10:39:23 -08:00
Edison Xu
b101dc7279 KVM agent connet:
* send StartupAnswer right after StartupCommand is recieved
* if post processor going wrong, send out readycommand with error message to agent, then agent will exit
2012-11-05 10:00:16 -08:00
Rohit Yadav
c10eeb6036 cli: strip args else this fails on parsing
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-11-05 21:59:03 +05:30
Rohit Yadav
64907c1da4 cli: fix parsing args
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-11-05 21:59:03 +05:30
Rohit Yadav
c444bb3811 cli: don't get the required list as params
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-11-05 21:59:03 +05:30
Rohit Yadav
98d341d932 cli: add grammar to class
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-11-05 21:59:03 +05:30
Rohit Yadav
94649491be cli: fix color parsing
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-11-05 21:59:03 +05:30
Rohit Yadav
8c12f49dbe cli: fix intro message
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-11-05 21:59:03 +05:30
Rohit Yadav
5611a8eda2 cli: add logic to complete api parameters and use caching to optimize runtime
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-11-05 21:59:02 +05:30
Hugo Trippaers
fe7b28ea0b Summary: Fixed typo in the documentation, reported by Roeland Kuipers 2012-11-05 15:23:48 +01:00
Rohit Yadav
49b4786de6 cli: don't search rule in apis, filter apis that start with that rule
Search verb in apis takes more time than filtering out apis that start with
that verb from the grammar.

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-11-05 18:15:48 +05:30
Rohit Yadav
46ad8d6f4e cli: remind user to set host, port too
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-11-05 18:15:47 +05:30
Wido den Hollander
4da02c0971 deb: Have the agent depend on the System ISO
This is needed for deploying System VMs on a KVM hypervisor

Without this ISO we can't deploy this System VMs
2012-11-05 10:28:13 +01:00
Wido den Hollander
4cb9e6d7d4 docs: Change filename of Deb repository file
These files should end with .list, otherwise Apt won't pick them up.
2012-11-05 10:23:09 +01:00
Wido den Hollander
fb08e8b7e4 docs: Add RPM repository
The RPM packages are now also hosted on cloudstack.apt-get.eu

By adding this to the docs it makes life easier for people when installing.

Also replaced CloudStack by &PRODUCT; a couple of times
2012-11-05 10:21:43 +01:00
Rohit Yadav
f940c566ab developer: Add developer-prefill.sql to be executed by developer profile
Removes all other custom sqlCommand configs, have the developer profile setup
from developer-prefill.sql file.

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-11-04 01:58:50 +05:30
Rohit Yadav
2bbbdbf58b developer: Move custom sql commands to one prefill schema file
The sql-maven plugin does not allow multiple sqlCommands to executed, only the
last one in the <configuration> gets executed, so moving out all the developer
related schema to one file.

Adds:
  - ROOT domain
  - system and admin accounts
  - system and admin users
  - custom configurations

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-11-04 01:57:05 +05:30
Rohit Yadav
d8fbb0dd13 maven: enable jvm heap size for forked surefire test processes
Any forked process that runs from maven surefire plugin gets it own separate
heap which may cause build issues. Patch fixes the issue by explicity args to
the surefire plugin for cloud-server.

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-11-03 18:42:51 +05:30
Radhika PC
863306260a fix for CLOUDSTACk-290:Reviewed:By-Jessica Tomechak 2012-11-03 17:40:58 +05:30
Pranav Saxena
04c5d89f80 CS-16681:Inconsistent behavior in custom disk offering selection page in Add VM instance wizard - Fixed by adding a Jquery bind event 2012-11-03 13:01:32 +05:30
Brian Federle
dfffa805bc Multi-edit: fix alignment of table rows and header 2012-11-02 12:38:23 -07:00