Browse code

Merge "Remove powervm nova virt driver support"

Jenkins authored on 2013/11/26 01:07:38
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,76 +0,0 @@
1
-# lib/nova_plugins/hypervisor-powervm
2
-# Configure the PowerVM hypervisor
3
-
4
-# Enable with:
5
-# VIRT_DRIVER=powervm
6
-
7
-# Dependencies:
8
-# ``functions`` file
9
-# ``nova`` configuration
10
-
11
-# install_nova_hypervisor - install any external requirements
12
-# configure_nova_hypervisor - make configuration changes, including those to other services
13
-# start_nova_hypervisor - start any external services
14
-# stop_nova_hypervisor - stop any external services
15
-# cleanup_nova_hypervisor - remove transient data and cache
16
-
17
-# Save trace setting
18
-MY_XTRACE=$(set +o | grep xtrace)
19
-set +o xtrace
20
-
21
-
22
-# Defaults
23
-# --------
24
-
25
-
26
-# Entry Points
27
-# ------------
28
-
29
-# clean_nova_hypervisor - Clean up an installation
30
-function cleanup_nova_hypervisor() {
31
-    # This function intentionally left blank
32
-    :
33
-}
34
-
35
-# configure_nova_hypervisor - Set config files, create data dirs, etc
36
-function configure_nova_hypervisor() {
37
-    POWERVM_MGR_TYPE=${POWERVM_MGR_TYPE:-"ivm"}
38
-    POWERVM_MGR_HOST=${POWERVM_MGR_HOST:-"powervm.host"}
39
-    POWERVM_MGR_USER=${POWERVM_MGR_USER:-"padmin"}
40
-    POWERVM_MGR_PASSWD=${POWERVM_MGR_PASSWD:-"password"}
41
-    POWERVM_IMG_REMOTE_PATH=${POWERVM_IMG_REMOTE_PATH:-"/tmp"}
42
-    POWERVM_IMG_LOCAL_PATH=${POWERVM_IMG_LOCAL_PATH:-"/tmp"}
43
-    iniset $NOVA_CONF DEFAULT compute_driver nova.virt.powervm.PowerVMDriver
44
-    iniset $NOVA_CONF DEFAULT powervm_mgr_type $POWERVM_MGR_TYPE
45
-    iniset $NOVA_CONF DEFAULT powervm_mgr $POWERVM_MGR_HOST
46
-    iniset $NOVA_CONF DEFAULT powervm_mgr_user $POWERVM_MGR_USER
47
-    iniset $NOVA_CONF DEFAULT powervm_mgr_passwd $POWERVM_MGR_PASSWD
48
-    iniset $NOVA_CONF DEFAULT powervm_img_remote_path $POWERVM_IMG_REMOTE_PATH
49
-    iniset $NOVA_CONF DEFAULT powervm_img_local_path $POWERVM_IMG_LOCAL_PATH
50
-}
51
-
52
-# install_nova_hypervisor() - Install external components
53
-function install_nova_hypervisor() {
54
-    # This function intentionally left blank
55
-    :
56
-}
57
-
58
-# start_nova_hypervisor - Start any required external services
59
-function start_nova_hypervisor() {
60
-    # This function intentionally left blank
61
-    :
62
-}
63
-
64
-# stop_nova_hypervisor - Stop any external services
65
-function stop_nova_hypervisor() {
66
-    # This function intentionally left blank
67
-    :
68
-}
69
-
70
-
71
-# Restore xtrace
72
-$MY_XTRACE
73
-
74
-# Local variables:
75
-# mode: shell-script
76
-# End: