components/openstack/nova/patches/01-Solaris-vm_mode.patch
author Laszlo Peter <laszlo.peter@oracle.com>
Wed, 07 Sep 2016 14:48:42 -0700
changeset 6854 52081f923019
parent 6562 77314d708e9f
permissions -rw-r--r--
24465850 Update Nova for the Mitaka release 22456289 nova interface-attach reports an error; adds unusable entry to instance anyway

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	2016-08-02 14:05:48.000830684 -0700
@@ -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, LDM]
 
 
 def get_from_instance(instance):