Commit Graph

722 Commits

Author SHA1 Message Date
Alena Prokharchyk 60b52f90dd Initial checkin for VPC feature:
1) Added API frameworks for the feature. New commands:
* CreateVPCCmd
* ListVPCsCmd
* DeleteVPCCmd
* UpdateVPCCmd
* CreateVPCOfferingCmd
* UpdateVPCOfferingCmd
* DeleteVPCOfferingCmd
* ListVPCOfferingsCmd

2) New db tables:

* `cloud`.`vpc`
* `cloud`.`vpc_offerings`
* `cloud`.`vpc_offering_service_map`

and corresponding VO/Dao objects.

Added vpc_id field to `cloud.`networks` table - not null when network belongs to VPC

3) New Manager and Service interfaces- VpcManager/VpcService

4) Automatically create new VpcOffering (if doesn't exist) on system start

5) New Action events:

* VPC.CREATE
* VPC.UPDATE
* VPC.DELETE

* VPC.OFFERING.CREATE
* VPC.OFFERING.UPDATE
* VPC.OFFERING.DELETE

Conflicts:

	api/src/com/cloud/api/ApiConstants.java
	client/tomcatconf/commands.properties.in
	server/src/com/cloud/api/ApiDBUtils.java
	server/src/com/cloud/network/NetworkManagerImpl.java
	setup/db/create-schema.sql
2012-06-15 13:53:59 -07:00
Pranav Saxena 52c8feb670 CS-15202: Rename all references in UI of Nexus VSM/dvswitch to Nexus 1000v 2012-06-13 11:24:09 -07:00
Robert Schweikert 980f7931f7 - support SLES and openSUSE as configuration and build targets 2012-05-27 19:31:27 -04:00
Vijayendra Bhamidipati ed0ba1a0e6 CS-9919: Support for Nexus Swiches (Cisco Vswitches)
Description:

	Incorporating more changes post review by Alena.

	1. Renamed the ListCiscoVSMDetailsCmd command
	   to ListCiscoNexusVSMsCmd. The command will
	   return a list of VSMs always, depending on
	   what parameter is passed to it. If a clusterId
	   is passed to it, it will return the VSM
	   associated to that cluster, if present. If
	   a zoneId is passed in, it will return a list
	   of all VSMs configured for any clusters of
	   type VMware within that zone. If neither is
	   passed, it will return a list of all VSMs
	   configured in the management server. If no
	   VSMs are found, it will return an exception
	   response.

	2. Cleaned up miscellaneous code.

Conflicts:

	client/tomcatconf/cisconexusvsm_commands.properties.in
	server/src/com/cloud/server/ManagementServerImpl.java
2012-05-25 18:27:29 -07:00
Vijayendra Bhamidipati ffaa8cc20a CS-9919: Support for Nexus Swiches (Cisco Vswitches)
Description:

	More changes incorporating Alena's review comments:

	  1. Changed id to clusterId for better naming.

	  2. Changed the name of GetCiscoVSMByClusterIdCmd
	     to ListCiscoVSMDetailsCmd.

	  3. Removed the GetCiscoVSMDetailsCmd command.

	  4. Removed catch{} blocks in each of the Nexus
	     related APIs since the exceptions raised in
	     the API implementations will be caught in the
   	     command dispatcher.

	  5. Added ActionEvent annotation to
	     deleteCiscoNexusVSM() function.

	  6. Modified each Nexus API command's
	     getEntityOwnerId() to return
	     Account.ACCOUNT_ID_SYSTEM.
2012-05-25 18:23:51 -07:00
Vijayendra Bhamidipati 187d32057e CS-9919 Support for Nexus Swiches (Cisco Vswitches)
Description:

	Didn't stage all modified files in previous
	commit by mistake. Checking in the rest of
	the changes in this commit. Please refer to
	immediate previous commit for CS-9919 for
	details on what changes went in with this
	commit.

Conflicts:

	client/tomcatconf/cisconexusvsm_commands.properties.in
2012-05-25 18:07:48 -07:00
Vijayendra Bhamidipati c08716db00 CS-9919 Support for Nexus Swiches (Cisco Vswitches)
Description:

	Added a new API GetCiscoVSMDetailsCmd. This
	API gets all details of a VSM when provided
	with the VSM ID.

Resolved Conflicts:

	client/tomcatconf/cisconexusvsm_commands.properties.in

Conflicts:

	client/tomcatconf/cisconexusvsm_commands.properties.in
2012-05-25 18:06:27 -07:00
Vijayendra Bhamidipati d933358f10 CS-9919 Support for Nexus Swiches (Cisco Vswitches)
Description:

	Adding command getCiscoVSMByClusterId to
	retrieve a VSM associated with a cluster.
2012-05-25 17:41:24 -07:00
Vijayendra Bhamidipati 0f28222cce Bug CS-9919: Support for Nexus Swiches (Cisco Vswitches)
Description:

	1. Modify addCiscoNexusVSMCmd to enable a VSM
           by default, when it is added to a cluster.

	2. Put in two new APIs exposed to the user -
                a. EnableCiscoNexusVSMCmd
                b. DisableCiscoNexusVSMCmd

        Disabling a VSM does not delete it. It only
        prevents the Management Server from using that
        VSM. This is useful if the VSM is in
        maintenance mode.
2012-05-25 17:17:37 -07:00
Vijayendra Bhamidipati b0facd16e4 Bug CS-9919: Support for Nexus Swiches (Cisco Vswitches)
At this point, the mgmt server comes up, loading the
	   Nexus related modules without dying.

Description:

	1) Added a new properties file for Cisco N1kv VSM commands:
		cisconexusvsm_commands.properties.in

	2) Added the CiscoNexusVSMElement to the components.xml file.

	3) Modified CiscoNexusVSMElement to implement NetworkElement.

		The NetworkElement interface functions are not
	  	relevant to the N1KV VSM, so we override them
	  	with noops.

	4) Added an addDao() of CiscoNexusVSMDeviceDaoImpl in populateDaos(),
	   else we'd run into a failure to look up the VSM's dao when the
	   mgmt server is starting up:

		com.cloud.utils.exception.CloudRuntimeException: Unable to find DAO com.cloud.network.dao.CiscoNexusVSMDeviceDao

	5) Also added the CiscoNexusVSMElementService in populateServices(),
	   and modified CiscoNexusVSMElement to implement Manager as well.

	6) populateServices() was running into an exception that indicated
	   that it was unable to find a commands.properties file for the
	   cisco n1kv vsm service. Fixed it by changing getProperties() in
	   CiscoNexusVSMElement to return the correct string
	   "cisconexusvsm_commands.properties", and putting in an @Override
	   for getProperties() in CiscoNexusVSMElement. Also fixed up all
	   the other functions in CiscoNexusVSMElement that needed to have
	   @Override. Also updated build/developers.xml with this file
	   location. And did other small cleanup.

	7) More clean up in CiscoNexusVSMDeviceManagerImpl.

Conflicts:

	server/src/com/cloud/configuration/DefaultComponentLibrary.java
2012-05-25 17:07:03 -07:00
prachi 49cdc2317b merge awsapi build script changes to master 2012-05-25 14:40:56 -07:00
Jessica Wang 66c6d1ceba CS-13739: check in Japanese translation file from Japan team 2012-05-25 10:56:42 -07:00
Brian Federle 9f2a823d6e CS-13091: Enable/disable physical network UI actions 2012-05-24 12:17:58 -07:00
Jessica Wang f2746b0628 add new labels in Chinese translation file. 2012-05-24 10:52:14 -07:00
Brian Federle e9d5a33603 CS-13796: Fix typos in onscreen text
reviewed-by: brian

commit c16320209eb5b4cde019c6dbe1480160fa8097df
Author: Pranav Saxena <pranav.saxena@citrix.com>
Date:   Tue Apr 24 02:06:43 2012 +0530

    CS-13796: Typos in Onscreen text
2012-05-22 12:11:47 -07:00
Sanjay Tripathi 265f5eca0b Nexus Vswitch UI development Vswitch Details tab 2012-05-21 10:04:00 -07:00
Brian Federle 23ef4bf7ae Nexus vSwitch UI support
Implement ability to add and modify Nexus vSwitches at the cluster
level:

-Add new fields to add cluster form, to allow addition of a vSwitch

-Add new tab to VMware clusters to list cluster's vSwitch

-Add details panel to vSwitch allowing enable, disable, and removal of
 vSwitch from cluster
2012-05-16 14:59:30 -07:00
Alena Prokharchyk ca755942f7 CS-14751
F5/Netscaler/Juniper config API commands are available to ROOT admin only
2012-05-15 12:48:20 -07:00
Pranav Saxena 3046c38f59 CS-14831: Incorrect message with reset password for instance 2012-05-14 11:29:25 -07:00
Sanjay Tripathi 683b88d449 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2012-05-08 10:35:53 +05:30
Jessica Wang 248c41d349 cloudstack 3.0 UI - localization - add new label of MD5 checksum 2012-05-07 11:29:07 -07:00
Jessica Wang 36d92785ff cloudstack 3.0 UI - template page - localize "label.action.register.template" 2012-05-04 16:08:13 -07:00
Sanjay Tripathi 3c4a27d4c6 bug 13461: Usage server restart required after some configuration changes. 2012-05-04 11:04:30 +05:30
bfederle 57cc1ea378 WIP: Upload volume UI
Adds new action, upload volume, to the storage->volumes list view
header. This will present a dialog to specify URL & name of volume,
and select a VM to attach the volume to.

Server API calls are still incomplete and rely on hardcoded values.
2012-05-02 14:29:29 -07:00
bfederle 898952479e CS-14461: Add more infrastructure page shortcuts
-Add additional shortcuts for:
  -Primary storage
  -Secondary storgage
  -Virtual routers
  -System VMs

-Replace host stats with the new shortcuts

-Add 'zone' dropdown to create form for the newly added-shortcuts'
 sections, to support creating these items without a zone context
2012-04-30 10:32:43 -07:00
Jessica Wang 2f001e6413 cloudstack 3.0 UI - check in new localization labels (Simplified Chinese vesion). 2012-04-27 15:33:15 -07:00
Jessica Wang b8cb55bca1 cloudstack 3.0 UI - infrastructure - zone detail - physical network section - add Isolation method to listView. 2012-04-26 16:53:06 -07:00
Jessica Wang b5cb205570 cloudstack 3.0.x UI - checked in Japanese translation file provided by Tetsunori 2012-04-24 11:30:24 -07:00
bfederle 2119ae16df Add missing resource, max networks, to project resource tab 2012-04-23 22:33:18 +01:00
Jessica Wang 37e8d03f0a CS-14588: cloudstack 3.0 UI - VM Wizard - correct validation message for name field. 2012-04-23 13:39:26 -07:00
kishan f9528405af bug CS-14577: Use premium upgrade checker in components.xml, since usage is also OSS now
status CS-14577: resolved fixed
reviewed-by: Nitin
2012-04-20 16:12:03 +05:30
Pranav Saxena 78dc2ecf18 CS-13904 : Labels for service offering CPU and memory not consistent 2012-04-19 12:53:42 -07:00
Jessica Wang 9d694dd8e7 cloudstack 3.0 UI - localize validation message for vm host name. 2012-04-18 18:20:42 -07:00
Jessica Wang 4a7c7da191 CS-13896: cloudstack 3.0 UI - register template, register ISO - correct message and label. 2012-04-18 12:15:25 -07:00
Jessica Wang 8f6e3e5ea9 cloudstack 3.0 UI - add Network offering dialog - correct label of service offering from Compute offering to System offering. 2012-04-13 14:41:10 -07:00
pranav ee0f3e898c Bug 12833 addition of Fetch Latest Button on the Dashboard
Conflicts:

	client/WEB-INF/classes/resources/messages.properties
	ui/css/cloudstack3.css

reviewed-by: brian
2012-04-12 15:15:31 -07:00
Jessica Wang 0c33016c9f cloudstack 3.0 UI - security group - ingress rule - fix a bug that Account, Security group failed to be translated. 2012-04-11 17:29:19 -07:00
Jessica Wang cd9c24a978 cloudstack 3.0 UI - infrastructure - physical network - network service providers - Netscaler/F5/SRX - devices - change breadcrumb to show Devices instead of Netscaler/F5/SRX (to distinguish between provider and devices). 2012-04-11 11:38:51 -07:00
David Nalley d5377b0ae3 more line ending fixes 2012-04-06 22:51:32 -04:00
Jessica Wang 984c4bbdb7 cloudstack 3.0 UI - system service offering page - (1) add System VM Type dropdown in Add Service Offering dialog. (2) add System VM Type in detailView. 2012-04-04 16:36:30 -07:00
Alena Prokharchyk b14bac0977 bug 14539: 1) introduced 2 new config parameters defining default offerings for ssvm and cpvm - consoleproxy.service.offering and secstorage.service.offering
2) Added new api - changeServiceForSystemVm - to support service offering upgrade for system vms
3) Removed global config parameters that are not in use anymore: consoleproxy.ram.size, consoleproxy.cpu.mhz, secstorage.vm.ram.size, secstorage.vm.cpu.mhz
2012-04-03 10:52:32 -07:00
frank 2f634c0913 Switch to Apache license 2012-04-03 04:50:05 -07:00
Brian Federle 698a1bb3cd Merge branch 'master' of git.cloud.com:/var/lib/git/cloudstack-oss
Conflicts:
	client/WEB-INF/classes/resources/messages.properties
2012-03-28 15:03:17 -07:00
Brian Federle 3e2ca5a54f bug 14519
Show separate message for basic zone setup physical network UI
2012-03-28 15:01:43 -07:00
Jessica Wang 964eeeb515 bug 14514: cloudstack 3.0 UI - volume page - show download volume option when a volume's attached VM is stopped or when a volume is detached from a VM. 2012-03-28 14:35:10 -07:00
Brian Federle c568df743f Revert "Add support for OVM traffic labels in UI"
This reverts commit a199d1f7a2.
2012-03-28 14:34:04 -07:00
Brian Federle a199d1f7a2 Add support for OVM traffic labels in UI 2012-03-28 11:11:17 -07:00
bfederle 97d8941a54 bug 14057
Rename 'label' -> 'traffic label' in configure traffic type dialog.
2012-03-28 10:24:52 -07:00
Jessica Wang c91c9b3f3d cloudstack 3.0 UI - infrastructure - service providers - security group provider detail view - correct view all from view security groups to view rules. 2012-03-26 14:11:22 -07:00
Jessica Wang aaaaadf16f cloudstack 3.0 UI - infrastructure - service provider detail view - correct view all label from view provider to view devices. 2012-03-26 12:47:21 -07:00
Nitin Mehta a5a7be4c7e Bug 10808: Add Upload Volume api and do validation. 2012-03-24 13:59:59 +05:30
Jessica Wang cb0ea6385a cloudstack 3.0 UI - check in Chinese translation. 2012-03-23 10:00:18 -07:00
Alena Prokharchyk c42fceab27 bug 14446: removed elasticLBVm from components.xml
status 14446: resolved fixed
reviewed-by: Frank Zhang
2012-03-22 10:26:48 -07:00
Brian Federle 0db22e44e8 bug 14375
Use 'Management IP Addresses' in place of 'Private IP Addresses' for
label on system dashboards
2012-03-21 11:15:03 -07:00
Jessica Wang baa2acf2f6 cloudstack 3.0 UI - more labels translated. 2012-03-21 09:50:13 -07:00
Jessica Wang 3d327c03be bug 14056: cloudstack 3.0 UI - infrastructure page - zone detail - physical network listView - provide delete action in listView. 2012-03-20 14:31:56 -07:00
bfederle c23f1b8882 UI: Zone wizard update
-Allow for editing of traffic labels within the zone wizard; visible
 by going to the create physical network(s) step and clicking the
 'edit' button under each traffic type.

-Make hypervisor selection part of the create zone step, instead of
 the add cluster step -- this is to allow the physical network UI to
 have the selected hypervisor for the edit traffic labels dialog.

-Show drag-and-drop UI for basic zone setup, so that user can edit
 traffic labels for a basic zone. Note that user can only have one
 physical network here.

-Allow creation of storage traffic in a basic zone configuration, by
 optionally dragging storage traffic type icon to first physical
 network
2012-03-20 13:27:28 -07:00
Jessica Wang 59def829ca cloudstack 3.0 UI - code optimization - seperate code of Enabling Security Group provider code, Adding Netscaler provider, Creating guest network to different functions (to avoid repeating code and to give individual message for each action) 2012-03-20 11:55:09 -07:00
Jessica Wang 20acc4d315 bug 14377: cloudstack 3.0 UI - login - if login fails due to invalid username and password, show a generic error message instead of API returned error message. 2012-03-19 16:04:50 -07:00
bfederle 13864cc66a Add missing resource, max networks, to project resource tab 2012-03-14 16:11:22 -07:00
Jessica Wang 1ada4dc5c2 cloudstack 3.0 UI - Quick Installer - add host step - change text. 2012-03-13 10:50:51 -07:00
abhi ecad50c801 bug 14151,14153: configuration variables are now hidden; added ldapRemove command 2012-03-12 16:50:00 +05:30
Alena Prokharchyk 6910740582 Revert "bug 14151,14153: configuration variables are now hidden; added ldapRemove command"
Reverting the commit in order to fix the build
This reverts commit 0ab0fcfa5c3b8825b8a92e3c2d2dee8e8ca6152b.
2012-03-09 09:53:56 -08:00
abhi b7b751fdf6 bug 14151,14153: configuration variables are now hidden; added ldapRemove command 2012-03-09 16:56:01 +05:30
Jessica Wang 4761b9ec58 cloudstack 3.0 UI - (1) listView widget - add PreFilter() to exclude fields that shouldn't show upon conditions. (2) Instance page - add new field "Internal name" (e.g. "i-3-5-JW") that only shows for root-admin. 2012-03-08 13:30:06 -08:00
Jessica Wang 42df0d9286 bug 13301: fix typo 2012-03-05 14:49:56 -08:00
Jessica Wang 377fa4361f bug 12981: login screen - show explicit error messages when login fails. 2012-03-02 16:43:14 -08:00
Brian Federle d6a8db3826 Move untranslated labels into the 'new' section of properties files 2012-02-24 10:29:46 -08:00
Brian Federle 3a28cfddfa bug 13941
Add missing labels for user dashboard
2012-02-23 15:42:44 -08:00
Brian Federle 856f41bdf8 System, secondary storage UI fixes
-Add state field ('resourcestate') to list view

-Fix destroy action to have proper UI feedback
2012-02-23 15:07:43 -08:00
Jessica Wang 1c1ee6e69c localization files - move translated labels out of new labels section 2012-02-22 19:09:42 -08:00
Jessica Wang b683312df5 check in new Japanese localization file. 2012-02-22 18:30:30 -08:00
Brian Federle d6fc3f9010 Localizaton fixes
-Add conditional CSS for Japanese version

-Fix font wrapping in JA CSS for header bar, system dashboard

-Add some missing localization labels
2012-02-22 17:32:00 -08:00
Brian Federle e0be877706 Zone wizard: UI: Review step
Better final message before launch: make font size larger and
centered; include icon
2012-02-22 14:39:47 -08:00
Jessica Wang 186fe658d6 add new labels to message_ja.properties 2012-02-22 14:13:42 -08:00
Brian Federle 4b5586c8df Fix typo 2012-02-21 19:05:00 -08:00
Brian Federle 240dabea4b Navigation organizational changes
-Rename 'System' -> 'Infrastructure'

-Rename 'service offering' -> 'compute offering'
 (including all associated labels)

-Rename 'Configuration' -> 'Service Offerings'

-Move hypervisor capabilities under global settings

-Rename 'Compute' -> 'Compute and storage'
2012-02-21 18:54:43 -08:00
Jessica Wang 4d4af60690 localize new error message (for add guest network in multiple guest traffic types zone). 2012-02-21 17:08:02 -08:00
Brian Federle c36808d5d2 bug 13765
Properly sync returned sticky fields from the API with the UI form, by
dynamically generating createForm fields based on Lb sticky
capabilities object; this will keep the required and conditional
fields properly up to date with the API requirements.
2012-02-21 15:13:52 -08:00
Brian Federle 52f1f53234 bug 13784: Fix missing status localization 2012-02-21 13:50:30 -08:00
Brian Federle 1ca5612724 bug 13719
Change 'management server'->'hypervisor' in physical network description

status 13719: resolved fixed
2012-02-21 12:56:53 -08:00
Jessica Wang 904825479f property files: move labels that have been translated out of "new labels" area. 2012-02-20 20:07:30 -08:00
Jessica Wang 1d819e63b6 check in Japanese translation. 2012-02-20 17:45:17 -08:00
Jessica Wang 1dfe656f2a bug 13864: IP Address page - add new field Purpose (only shown in Basic zone) 2012-02-20 10:24:08 -08:00
frank a1fa313902 Bug 13568 - secondary storage VM's static route for nfs server breaks things!
status 13568: resolved fixed
reviewed-by: Sheng Yang
2012-02-17 16:24:32 -08:00
Brian Federle f58cec83c6 bug 13702
Fix missing labels for instance state/actions
2012-02-17 16:01:16 -08:00
Brian Federle 80e4b5ef7c Add a few more missing localization labels 2012-02-17 14:12:53 -08:00
Brian Federle f223d8086c Add missing localization for LB UI 2012-02-17 13:54:23 -08:00
Jessica Wang fab34ce8e5 cloudstack 3.0 new UI - system - network chart - localize text in html code. 2012-02-16 18:01:06 -08:00
Jessica Wang 2f682ea904 cloudstack 3.0 new UI - add zone wizard - localize text in html code. 2012-02-16 17:23:44 -08:00
Jessica Wang cddbc4daeb cloudstack 3.0 new UI - localization - move new labels on the top. 2012-02-16 15:55:10 -08:00
Brian Federle 4b2709ceff Add missing localization for instances.js 2012-02-16 15:42:01 -08:00
Jessica Wang c05a040c56 cloudstack 3.0 new UI - add more localization labels. 2012-02-16 15:35:44 -08:00
Jessica Wang 9f86abccbd cloudstack 3.0 new UI - add more localization labels. 2012-02-16 15:25:17 -08:00
Jessica Wang c3c5b65428 cloudstack 3.0 new UI - add more localization labels. 2012-02-16 15:02:37 -08:00
Brian Federle 6d8a11c74b Complete localization for quick install wizard
-- Also separates EULA into an iframe-embedded HTML file
2012-02-16 14:45:10 -08:00
Jessica Wang e8c309b447 cloudstack 3.0 new UI - add more localization labels. 2012-02-16 13:55:56 -08:00
Jessica Wang 577f3a5f75 cloudstack 3.0 new UI - correct localization label format 2012-02-16 12:22:13 -08:00
Jessica Wang 68f12d9753 cloudstack 3.0 new UI - localize messages during zone creation. 2012-02-16 11:23:22 -08:00
Jessica Wang a9e99d3065 cloudstack 3.0 new UI - localize zone wizard. 2012-02-15 19:22:55 -08:00