22585620 Nova/compute hvtype.py and vm_mode.py files to include 'ldoms' driver s11u3-sru
authorGowtham Thommandra <Gowtham.Thommandra@Oracle.COM>
Mon, 29 Aug 2016 22:44:12 -0700
branchs11u3-sru
changeset 6709 aea771e7a709
parent 6631 1efae43a5201
child 6710 e4f573adf938
22585620 Nova/compute hvtype.py and vm_mode.py files to include 'ldoms' driver
components/openstack/nova/patches/01-Solaris-vm_mode.patch
components/openstack/nova/patches/04-compute-hvtype.patch
--- a/components/openstack/nova/patches/01-Solaris-vm_mode.patch	Thu Aug 18 08:46:22 2016 -0700
+++ b/components/openstack/nova/patches/01-Solaris-vm_mode.patch	Mon Aug 29 22:44:12 2016 -0700
@@ -1,17 +1,18 @@
-In-house patch to enable Solaris Zones specific vm_mode value for use by the
-ImagePropertiesFilter scheduling filter.  This patch has not yet been
+In-house patch to enable Solaris Zones and LDM specific vm_mode value for use by
+the ImagePropertiesFilter scheduling filter. This patch has not yet been
 submitted upstream.
 
 --- nova-2015.1.2/nova/compute/vm_mode.py.~1~	2015-10-13 07:52:35.000000000 -0700
-+++ nova-2015.1.2/nova/compute/vm_mode.py	2015-12-31 20:11:22.020900882 -0800
[email protected]@ -31,8 +31,9 @@ HVM = "hvm"  # Native ABI (aka fully vir
++++ nova-2015.1.2/nova/compute/vm_mode.py	2016-08-02 14:05:48.000830684 -0700
[email protected]@ -31,8 +31,10 @@
  XEN = "xen"  # Xen 3.0 paravirtualized
  UML = "uml"  # User Mode Linux paravirtualized
  EXE = "exe"  # Executables in containers
 +SOL = "solariszones"  # Solaris zones (non-global and kernel)
++LDM = "ldoms" # Logical Domains (Oracle VM for SPARC)
  
 -ALL = [HVM, XEN, UML, EXE]
-+ALL = [HVM, XEN, UML, EXE, SOL]
++ALL = [HVM, XEN, UML, EXE, SOL, LDM]
  
  
  def get_from_instance(instance):
--- a/components/openstack/nova/patches/04-compute-hvtype.patch	Thu Aug 18 08:46:22 2016 -0700
+++ b/components/openstack/nova/patches/04-compute-hvtype.patch	Mon Aug 29 22:44:12 2016 -0700
@@ -1,21 +1,23 @@
-In-house patch to add the 'solariszones' hypervisor to Nova's list of
-known hypervisors.  This patch has not yet been submitted upstream.
+In-house patch to add the 'solariszones' and 'ldoms' hypervisor to Nova's list of
+known hypervisors. This patch has not yet been submitted upstream.
 
 --- nova-2015.1.2/nova/compute/hv_type.py.~1~	2015-10-13 07:52:44.000000000 -0700
-+++ nova-2015.1.2/nova/compute/hv_type.py	2015-12-31 19:56:40.193951927 -0800
[email protected]@ -40,6 +40,7 @@ OPENVZ = "openvz"
++++ nova-2015.1.2/nova/compute/hv_type.py	2016-08-02 13:55:19.746264695 -0700
[email protected]@ -40,6 +40,8 @@
  PARALLELS = "parallels"
  PHYP = "phyp"
  QEMU = "qemu"
 +SOLARISZONES = "solariszones"
++LDOMS = "ldoms"
  TEST = "test"
  UML = "uml"
  VBOX = "vbox"
[email protected]@ -61,6 +62,7 @@ ALL = (
[email protected]@ -61,6 +63,8 @@
      PARALLELS,
      PHYP,
      QEMU,
 +    SOLARISZONES,
++    LDOMS, 
      TEST,
      UML,
      VBOX,