Commit Graph

719 Commits

Author SHA1 Message Date
Vijayendra Bhamidipati f3647ff0b5 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.
2012-05-22 17:22:29 -07:00
Alena Prokharchyk 9fb9149c99 1) Added new element - VpcVirtualRouterElement. Extends VirtualRouter + has plug/unplug nics support
2) Added services api support for plugging/unplugging the nics to VpcElement
2012-05-22 16:53:27 -07:00
Brian Federle 6401205d5d 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:58 -07:00
Vijayendra Bhamidipati 960d92dccf 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-21 21:10:56 -07:00
Brian Federle a44b3c0df0 Nexus Vswitch UI development Vswitch Details tab
Conflicts:

	ui/index.jsp

reviewed-by: brian
2012-05-21 10:08:17 -07:00
Alena Prokharchyk 978c2f414a 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
2012-05-17 18:08:03 -07:00
Vijayendra Bhamidipati 74b105b9d2 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.
2012-05-16 19:51:28 -07:00
Vijayendra Bhamidipati 1b36020873 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
2012-05-16 18:06:50 -07:00
Brian Federle 889cfb11d9 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:15 -07:00
Alena Prokharchyk 4cde482edf CS-14751
F5/Netscaler/Juniper/Cisco config API commands are available to ROOT admin only
2012-05-15 12:45:46 -07:00
Vijayendra Bhamidipati 4f3eed847a CS-9919 Support for Nexus Swiches (Cisco Vswitches)
Description:

	Adding command getCiscoVSMByClusterId to
	retrieve a VSM associated with a cluster.
2012-05-14 18:54:22 -07:00
Vijayendra Bhamidipati 978732ead9 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-14 18:41:02 -07:00
Vijayendra Bhamidipati e9d1bfbd3f 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.
2012-05-14 18:15:47 -07:00
Brian Federle f72476907e CS-14831: Incorrect message with reset password for instance
reviewed-by: brian
2012-05-14 11:29:49 -07:00
Sanjay Tripathi 62fa67409d Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-05-08 12:35:26 +05:30
prachi 5e87559558 Adding changes for awsapi to tomcat conf.
- Need to open port 7080 using different threadpool for loopback requests from awsapi to cloudstack
2012-05-07 18:15:14 -07:00
Jessica Wang a45486a6f3 cloudstack 3.0 UI - localization - add new label of MD5 checksum 2012-05-07 11:27:49 -07:00
Sanjay Tripathi eef899897b Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-05-07 11:17:05 +05:30
Jessica Wang 1361fe34d5 cloudstack 3.0 UI - template page - localize "label.action.register.template" 2012-05-04 16:07:06 -07:00
Sanjay Tripathi 419ff950a0 bug 13461: Usage server restart required after some configuration changes. 2012-05-04 11:07:02 +05:30
JohnZ c9792857c3 Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-05-02 22:34:12 +01:00
bfederle 3848dfe109 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.

Conflicts:

	ui/index.jsp
2012-05-02 14:30:16 -07:00
JohnZ b89841ee4a S3AccessControlList, SHost, SAcl updates and fixes 2012-05-02 22:28:00 +01:00
Brian Federle 866691dc17 Fix typo 2012-05-01 13:14:15 +01:00
Brian Federle b2c712b8c7 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-05-01 13:13:49 +01:00
Jessica Wang ce0efafd3b cloudstack 3.0 new UI - system - network chart - localize text in html code. 2012-05-01 13:08:15 +01:00
Jessica Wang 77b49e8e15 cloudstack 3.0 new UI - add zone wizard - localize text in html code. 2012-05-01 13:07:49 +01:00
Jessica Wang 1736aca15f cloudstack 3.0 new UI - localization - move new labels on the top. 2012-05-01 13:07:07 +01:00
Brian Federle 56dd66da7b Add missing localization for instances.js 2012-05-01 13:06:12 +01:00
Jessica Wang 232d31429a cloudstack 3.0 new UI - add more localization labels. 2012-05-01 13:05:44 +01:00
Jessica Wang f175c273b8 cloudstack 3.0 new UI - add more localization labels. 2012-05-01 13:05:17 +01:00
Jessica Wang 0f9f2b729e cloudstack 3.0 new UI - add more localization labels. 2012-05-01 13:02:59 +01:00
Brian Federle 5a812feed6 Complete localization for quick install wizard
-- Also separates EULA into an iframe-embedded HTML file
2012-05-01 13:02:09 +01:00
Jessica Wang fde53959bf cloudstack 3.0 new UI - add more localization labels. 2012-05-01 13:01:24 +01:00
Jessica Wang 238cf2324a cloudstack 3.0 new UI - correct localization label format 2012-05-01 13:01:04 +01:00
Jessica Wang 3f2bbee9c3 cloudstack 3.0 new UI - localize messages during zone creation. 2012-05-01 13:00:41 +01:00
Jessica Wang 701352add1 cloudstack 3.0 new UI - system page - localize IP Ranges sections. 2012-05-01 12:59:10 +01:00
Jessica Wang 54ccd37912 cloudstack 3.0 new UI - system page - localize primary storage section. 2012-05-01 12:58:17 +01:00
Jessica Wang 2aeb88ee0c cloudstack 3.0 new UI - system page - localize host section. 2012-05-01 12:57:53 +01:00
Brian Federle 8f583b1bc5 bug 13729: Support adding network tags
Allow editing of physical network tags, by going to
physical network->guest details->edit

status 13729: resolved fixed
2012-05-01 12:53:00 +01:00
Brian Federle fb7575f8a6 WIP: Install wizard localization 2012-05-01 12:47:34 +01:00
Jessica Wang ce653cc782 cloudstack 3.0 new UI - system page - localize network providers section. 2012-05-01 12:46:34 +01:00
Brian Federle faab34909c Projects UI localization
-Dashboard
-New project wizard
-Misc. missing localized strings
2012-05-01 12:34:12 +01:00
Brian Federle a47639844b Localization for instance wizard 2012-05-01 12:30:54 +01:00
Jessica Wang 13eb796a99 cloudstack 3.0 new UI - system page - (1) localize management traffic type (2) remove createVlanIPRange after creating guest network for basic zone. Because this AddGuestNetwork dialog is not available in basic zone any more. 2012-05-01 12:21:22 +01:00
Brian Federle d893f0af8e Localization for 'Allocated' state 2012-05-01 12:07:33 +01:00
Brian Federle ec3ec924b6 Missing detail view widget localization 2012-05-01 11:59:08 +01:00
Brian Federle 11fa99493a Add missing instance detail tab localization 2012-05-01 11:51:58 +01:00
Jessica Wang fd9aacf4c9 cloudstack 3.0 new UI - system page - localize storage traffic type, public traffic type section. 2012-05-01 11:48:45 +01:00
Brian Federle 2760c5b8dd Add missing labels to list view widget 2012-05-01 11:44:40 +01:00
Brian Federle 229224207a Localize global settings 2012-05-01 11:41:10 +01:00
Brian Federle 1d6ff9aa4c Add missing localization for notifications labels 2012-05-01 11:38:55 +01:00
Jessica Wang d83bf9d3ce 3.0 UI - system page - localize KVM/XenServer/VMWare network label default display value. 2012-05-01 11:37:40 +01:00
Brian Federle 633abcdbe2 Translate new message properties 2012-05-01 11:35:47 +01:00
Jessica Wang 6d10506f1c 3.0 UI - localize Add network offering dialog. 2012-05-01 11:34:45 +01:00
Jessica Wang a076522b07 3.0 UI - localize network offering page. 2012-05-01 11:30:55 +01:00
Likitha Shetty 6ab04076b5 Implementation of api 'markDefaultZoneForAccount'(to enable a user to mark a zone as default for an account).
reviewed-by: prachi
2012-04-30 17:08:32 -07:00
prachi 35d3c279db CS-14634: AWS API related logging should happen in awsapi.log.
Changes:

- Added awsapi logging to log4j-cloud.xml
- Having two log4j configurations caused problems when two webapps were deployed in tomcat
2012-04-30 17:08:28 -07:00
prachi 0f33c7c056 Cs-14524 - Change hardcode DB properties in hibernate cfg file of CloudBridge to dynamical reading from db.properties
Changes to read from DB host, user credentials from cloudStack's db.properties file instead of ec2-service.properties
2012-04-30 17:08:11 -07:00
prachi 257494eac1 changes to build scripts to build and deploy cloudstack - tested for dev env only 2012-04-30 17:07:23 -07:00
bfederle d80688ddce 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

Conflicts:

	ui/index.jsp
2012-04-30 10:36:02 -07:00
Nitin Mehta 02407c48f3 Bug 10808: Add Upload Volume api and do validation. 2012-04-30 09:43:23 +05:30
Jessica Wang 3b9f7bb0cd cloudstack 3.0 UI - check in new localization labels (Simplified Chinese vesion). 2012-04-27 15:32:30 -07:00
Jessica Wang a119abda0d cloudstack 3.0 UI - infrastructure - zone detail - physical network section - add Isolation method to listView. 2012-04-26 16:52:09 -07:00
Jessica Wang fc4f77cb85 cloudstack 3.0.x UI - checked in Japanese translation file provided by Tetsunori 2012-04-24 11:29:38 -07:00
Jessica Wang ff72c83094 CS-14588: cloudstack 3.0 UI - VM Wizard - correct validation message for name field. 2012-04-23 13:37:00 -07:00
kishan 120023fd5d 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:03:39 +05:30
Pranav Saxena 3ac1608a53 CS-13904 : Labels for service offering CPU and memory not consistent 2012-04-19 12:56:01 -07:00
Jessica Wang f8058b5b3f cloudstack 3.0 UI - localize validation message for vm host name. 2012-04-18 18:19:46 -07:00
Jessica Wang 7b4d6a06e1 CS-13896: cloudstack 3.0 UI - register template, register ISO - correct message and label. 2012-04-18 12:09:39 -07:00
Jessica Wang 0d8b10857f cloudstack 3.0 UI - add Network offering dialog - correct label of service offering from Compute offering to System offering. 2012-04-13 14:40:25 -07:00
pranav 899fed2539 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:16:12 -07:00
Jessica Wang f4bd2fb654 cloudstack 3.0 UI - security group - ingress rule - fix a bug that Account, Security group failed to be translated. 2012-04-11 17:28:07 -07:00
Jessica Wang 407af7c49f 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:35:04 -07:00
Jessica Wang 8d3aa61a6b 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:35:46 -07:00
Alena Prokharchyk 0bd655f79b 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:51:35 -07:00
frank 72d284de7d Switch to Apache license 2012-04-03 04:54:14 -07:00
Brian Federle 5e0f81bdc6 bug 14519
Show separate message for basic zone setup physical network UI

Conflicts:

	client/WEB-INF/classes/resources/messages.properties
2012-03-28 15:06:16 -07:00
Jessica Wang dad7ffc642 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:24:18 -07:00
bfederle b208abd9ff bug 14057
Rename 'label' -> 'traffic label' in configure traffic type dialog.
2012-03-28 10:25:26 -07:00
Jessica Wang 952b803943 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:10:07 -07:00
Jessica Wang f77430f160 cloudstack 3.0 UI - infrastructure - service provider detail view - correct view all label from view provider to view devices. 2012-03-26 12:46:50 -07:00
Jessica Wang af17326005 cloudstack 3.0 UI - check in Chinese translation. 2012-03-23 09:59:11 -07:00
Alena Prokharchyk 0652165adb bug 14446: removed elasticLBVm from components.xml
status 14446: resolved fixed
reviewed-by: Frank Zhang
2012-03-22 10:26:37 -07:00
Brian Federle d54d16683c bug 14375
Use 'Management IP Addresses' in place of 'Private IP Addresses' for
label on system dashboards

status 14375: resolved fixed
2012-03-21 11:16:03 -07:00
Jessica Wang 315ef3c222 cloudstack 3.0 UI - more labels translated. 2012-03-21 09:49:01 -07:00
Jessica Wang 2e8705578a bug 14056: cloudstack 3.0 UI - infrastructure page - zone detail - physical network listView - provide delete action in listView. 2012-03-20 14:31:16 -07:00
bfederle cae7caf468 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

status 14057: resolved fixed
status 14098: resolved fixed
status 14101: resolved fixed
status 14132: resolved fixed
2012-03-20 13:33:23 -07:00
Jessica Wang 121db068dd 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:54:08 -07:00
Jessica Wang f9f0c45030 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:03:42 -07:00
bfederle 0450a6c14c Add missing resource, max networks, to project resource tab 2012-03-14 16:07:15 -07:00
Jessica Wang a3484fc57d cloudstack 3.0 UI - Quick Installer - add host step - change text. 2012-03-13 10:50:11 -07:00
abhi 48a2a5cfd2 bug 14151,14153: configuration variables are now hidden; added ldapRemove command 2012-03-13 11:28:47 +05:30
Alena Prokharchyk 69ed7b7ace Revert "bug 14151,14153: configuration variables are now hidden; added ldapRemove command"
Temporarely reverting checkin that broke the build
This reverts commit c9552df956d4f25aa71d5a1aad27d0919f7631e8.
2012-03-09 11:07:23 -08:00
abhi 44d0211cda bug 14151,14153: configuration variables are now hidden; added ldapRemove command 2012-03-09 16:58:51 +05:30
Jessica Wang 6721095a36 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:28:58 -08:00
Jessica Wang c1983f0fc0 bug 13301: fix typo [reviewed-by: Brian] 2012-03-05 14:48:57 -08:00
Jessica Wang 94d47cee74 bug 12981: login screen - show explicit error messages when login fails. [reviewed-by: Brian] 2012-03-02 16:42:03 -08:00
Brian Federle 779617df26 Move untranslated labels into the 'new' section of properties files
reviewed-by: sonny
2012-02-24 10:30:33 -08:00
Brian Federle bdd3c14ef1 bug 13941
Add missing labels for user dashboard

status 13941: resolved fixed
reviewed-by: sonny
2012-02-23 15:43:07 -08:00