Change in ovirt-engine[master]: webadmin: Network->Tamplate tab, template name instead of vn...
by gchaplik@redhat.com
Gilad Chaplik has submitted this change and it was merged.
Change subject: webadmin: Network->Tamplate tab, template name instead of vnic name.
......................................................................
webadmin: Network->Tamplate tab, template name instead of vnic name.
In "Vnic" column, the name of the template is displayed instead of the
the name of vnic.
Change-Id: I013b63cb323556abbc0ba91b83fe408877e8dc86
Signed-off-by: Alona Kaplan <alkaplan(a)redhat.com>
---
M frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/tab/network/SubTabNetworkTemplateView.java
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Gilad Chaplik: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/9766
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I013b63cb323556abbc0ba91b83fe408877e8dc86
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alona Kaplan <alkaplan(a)redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik(a)redhat.com>
12 years, 1 month
Change in ovirt-engine-cli[master]: cli: do not remove non-existent expt items
by mpastern@redhat.com
Michael Pasternak has submitted this change and it was merged.
Change subject: cli: do not remove non-existent expt items
......................................................................
cli: do not remove non-existent expt items
Change-Id: I668995efba21a1df0b7f5d22829ee367cb742b67
Signed-off-by: Michael Pasternak <mpastern(a)redhat.com>
---
M src/ovirtcli/utils/methodhelper.py
1 file changed, 3 insertions(+), 1 deletion(-)
Approvals:
Michael Pasternak: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/9701
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I668995efba21a1df0b7f5d22829ee367cb742b67
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-cli
Gerrit-Branch: master
Gerrit-Owner: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern(a)redhat.com>
12 years, 1 month
Change in ovirt-engine-sdk-java[master]: codegen: check !null before this.entryPoint usage in sdk pro...
by mpastern@redhat.com
Michael Pasternak has submitted this change and it was merged.
Change subject: codegen: check !null before this.entryPoint usage in sdk proxy
......................................................................
codegen: check !null before this.entryPoint usage in sdk proxy
Change-Id: I72c00ee234f88e67f8e1d35d04da61934c094fd5
Signed-off-by: Michael Pasternak <mpastern(a)redhat.com>
---
M java-sdk-codegen/src/main/java/org/ovirt/engine/sdk/codegen/templates/RootResourceStaticTemplate
M java-sdk/src/main/java/org/ovirt/engine/sdk/Api.java
2 files changed, 18 insertions(+), 9 deletions(-)
Approvals:
Michael Pasternak: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/9764
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I72c00ee234f88e67f8e1d35d04da61934c094fd5
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine-sdk-java
Gerrit-Branch: master
Gerrit-Owner: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern(a)redhat.com>
12 years, 1 month
Change in ovirt-engine[master]: engine: Reduced unneeded query and code clean up
by mkublin@redhat.com
Michael Kublin has submitted this change and it was merged.
Change subject: engine: Reduced unneeded query and code clean up
......................................................................
engine: Reduced unneeded query and code clean up
The following patch is reduce a query and provides additonal clean ups and java code optimizations at
ConnectHostToStoragePoolServersCommand.
The following command is called during InitVdsOnUp, it is means that when vds going to status up we are
using a less queries.
Should improve mass vds statrtup
Change-Id: If4c6c2efc8d05fb3c1d0286cbd2978bfc7ddfaa7
Signed-off-by: Michael Kublin <mkublin(a)redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/ConnectHostToStoragePooServerCommandBase.java
1 file changed, 26 insertions(+), 39 deletions(-)
Approvals:
Michael Kublin: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/9762
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If4c6c2efc8d05fb3c1d0286cbd2978bfc7ddfaa7
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Michael Kublin <mkublin(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin(a)redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>
12 years, 1 month
Change in ovirt-engine-sdk-java[master]: codegen: update exception docs
by mpastern@redhat.com
Michael Pasternak has submitted this change and it was merged.
Change subject: codegen: update exception docs
......................................................................
codegen: update exception docs
Change-Id: I51d0ac8f5147d7e9ca0ae32cfc172a91dd956537
Signed-off-by: Michael Pasternak <mpastern(a)redhat.com>
---
M java-sdk-codegen/src/main/java/org/ovirt/engine/sdk/codegen/templates/ApiTemplate
M java-sdk-codegen/src/main/java/org/ovirt/engine/sdk/codegen/templates/CollectionActionMethodTemplate
M java-sdk-codegen/src/main/java/org/ovirt/engine/sdk/codegen/templates/CollectionAddMethodTemplate
M java-sdk-codegen/src/main/java/org/ovirt/engine/sdk/codegen/templates/CollectionTemplate
M java-sdk-codegen/src/main/java/org/ovirt/engine/sdk/codegen/templates/DeleteMethodTemplate
M java-sdk-codegen/src/main/java/org/ovirt/engine/sdk/codegen/templates/ResourceActionMethodTemplate
M java-sdk-codegen/src/main/java/org/ovirt/engine/sdk/codegen/templates/RootResourceDynamicTemplate
M java-sdk-codegen/src/main/java/org/ovirt/engine/sdk/codegen/templates/SubCollectionAddMethodTemplate
M java-sdk-codegen/src/main/java/org/ovirt/engine/sdk/codegen/templates/SubCollectionTemplate
M java-sdk-codegen/src/main/java/org/ovirt/engine/sdk/codegen/templates/UpdateMethodTemplate
M java-sdk/src/main/java/org/ovirt/engine/sdk/Api.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/common/CollectionDecorator.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/Cluster.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/ClusterGlusterVolume.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/ClusterGlusterVolumeGlusterBrick.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/ClusterGlusterVolumeGlusterBricks.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/ClusterGlusterVolumes.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/ClusterNetwork.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/ClusterNetworks.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/ClusterPermission.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/ClusterPermissions.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/Clusters.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/DataCenter.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/DataCenterPermission.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/DataCenterPermissions.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/DataCenterQuota.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/DataCenterQuotas.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/DataCenterStorageDomain.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/DataCenterStorageDomains.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/DataCenters.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/Disk.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/DiskStatistics.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/Disks.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/DomainGroups.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/DomainUsers.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/Domains.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/Events.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/Group.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/GroupPermission.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/GroupPermissions.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/GroupRole.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/GroupRolePermit.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/GroupRolePermits.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/GroupRoles.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/GroupTag.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/GroupTags.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/Groups.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/Host.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/HostNIC.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/HostNICStatistics.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/HostNICs.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/HostPermission.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/HostPermissions.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/HostStatistics.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/HostTag.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/HostTags.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/Hosts.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/Network.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/Networks.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/Role.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/RolePermit.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/RolePermits.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/Roles.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/StorageDomain.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/StorageDomainFiles.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/StorageDomainPermission.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/StorageDomainPermissions.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/StorageDomainTemplate.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/StorageDomainTemplates.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/StorageDomainVM.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/StorageDomainVMs.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/StorageDomains.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/Tag.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/Tags.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/Template.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/TemplateCdRoms.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/TemplateDisk.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/TemplateDisks.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/TemplateNIC.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/TemplateNICs.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/TemplatePermission.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/TemplatePermissions.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/Templates.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/User.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/UserPermission.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/UserPermissions.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/UserRole.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/UserRolePermit.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/UserRolePermits.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/UserRoles.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/UserTag.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/UserTags.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/Users.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/VM.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/VMCdRom.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/VMCdRoms.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/VMDisk.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/VMDiskStatistics.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/VMDisks.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/VMNIC.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/VMNICStatistics.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/VMNICs.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/VMPermission.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/VMPermissions.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/VMSnapshot.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/VMSnapshotCdRoms.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/VMSnapshotDisks.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/VMSnapshotNics.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/VMSnapshots.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/VMStatistics.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/VMTag.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/VMTags.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/VMs.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/VmPool.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/VmPoolPermission.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/VmPoolPermissions.java
M java-sdk/src/main/java/org/ovirt/engine/sdk/decorators/VmPools.java
117 files changed, 974 insertions(+), 51 deletions(-)
Approvals:
Michael Pasternak: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/9763
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I51d0ac8f5147d7e9ca0ae32cfc172a91dd956537
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine-sdk-java
Gerrit-Branch: master
Gerrit-Owner: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern(a)redhat.com>
12 years, 1 month
Change in ovirt-engine[master]: engine: Improved a query during SPM election
by mkublin@redhat.com
Michael Kublin has submitted this change and it was merged.
Change subject: engine: Improved a query during SPM election
......................................................................
engine: Improved a query during SPM election
I replaced a not efficient code with more efficient code at spm election
part.
Change-Id: I33ad24b24edb51e3d7805a8967c0f4f7613f6fdb
Signed-off-by: Michael Kublin <mkublin(a)redhat.com>
---
M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/irsbroker/IrsBrokerCommand.java
1 file changed, 4 insertions(+), 12 deletions(-)
Approvals:
Michael Kublin: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/9761
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I33ad24b24edb51e3d7805a8967c0f4f7613f6fdb
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Michael Kublin <mkublin(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin(a)redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>
12 years, 1 month
Change in ovirt-engine[master]: webadmin: clone JP translation split to two line in new VM d...
by shavivi@redhat.com
Shahar Havivi has submitted this change and it was merged.
Change subject: webadmin: clone JP translation split to two line in new VM dialog
......................................................................
webadmin: clone JP translation split to two line in new VM dialog
Change-Id: I773aa6dc0017988f061a2a302f09ff361cabb8dc
Bug-Url: https://bugzilla.redhat.com/870153
Signed-off-by: Shahar Havivi <shavivi(a)redhat.com>
---
M frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/popup/AbstractVmPopupWidget.ui.xml
1 file changed, 5 insertions(+), 3 deletions(-)
Approvals:
Shahar Havivi: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/9742
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I773aa6dc0017988f061a2a302f09ff361cabb8dc
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shahar Havivi <shavivi(a)redhat.com>
Gerrit-Reviewer: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Einav Cohen <ecohen(a)redhat.com>
Gerrit-Reviewer: Shahar Havivi <shavivi(a)redhat.com>
12 years, 1 month
Change in ovirt-engine[master]: REST: fix VmMapper of protection deletion
by mpastern@redhat.com
Michael Pasternak has submitted this change and it was merged.
Change subject: REST: fix VmMapper of protection deletion
......................................................................
REST: fix VmMapper of protection deletion
fix wrong behaviour which also failed tests with NPE
Change-Id: Ibb2c1402b23d415e11d9f04cf3559f3885bca83c
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=871371
Signed-off-by: Roy Golan <rgolan(a)redhat.com>
---
M backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/VmMapper.java
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Michael Pasternak: Verified; Looks good to me, approved
Frank Kobzik: Verified
Allon Mureinik: Looks good to me, but someone else must approve
Roy Golan: Verified
--
To view, visit http://gerrit.ovirt.org/9757
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ibb2c1402b23d415e11d9f04cf3559f3885bca83c
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roy Golan <rgolan(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Frank Kobzik <fkobzik(a)redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan(a)redhat.com>
12 years, 1 month
Change in ovirt-host-deploy[master]: vdsm: hardware: fix typo in amd virtualization detection
by Alon Bar-Lev
Alon Bar-Lev has submitted this change and it was merged.
Change subject: vdsm: hardware: fix typo in amd virtualization detection
......................................................................
vdsm: hardware: fix typo in amd virtualization detection
Change-Id: I2deb8f7ab0f306b15edc7b8238325ef6c359e809
Signed-off-by: Alon Bar-Lev <alonbl(a)redhat.com>
---
M src/plugins/ovirt-host-deploy/vdsm/hardware.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Alon Bar-Lev: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/9758
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I2deb8f7ab0f306b15edc7b8238325ef6c359e809
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-host-deploy
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alonbl(a)redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl(a)redhat.com>
12 years, 1 month
Change in ovirt-engine[master]: core:Add a script that displays async ...(#868672)
by emesika@redhat.com
Eli Mesika has submitted this change and it was merged.
Change subject: core:Add a script that displays async ...(#868672)
......................................................................
core:Add a script that displays async ...(#868672)
Adding a fn_db_get_async_tasks function to the database.
Displays DC id , DC name, SPM Host id , SPM Host name and number of
async tasks awaiting.
Example:
ovirt=# select * from fn_db_get_async_tasks();
-[ RECORD 1 ]-+-------------------------------------
dc_id | 64600e6a-ef8b-11e1-838c-0fc062f03f3a
dc_name | Default
spm_host_id | b021eada-ef8b-11e1-8e97-579ccb995b3c
spm_host_name | pluto-vdsa
task_count | 2
The functions does the following steps to gather the required
information:
1) create a record type with DC name, DC id, SPM host id, SPM host name,
count
2) get all distinct DC ids from async_tasks table
3) Run a cursor for each result in 2)
a) get DC name
b) get SPM Host id & name if available
c) get count of tasks
return current record
4) return set of generated records
regarding the required compensation information:
use the following query:
select command_type, entity type from business_entity_snapshot
please note:
command_type is a fully qualified name , consider to take only its
suffix.
entity type is a string identifying the entity (like vm_static etc.)
Change-Id: Ia9f021279d761344c3d9fb3bedef80637d5a7855
Signed-off-by: Eli Mesika <emesika(a)redhat.com>
Bug-Url:https://bugzilla.redhat.com/868672
Signed-off-by: Eli Mesika <emesika(a)redhat.com>
---
M backend/manager/dbscripts/common_sp.sql
1 file changed, 59 insertions(+), 0 deletions(-)
Approvals:
Eli Mesika: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/8736
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia9f021279d761344c3d9fb3bedef80637d5a7855
Gerrit-PatchSet: 8
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin(a)redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>
12 years, 1 month