Appends a new API to libvirt public driver that supports
defining a new domain using OVA format.
API expects following inputs:
1. connection pointer.
2. path to OVA package (single file format).
3. Storage pool name where new domain needs to be created.
API returns pointers to newly created
hypervisor driver, they are posted as seperate
reviews:
1. https://www.redhat.com/archives/libvir-list/2012-December/msg01377.html
2. https://www.redhat.com/archives/libvir-list/2013-January/msg7.html
Above patches are necessary for proper functioning of the proposed feature.
Ata E Husain
/parsing
+ *
+ * Copyright (C) 2013 Ata E Husain Bohra ata.hus...@hotmail.com
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1
(-)
diff --git a/src/esx/esx_vi.c b/src/esx/esx_vi.c
index 99c1eb1..a49ab7e 100644
--- a/src/esx/esx_vi.c
+++ b/src/esx/esx_vi.c
@@ -4,6 +4,7 @@
*
* Copyright (C) 2010-2012 Red Hat, Inc.
* Copyright (C) 2009-2012 Matthias Bolte matthias.bo...@googlemail.com
+ * Copyright (C) 2013 Ata E Husain Bohra
This patch provides virsh commands to support defining
new domain using an OVA package.
---
tools/virsh-domain.c | 44
1 file changed, 44 insertions(+)
diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
index f3da1d5..5218d12 100644
---
...@googlemail.com
+# Copyright (C) 2013 Ata E Husain Bohra ata.hus...@hotmail.com
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -785,9 +786,7 @@ class Object(Type):
source += ESX_VI__TEMPLATE__DYNAMIC_FREE
Add esxVI_AnyType_Serialize routine to allow serialization
of objects containing variables of type AnyType. The routine
attempts to determine the type of the object that covers:
boolean, long, int, string, short, byte.
If variables does not fall under any above mentioned types
then it is
It seems with current SOAP header the call to retrieve serviceContent object
does not populate all available references (for instance: ovfManager). The host
exposes details of these Managed Object References (MoBs) if header is appended
with SOAPACtion field.
Ata E Husain Bohra (1):
ESX: append
Append curl headers with SOAPAction header to populate
serviceContent object entities which are otherwise missing.
---
src/esx/esx_vi.c |2 ++
src/esx/esx_vi_generator.input |3 +++
2 files changed, 5 insertions(+)
diff --git a/src/esx/esx_vi.c b/src/esx/esx_vi.c
index
Major changes:
Split changes to two parts:
a. Refactor ESX storage driver to implement facade design.
b. Add backend driver to support iSCSI devices.
Ata E Husain Bohra (2):
Refactor ESX storage driver to implement facade pattern
Add iSCSI backend storage driver for ESX.
daemon/remote.c
Resent of
http://www.redhat.com/archives/libvir-list/2012-August/msg01353.html.
Merging recent branch updates to this patch.
Ata E Husain Bohra (1):
Refactor ESX storage driver and add iSCSI support
src/Makefile.am | 16 +-
src/esx/esx_driver.c|4
Major changes includes:
a. Check for Memory allocation from strdup calls.
b. Removed ESX_VI__TEMPLATE__PROPERTY__DESERIALIZE_STRING_LIST workaround
c. Remove overwriting of error messages where it's not required.
Ata E Husain Bohra (1):
ESX: Add routines to interface driver
src/esx
Signed-off-by: Ata E Husain Bohra ata.hus...@hotmail.com
---
src/esx/esx_interface_driver.c | 551 +++-
src/esx/esx_vi.c | 125 +
src/esx/esx_vi.h | 10 +
src/esx/esx_vi_generator.input | 227 +
src/esx
Updated as per Matthias comment.
Ata E Husain Bohra (1):
ESX: Add Byte datatype
src/esx/esx_vi_generator.py |1 +
src/esx/esx_vi_types.c | 57 +++
src/esx/esx_vi_types.h | 29 ++
3 files changed, 87 insertions
Append Byte to set of predefined datatype objects.
Signed-off-by: Ata E Husain Bohra ata.hus...@hotmail.com
---
src/esx/esx_vi_generator.py |1 +
src/esx/esx_vi_types.c | 57 +++
src/esx/esx_vi_types.h | 29 ++
3 files
Please see comments inline.
Regards,
Ata
-Original Message-
From: Matthias Bolte [mailto:matthias.bo...@googlemail.com]
Sent: Wednesday, August 01, 2012 1:08 PM
To: Ata E Husain Bohra
Cc: libvir-list@redhat.com
Subject: Re: [libvirt] [PATCH v4 0/3] ESX: Add routines to interface
Append Byte datatype to esx_vi_types predefined datatype set.
Ata E Husain Bohra (1):
ESX: Add Byte datatype
src/esx/esx_vi_generator.py |1 +
src/esx/esx_vi_types.c | 57 +++
src/esx/esx_vi_types.h | 28 +
3 files
Append Byte to set of predefined object data types.
Signed-off-by: Ata E Husain Bohra ata.hus...@hotmail.com
---
src/esx/esx_vi_generator.py |1 +
src/esx/esx_vi_types.c | 57 +++
src/esx/esx_vi_types.h | 28 +
3 files
Updated the patch against review comments from Laine and Matthias.
Ata E Husain Bohra (3):
ESX: Add routines to interface driver
ESX: Add routines to interface driver
ESX: Add routines to interface driver
src/esx/esx_interface_driver.c | 499 +++-
src
Updated the variable names to match vSphere terminology.
Signed-off-by: Ata E Husain Bohra ata.hus...@hotmail.com
---
src/esx/esx_interface_driver.c | 179
src/esx/esx_vi.c | 30 +++
src/esx/esx_vi.h |6 +-
3 files
Use ATTRIBUTE_UNUSED for unused variable.
Signed-off-by: Ata E Husain Bohra ata.hus...@hotmail.com
---
src/esx/esx_interface_driver.c | 14 --
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/src/esx/esx_interface_driver.c b/src/esx/esx_interface_driver.c
index
Signed-off-by: Ata E Husain Bohra ata.hus...@hotmail.com
---
src/esx/esx_interface_driver.c | 506 +++-
src/esx/esx_vi.c | 126 ++
src/esx/esx_vi.h | 10 +
src/esx/esx_vi_generator.input | 227 ++
src/esx
, Ata E Husain Bohra wrote:
Add following routines to esx_interface_driver:
esxNumOfInterfaces,
esxNumOfDefinedInterfaces,
esxListInterfaces,
esxListDefinedInterfaces,
esxInterfaceLookupByMACString,
esxInterfaceGetXMLDesc,
esxInterfaceUndefine
Thanks for reviewing the patch Matthias!
-Original Message-
From: Matthias Bolte [mailto:matthias.bo...@googlemail.com]
Sent: Saturday, July 21, 2012 2:39 PM
To: Ata E Husain Bohra
Cc: libvirt-l...@redhat.com
Subject: Re: [libvirt] [Libvirt][PATCH] ESX: Fix
Signed-off-by: Ata E Husain Bohra ata.hus...@hotmail.com
---
src/esx/esx_interface_driver.c | 506 +++-
src/esx/esx_vi.c | 126 ++
src/esx/esx_vi.h | 10 +
src/esx/esx_vi_generator.input | 227 ++
src/esx
---
src/esx/esx_interface_driver.c | 14 --
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/src/esx/esx_interface_driver.c b/src/esx/esx_interface_driver.c
index b1ba5e2..01caed0 100644
--- a/src/esx/esx_interface_driver.c
+++ b/src/esx/esx_interface_driver.c
@@
Repost of https://www.redhat.com/archives/libvir-list/2012-July/msg00990.html.
Thanks Eric for pointing the message-ID issue with earlier post.
Ata E Husain Bohra (2):
ESX: Add routines to interface driver
Use ATTRIBUTE_UNUSED for unused variable.
src/esx/esx_interface_driver.c | 500
Fix addresses two issues:
1. Fix generator code to allow deep copy operation for objects with
Dynamic_Cast capabilities.
2. Add missing deep copy routine to Long datatype.
Signed-off-by: Ata E Husain Bohra ata.hus...@hotmail.com
---
src/esx/esx_vi_generator.py |2 +-
src/esx/esx_vi_types.c
-Original Message-
From: Raghunatha Reddy
Sent: Tuesday, July 10, 2012 1:53 AM
To: libvir-list@redhat.com
Subject: Re: [libvirt] Intend to add OVA installation API
Ata Bohra ata.husain at hotmail.com writes:
Thanks again Doug. With this direction, I have started looking into
Updated code to use ATTRIBUTE_UNUSED for un-used variable.
Ata E Husain Bohra (2):
ESX: Add routines to interface driver
Use ATTRIBUTE_UNUSED for unused variable.
src/esx/esx_interface_driver.c | 500 +++-
src/esx/esx_vi.c | 126
Signed-off-by: Ata E Husain Bohra ata.hus...@hotmail.com
---
src/esx/esx_interface_driver.c | 506 +++-
src/esx/esx_vi.c | 126 ++
src/esx/esx_vi.h | 10 +
src/esx/esx_vi_generator.input | 227 ++
src/esx
---
src/esx/esx_interface_driver.c | 14 --
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/src/esx/esx_interface_driver.c b/src/esx/esx_interface_driver.c
index b1ba5e2..01caed0 100644
--- a/src/esx/esx_interface_driver.c
+++ b/src/esx/esx_interface_driver.c
@@
18, 2012 12:19 PM
To: Ata E Husain Bohra
Cc: libvirt-l...@redhat.com
Subject: Re: [libvirt] ESX: failure while performing CastFromAnyType
Hi,
do you have a patch that allows me to reproduce this problem? So I can
improve the error reporting here?
Regards,
Matthias
2012/7/18 Ata E Husain Bohra
useful
information.
Thanks!
Ata
From: Ata E Husain Bohra
Sent: Monday, July 16, 2012 2:59 PM
To: LIbvirt
Subject: [libvirt] ESX: failure while performing CastFromAnyType
Hi All,
I am trying to extend “iscsi” support for iSCSI driver, currently am stuck at
getting iSCSI target list from
Hi All,
I am trying to extend “iscsi” support for iSCSI driver, currently am stuck at
getting iSCSI target list from the hypervisor. I am using hostSystem object
(propertyNameList is set to “config.storageDevice.hostBusAdapter”) to retrieve
list of “HostHostBusAdapter” from ESX, but the call
Hi All,
I am trying to extend “iscsi” support for iSCSI driver, currently am stuck at
getting iSCSI target list from the hypervisor. I am using hostSystem object
(propertyNameList is set to “config.storageDevice.hostBusAdapter”) to retrieve
list of “HostHostBusAdapter” from ESX, but the call
36 matches
Mail list logo