Add parameters for undercloud power_managers.
authorDan Prince <dprince@redhat.com>
Fri, 11 Oct 2013 19:43:34 +0000 (15:43 -0400)
committerDan Prince <dprince@redhat.com>
Fri, 11 Oct 2013 19:43:34 +0000 (15:43 -0400)
Adds a new PowerManager parameter for the baremetal power
management driver.

Change-Id: I3d3b1f8e190d9de9705b2319726cdddb5624fc83

undercloud-bm.yaml
undercloud-vm.yaml

index 3ce0e80..df9a443 100644 (file)
@@ -53,6 +53,10 @@ Parameters:
     Description: The password for the nova service account, used by nova-api.
     Type: String
     NoEcho: true
+  PowerManager:
+    Default: nova.virt.baremetal.ipmi.IPMI
+    Description: Bare metal power manager driver.
+    Type: String
 Resources:
   AccessPolicy:
     Properties:
@@ -150,7 +154,8 @@ Resources:
           arch:
             Ref: BaremetalArch
           db: mysql://nova:unset@localhost/nova_bm
-          power_manager: nova.virt.baremetal.ipmi.IPMI
+          power_manager:
+            Ref: PowerManager
           pxe_deploy_timeout: 2400
         service-password:
           Ref: NovaPassword
index 871e573..95a22f8 100644 (file)
@@ -53,6 +53,10 @@ Parameters:
     Description: The password for the nova service account, used by nova-api.
     Type: String
     NoEcho: true
+  PowerManager:
+    Default: nova.virt.baremetal.virtual_power_driver.VirtualPowerManager
+    Description: Bare metal power manager driver.
+    Type: String
   PowerUserName:
     Default: stack
     Description: What username to ssh to the virtual power host with.
@@ -154,7 +158,8 @@ Resources:
           arch:
             Ref: BaremetalArch
           db: mysql://nova:unset@localhost/nova_bm
-          power_manager: nova.virt.baremetal.virtual_power_driver.VirtualPowerManager
+          power_manager:
+            Ref: PowerManager
           pxe_deploy_timeout: 2400
           virtual_power:
             user: