Commit Graph

3608 Commits

Author SHA1 Message Date
Jessica Wang b8e87cff00 CS-16573: cloudstack UI - Alerts page - basic search - encode data passed to API call. 2012-10-25 11:10:49 -07:00
Jessica Wang 1400f84a33 CS-16573: cloudstack UI - update ISO - encode data passed to API call. 2012-10-25 11:05:53 -07:00
Jessica Wang ef83621c5b CS-16573: cloudstack UI - update template - encode data passed to API call. 2012-10-25 11:05:04 -07:00
Jessica Wang 48c2e6b844 CS-16573: cloudstack UI - register ISO - encode data passed to API call. 2012-10-24 15:09:07 -07:00
Jessica Wang 8fff59eb76 CS-16573: cloudstack UI - register template - encode data passed to API call. 2012-10-24 15:08:35 -07:00
Jessica Wang 8e2ebb26a8 CS-16573: cloudstack UI - IP Address page, VPN Customer Gateway page - basic search - encode data passed to API call. 2012-10-24 15:07:25 -07:00
Jessica Wang 47c83ef403 CS-16573: cloudstack UI - guest network page - update network - encode data passed to API call. 2012-10-24 14:54:39 -07:00
Jessica Wang d1493880f0 CS-16573: cloudstack UI - upload volume, create template from volume, create template from snapshot, create volume from snapshot - apply action filter back. 2012-10-24 14:54:00 -07:00
Jessica Wang 145d0a7f76 CS-16573: cloudstack UI - upload volume, create template from volume, create template from snapshot, create volume from snapshot - encode data passed to API call. 2012-10-24 14:53:42 -07:00
Jessica Wang de1fd5d0a8 CS-16573: cloudstack UI - create template from VM - encode data passed to API call. 2012-10-24 14:52:53 -07:00
Jessica Wang afeced1e43 CS-16573: cloudstack UI - update instance - encode data passed to API call. 2012-10-24 14:52:13 -07:00
Jessica Wang 1c54348081 CS-16573: cloudstack UI - create tag, delete tag - encode tags[0].key and tags[0].value when passing them to API call. 2012-10-24 14:51:38 -07:00
Jessica Wang 9372171af1 CS-16573: cloudstack UI - create volume - encode data passed to API call. 2012-10-24 14:50:46 -07:00
Brian Federle a96b27b5ac CS-16566: Remove egress rule tab if network ACL not present
-If network ACL feature is not part of a network's offering, then hide
 the egress rule tab

-Also includes code cleanup of network tabFilter
2012-10-24 14:28:02 -07:00
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 7ed60961f0 Quickview: don't run tabFilter
For compact detail view (quickview), don't execute tabFilter, as only
the first tab is rendered in all cases. This prevents excessive API
calls from being made, slowing performance.
2012-10-24 13:40:15 -07:00
Brian Federle 72259693ac CS-16567: Fix context for quick view on add row
After adding a new instance row, in some cases the list view's context
is not passed fully to the quickview, which broke certain sections.

This ensures that the full context stored in the list widget is passed
to the quickview.
2012-10-24 12:56:40 -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 d01bbb9417 Apply same dataProvider map to both ingress and egress rules
-Because the dataProvider for both ingress and egress rules are
 handled the same, use a shared data mapping for both
2012-10-22 17:20:48 -07:00
Brian Federle 7fda33bbd0 CS-16572: Fix missing fields when start port == 0 2012-10-22 16:49:19 -07:00
Brian Federle db165896d2 Fix license headers and remove external links 2012-10-22 15:29:29 -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
Brian Federle d3040de21d UI Quick view: don't render for function-based detail view
Disables quick view if detail view is returned via a closure, as it
breaks the quick view in this case.
2012-10-22 12:17:55 -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
Jessica Wang 5c71d96f55 CS-16555: cloudstack UI - create network offering - when LB service is checked and provider is F5, show new dropdown "Inline Mode" dropdown. Hide it otherwise. 2012-10-22 11:49:16 -07:00
Brian Federle f311880218 Quick view UI: Add alt tag for long titles 2012-10-22 11:22:16 -07:00
Brian Federle 65cf092f60 Network offering UI: Pass 'associatePublicIP' option
If elastic LB service is enabled for a shared network offering, add a
checkbox to associate public IP. This passes new option
'associatePublicIp=[true/false]' on creation.
2012-10-19 10:13:11 -07:00
Brian Federle e61aa3aa74 Don't create tag widget in quickview mode 2012-10-18 15:25:09 -07:00
Jessica Wang 714b0593d3 cloudstack UI - Static NAT, Port Forwarding and Firewall Implementation on JuniperSRX - IP Address page - configuration - if Firewall is provided by JuniperSRX, hide Firewall icon when Port forwarding is configured on IP Address. 2012-10-18 14:41:06 -07:00
Jessica Wang a8e18f0529 cloudstack UI - Static NAT, Port Forwarding and Firewall Implementation on JuniperSRX - IP Address page - configuration - Firewall - call listNetworkOfferings API only when the screen is navigated from Guest Network section, but not from VPC section. 2012-10-18 14:36:29 -07:00
Jessica Wang b7ccae0dde cloudstack UI - Static NAT, Port Forwarding and Firewall Implementation on JuniperSRX - IP Address page - configuration - Firewall - exclude ICMP from Protocol dropdown. 2012-10-18 14:35:47 -07:00
Brian Federle 640aba7a77 UI quick view: Fix action state update
Fix case where quick view was removed instead of hidden by a dialog
before performing an action, which casued the list view row to not
update on completion
2012-10-18 12:52:50 -07:00
Brian Federle acae5f23bc Quickview UI: Localize string 'Quickview'
Conflicts:
	client/WEB-INF/classes/resources/messages.properties
	ui/dictionary.jsp
2012-10-18 11:03:24 -07:00
Brian Federle d7704422ac UI browser: add panel focus overlay
On hover of a breadcrumb, show an overlay effect which focuses on that
particular panel, hiding all panels after it.

This allows a user to see the content of previous breadcrumbs that the
user loaded.
2012-10-16 14:11:05 -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
Jessica Wang f4d085d609 CS-16486: cloudstack UI - listView dataProvider - not to pass details=min as default. 2012-10-16 11:05:06 -07:00
Jessica Wang ff8fccccb2 CS-16326: cloudstack UI - instance page - listView - (1) the column that maps to name property in API response is labelled as "Name" instead of "Host Name".
(2) add back Internal Name column for root-admin.
2012-10-16 10:01:15 -07:00
Brian Federle f72434261c CLOUDSTACK-352: Fix user dashboard VM count
Pass listAll=true to user dashboard API call, so domain admin can see totals
for all user VMs.
2012-10-15 14:23:42 -07:00
Brian Federle 7e704d1b3d Fade-in notification widget on show 2012-10-15 10:05:24 -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
Jessica Wang 08b074a101 CS-16493: cloudstack UI - IP Address page - hide VLAN for regular-user/domain-admin. 2012-10-12 15:22:15 -07:00
Jessica Wang 318a60fd6a CS-16493: cloudstack UI - guest network page - hide VLAN ID for regular-user/domain-admin. 2012-10-12 14:50:55 -07:00
Jessica Wang 7cac7ff2c7 cloudstack UI - left navigation - group menus for the same role. 2012-10-12 14:06:55 -07:00
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 e73cbfe6a9 CS-16344: cloudstack UI - multiEdit widget - remove isOptional property, isDisabled property from field level since they are supposed to be on field.range level. 2012-10-11 14:07:03 -07:00
Brian Federle ea934c1a02 Update advanced search styling
- Add cancel button

- Move search buttons to the right
2012-10-11 13:27:07 -07:00
Brian Federle 44996d4611 Style advanced search
-Convert advanced search to a drop-down that overlaps the standard
 search when visible

-Add new arrow icon to show advanced search popup
2012-10-11 12:13:55 -07:00
Rohit Yadav 6dd5c3fd42 CLOUDSTACK-70: Improve restart network behaviour for basic network
If cleanup=true, network elements and resources are shutdown and
reimplemented. Else, shutdown/reimplementation is skipped. Enabled
cleanup checkbox in CS UI.

For both cases, VRs are only deployed for Pods with no running
or starting VRs and Pods having running or starting user vms.

New DAO helpers introduced:
HostPodDao: listByDataCenterIdVMTypeAndStates
DomainRouterDao: listByPodId and listByPodIdAndStates
VMInstanceDao: listByPodId and corrected definition of listByTypeAndState

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-10-11 19:33:26 +05:30
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 65a526fa54 Quick view: fix for dialog actions
In some cases, clicking out of an overlayed dialog will cause an open
quick view to become stuck. This fixes via a new class 'hovered-elem'
which, when attached to any DOM element, will have its 'mouseleave'
triggered once the dialog is closed.
2012-10-10 11:18:03 -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
Mice Xia a5edef06c9 CLOUDSTACK-256 vpn:As an admin user , not able to delete VPN user which is present in a regular user's network. 2012-10-10 13:43:30 +08:00
Jessica Wang 7af3f6ef94 cloudstack 3.0 UI - instance page - listView - not pass details=min to API call since nic and securitygroup info is needed here. 2012-10-05 15:21:47 -07:00
Jessica Wang e7e486204e cloudstack UI - dialog widget - introduce new property isDatepicker. 2012-10-05 11:38:47 -07:00
Jessica Wang 7b1b9f8e95 cloudstack UI - advanced search - dropdown field - check API permission before making API call. 2012-10-04 17:17:28 -07:00
Jessica Wang 8ea0a230e6 CS-16452: cloudstack UI - dialog widget - call field.selectFn regardless of value of field.isHidden. 2012-10-04 16:58:24 -07:00
Jessica Wang a5c9c560ff cloudstack UI - listView widget - keep advanced search criteria when scrolling down grid when the last search is from advanced search dialog. 2012-10-04 16:30:17 -07:00
Jessica Wang a2a1e19e70 cloudstack UI - add advanced search on Event page. 2012-10-04 15:36:25 -07:00
Jessica Wang 9e1b5b5361 cloudstack UI - event page - add more fields to detailView. 2012-10-04 15:35:55 -07:00
Jessica Wang 1a7dbdc8d9 cloudstack UI - advanced search on project page - add domain dropdown, account text field. 2012-10-04 14:23:24 -07:00
Jessica Wang c0c0ae1c36 cloudstack UI - advanced search on VPC page - add domain dropdown, account text field. 2012-10-04 14:22:39 -07:00
Jessica Wang d80debcbfe cloudstack UI - advanced search on guest network page - add domain dropdown, account text field. 2012-10-04 14:22:03 -07:00
Jessica Wang 10d1a0cc6b cloudstack UI - advanced search on snapshot page - add domain dropdown, account text field. 2012-10-04 13:58:45 -07:00
Jessica Wang 90f608d216 cloudstack UI - advanced search on volume page - add domain dropdown, account text field. 2012-10-04 13:50:53 -07:00
Jessica Wang 10a5bdab49 cloudstack UI - regular user in project view - VPC - tier - deploy VM - should pass projectid instead of account parameter to deployVirtualMachine API. 2012-10-04 12:53:54 -07:00
Jessica Wang 939e060e2e cloudstack UI - advanced search on instance page - domain field - add blank option, so admin has a choice to see all domains instead of being forced to stick with one domain for each search. 2012-10-04 12:34:30 -07:00
Jessica Wang f7667e8a88 cloudstack UI - dialog widget - (1) extend field's isHidden property to have function type other than boolean type. (2) do not call field's select function if field's isHidden property is false. 2012-10-04 12:12:19 -07:00
Jessica Wang e8fd65d867 cloudstack UI - advanced search - implement advanced search on security group page. 2012-10-03 16:28:57 -07:00
Jessica Wang b8a3524d2e cloudstack UI - advanced search - implement advanced search on project page. 2012-10-03 16:07:16 -07:00
Jessica Wang 3605ee5564 cloudstack UI - advanced search - implement advanced search on ISO page. 2012-10-03 15:56:42 -07:00
Jessica Wang 5dc1d468fe cloudstack UI - advanced search - implement advanced search on template page. 2012-10-03 15:40:26 -07:00
Jessica Wang 3e1957933e cloudstack UI - advanced search - implement advanced search on VPC page. 2012-10-03 15:03:05 -07:00
Jessica Wang ea91662485 cloudstack UI - advanced search - implement advanced search on network page. 2012-10-03 14:49:59 -07:00
Jessica Wang 18a09c9664 cloudstack UI - advanced search - implement advanced search on snapshot page. 2012-10-02 17:03:23 -07:00
Jessica Wang 92864aa023 cloudstack UI - advanced search - instance page - add name field, zone dropdown, tag key field, tag value field. 2012-10-02 16:47:55 -07:00
Jessica Wang 56496a235f cloudstack UI - advanced search - implement advanced search on instance page which has filter dropdown in listView. 2012-10-02 16:38:23 -07:00
Jessica Wang c9bd605029 cloudstack UI - advanced search - after searching, clear basic search input field to avoid confusion of search result. 2012-10-02 16:00:05 -07:00
Jessica Wang c7c6d23762 cloudstack UI - advanced search - add a new shared function listViewDataProvider() to deal with data parameter passed to API call in listView. 2012-10-02 15:40:34 -07:00
Jessica Wang 71355c1941 cloudstack UI - advanced search - volume page - add domain dropdown, account field. 2012-10-02 15:40:00 -07:00
Jessica Wang 6266fcb8f7 cloudstack UI - advanced search - show advanced search icon on listView only when advSearch property is specified. 2012-10-02 15:39:14 -07:00
Jessica Wang 3187bc6d30 cloudstack UI - advanced search - add Tag Key field, Tag Value field in advanced search in volume page. 2012-10-01 16:58:33 -07:00
Jessica Wang 2c6bc0e918 CS-16197: cloudstack UI - Tags - input validation. 2012-10-01 16:07:45 -07:00
Jessica Wang ac31b7d914 CS-15687: cloudstack 3.0 UI - zone wizard - change timer setting for adding netcaler provider. 2012-10-01 13:26:59 -07:00
Pranav Saxena 4d458c988a CloudStack-222:Admin UI prompts to restart Management server with cancel edit operation - Widget changes to reset the default value Reviewed-By:Brian 2012-10-02 00:12:51 +05:30
Saksham Srivastava 63f7c12333 no error message when we upload volume whose size is greater than storage.max.volume.upload.size value 2012-10-01 22:54:39 +05:30
Hugo Trippaers c9b0b0b1a9 Add Nicira configuration to the UI 2012-09-30 23:33:37 -07:00
Pranav Saxena 4530af1bee CloudStack-222:Admin UI prompts to restart Management server with cancel edit operation - Widget changes 2012-09-29 12:12:20 +05:30
Jessica Wang 295e228819 bug 15089: cloudstack UI - domain page - get volume count and VM count from listAccounts API response that has volumetotal property and vmtotal property under each account object. listVolumes API and listVirtualMachines API are no longer called when domains are clicked in domain page. 2012-09-28 22:58:34 -07:00
Brian Federle d266ac9f84 Instances details: Show host name 2012-09-28 12:17:52 -07:00
Brian Federle 6366eeec36 CLOUDSTACK-178: Show VM host name instead of internal name 2012-09-28 12:11:24 -07:00
Hugo Trippaers d4d82fa3f7 This name makes more sense 2012-09-28 11:33:14 -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 2214ba6c17 CS-16344: cloudstack UI - Port Forwarding section - add port ranges back to private port and public port. 2012-09-28 10:58:10 -07:00
Jessica Wang c99a3c6ee9 CS-16197: cloudstack UI - Tags - output encoding. 2012-09-27 17:40:43 -07:00
Jessica Wang 80ad7dd930 CS-16413: cloudstack UI - domain page - pass details=min to listAccounts API. 2012-09-27 15:09:04 -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
Mice Xia 77520e0bc8 CLOUDSTAK-214 Local storage usage data format is incorrect in zoneChart 2012-09-27 12:10:59 +08:00
Jessica Wang 45360b7a57 cloudstack UI - advanced search - introduce new property "advSearchFields" to lsitViewData. 2012-09-26 15:17:00 -07:00
Jessica Wang d09b46751c cloudstack UI - advanced search - extend listView widget to pass data on Advanced Search Dialog to data provider. 2012-09-26 11:04:39 -07:00
Jessica Wang 645527dbf7 cloudstack UI - advanced search - use cloudStack.dialog.createForm() 2012-09-25 16:31:05 -07:00
Jessica Wang 3a313ee1ff CLOUDSTACK-110: cloudstack UI - domain page - allow root domain to have Edit option, but only network domain field is editable, Resource Limits fields and domain name field is not editable. 2012-09-24 16:49:09 -07:00
Jessica Wang a3c80ebf4e CLOUDSTACK-109: cloudstack UI - (1) detailView widget - pass context to isEditable() when calling it. (2) account page - Edit action - allow to update network domain on system-generated default admin account. 2012-09-24 16:05:32 -07:00
Jessica Wang 309be015ce CLOUDSTACK-109: cloudstack UI - (1) account page: fix a bug that system-generated default admin account wrongly had enalbe/disable/lock/remove option. (2) user page - fix a bug that system-generated default admin account user wrongly had enable/disable/remove option. 2012-09-24 16:05:00 -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 edc6b4c6da cloudstack UI - listView widget - basic search - fix a bug that happened on IE browser that clicking Enter key didn't do the searching. 2012-09-20 15:25:50 -07:00
Brian Federle 93c84c8291 CLOUDSTACK-85: Fix instance wizard review hypervisor
Fix hypervisor type not being shown in instance wizard review step
2012-09-18 14:18:48 -07:00
Mice Xia 11b42481e1 CLOUDSTACK-114 UI - VPC related Network Offerings should not be provided as options to create a guest network for the Account before a VPC is actually present with the Account 2012-09-18 11:18:44 +08:00
Mice Xia cf5d7f879f CLOUDSTACK-115 UI - Currently there is no way an User can specify network domain suffix to an Isolated Guest Network on the UI. 2012-09-18 11:18:44 +08:00
Jessica Wang 90a649753c Revert commit f090fdeea7 "CS-15292: Split long OS Type list when create Template,ISO." which causes bug 39 (https://issues.apache.org/jira/browse/CLOUDSTACK-39) that blocks QA's testing since QA is unable to select a provider on any service during network offering creation. 2012-09-13 16:04:06 -07:00
Pranav Saxena 125a6fe065 CS-16328:UI not calling the listCapacity correctly 2012-09-13 14:21:52 -07:00
Pranav Saxena 330c89ce59 CS-16328:UI not calling the listCapacity correctly 2012-09-13 14:21:52 -07:00
Jessica Wang 8737762bde apache jira CLOUDSTACK-86: cloudstack UI - Instances page - NICs tab - fix a bug that got networkname from a wrong position in array of args.context.instances[0].nic. To correct and simplify it, use API response of "listVirtualMachines&details=nics&id=N" instead of API response of "listVirtualMachines&id=N" in $.map(). 2012-09-13 14:17:03 -07:00
Mice Xia 25e99e9c4d CLOUDSTACK-87 VMs in Expunging state should be excluded from VM listView for staticNat/portForwarding/loadbalance 2012-09-13 11:21:11 +08:00
Mice Xia 8a008ecd16 CLOUDSTACK-82 enable static nat button is not working in UI 2012-09-13 11:21:11 +08: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
Alena Prokharchyk d6b6529951 Revert "CLOUDSTACK-70: Improve Network Restart Behaviour for Basic Zone: Restarting Network Fails"
This reverts commit ecd1ac214c.
2012-09-10 16:34:21 -07:00
Rohit Yadav ecd1ac214c CLOUDSTACK-70: Improve Network Restart Behaviour for Basic Zone: Restarting Network Fails
If cleanup=true, removes all VRs and creates VR, implements network.
If cleanup=false, skips running VRs, implements network for stopped/deleted VRs.

Signed-off-by: Rohit Yadav <rohit.yadav@citrix.com>
2012-09-10 14:13:24 +05:30
Pranav Saxena f20f388bf7 CLOUDSTACK-38:Lable name is getting displayed in place of Network Rate while adding Network offering 2012-09-07 14:46:37 +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
Jessica Wang 5ccca40067 cloudstack 3.0 UI - account page - create account action - encrypt password even md5-hashed is off before passing it to API call. 2012-08-30 14:46:22 -07:00
Brian Federle eb0caf10a2 CS-16218: Only show VPC router details for ROOT admin 2012-08-30 11:01:02 -07:00
Jessica Wang 05fef0fb25 cloudstack 3.0 UI - VPC - localize Configure VPC Chart (Reviewed-by: Brian) 2012-08-29 13:29:44 -07:00
Pranav Saxena d134a63ea8 CS-16147: Always show VPC section and VPN customer Gateway if advanced zone is present 2012-08-29 13:28:00 +05:30
Pranav Saxena ad78a0e918 CS-16201:Network Page drop down shows VPN Customer Gateway even in Basic Zone 2012-08-29 12:30:47 +05:30
Pranav Saxena 8884febe44 CS-15962: Inter VLAN Virtual router tab development under VPC section -fixing a typo 2012-08-29 11:11:40 +05:30
Jessica Wang bbf8bed8ee cloudstack 3.0 UI - VPC widget - localize text (Reviewed-by: Brian) 2012-08-28 15:59:46 -07:00
Jessica Wang 155436870f cloudstack 3.0 UI - tagger widget - localize text (Reviewed-by: Brian) 2012-08-28 14:46:58 -07:00
Brian Federle a52889bb6a CS-16196: Fix VM wizard network selects
-Fixes case where 1 existing network is present, but cannot be
 unchecked when 'add new network' is checked

-Fixes regression with multiple networks and VPC tiers present, where
 unchecking all regular networks will select the hidden VPC network

reviewed-by: jessica
2012-08-28 13:52:15 -07: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 21904cf33b UI, add network offering: Disable VPC virtual router by default
reviewed-by: jessica
2012-08-27 15:32:24 -07:00
Brian Federle 7e591a442d CS-15811: Network offering: filter by VPC supported services
Introduce a new checkbox which indicates that this service offering is
for VPC networks. If enabled, then only show the VpcVirtualRouter
option for all supported services. If disabled, then disable the
VpcVirtualRouter options

reviewed-by: jessica
2012-08-27 15:21:08 -07:00
Jessica Wang f9fdbcddb1 cloudstack 3.0 UI - VPC feature - localize network.js (Reviewed-by: Brian) 2012-08-24 15:41:41 -07:00
Pranav Saxena e4c51e92ef CS-16152:Projects:Not shown max.vpcs entry in the resourcelimits 2012-08-24 05:18:43 +05:30
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
Brian Federle c0b92958ef CS-16001: Show VPC router details for domain admins 2012-08-23 12:26:03 -07:00
Brian Federle b302ed904a CS-16144: Show warning before enabling local storage in zone wizard
Conflicts:
	ui/dictionary.jsp
2012-08-23 11:08:48 -07:00
Brian Federle 7e3b4408cb UI create form: Support custom checkbox 'on change' event
If field is a checkbox (isBoolean: true) and onChange function is
specified, then call this onChange everytime checkbox is clicked.
2012-08-23 11:08:12 -07:00
Jessica Wang b5d00724fa cloudstack 3.0 UI - basic zone - elastic IP - Add Load Balancer tab - Add VMs button - add a comment to specify code area. (Reviewed-by: Brian) 2012-08-23 10:40:05 -07:00
Brian Federle e6ef6985f8 CS-16138: Fix instance wizard 'add network' radio button
When no guest networks are present but VPC tier is, fix 'add new
network' radio button being unselected.

reviewed-by: jessica
2012-08-22 15:24:58 -07:00
Pranav Saxena 2cd6382f73 CS-16133:Removing the infinte API add load balancer calls in a basic zone while adding VMs to create a lb rule 2012-08-23 01:21:20 +05:30
Mice Xia eb4e09ec58 CS-16048 Failled to assign VLAN to storage network in zoneWizard 2012-08-22 18:06:03 +08:00
Jessica Wang 576f7f6ecb cloudstack 3.0 UI - VPC feature - localize vpc.js (Reviewed-by: Brian) 2012-08-21 16:52:04 -07:00
Jessica Wang 57d95d27f1 cloudstack 3.0 UI - VPC feature - fix a bug that shortLabel was not localizable. (Reviewed-by: Brian) 2012-08-21 16:51:22 -07:00
Brian Federle 5d94a8de8c VPC UI: Network ACL: Only show 'acl' tab on detail view
reviewed-by: jessica
2012-08-21 13:12:52 -07:00
Pranav Saxena b7f920b4c0 CS-16018:Resources tab not displaying the Resource limits in both in default view as well as projects view 2012-08-22 01:38:10 +05:30
Brian Federle 93834ea6c6 CS-16007: Show tier name (associated network name) in place of VM name
reviewed-by: jessica
2012-08-21 11:33:03 -07:00
Pranav Saxena 568cc88c20 CS-15898:Change drop down options in vm tier for vpc 2012-08-21 15:51:41 +05:30
Brian Federle 7d934d1039 CS-16085: Fix networks checkboxes
When both VPC and isolated networks are present, fix case where
unchecking first isolated networks triggers checkbox for VPC tier
network, thus making it appear as if no network is selected.

reviewed-by: jessica
2012-08-20 15:00:44 -07:00
Brian Federle ad2b8d7579 CS-16044: Zone wizard: Add 'use local storage' checkbox
Add checkbox to zone wizard indicating whether zone will use local
storage. If checked, bypass add primary storage step and enable local
storage for zone on creation.

Conflicts:
	ui/index.jsp
2012-08-20 11:36:57 -07:00
Brian Federle ba2b0c3974 CS-16050: Pass listAll=true to listTags API call, if admin 2012-08-20 10:40:37 -07:00
Brian Federle 4b57e7b602 CS-16002: Fix ACL list view when no networks present 2012-08-16 14:08:30 -07:00
Brian Federle b391a1c5b1 CS-16010: Add missing alt tag for 'move to bottom' reorder action 2012-08-16 13:56:07 -07:00
Brian Federle 5633ad0beb CS-16016: Reset input field to default value on add
Conflicts:
	ui/scripts/vpc.js
2012-08-16 13:48:21 -07:00
Brian Federle 9394e838a5 CS-16001: Show router details on click of 'virtual router'
Clicking the 'Virtual Router' button will show the same router tab as seen on
the VPC detail view.

 -- Note that this is only clickable for admins, as users cannot view router
      details in the API.
2012-08-16 12:36:03 -07:00
Brian Federle 59743018e6 VPN Customer Gateway: Fix missing capital letters 2012-08-16 11:33:16 -07:00
Jessica Wang e6130d3384 CS-16018: cloudstack 3.0 UI - create VPN Customer Gateway - IKE DH, Perfect Forward Secrecy dropdown - restore blank option back and label it as "None". 2012-08-16 11:24:02 -07:00
Pranav Saxena 9ac17b35db CS-16018:InterVlan- Blank Options on Add VPN Customer Gateway replaced by Group2mod(1024p) 2012-08-16 21:27:14 +05:30
Pranav Saxena 1ec3fed0e6 CS-16019:InterVlan CIDR list in Add VPN Customer Gateway doesnt let the User know that CIDR list is a comma seperated list 2012-08-16 20:53:51 +05:30
Mice Xia 5dcf639acc Fix a bug, failed to show resource limit page in project view due to missing vpc limit type 2012-08-16 20:17:42 +08:00
Pranav Saxena 938498c7fe CS-15962:InterVlan-Router details tabs to be visible only for admin and hidden for regular accounts 2012-08-16 16:56:15 +05:30
Pranav Saxena a7b7465bec CS-15961:InterVlan Box for Creation of ACL Rules on ICMP Protocol should convey User that -1 for Type and Code means any Type and Code 2012-08-16 14:56:23 +05:30
Jessica Wang ccf99beaed cloudstack 3.0 UI - Instances page - VM Wizard - select network step - VPC filter - list only VPCs belonging to the current login (i.e. If the current login is root-admin, do not show VPCs belonging to regular-user/domain-admin in Instances page's VM Wizard.) 2012-08-15 15:00:26 -07:00
Jessica Wang 6c33763d86 cloudstack 3.0 UI - VPN Customer Gateway - IKE DH field, Perfect Forward Secrecy field - change option description of to 'Group 2(modp1024)', 'Group 5(modp1536)'. 2012-08-15 13:59:28 -07:00
Jessica Wang 07efdb6409 cloudstack 3.0 UI - IP Address page - detailView - Network Name is referring to name of associated network. 2012-08-15 11:41:38 -07:00
Brian Federle dc07b2e3e6 VPC UI: Fix IP details when no network is present 2012-08-15 10:28:14 -07:00
Brian Federle 95a60dc8bc VPC UI: Hide tier dropdown if viewing from tier detail view 2012-08-15 10:14:22 -07:00
Jessica Wang 78b3b1ad83 CS-15977: cloudstack 3.0 UI - VM Wizard - select network step (5th step) - if there is no visible network in Existing Networks Area, check checkbox in Add Network Area. 2012-08-14 15:53:18 -07:00
Jessica Wang aa9dd422d9 CS-15985: cloudstack 3.0 UI - IP Address page - should use associatednetworkid instead of networkid when trying to grep an IP Address' parent network. 2012-08-14 12:35:41 -07:00
Brian Federle e986d03fc9 CS-15916: Show network name in IP details
Conflicts:
	ui/scripts/network.js
2012-08-14 12:35:33 -07:00
Jessica Wang 1fd771f871 cloudstack 3.0 UI - DeleteVpnCustomerGateway API response name has been changed, here is corresponding UI change. 2012-08-14 10:10:03 -07:00
Pranav Saxena 37f646f3ff CS-15981:changing addvm's to add 2012-08-14 18:13:22 +05:30
Pranav Saxena 9c6254046a CS-15976:when vpc fails to create, UI keeps on showing that the creation is in progress 2012-08-14 17:24:07 +05:30
Pranav Saxena 8553918d08 CS-15981:Add Load Balancer page inside Guest networks is blank 2012-08-14 16:34:07 +05:30
Mice Xia 29459549ba Fix a bug: zoneWizard uses incorrect vlan parameter to create storage network 2012-08-14 13:43:09 +08:00
Jessica Wang cc2dec9fe1 cloudstack 3.0 UI - network page - LB listing - VM listing - VM name - no need to choose between id, displayname, name property in VM object. Always use displayname property in VM object. This also fixes a bug that VM name did not show right after an VM was assigned to a LB rule. 2012-08-13 16:09:06 -07:00
Jessica Wang 9a8089e02c cloudstack 3.0 UI - network page - LB listing - comment out obsolete unused code. 2012-08-13 14:46:02 -07:00
Pranav Saxena dabb827922 CS-15961:InterVlan Box for Creation of ACL Rules on ICMP Protocol should convey User the default value and Tooltip description for ICMP Type and Code 2012-08-14 01:52:00 +05:30
Pranav Saxena 4da87bd9dd Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2012-08-14 01:16:50 +05:30
Pranav Saxena 6de089810d CS-15962: Inter VLAN Virtual router tab development under VPC section 2012-08-14 01:16:11 +05:30
Jessica Wang e002dd0998 CS-15957: cloudstack 3.0 UI - VPC - private gateway - if not root-admin, show private gateway listView instead of create private gateway dialog because only root-admin is allowed to create private gateway. 2012-08-13 12:45:50 -07:00
Brian Federle 9bf7d757e8 multiEdit: Support default value and description
-If 'defaultValue' is specified for a text field, then put that value
 into the text field on load.

-If 'desc' is specified for any field, then use it as a 'title'
 attribute to show a tooltip description.

Example:

      'icmptype': {
        ...
        defaultValue: '-1',
        desc: 'Please specify -1 if you want to allow all'
        ...
      }
2012-08-13 12:16:43 -07:00
Brian Federle 41a383f0f9 CS-15877: Fix static routes
Fix static routes not being shown when viewed as a domain admin
2012-08-13 10:56:59 -07:00
Pranav Saxena 94d8eb71fb ACL restructuring label renaming 2012-08-13 14:29:21 +05:30
Pranav Saxena f285ce4ef0 ACL restructuring UI changes 2012-08-13 14:22:32 +05:30
Pranav Saxena caece12823 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2012-08-13 13:12:38 +05:30
Pranav Saxena 531cfa76f4 CS-15960:InterVlan - UI - Network-VPC view should list the status of the VPCs 2012-08-13 13:11:54 +05:30
Mice Xia 00b2a8040b Remove @author tag from non third-party source files in agent-simulator, cloud-cli, test, ui and utils folder 2012-08-13 15:30:42 +08:00
Pranav Saxena 5111fee70c CS-15959:InterVlan - UI - Name Label changes required for Add VPC box parameters 2012-08-13 12:00:25 +05:30
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
Brian Federle abbfd74077 Fix _hideFields array not hiding add VM button 2012-08-10 14:03:17 -07:00
Brian Federle 66e3387b2a Fix _hideFields array not hiding add VM button 2012-08-10 14:03:00 -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
Brian Federle 42a9fd641e VPC UI: New ACL flow
-Remove the ACL action from the tier chart item

-Adds an ACL overview list view under the VPC configure menu which
 displays each tier and their total # of ACLs.

-Add ACL edit to tier detail view

- (misc) Also add IP address tab to tier detail view
2012-08-10 13:04:20 -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
Brian Federle 83361776fa multiEdit: Allow disabling fields per-row
If _hideFields array is passed with row item data, then field IDs
specified will be disabled, if they are custom button actions.
2012-08-10 10:43:35 -07:00
Brian Federle a6f59e31d5 multiEdit: Allow disabling fields per-row
If _hideFields array is passed with row item data, then field IDs
specified will be disabled, if they are custom button actions.
2012-08-10 10:43:17 -07:00
Jessica Wang 0384259298 CS-15939: cloudstack 3.0 UI - VPC - create VPN connection - add error handling. 2012-08-10 10:29:03 -07:00
Brian Federle a96c9013d4 multiEdit: pass context to select handler 2012-08-10 09:17:48 -07:00
Brian Federle b9e1cb640a multiEdit: pass context to select handler 2012-08-10 09:17:28 -07:00
Jessica Wang 60f1dbe572 CS-15883: cloudstack 3.0 UI - VPC - VM Wizard - step 1 - zone dropdown - populate only one zone, the one that the VPC is under. 2012-08-09 17:09:19 -07:00
Brian Federle df4a4a6b21 CS-15913: Add state column to VPN connection listing 2012-08-09 16:15:29 -07:00
Brian Federle 241d83aa09 VPC UI, VPN connections: fix 'DPD' boolean field 2012-08-09 16:15:29 -07:00
Brian Federle 41afde3207 CS-15902: Remove loading overlay from VPC actions
For add VPN and add gateway actions: remove loading overlay to allow
user to perform other actions. The overlay is replaced with a set of
notification messages indicating the status of the job.
2012-08-09 16:15:29 -07:00
Jessica Wang 3b8494131f CS-15803: cloudstack 3.0 UI - VPC - fix a bug that root-admin failed to create a VM in a tier that belonged to regular-user or domain-admin. 2012-08-09 14:53:06 -07:00
Jessica Wang ed28accdf0 CS-15801: cloudstack 3.0 UI - VPC - create new tier - fix an error "Owner of vpc with specified vpcId is different from the network owner Acct[2-admin]". 2012-08-09 14:30:07 -07:00
Mice Xia c91463f43e show zone name in secondary storage detail page 2012-08-09 17:29:11 +08:00
Pranav Saxena 695f727cfd CS-15915:InterVlan - UI - Static route - instead of CIDR should say CIDR of destination network 2012-08-09 10:37:09 +05:30
Jessica Wang 965da2ce99 CS-15825: cloudstack 3.0 UI - VPC - Tier - detailView - allow all actions for regular-user and domain-admin since server-side doesn't have restriction. 2012-08-08 16:08:36 -07:00
Jessica Wang c33c19dd31 CS-15773: cloudstack 3.0 UI - VPC - create private gateway dialog - add Physical Network dropdown. 2012-08-08 15:53:36 -07:00
Jessica Wang cd5b79414b CS-15773: cloudstack 3.0 UI - VPC - create private gateway dialog - add Physical Network dropdown. 2012-08-08 15:52:55 -07:00
Alena Prokharchyk 048c5e50cf Merge branch 'master' into vpc
Conflicts:
	utils/test/com/cloud/utils/component/MockComponentLocator.java
2012-08-08 11:50:39 -07:00
Jessica Wang b74a6a7a9c cloudstack 3.0 UI - VPC - private gateways - preCheck() should not call args.response.success(). 2012-08-08 10:27:51 -07:00
Jessica Wang 406ae0d724 cloudstack 3.0 UI - site to site VPN - create VPN connection - fix a bug that wrong vpnGatewayId is passed to API command where there are multiple VPN gateways are present in one account. 2012-08-08 10:26:52 -07:00
Jessica Wang 0db332887e cloudstack 3.0 UI - VPC - IP Address page - configuration tab - fix a bug that root-admin was unable to see LB service of IP Address owned by regular-user or domain-admin. 2012-08-08 10:22:49 -07: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
Pranav Saxena a5f979355b CS-15900:InterVlan UI - Confirmation Note on Acquisition of a Public IP Address to a VPC should mention this VPC instead of this Network 2012-08-08 20:29:27 +05:30
Pranav Saxena 8f34776dd8 CS-15851:Intervlan - VMware - Enable Static NAT > if no tier selected> Apply> Status should display 'Please select a tier' 2012-08-08 18:02:39 +05:30
Pranav Saxena dd7a0da9a7 CS-15901:InterVlan - UI - Site-to-Site VPN Gateway - Confirmation Message should mention Site-to-Site VPN Gateway instead of just VPN Gateway 2012-08-08 15:00:48 +05:30
Pranav Saxena 1323d7f32f CS-15903:Detail page of vpn connection miss ike/esp lifetime 2012-08-08 13:59:34 +05:30
Mice Xia 8d75c8fe7d fix for empty event detail page 2012-08-08 15:49:27 +08:00
Pranav Saxena 1aea98f622 CS-15898:Change drop down options in vm tier for vpc 2012-08-08 11:03:08 +05:30
Brian Federle b5e1c53137 CS-15892: Tier detail view: Show 'tier details' instead of 'details'
Conflicts:
	ui/index.jsp
2012-08-07 16:02:07 -07:00
Brian Federle 7de225baa9 CS-15890: ACL multiEdit: Change 'Source CIDR' -> 'CIDR' 2012-08-07 16:00:44 -07:00
Brian Federle 72651f62b7 CS-15891: Add view console action to VPC instances list view
Conflicts:
	ui/css/cloudstack3.css
2012-08-07 16:00:35 -07:00
Brian Federle 310b24b285 List view: support external link actions
Support actions which point to an external link, primary to support
launching the console proxy.

Example:

listView: {
  actions: {
    viewConsole: {
      label: 'label.view.console',
      action: {
        externalLink: {
          url: function(args) {
            return clientConsoleUrl + '?cmd=access&vm=' + args.context.vpcTierInstances[0].id;
          },
          title: function(args) {
            return args.context.vpcTierInstances[0].id.substr(0,8);
          },
          width: 820,
          height: 640
        }
      }
    }
  }
}
2012-08-07 15:59:36 -07:00
Brian Federle 8630891c07 List view: support external link actions
Support actions which point to an external link, primary to support
launching the console proxy.

Example:

listView: {
  actions: {
    viewConsole: {
      label: 'label.view.console',
      action: {
        externalLink: {
          url: function(args) {
            return clientConsoleUrl + '?cmd=access&vm=' + args.context.vpcTierInstances[0].id;
          },
          title: function(args) {
            return args.context.vpcTierInstances[0].id.substr(0,8);
          },
          width: 820,
          height: 640
        }
      }
    }
  }
}
2012-08-07 15:58:57 -07:00
Brian Federle c6e58b6ece multiEdit: support validate on custom action
If requireValidation: true is set for a custom action, then only
perform action if multiEdit's form fields are valid. This does not
apply to clicking on existing rules' action buttons.

Syntax:

multiEdit: {
  fields: {
    testField: {
      custom: {
        requireValidation: true,
        ...
      },
      ...
    },
    ...
  }
}

Conflicts:
	ui/scripts/ui/widgets/multiEdit.js
2012-08-07 13:48:27 -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
Brian Federle 469e180515 multiEdit: better handling for tag widget
Place tagging widget in a separate action and dialog class; it is
indicated by a 'tag' icon for better clarity.

-- This removes the requirement to specify a dummy 'edit' action on
multi-rules; instead, the separate tag action will appear automatically
as long as 'tags' is specified under the multiEdit's properties.

Conflicts:
	client/WEB-INF/classes/resources/messages.properties
	ui/css/cloudstack3.css
	ui/index.jsp
2012-08-06 14:15:41 -07:00
Jessica Wang feb2ed1d2d cloudstack 3.0 UI - site to site VPN - Edit mode - (1)split IKE policy field into 3 fields. (2)split ESP plicy field into 3 fields. (3)split lifetime field into 2 fields. (4) add Dead Peer Detection field. 2012-08-06 13:26:59 -07:00
Jessica Wang 532806ba13 cloudstack 3.0 UI - site to site VPN - listView - (1)split IKE policy field into 3 fields. (2)split ESP plicy field into 3 fields. (3)split lifetime field into 2 fields. (4) add Dead Peer Detection field. 2012-08-06 13:25:21 -07:00
Jessica Wang 8b16e32b50 cloudstack 3.0 UI - site to site VPN - Create action - (1)split IKE policy field into 3 fields. (2)split ESP plicy field into 3 fields. (3)split lifetime field into 2 fields. (4) add Dead Peer Detection field. 2012-08-06 13:13:59 -07:00
Pranav Saxena feaea413c7 CS-15844:InterVlan - UI - Remove ACL Icon is not displayed properly for ACL Rules 2012-08-06 16:06:30 +05:30
Jessica Wang 6aee5f2aef cloudstack 3.0 UI - site to site VPN - VPN customer gateway - implement Edit mode.
Conflicts:

	ui/scripts/network.js
2012-08-03 13:24:34 -07:00
Brian Federle 9697860938 CS-15842: VPC gateway create form: Put 'VLAN' field at the top 2012-08-03 12:29:53 -07:00
Brian Federle 26a4132b11 CS-15841: Better add VPC gateway flow
- Because only 1 gateway can exist per VPC, remove 'add' button from
  list view and immediately show create form on click if no gateway is
  present; show list view on successful creation. If there is a
  gateway, go to list view immediately.

- Rename "Gateways" -> "Private Gateway"
2012-08-03 12:26:34 -07:00
Brian Federle 75242b49ce VPC details: Display 'restart required' field 2012-08-03 12:03:57 -07:00
Brian Federle 5cb356024f CS-15802: Add VPC filter to instance wizard network select
Adds drop-down select to filter networks by VPC.

-If no VPC is selected, only show non-VPC isolated networks

-If VPC is selected, show tiers from specified VPC. Note that only one
 tier/network can be checked at a time in this mode, and 'add network'
 text field is hidden
2012-08-03 11:42:40 -07:00
Brian Federle 20b0790753 CS-15809: Show account/domain fields on VPC detail view
Conflicts:
	ui/scripts/network.js
2012-08-03 11:13:32 -07:00
Brian Federle 7fb1e13957 CS-15793: Fix static NAT select when in a VPC network
Conflicts:
	ui/scripts/network.js
2012-08-03 11:07:06 -07:00
Pranav Saxena 20407ec863 CS-15793:Enable static NAT for the public IP address screen is not showing VMs 2012-08-03 15:54:10 +05:30
Alena Prokharchyk 0e0b75a041 Merge branch 'master' into vpc
Conflicts:
	api/src/com/cloud/api/ApiConstants.java
2012-08-02 18:45:37 -07:00
Jessica Wang 25b75c1bff cloudstack 3.0 UI - site to site VPN - (1) implement Add VPN connection action in VPN connection listView. (2) remove Add VPN connection action from VPN customer gateway detailView. 2012-08-02 16:01:34 -07:00
Jessica Wang 47f309af6d cloudstack 3.0 UI - site to site VPN - VPN customer gateway - add name field. 2012-08-02 15:30:15 -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 c12734eab6 CS-15798: Support editing of VPC resource limits 2012-08-02 14:22:45 -07:00
Brian Federle 2cb141e6ae VPC: Update site-to-site VPN creation flow
If no VPN gateway exists for a VPC, then immediately show a dialog box
asking if user wants to add. If so, create VPN gateway and show list
view afterwards.

- This removes the 'add' button from the list view, moving the code up
  a level in the object to siteToSiteVPN.add

- In addition there is a new function, siteToSiteVPN.preCheck, which
  returns true/false. If true, then show list view immediately; if
  false, show dialog and go through creation process, showing list
  view afterwards.

Conflicts:
	ui/scripts/vpc.js
2012-08-02 11:34:51 -07:00
Pranav Saxena eb116b6ecb CS-15318: Do not allow user to stop a VM in Starting State (hiding the stop button) 2012-08-02 14:22:53 +05:30
Alena Prokharchyk ce9f1afa78 Merge branch 'master' into vpc
Conflicts:
	server/src/com/cloud/network/NetworkManagerImpl.java
2012-08-01 19:04:28 -07:00
Jessica Wang 10cf9c2f20 CS-15687: cloudstack 3.0 UI - zone wizard - change timer setting for adding netcaler provider. 2012-08-01 17:18:28 -07:00
Jessica Wang a902443708 CS-15792: cloudstack 3.0 UI - VPC - pass domainid+account instead of listAll to all listNetworks API calls under VPC section. 2012-08-01 16:10:41 -07:00
Brian Federle babc868de6 listView UI: Fix case where $breadcrumb isn't present 2012-08-01 15:57:28 -07:00
Brian Federle 640dcdec1f cloudBrowser / list view UI: Show subsection in breadcrumb
If in a section with multiple subsections, show active subsection in
the breadcrumb.

For example, if in storage->snapshots, display 'Storage - Snapshots'
based on the 'title' attribute for the main section and subsetion.

-- Note: this disables the 'fixSize' functionality which resizes long
   breadcrumb trails, due to incompatibility with this new feature. It
   is going to be reimplemented anyway, as it is fairly glitchy in its
   current incarnation.
2012-08-01 15:57:24 -07:00
Brian Federle 8120785bab listView UI: Fix case where $breadcrumb isn't present 2012-08-01 15:57:00 -07:00
Brian Federle 6ad7f2f80b CS-15740: Show 'please select a tier' instead of blank default option
For VPC enable static NAT dialog, a tier always needs to be selected
-- this is now indicated in the default option select.
2012-08-01 14:36:46 -07:00
Brian Federle ef9dd4210e cloudBrowser / list view UI: Show subsection in breadcrumb
If in a section with multiple subsections, show active subsection in
the breadcrumb.

For example, if in storage->snapshots, display 'Storage - Snapshots'
based on the 'title' attribute for the main section and subsetion.

-- Note: this disables the 'fixSize' functionality which resizes long
   breadcrumb trails, due to incompatibility with this new feature. It
   is going to be reimplemented anyway, as it is fairly glitchy in its
   current incarnation.
2012-08-01 14:36:15 -07:00
Pranav Saxena 250501c56d CS-14907:Download volume option to be present only if it is in READY state since it has moved to the primary storage 2012-08-01 10:58:22 +05:30
Brian Federle 379ba3b292 Update VPC UI:
-Update with additional actions

-Fix dataProvider for tiers

-Add 'view all IP addresses' link to tier details
2012-07-31 14:38:46 -07:00
Brian Federle 1c7e68aa49 VPC widget: fix missing $browser reference 2012-07-31 14:37:55 -07:00
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
Brian Federle c4e2fe7b74 CS-15760
Don't show Configuration tab for VPC static NAT
2012-07-31 13:44:54 -07:00
Alena Prokharchyk 7706a9c32f Merge branch 'master' into vpc
Conflicts:
	server/src/com/cloud/network/NetworkManagerImpl.java
	server/src/com/cloud/network/rules/RulesManagerImpl.java
2012-07-31 13:37:28 -07:00
Pranav Saxena 9644a62014 CS-15724:S2S vpn- Customer vpn gateway page does not display all the configured parameters 2012-07-31 16:27:50 +05:30
olgasmola 05c9e0bb36 CS-15770: Hide Dedicated option when Basic EIP/ELB is chosen as Network Offering. 2012-07-31 13:35:41 +03:00
Brian Federle 3622039feb CS-15620
Fix edit instance 'displayname' parameter not being sent over, even if
content was updated.
2012-07-30 15:17:06 -07:00
Pranav Saxena 5f2bbf0e2a CS-15720:Site 2 Site VPN:Front End development for adding a vpn conenction from vpn connection page 2012-07-31 03:46:45 +05:30
Brian Federle 1fbf5952cd Add license header to tagger widget 2012-07-30 14:32:32 -07:00
Brian Federle 6b47907f39 CS-15726: Use custom validation for tagger widget
Show a generic dialog box for tagger validation, instead of using
jQuery validate

--it conflicted with the detail view's edit fields and prevented
submission unless the key and value fields were filled out.
2012-07-30 14:32:32 -07:00
Pranav Saxena 36fc2bd9b5 CS-15044:API changes and UI changes to provide option to view the name of the guestnetwork a virtual machine belongs 2012-07-31 02:57:46 +05:30
Pranav Saxena e47b6da603 CS-15746:S2S VPN: vpn connection details page does not show the vpn connection state 2012-07-30 23:33:03 +05:30
olgasmola 9c895b14ab CS-15317: Fix operations with accounts on the Project tab after making another account project owner. 2012-07-27 23:37:46 -04:00
olgasmola 82bb1e5592 CS-15349: Fix incorrect result when Make owner in New project/Add account. 2012-07-27 23:37:46 -04:00
olgasmola 0be4230f91 CS-15325: Fix selected name of user from the drop down list overlay. 2012-07-27 23:37:45 -04:00
olgasmola 9d67ecdbb7 CS-15518: Fix password field garbling on login screen. 2012-07-27 23:37:45 -04:00
Wido den Hollander 4dd2854d61 rbd: Small JavaScript fix 2012-07-27 23:37:45 -04: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
olgasmola 7fbd612d69 CS-15317: Fix operations with accounts on the Project tab after making another account project owner. 2012-07-27 18:23:07 +03:00
olgasmola 7fc3adbacc CS-15349: Fix incorrect result when Make owner in New project/Add account. 2012-07-27 17:32:54 +03:00
olgasmola b7d68ac5d5 CS-15325: Fix selected name of user from the drop down list overlay. 2012-07-27 16:27:59 +03:00
olgasmola 730f808d18 Merge branch 'CS-15518' 2012-07-27 15:37:32 +03:00
olgasmola b10a619635 CS-15518: Fix password field garbling on login screen. 2012-07-27 15:36:58 +03:00
Wido den Hollander fe5595e9ae rbd: Small JavaScript fix 2012-07-27 08:44:17 +02:00
Brian Federle 00af517003 VPC UI: IP address configuration fix
After acquiring a new IP, immeditaly clicking on its configuration tab
will show an enabled firewall, which is incorrect. This fix always
disables the firewall if in a VPC network.
2012-07-26 16:13:57 -07:00
Brian Federle 4a38f2be17 Cleanup formatting/whitespace
Conflicts:
	ui/scripts/vpc.js
2012-07-26 15:40:24 -07:00
Brian Federle e76f8dc577 Disable listView filters for PF/LB/Static NAT 2012-07-26 15:36:33 -07:00
Brian Federle 21290ef8f1 Networks section: Only show VPC dropdown for Advanced zones 2012-07-26 15:22:03 -07:00
Brian Federle ae45ed65c6 VPC tier UI: Fix loading state for other actions
Fix actions other than the add VM action, whose loading state was
never removed
2012-07-26 14:41:37 -07:00
Brian Federle 1ba451b65f VPC UI: Better launch VM loading state for tiers
When launching a VM via the 'add VM' button on a VPC tier, show
loading icon to the side of the VM count, so that the tier area isn't
blocked, allowing the user to add more VMs or do other actions to the
tier.
2012-07-26 14:33:14 -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 f090fdeea7 CS-15292: Split long OS Type list when create Template,ISO. 2012-07-25 12:05:05 +03:00
olgasmola 1075344f03 CS-15353: Larger click boxes in UI. 2012-07-25 11:54:45 +03: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
olgasmola 63f6308f03 CS-15393: Scroll bar fix when any point is selected. 2012-07-25 11:41:02 +03:00
olgasmola 85a13dfe1a CS-15478: UI cosmetic fix for empty buttons/viewAll section. 2012-07-25 11:33:35 +03:00
olgasmola dc19c86fde CS-15533: Add instance/Review tab fix empty value. 2012-07-25 10:42:43 +03:00
Pranav Saxena 12ee8810f6 TAGS feature implementation throughout CloudStack UI 2012-07-24 15:36:43 -07:00
Brian Federle e626291a34 Notifications widget: support custom interval
If 'interval' attribute is passed in notification object, use that
interval instead of the default.

Conflicts:
	ui/scripts/ui/widgets/notifications.js
2012-07-24 15:30:57 -07:00
Brian Federle d7d9b341c8 Notifications widget: support custom interval
If 'interval' attribute is passed in notification object, use that
interval instead of the default.

Conflicts:
	ui/scripts/ui/widgets/notifications.js
2012-07-24 15:30:47 -07:00
Brian Federle 8683fc4e05 Add tag UI support for VPC resource types:
-        Vpc,
-        NetworkACL,
-        StaticRoute
2012-07-24 15:26:59 -07:00
Brian Federle 5126ca95e6 Add tags to FW rule multi-edit 2012-07-24 15:26:27 -07:00
Brian Federle f01f687601 Fix tag widget being appended to all dialogs 2012-07-24 15:26:09 -07:00
Brian Federle c839cf68a6 Add tags to edit PF dialog 2012-07-24 15:25:57 -07:00
Brian Federle 87f0ec6796 Fix tag notification messages 2012-07-24 15:25:57 -07:00
Brian Federle a59afac31f Add tag edit to LB rule 2012-07-24 15:25:57 -07:00
Brian Federle c5dc569aaa multiEdit: Pass context to tagger widget 2012-07-24 15:25:56 -07:00
Brian Federle e97c47b9ae Always make tags editable 2012-07-24 15:25:56 -07:00
Brian Federle 2fdf6837ec Pass projectId to listTags, when viewing a project resource 2012-07-24 15:25:13 -07:00
bfederle ea35f48d7e Implement tags for project detail view 2012-07-24 15:23:58 -07:00
Brian Federle 003c62583c Add tags to FW rule multi-edit 2012-07-24 15:22:37 -07:00
Pranav Saxena ab6ef4bceb TAGS feature implementation throughout CloudStack UI 2012-07-24 15:07:43 -07:00
Brian Federle 2ec005c628 Fix tag widget being appended to all dialogs 2012-07-24 15:05:30 -07:00
Brian Federle a924eb196f Fix tag notification messages 2012-07-24 12:24:25 -07:00
Brian Federle 06101ea27e Add tags to edit PF dialog 2012-07-24 12:24:25 -07:00
Brian Federle 17ac3a7e3e Add tag edit to LB rule 2012-07-24 12:24:24 -07:00
Brian Federle 53cc0a953d multiEdit: Pass context to tagger widget 2012-07-24 12:24:11 -07:00
Brian Federle 874536a768 Always make tags editable 2012-07-24 12:24:05 -07:00
Brian Federle 7a2be05c24 Pass projectId to listTags, when viewing a project resource 2012-07-24 12:23:57 -07:00
bfederle 8e1b8d1f56 Implement tags for project detail view 2012-07-24 12:23:45 -07:00
Brian Federle e13a7a8387 Revert "CS-15572 : StartIndex handled incorrectly when switching between the various Filter by options while listing ISOs in the UI"
This was reverted, as another commit fixed the issue already:

commit 2b2e491f27
Author: bfederle <bfederle@gmail.com>
Date:   Tue Jul 17 11:38:56 2012 -0700

    CS-15572: Fix page index for list view filters

This reverts commit 374be31b63.
2012-07-24 11:56:11 -07:00
Pranav Saxena 5ba20b328d Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2012-07-25 00:06:39 +05:30
Alena Prokharchyk 766b7a2706 Merge branch 'master' into vpc
Conflicts:
	server/src/com/cloud/api/ApiResponseHelper.java
2012-07-23 16:38:58 -07:00
bfederle 64605e7703 UI: Add tag API call generator
Adds a helper to return an object to pass to the 'tagger' widget,
including all required data and action functions.

Syntax is as follows, just include anywhere were the tags widget is
supported:

tags: cloudStack.api.tags({
  resourceType: 'Project',
  contextId: 'projects'
})
2012-07-23 15:18:36 -07:00
bfederle 1c2780f233 Tag UI: Make sure data is passed to remove action 2012-07-23 15:18:36 -07:00
bfederle 39e1936c87 Fix tags widget overlap with long detail views 2012-07-23 15:18:36 -07:00
bfederle 5e94b0d12e Implement tag UI widget
Create UI for handling new tag API. This currently supports the detail view and multi-edit

To enable tags UI, add a 'tags' object to each detailView/multiEdit configuration:

tabs: {
...
details: {
...

tags: {
  actions: {
    add: function(args) {
      setTimeout(function() {
        args.response.success({
          notification: {
            desc: 'Add tags for instance',
            poll: testData.notifications.testPoll
          }
        });
      }, 500);
    },

    remove: function(args) {
      args.response.success({
        notification: {
          desc: 'Remove tags for instance',
          poll: testData.notifications.testPoll
        }
      });
    }
  },
  dataProvider: function(args) {
    args.response.success({
      data: [
        {
          id: '1',
          key: 'user',
          value: 'brian'
        },
        {
          id: '2',
          key: 'region',
          value: 'usa'
        }
      ]
    });
  }
}

...

Conflicts:
	ui/css/cloudstack3.css
	ui/scripts/ui/widgets/tagger.js
2012-07-23 15:18:36 -07:00
Pranav Saxena 018a243ca1 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2012-07-24 00:52:22 +05:30
Jessica Wang 2a822de5e0 cloudstack 3.0 UI - multiEdit widget - make headerFields hidden as default. 2012-07-20 16:13:03 -07:00
Jessica Wang f3841b3b8f cloudstack 3.0 UI - VPC - add LB rule - fix a JS error "args.context.networks is undefined" when configure stickiness. 2012-07-20 16:10:35 -07:00
Jessica Wang 1381fa46e1 cloudstack 3.0 UI - listView widget - pass context from caller function. 2012-07-20 16:05:11 -07: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
Jessica Wang 254c05813c cloudstack 3.0 UI - VPC - add zone wizard - enable VpcVirtualRouter element, enable VpcVirtualRouter provider for advanced zone. 2012-07-20 15:49:13 -07:00
Jessica Wang dc847ed832 cloudstack 3.0 UI - VPC - tier - implement "Add VM to tier" action. 2012-07-20 15:44:45 -07:00
Jessica Wang 20db2e515b cloudstack 3.0 UI - VPC - add network offering dialog - when service(s) has VPC Virtual Router as provider: (1) conserve mode is set to unchecked and grayed out. (2) redundant router capability checkbox is set to unchecked and grayed out. (3) remove Firewall service, SecurityGroup service. 2012-07-20 14:28:20 -07:00
Jessica Wang ee9074a175 cloudstack 3.0 UI - VPC - sync VPC UI from citrix-hosted repo to apache-hosted repo. 2012-07-20 14:12:53 -07:00
Brian Federle 152b17b7f3 Remove dummy VPC UI from networks section 2012-07-20 14:05:44 -07:00
bfederle 71bfeae487 Update VPC UI 2012-07-20 11:02:28 -07:00
bfederle 2b2e491f27 CS-15572: Fix page index for list view filters
This fixes an issue where the page index is not reset back 1 when
activating the search or filter functionality, causing truncation when
trying to scroll down to later pages.
2012-07-17 11:41:53 -07:00
Pranav Saxena 374be31b63 CS-15572 : StartIndex handled incorrectly when switching between the various Filter by options while listing ISOs in the UI 2012-07-13 12:32:38 +05:30
Brian Federle 50373b99d6 Detail view: Fix layout of text actions 2012-07-12 15:29:15 -07:00
Brian Federle 2a971d7c1b Detail view UI: Support for text action buttons
Currently, only icons are rendered on detail view actions. This change
adds support for showing a text label next to specified actions, which
has a button appearance. This is to allow certain actions to be more
visible, in the case where an icon isn't clear enough.

To make an action have a text label, add a 'textLabel' attribute to
the action properties:

editVpc: {
  label: 'Edit VPC',

  // textLabel property
  textLabel: 'label.configure',

  action: {
    ...
  }
}
2012-07-12 15:29:15 -07:00
Brian Federle 9b039d9a8d List view UI: Support for text action buttons
Currently, only icons are rendered on list view actions. This change
adds support for showing a text label next to specified actions, which
has a button appearance. This is to allow certain actions to be more
visible, in the case where an icon isn't clear enough.

To make an action have a text label, add a 'textLabel' attribute to
the action properties:

editVpc: {
  label: 'Edit VPC',

  // textLabel property
  textLabel: 'label.configure',

  action: {
   ...
  }
}
2012-07-12 13:46:19 -07:00
Hugo Trippaers 79c7da07ab Phase 1 of Nicira integration 2012-07-11 17:16:06 -07:00
Brian Federle 262bbbe800 Add block to show/hide tier select
-- Hidden by default, needs real conditional code
2012-07-10 15:41:23 -07:00
Brian Federle 9f093817f3 Implement static NAT tier select UI
Adds a new drop-down to the enable static NAT dialog to allow selecting a tier to be associated with the VM. This is in the header of the list view.

It is defined as follows:

enableStaticNAT: {
  ...
    action: {
      noAdd: true,
      custom: cloudStack.uiCustom.enableStaticNAT({
        // VPC
        tierSelect: function(args) {
          args.response.success({
            data: [
              { id: '1', description: 'VPC 1' },
              { id: '2', description: 'VPC 2' }
            ]
          });
        },
    ...
2012-07-10 15:41:23 -07:00
Brian Federle 5b8f5d6ae3 multiEdit: Correctly pass context to header fields 2012-07-10 14:57:07 -07:00
Brian Federle dd52157f09 Add code to show/hide 'tiers' header fields 2012-07-10 14:57:07 -07:00
Brian Federle 5fa4f4cf37 Pass mulit-edit form data to add VM dialogs, as part of context 2012-07-10 14:57:06 -07:00
Brian Federle 04ac28202f Multi-edit: refactor form serialization
To support header-level form items, serialize every form within the
multi-edit div (not just the main table form). For reusability, make
data serialization handled in separate 'getMultiData' function.
2012-07-10 14:57:06 -07:00
Brian Federle 7de02b6d5c Update dummy tier data 2012-07-10 14:57:05 -07:00
Brian Federle 081f1e335d Add header fields 2012-07-10 14:57:05 -07:00
Brian Federle b000b8047e CS-15475: Fix missing 'add guest network' action from network list
Original patch by: Pranav Saxena <pranav.saxena@citrix.com>
Reviewed by: Brian Federle <brian.federle@citrix.com>
2012-07-10 11:24:07 -07:00
Brian Federle 10e70bcb9c CS-15392: Add error handling to edit user action
Original patch by: Olga Smola <olya.smola@gmail.com>
Reviewed by: Brian Federle <brian.federle@citrix.com>
2012-07-09 14:54:15 -07:00
Brian Federle 5fafb0e5e5 CS-15313: Error handling for account section
This fixes an issue where an error is not displayed when entering an
invalid account name.

Original patch by: Pranav Saxena <pranav.saxena@citrix.com>
reviewed-by: Brian Federle <brian.federle@citrix.com>
2012-07-02 11:01:38 -07:00
Brian Federle b70bc92f46 CS-14907: Only allow download volume for uploaded volumes
This fixes an issue where an uploaded volume that hasn't been moved to
primary storage yet is downloaded, causing an error. This adjusts the
actionFilter to fix this.

Original patch by: Pranav Saxena <pranav.saxena@citrix.com>
reviewed-by: Brian Federle <brian.federle@citrix.com>
2012-07-02 10:41:35 -07:00
Brian Federle 49c3c8b2e3 VPC UI: Add link to site-to-site VPN
Add link in tooltip for site-to-site VPN, which opens a new panel
showing the list view. This draws from the existing 'siteToSiteVpn'
network subsection, so no modification should be required to the
existing list view.
2012-06-29 13:36:07 -07:00
Brian Federle 683b7d7822 Add configure VPC tooltip and links 2012-06-29 13:13:59 -07:00
Brian Federle f026387103 Add configure icon to VPC 2012-06-29 13:13:59 -07:00
Brian Federle 4c6738266d Fix add tier UI
Properly pass context for add tier dialog, which broke due to recent
changes that requires context to be present, for the action filter.
2012-06-28 15:34:22 -07:00
Brian Federle b1a5ec13cd VPC tier UI: Update state after performing actions
After performing an action that changes state, namely starting and
stopping a tier, run through the action pre-filter again, to make sure
that the allowable actions are properly refreshed.

Conflicts:
	ui/scripts/ui-custom/vpc.js
2012-06-28 15:23:37 -07:00
Brian Federle 28e49e8880 VPC UI: Refactor tier action filter handling
For reusability, move action filter handling for VPC tier actions to a
separate function. This allows for easier refreshing of actions after a
tier's state has changed.
2012-06-28 15:22:41 -07:00
Brian Federle 9bbbc4e356 Pass _custom correctly to VPC tier add VM action 2012-06-28 14:21:08 -07:00
Brian Federle 6d78cc4000 Add Apache license to new JS files 2012-06-28 13:40:19 -07:00
Brian Federle 2fe2a0e2fb Fix missing actionFilter causing instance wizard to never complete 2012-06-28 12:30:11 -07:00
Brian Federle 808a3d75d9 Instance wizard: Don't try to add a new row if list view isn't present 2012-06-28 11:14:02 -07:00
Brian Federle c347c6bd09 Add base VPC UI
** Note: this is a work-in-progress, and only contains dummy content

Implement UI for managing VPC tiers, via a custom chart-like UI list
tiers and allowing the management of VMs associated with the VPCs.
2012-06-28 10:51:56 -07:00
Brian Federle e6a6f84361 Pass context to instance wizard 2012-06-28 10:51:56 -07:00
bfederle 6015df9137 CS-13535: Error handling for add domain operation
Original patch by: olga.smola
reviewed-by: jessica, r5583
2012-06-27 16:20:30 -07:00
Jessica Wang af1d5d00f7 cloudstack 3.0 UI - fix space problem from a patch 2012-06-27 14:11:25 -07:00
olgasmola a30fe62b11 CS-14047: Return the user to the log in page when login time out. 2012-06-27 13:43:05 -07:00
Jessica Wang d03fb2a7e2 cloudstack 3.0 UI - (1) to distinguish between getUpdatedItem() and getUpdatedData(), rename getUpdatedData() to getUpdatedItemWhenAsyncJobFails() since it's being called only when async job fails. (2) fix the space problem (tab size is not 2) from patch. 2012-06-27 10:57:29 -07:00
olgasmola 367e32adbc CS-15329: Instances with Error states appear in Instances list after creating. 2012-06-26 16:28:59 -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
bfederle cbe1f3e4c4 CS-15287
Support validation on edit detail view

Original patch by: olga.smola
reviewed-by: brian
2012-06-26 13:30:36 -07:00
bfederle 80b8515347 CS-15315: Fix overlay positioning
Original patch by: olga.smola
reviewed-by: brian
2012-06-26 10:24:54 -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
Jessica Wang 3ee3e4122a cloudstack 3.0 UI - add zone wizard - (1) When sdn.ovs.controller is true and when the physical network is in Advanced zone, show isolation method dropdown with two options (VLAN, GRE). VLAN is the default option in the dropdown.
(2) When sdn.ovs.controller is false: hide isolation method dropdown. isolationmethods parameter won’t be passed to createPhysicalNetwork API.
(3) When the physical network is in Basic zone (regardless of sdn.ovs.controller) : hide isolation method dropdown. isolationmethods parameter won’t be passed to createPhysicalNetwork API.
2012-06-22 16:07:12 -07: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 791986268a (1) CS-15311: cloudstack 3.0 UI - Add Zone Wizard - add physical network step - no isolation method dropdown if network type is Basic.
(2) CS-15312 - cloudstack 3.0 UI - Add Zone Wizard - add physical network - remove "L3" option from isolation method.
2012-06-21 13:48:11 -07:00
Jessica Wang aac1ac555d CS-14854: cloudstack 3.0 UI - (1) extend detailView widget to take in dynamic isEditable value. (2) template page - edit template action - for regular user and domain admin: make Extractable field and Featured field non-editable. Do NOT send “isfeatured”, “isextractable” to updateTemplatePermission API when they are non-editable. 2012-06-21 13:43:04 -07:00
Jessica Wang 79410f90bc cloudstack 3.0 UI - account page - fix a bug that happens when account name includes ampersand or other special characters. Encode account name before it's being passed to API calls. 2012-06-21 13:02:52 -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
olgasmola e48ebf07a8 Make templates or Isos calls when setup new instance on templates tab. 2012-06-20 18:13:18 -07:00
bfederle 01f172cd37 CS-14110: Show timestamp for general alerts
Original patch by: olga.smola
reviewed-by: brian
2012-06-20 14:51:36 -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
Brian Federle 237fd426e1 CS-14230
Add password confirm to add account/user forms

Original patch by: oyla.smola@gmail.com
Reviewed-by: brian
2012-06-14 11:33:28 -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
Brian Federle 1371764abd Update breadcrumb hover effect
-Use 1s interval (instead of 2s) until showing panel

-Use .fadeOut on panel focus, for smoother transition
2012-06-11 15:13:14 -07:00
Brian Federle 93e87a5b31 CS-14877: Focus browser panel on breadcrumb hover
When mouse is over a breadcrumb for a period of > 2s, show its
respective panel until mouseout. This allows a user to see the
contents of the panel without having to select it.

reviewed-by: brian

Original commit:
commit 88be929e04826cd1159a2db7dbca220f7eadf5fd
Author: Pranav Saxena <pranav.saxena@citrix.com>
Date: Fri Jun 8 14:17:42 2012 +0530

    CS-14877: Expanded breadcrumb navigation on hover UI Requirement
2012-06-11 12:52:22 -07:00
bfederle 815f55d916 CS-14010
Add 'about' dialog to the CloudStack top header, showing current verison
information.

Patch submitted by: oyla.smola@gmail.com
Reviewed-by: brian

Conflicts:

	ui/scripts/ui/core.js
2012-06-11 11:40:55 -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 c71790b5c7 CS-15096: Disable network actions for non-admins
reviewed-by: jessica
2012-05-25 12:55:47 -07:00
Brian Federle 70687e4b44 CS-14844: Fix edit action
Fix edit action by referring to the new td.value <span>, instead of
td.value
2012-05-25 12:24:19 -07:00
Brian Federle 96982933df CS-14844
-If value label in detail view gets too long, then add horizontal
 scrollbar to value, to avoid truncation

-Lower font size to 11px (-1px) to better fit longer data into UI

reviewed-by: sonny
2012-05-25 12:08:29 -07:00
Sanjay Tripathi dd3b40218b CS-12111: No e-mail validation for edit user form
reviewed-by: brian
2012-05-25 11:09:48 -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 fff3fdb216 CS-12407: F5 & Netscaler when dedicated is selected capacity field should be disabled. 2012-05-25 12:09:56 +05:30
Sanjay Tripathi 92442765d4 CS-12407: F5 & Netscaler when dedicated is selected capacity field should be disabled. 2012-05-25 12:09:29 +05:30
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
Jessica Wang 89f704d88c CS-13739: localize more labels 2012-05-23 17:21:39 -07:00
Jessica Wang 593ce7c490 CS-14989: cloudstack 3.0 UI - VM wizard - select template step - populate only templates whose hypervisor(s) are supported in the selected zone. 2012-05-23 14:15:49 -07:00
Brian Federle 6f0fc82fff CS-15067
Provide Nexus vSwitch fields on add cluster form, if on VMware
hypervisor and vSwitch is enabled in configuration
2012-05-23 13:09:50 -07:00
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
Jessica Wang 1fa25b1964 CS-14206: cloudstack 3.0 UI - create network offering - show LB Isolation dropdown when LB service is checked and LB service provider is Netscaler or F5, regardless of Guest Type. 2012-05-23 10:40:11 -07:00
Jessica Wang 89c22f647f CS-15042: cloudstack 3.0 UI - Create Network Offering dialog - when Guest Type is "Isolated", exclude "Security Groups" from services list. 2012-05-22 15:36:24 -07:00
Jessica Wang 8f6d836a81 CS-14206: cloudstack 3.0 UI - Create Network Offering dialog - When Guest Type is "Shared", include LB and StaticNAT in services regardless of zone type. 2012-05-22 14:50:12 -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
Brian Federle d64adf1913 Remove trailing comma 2012-05-22 12:33:49 -07:00
Brian Federle 67f88398a6 Use IE-compatible method for changing browser title 2012-05-22 12:32:43 -07:00
Brian Federle 083831d37f CS-14911: Fix missing 'mine' filter from instances
reviewed-by: brian

commit 98ead3ad5b9266e0f2a1b0e037a4f511d9e1e240
Author: Pranav Saxena <pranav.saxena@citrix.com>
Date:   Wed May 16 01:04:12 2012 +0530

    CS-14911 : mine is missing from Instance Filter
2012-05-22 11:59:05 -07:00
Brian Federle 4b88f454a3 CS-14953: 'CloudStack' -> 'CloudPlatform'
reviewed-by: brian

commit 4488f0a66766286e960a47d34cd2e5148162bcab
Author: Pranav Saxena <pranav.saxena@citrix.com>
Date:   Tue May 22 15:15:40 2012 +0530

    Renaming CloudStack to CloudPlatform for Proprietary builds
2012-05-22 11:45:58 -07:00
Brian Federle f4b70e5f6e CS-15045
commit 7859d289debae622a15fdb6bda854a8936fd35cb
Author: Pranav Saxena <pranav.saxena@citrix.com>
Date: Tue May 22 23:29:31 2012 +0530

    UI does not support RAW format when hypervisor used is OVM in upload volumes
2012-05-22 11:19:19 -07:00
Jessica Wang 5168995905 CS-15015: cloudstack 3.0 UI - detailView widget - disable "pollAgainIfValueIsIn" function for now. 2012-05-21 16:12:01 -07:00
Jessica Wang 0282f2d8c9 cloudstack 3.0 UI - Instance page - detail view - keep polling newest info from server if VM state is Starting or Stopping. 2012-05-21 15:37:46 -07:00
Jessica Wang 62c456501a CS-15015: cloudstack 3.0 UI - detailView widget - add new property "pollAgainIfValueIsIn" to keep polling newest info from server when a column has a specific value (e.g. volume state column has value 'UploadNotStarted') 2012-05-21 14:04:15 -07:00
Jessica Wang f38b823631 CS-15015: cloudstack 3.0 UI - Volume page - Upload Volume action - API has been changed from sync to async. Here is related UI change. 2012-05-21 10:48:03 -07:00
Brian Federle eb6392d48c CS-12462: no close button on select project list view popup 2012-05-21 10:29:29 -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
Jessica Wang 512e3427bf CS-14949: cloudstack 3.0 UI - Instance page - hide Edit option when status is Running. 2012-05-18 17:05:04 -07:00
Brian Federle 07fd2cab6d CS-14980: Fix blank PF/LB instance name label
Show VM ID if .displayname and .instancename are not present, as is
the case with KVM-type virtual machines that don't have a custom name.
2012-05-18 12:09:14 -07:00
Brian Federle ecc3486647 If using commercial build, show 'CloudPlatform' in browser title bar 2012-05-18 09:26:21 -07:00
Brian Federle b4d88d50a5 Fix trailing command breaking IE 2012-05-17 12:40:57 -07:00
Brian Federle cab83385b4 CS-13861: Fix 'isChecked: false' not working on IE 2012-05-17 12:34:33 -07:00
Jessica Wang 05964ea465 CS-14901: cloudstack 3.0 UI - IP Address page - non-SourceNAT IP - when network offering's Conserve Mode is off, hide LoadBalancer when any PortForwarding rule exists, hide PortForwarding when any LoadBalancer rule exists. 2012-05-17 11:33:08 -07:00
Jessica Wang 33ce7933cc CS-14901: cloudstack 3.0 UI - IP Address page - non-SourceNAT IP - when network offering's Conserve Mode is off, hide EnableStaticNAT and EnableVPN when any PortForwarding rule or LoadBalancer rule exists. 2012-05-16 17:03:17 -07:00
Jessica Wang 2e2e5ee59d CS-14901: cloudstack 3.0 UI - IP Address page - non-SourceNAT IP - when network offering's Conserve Mode is off, hide PortForwarding and LoadBalacer when staticNAT or VPN is enabled. 2012-05-16 16:27:03 -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
Jessica Wang ba2eb092b4 CS-14905: volume page - Attach Disk action - Instance dropdown - (1) Populate all instances when volume's hypervisor is "None". (2) Populate only instances whose hypervisor matches this volume's hypervisor when volume's hypervisor is not "None". 2012-05-16 14:26:13 -07:00
Jessica Wang 30c938aaa9 CS-14901: cloudstack 3.0 UI - IP Address page - non-SourceNAT IP - when network offering's Conserve Mode is off, hide EnableVPN action when staticNAT is enabled, hide EnableStaticNAT action when VPN is enabled. 2012-05-16 12:42:46 -07:00
Jessica Wang 3715d1aef2 CS-14901: cloudstack 3.0 UI - IP Address page - SourceNAT IP - when network offering's Conserve Mode is off, hide LoadBalancer, PortForwarding action in Configuration tab. 2012-05-16 11:31:14 -07:00
Brian Federle f3a73d722f UI proprietary build: rename 'CloudStack' -> 'CloudPlatform'
When EULA is present for a proprietary build, show 'CloudPlatform'
instead of 'CloudStack' in the logo for the login form and top header.
2012-05-16 10:43:36 -07:00
Jessica Wang 93d6b668a2 CS-14901: cloudstack 3.0 UI - IP Address page - SourceNAT IP - when network offering's Conserve Mode is off, hide Enable Static NAT, Enable VPN action. 2012-05-15 16:19:41 -07:00
Jessica Wang e1f6b1b125 cloudstack 3.0 UI - IP Address page - args.id is obsolete. Use args.context.ipAddresses[0].id instead. 2012-05-15 16:04:44 -07:00
Jessica Wang 6ab317b60f cloudstack 3.0 UI - IP Address page - action filter - optimize status handling. 2012-05-15 15:44:38 -07:00
Jessica Wang 1347b2218c CS-14905: volume page - Attach Disk action - Instance dropdown - populate only instances whose hypervisor matches this volume's hypervisor. 2012-05-15 15:20:53 -07:00