Set 0.0.0.0 as default host for Blazar API

This patch sets 0.0.0.0 as default value for the host config option.
This is the aproach used for other OpenStack projects like Heat and
Nova.

Change-Id: Ib356c1c09bee1d6fad7c28ec607166cc0b4db06e
Closes-Bug: #1336856
This commit is contained in:
Pablo Andres Fuente 2014-07-02 13:40:02 -03:00 committed by Ryota MIBU
parent c2591e89fd
commit 1e120b67f0

View File

@ -13,13 +13,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import socket
from oslo_config import cfg
from oslo_log import log as logging
cli_opts = [
cfg.StrOpt('host', default=socket.gethostname(),
cfg.StrOpt('host', default='0.0.0.0',
help='Name of this node. This can be an opaque identifier. '
'It is not necessarily a hostname, FQDN, or IP address. '
'However, the node name must be valid within '