Created
July 15, 2014 19:21
-
-
Save j-griffith/ea8f531671f62ce6cf68 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(.venv)jgriffith@railbender ~/git/cinder.review $ git diff etc/cinder/cinder.conf.sample | |
diff --git a/etc/cinder/cinder.conf.sample b/etc/cinder/cinder.conf.sample | |
index d28c6f7..6aee4e8 100644 | |
--- a/etc/cinder/cinder.conf.sample | |
+++ b/etc/cinder/cinder.conf.sample | |
@@ -458,6 +458,14 @@ | |
# | |
+# Options defined in cinder.cmd.volume | |
+# | |
+ | |
+# Backend override of host value. (string value) | |
+#volume_host=<None> | |
+ | |
+ | |
+# | |
# Options defined in cinder.cmd.volume_usage_audit | |
# | |
(.venv)jgriffith@railbender ~/git/cinder.review $ git diff cinder/cmd/volume.py | |
diff --git a/cinder/cmd/volume.py b/cinder/cmd/volume.py | |
index 9eb6193..de14d10 100755 | |
--- a/cinder/cmd/volume.py | |
+++ b/cinder/cmd/volume.py | |
@@ -38,15 +38,16 @@ from cinder.openstack.common import gettextutils | |
gettextutils.install('cinder') | |
# Need to register global_opts | |
-from cinder.common import config # noqa | |
+#from cinder.common import config # noqa | |
from cinder.openstack.common import log as logging | |
from cinder import service | |
from cinder import utils | |
from cinder import version | |
-host_opt = cfg.StrOpt('host', | |
- help='Backend override of host value.') | |
+host_opt = [cfg.StrOpt('volume_host', | |
+ help='Backend override of host value.')] | |
+cfg.CONF.register_cli_opts(host_opt) | |
CONF = cfg.CONF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment