Commit Graph

523 Commits

Author SHA1 Message Date
Jessica Wang d5607bc56d CS-16555: cloudstack UI - Infrastructure page - zone detail - service provider - Add F5 device - Inline Mode has been moved from Add F5 Device to Create Network Offering (both backend and UI). 2012-10-22 11:52:01 -07:00
Brian Federle caf1206b15 Re-enable inline mode for SRX + F5
Now that inline mode is supported, re-enable mode drop-down for SRX
and F5 creation forms.
2012-10-16 12:13:31 -07:00
Rohit Yadav 4c69cac42e CLOUDSTACK-341: Fix incorrect js object in system.js
Use correct object in system.js that fixes the issue of management traffic
details not getting loaded as it fails on type error.

Fixes regression introduced in 95b6a5eeda
2012-10-14 20:53:18 +05:30
Hugo Trippaers c07d6d28ee Merge branch 'nicira-l3support'
This commit merges the nicira-l3support branch with master. This
effectively adds nicira nvp l3 support to master. The NiciraNVP Provider
can support the following services with this modification: Connectivity,
SourceNat, StaticNat and PortForwarding

Testing done:
Create, Delete network offerings with Nicira Element
Use Gui to add, modify, remove Nicira Element and Provider
Provision, deprovision SourceNat networks
Provision, deprovision Portforwarding and StaticNat rules

Tested with Nicira NVP release 2.1.0, 2.2.0 and 2.2.1 (2.2.x recommended)
2012-10-12 14:15:17 +02:00
Jessica Wang ad280bd174 CLOUDSTACK-228: cloudstack UI - host page - hide Force Reconnect option when host state is Disconnected. 2012-10-10 12:40:39 -07:00
Brian Federle 991557bfb6 UI: Add quick view to table list
For any list view that has a corresponding detail view, adds a tooltip
to display the compact overview of the detail view contents, including
all available actions. This avoids a user from having to click into a
new panel to see more details and actions for an item.

This will happen automatically for any list view with a 'detailView'
sub-option, and will append a new column to the end of each item
row. If 'noCompact: true' is specified in the detailView's options,
then the quick view will not be rendered.

** Note: This also removes the existing list actions for the instances
         and zones tables.

Example, to show a quick view:

listView: {
  detailView: {
    // Specify noCompact: true to not render a quick view
    //
    // noCompact: true
    ...
  },
  ...
}

Conflicts:
	ui/scripts/ui/widgets/detailView.js
2012-10-10 11:18:02 -07:00
Hugo Trippaers c9b0b0b1a9 Add Nicira configuration to the UI 2012-09-30 23:33:37 -07:00
Brian Federle 69f6e33a65 CS-16413: Fix load time for infrastructure main page
-Disable API calls for infrastructure page
-Re-style infrastructure labels
2012-09-28 11:30:42 -07:00
Jessica Wang b885809638 CS-16407: cloudstack UI - Infrastructure page - total number of Virtual Routers should include both project type and account type. 2012-09-27 12:13:52 -07:00
Jessica Wang d7508a4cea CS-16407: cloudstack UI - Infrastructure page - zone - Physical network - Guest - network tab - make 2 API calls to get guest networks. The first one is to get guest networks under all projects. The 2nd one is to get guest networks that are not under any project. 2012-09-27 11:52:32 -07:00
Brian Federle 951c124166 CLOUDSTACK-154: Show network details for virtual router
-Adds new NICs tab, to display network information for each router
 NIC, including network name

-Show guest network ID field on router details tab
2012-09-24 13:59:44 -07:00
Jessica Wang fbdd65fe6b CS-16046: cloudstack 3.0 UI - Edit zone - Local Storage Enabled field is a true/false field. Make it a checkbox in Edit mode. 2012-09-12 12:25:32 -07:00
Koushik Das 65eeeaf071 CS-14277
Support for local data disk. Currently enable/disable config is at zone level, in subsequent checkins it can be made more granular.
    Following changes are made:
    - Create disk offering API now takes an extra parameter to denote storage type (local or shared). This is similar to storage type in service offering.
    - Create/delete of data volume on local storage
    - Attach/detach for local data volumes. Re-attach is allowed as long as vm host and data volume storage pool host is same.
    - Migration of VM instance is not supported if it uses local root or data volumes.
    - Migrate is not supported for local volumes.
    - Zone level config to enable/disable local storage usage for service and disk offerings.
    - Local storage gets discovered when a host is added/reconnected if zone level config is enabled. When disabled existing local storages are not removed but any new local storage is not added.
    - Deploy VM command validates service and disk offerings based on local storage config.
    - Upgrade uses the global config 'use.local.storage' to set the zone level config for local storage.
(cherry picked from commit 62710aed37606168012a0ed255a876c8e7954010)
2012-09-11 17:22:43 +05:30
Mice Xia dd07d1598f Fix Bug CloudStack-9 can not change OS preference from OS to none 2012-09-04 20:51:03 +08:00
Pranav Saxena 36ce46c319 CS-16190:InterVlan - UI - Non-VPC Virtual Routers are not provided with an option to reboot unlike VPC Virtual Routers- Check on the vpc id being not NULL was making the reboot action hidden for a normal VR ,but if the vpc id is NULL , VPC VR won't exist 2012-08-28 13:31:27 +05:30
Jessica Wang ccfdb151f1 CS-15671: cloudstack 3.0 UI - Migrate SystemVM option, Migrate Router action - host dropdown - listHosts API no longer returns hasEnoughCapacity proprety. So, "Available" or "Full" is removed from dropdown option since "Available" or "Full" is determined by host's hasEnoughCapacity proprety. 2012-08-27 16:35:28 -07:00
Brian Federle 00323f0e5a CS-15967: Don't pass projectId=-1 to zone->guest networks list
reviewed-by: jessica
2012-08-23 13:16:42 -07:00
Alena Prokharchyk b61468d65c Merge branch 'master' into vpc
Conflicts:
	plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
2012-08-11 18:27:18 -07:00
Edison Su 263216caa5 Adds CLVM as an option for primary storage. It copies most of the RBD bits, in most cases simply adding an 'else if' or similar. In the managesnapshot.sh we add the ability to manipulate snapshots for the CLVM volumes, as well as a few minor fixes like adjusting the usage for the -b option to reflect that it accepts four arguments (note that it already accepted four args, it just wasn't reflected in the usage).
RB: https://reviews.apache.org/r/6470/
Send-by: shadowsor@gmail.com
2012-08-10 13:33:06 -07:00
Jessica Wang 569afefc6d CS-15945: cloudstack 3.0 UI - Infrastructure page - zone detail page - create guest network - make start IP, end IP field required. 2012-08-10 11:12:04 -07:00
Alena Prokharchyk ccac505944 Merge branch 'master' into vpc 2012-08-10 10:47:49 -07:00
Mice Xia c91463f43e show zone name in secondary storage detail page 2012-08-09 17:29:11 +08:00
Jessica Wang 0c8ce06f6b cloudstack 3.0 UI - infrastructure - Virtual Routers - detailView - add Reboot action to VPC Virtual Router. 2012-08-08 10:13:17 -07:00
Jessica Wang a1143acf85 cloudstack 3.0 UI - infrastructure - zone detail - network service providers - VPC Virtual Router - Instances tab - detailView - add Reboot action. 2012-08-08 10:08:38 -07:00
Jessica Wang 37b66d3fb2 cloudstack 3.0 UI - infrastructure - Virtual Routers - detailView - add ChangeService action to VPC Virtual Router. 2012-08-06 16:01:02 -07:00
Jessica Wang 8da249e2a3 cloudstack 3.0 UI - infrastructure - zone detail - network service providers - VPC Virtual Router - Instances tab - detailView - add ChangeService action. 2012-08-06 16:00:05 -07:00
Jessica Wang 1e69966f75 cloudstack 3.0 UI - infrastructure - zone detail - network service providers - Virtual Router - Instances tab - exclude VPC Virtual Router here. 2012-08-06 15:59:11 -07:00
Jessica Wang 648dcf0ccf cloudstack 3.0 UI - infrastructure - zone detail - network service providers - VPC Virtual Router - Instances tab - add Type to listView (System, VPC or Project). 2012-08-06 15:50:38 -07:00
Alena Prokharchyk 0e0b75a041 Merge branch 'master' into vpc
Conflicts:
	api/src/com/cloud/api/ApiConstants.java
2012-08-02 18:45:37 -07:00
Pranav Saxena 95b6a5eeda CS-15807 :Network label for OVM support on UI : Reviewed-By - Brian Federle 2012-08-03 03:18:26 +05:30
Brian Federle 6cbf43e89b CS-15761: Show type of router in list view
Adds a 'type' column to virtual router list views, which is labeled
either 'VPC,' 'Project,' or 'System' [default router].

--This also fixes an issue where project routers were never listed
2012-07-31 14:20:49 -07:00
Alena Prokharchyk a39fd61249 Merge branch 'master' into vpc
Conflicts:
	server/src/com/cloud/network/rules/RulesManagerImpl.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
	server/src/com/cloud/vm/VirtualMachineGuru.java
2012-07-27 13:47:46 -07:00
Wido den Hollander 406fd95d87 Add RBD support for primary storage
This patch adds RBD (RADOS Block Device) support for primary storage in combination with KVM.

To get this patch working you need:
- libvirt-java 0.4.8
- libvirt with RBD storage pool support (>0.9.13)
- Qemu with RBD support (>0.14)

The primary storage does not support all the functions of CloudStack yet, for example snapshotting is disabled
due to the fact that backupping up a RBD snapshot is not possible in the way CloudStack wants to do it.

Creating templates from RBD volumes goes well, creating a VM from a template however is still a hit-and-miss.

NFS primary storage is also still required, you are not able to run your System VM's from RBD, they will need
to run on NFS.

Other then these points you can run instances with RBD backed disks.
2012-07-26 22:22:26 +02:00
olgasmola 2b1758b233 CS-15391: Add required fields validation when Edit on the Details tab for Infrastructure/Zones, Infrastructure/Pods. 2012-07-25 11:48:25 +03:00
Jessica Wang 9176d13246 cloudstack 3.0 UI - VPC - infrasture page - network service providers - add "VPC Virtual Router". 2012-07-20 15:59:05 -07:00
bfederle 4e9a97177f CS-15290: Fix 'Path' field validation
Original patch by: olga.smola
reviewed-by: brian
2012-06-26 13:43:30 -07:00
David Nalley 9687520712 applying Chip Childer's patches for license headers in the ui directory 2012-06-26 10:46:53 -04:00
bfederle e442e3a7cf CS-12478: Add cluster name to primary storage list view
Original patch by: olga.smola
reviewed-by: brian
2012-06-22 10:50:04 -07:00
Jessica Wang a00c21686f (1) CS-15057: Remove jquery.timer.js from source code. Replace it with native JavaScript functions.
(2) CS-14604: cloudstack 3.0 UI - Add Zone Wizard - skip Guest Traffic step if OVS tunnel manager is enabled.
(3) CS-15311: cloudstack 3.0 UI - Add Zone Wizard - add physical network step - no isolation method dropdown if network type is Basic.
(4) CS-14769:  Don't pass subdomainaccess param when scope=project.
(5) CS-15157: cloudstack 3.0 UI - infrastructure page - physical network - network service providers - reset nspMap before populating listNetworkServiceProviders response to nspMap.
2012-06-21 12:13:41 -07:00
bfederle 9e9b2cbdcc cs-15286: incorrect result when edit pod
Original patch by: olga.smola
reviewed-by: brian
2012-06-20 14:21:05 -07:00
Brian Federle e5db0ebc0f CS-15148 : Delete Nexus dvSwitch UI option is not Functional so removing this functionality
reviewed-by: brian
2012-06-19 11:11:11 -07:00
Brian Federle 920eadffd5 CS-15126: Removing the zone field for now
Conflicts:

	ui/scripts/system.js
2012-06-19 11:11:11 -07:00
Brian Federle 073829638f CS-14769
-Don't pass subdomainaccess param when scope=project

-Fix guest network detail view by passing projectid=-1, due to project
 details not returning response for project-level guest networks
2012-06-19 11:11:11 -07:00
Brian Federle 7c1698fb15 CS-15126
-Hide 'type' field, as dvSwitch doesn't return a type

-Get zone name from the cluster's data

reviewed-by: jessica
2012-06-19 11:11:11 -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
Devdeep Singh 1593900402 CS-9919: Changes to integrate UI changes for nexus feature.
Reviewed by: Sateesh, Pranav.

Conflicts:

	ui/scripts/system.js
2012-05-25 18:33:53 -07:00
Brian Federle 0753b1035f CS-13091: Remove enable/disable physical network actions
Due to limitations in the API, for now the enable/disable
functionality for physical networks will be removed.
2012-05-25 11:01:57 -07:00
Sanjay Tripathi 835afec6b9 Nexus Vswitch UI development modified enable disable and list vswitch response 2012-05-25 11:52:48 +05:30
Brian Federle 9f2a823d6e CS-13091: Enable/disable physical network UI actions 2012-05-24 12:17:58 -07:00
Pranav Saxena 28b0df590e CS-15078:Standard name for vSwitch 2012-05-25 00:00:37 +05:30
Brian Federle 7eb9977b86 Don't send VSM details if vSwitch isn't enabled 2012-05-23 13:09:50 -07:00
Brian Federle 8a5211f62c vSwitch UI fixes
commit 531ebe165de441fdf8e8bb86c76056504cf3aadb
Author: Brian Federle <brian.federle@citrix.com>
Date:   Wed May 23 10:27:51 2012 -0700

    Fix vSwitch password field

commit e51a0bd5e198483704d6d7f2dc4cb4c74e7c9167
Author: Pranav Saxena <pranav.saxena@citrix.com>
Date:   Wed May 23 19:40:13 2012 +0530

    CS-9919: Changes to integrate UI changes for nexus feature
2012-05-23 11:15:42 -07:00
Brian Federle e8e3698e4e Add cluster: conditionally hide vSwitch fields
-When in add cluster screen, show the add vSwitch fields when
 hypervisor == VMware and 'vmware.use.nexus.vswitch' configuration
 flag is enabled.

-Remove 'add Nexus vSwitch' checkbox, as the vSwitch fields will
 always be shown for VMware if the above config flag is set.
2012-05-22 13:45:35 -07:00
Pranav Saxena d800c4474f Nexus UI development nexusActionfilter 2012-05-21 10:03:20 -07:00
Pranav Saxena f2f7de5295 CS-14978 Clusterstate is empty from CloudStack UI
reviewed-by: brian
2012-05-21 09:59:58 -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
Edison Su bafc3f2a5a CS-14521
Remove CLVM, due to license issue
2012-05-15 15:13:15 -07:00
Jessica Wang 25957ab372 CS-14737: cloudstack 3.0 UI - state column in Volume/Snapshot/Instance/SecondaryStorage/Project page - should display state value as is (i.e. as returned in API call). Shouldn't localize value returned in API call. 2012-05-04 16:37:26 -07:00
Jessica Wang d6edced466 CS-14116: cloudstack 3.0 UI - add guest network dialog: make vlan/gateway/netmask required when network offering is Isolated with no SourceNat. 2012-05-04 15:58:31 -07:00
Jessica Wang b8058e7a5e CS-14116: cloudstack 3.0 UI - (1) add guest network dialog: make vlan/gateway/netmask required when network offering is "Shared". (2) dialog widget: be able to change field to required or not-required after createForm is rendered. 2012-05-04 15:20:27 -07:00
Jessica Wang 90ec0a6300 cloudstack 3.0 UI - dialog widget - add new function cloudStack.dialog.createFormField.validation.required.add(), cloudStack.dialog.createFormField.validation.required.remove() 2012-05-02 14:03:13 -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 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 a244fb6d42 CS-14385: cloudstack UI - Host page - add "HA Enabled" column which only shows When ha.tag global configuration is not empty. 2012-04-25 10:40:39 -07:00
Jessica Wang f86e9f9eea cloudstack 3.0 UI - infrastructure page - guest traffic type - network tab - fix a bug that clicking a network that doesn't belong to current login user would show spinning wheel forever in detailView. 2012-04-24 12:19:03 -07:00
Jessica Wang bab65c8a29 CS-14297: cloudstack 3.0 UI - Delete Primary Storage dialogbox - add "Force Remove" checkbox. 2012-04-24 11:52:39 -07:00
Jessica Wang 8e3fc39b67 CS-12407: cloudstack 3.0 UI - Add F5 device - when Dedicated checkbox is checked, hide Capacity field and pass "capacity=1" to API. 2012-04-24 10:56:29 -07:00
Jessica Wang 71c9c6337b CS-12407: cloudstack 3.0 UI - Add Netscaler device - when Dedicated checkbox is checked, hide Capacity field and pass "capacity=1" to API. 2012-04-24 10:56:03 -07:00
Pranav Saxena 8b35987b8d CS-13830 : Zone's guest CIDR field is not modifiable in the UI 2012-04-19 15:17:40 -07:00
Pranav Saxena 26b4d180d1 CS-13830 : Zone's guest CIDR field is not modifiable in the UI 2012-04-19 15:17:27 -07:00
Jessica Wang c446c46cb7 cloudstack 3.0 UI - host page - list view - add State column with color and icon. 2012-04-18 14:12:12 -07:00
Jessica Wang e6d064952d cloudstack 3.0 UI - statistics tab in Instance page, Host page - Network Read, Network Write - if API returns 0, show 0 instead of N/A. 2012-04-18 13:31:11 -07:00
Pranav Saxena 582e62c204 Bug 14632 : CS-14393 3.0.1 Hosts' Statistics page show memory values as TB
Conflicts:

	ui/scripts/system.js

reviewed-by: brian
2012-04-12 15:02:31 -07:00
Jessica Wang 53ca91024a cloudstack 3.0 UI - infrastructure - physical network - network service providers - F5, Netscaler, SRX - devices - (1) correct section id. (2) After remove action completes, close detailView and remove the row from listView. 2012-04-11 14:56:05 -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
Jessica Wang 66cdfcec3f cloudstack 3.0 UI - infrastructure - physical network - network service providers - when clicking Netscaler/F5/SRX, get fresh data from API call instead of cache. 2012-04-11 10:52:32 -07:00
Jessica Wang b6eae2855f cloudstack 3.0 UI - Secondary Storage page - detail view - implement Refresh button. 2012-04-10 16:58:13 -07:00
Jessica Wang 3ae0ecb0eb cloudstack 3.0 UI - Primary Storage page - detail view - implement Refresh button. 2012-04-10 16:42:55 -07:00
Jessica Wang 3c79f45994 cloudstack 3.0 UI - Host page - detail view - implement Refresh button. 2012-04-10 16:23:59 -07:00
Jessica Wang ed7066c587 cloudstack 3.0 UI - Pod page - detail view - implement Refresh button. 2012-04-10 15:53:14 -07:00
Jessica Wang f1af23d88d cloudstack 3.0 UI - physical network page - Network Service Providers - SRX - devices - detailView - implement Refresh button. 2012-04-10 15:43:28 -07:00
Jessica Wang b2a0b33c84 cloudstack 3.0 UI - physical network page - Network Service Providers - F5 - devices - detailView - implement Refresh button. 2012-04-10 15:02:27 -07:00
Jessica Wang ac0e2c314e cloudstack 3.0 UI - physical network page - Network Service Providers - Virtual Router - Instances tab - detailView - implement Refresh button. 2012-04-10 14:47:50 -07:00
Jessica Wang e27537f51b cloudstack 3.0 UI - physical network page - Network Service Providers - Virtual Router - Instances tab - implement Refresh button. 2012-04-10 12:33:25 -07:00
Jessica Wang ae8e9a11ec cloudstack 3.0 UI - physical network page - Network Service Providers - Virtual Router - get supported services from API call instead of hard-coding. 2012-04-10 11:49:10 -07:00
Jessica Wang e4a41071de cloudstack 3.0 UI - physical network page - Network Service Providers - Virtual Router - implement Refresh button. 2012-04-09 16:57:21 -07:00
Jessica Wang 5659691140 cloudstack 3.0 UI - physical network page - guest traffic type - networks tab (guest networks) - implement Refresh button. 2012-04-09 16:18:00 -07:00
Jessica Wang ed943dbd75 cloudstack 3.0 UI - physical network page - guest traffic type - implement Refresh button. 2012-04-09 15:34:09 -07:00
Jessica Wang 3cf68e14c7 cloudstack 3.0 UI - System VM page - implement Refresh button. 2012-04-09 15:05:16 -07:00
Brian Federle 3a5a60c0be Add 'view all' shortcuts for common zone resources
On the physical resources dashboard, add a button to view all
resources for pods, clusters, and hosts. This will compile a
list view containing the resources across all zones.

In order to be able to add resources when in this zone-inspecific mode,
a zone drop-down had to be added to the create forms for
pods, clusters, and hosts.
2012-04-09 13:26:08 -07:00
Jessica Wang 97d9862de7 bug 14539: cloudstack 3.0 UI - system VM page - add "change service offering" action which shows when systemVM state is Stopped. 2012-04-06 15:48:42 -07:00
Brian Federle 6531618289 bug 14411: Add 'None' option for no host OS preference 2012-04-05 11:53:42 -07:00
Jessica Wang 68f9e6f4ea bug 14591: cloudstack 3.0 UI - remove Change Service option from router page. 2012-04-04 15:05:14 -07:00
frank 2f634c0913 Switch to Apache license 2012-04-03 04:50:05 -07:00
Jessica Wang 892a29c2ef bug 14585: cloudstack 3.0 UI - systemVM page - after destroy action completes, close detailView and remove it from listView. 2012-04-02 17:03:57 -07:00
Jessica Wang 0b6c9fed5e bug 12421: cloudstack 3.0 UI - infrastructure page - cluster section - add an extra property ("state" property) to cluster object from API call. "state" property is not returned by API call. "state" property's value is determined by "managestate" property and "allocation" property returned by API call. 2012-03-30 16:31:56 -07:00
Brian Federle 3107ad88a5 Add missing page + pageSize params to network provider list views 2012-03-30 15:04:23 -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
Brian Federle 63111c43c5 bug 14098
Always allow edit guest network action, for both basic and advanced
zones.
2012-03-28 10:36:30 -07:00