476 Commits

Author SHA1 Message Date
Jessica Wang
6ad1ed05e3 Bug 14981: cloudstack UI - update Host - OS Category dropdown - assign empty string instead of null as id to blank option. When Apply button is clicked, check whether the option id is empty string instead of English word 'None' which doesn't work for non-English environment. 2012-10-24 14:18:05 -07:00
Brian Federle
61a6aada07 CS-16586: Disable quick view for zone->guest network list
Due to technical limitations, disable quick view for the guest
networks list view under the zone traffic type section.
2012-10-24 11:37:13 -07:00
Brian Federle
8bb273de8f Add tooltips to form fields
-Adds tooltips to all dialog-based form fields, to describe what each
 field represents. The tooltip appears on focus of the field, and
 hides once the field is blurred.

-Documentation content is pulled from a new namespace
 'cloudStack.docs', under docs.js. A new attribute, 'docID' is then
 specified on each createForm field to link the field to a specific
 tooltip string.

-If no docID is specified, then no tooltip is rendered.

-This only applies to the 'generic' forms that are rendered using the
 createForm widget

-This still needs to be localized

Conflicts:
	ui/index.jsp
	ui/scripts/configuration.js
	ui/scripts/network.js
	ui/scripts/ui/dialog.js
	ui/scripts/vpc.js
2012-10-22 15:18:22 -07:00
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 95b6a5eeda73beeb97fe8dd229c880c97668d44f
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