Skip to content

Commit 0997e4c

Browse files
author
Alexander Indenbaum
committed
python-common/ceph/deployment/service_spec.py: Allow the cephadm deployment to determine the default addresses
Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
1 parent 62a4247 commit 0997e4c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/python-common/ceph/deployment/service_spec.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1381,7 +1381,7 @@ def __init__(self,
13811381
#: RADOS pool where ceph-nvmeof config data is stored.
13821382
self.pool = pool
13831383
#: ``addr`` address of the nvmeof gateway
1384-
self.addr = addr or "0.0.0.0"
1384+
self.addr = addr
13851385
#: ``port`` port of the nvmeof gateway
13861386
self.port = port or 5500
13871387
#: ``name`` name of the nvmeof gateway
@@ -1447,7 +1447,7 @@ def __init__(self,
14471447
#: ``tgt_cmd_extra_args`` extra arguments for the nvmf_tgt process
14481448
self.tgt_cmd_extra_args = tgt_cmd_extra_args
14491449
#: ``discovery_addr`` address of the discovery service
1450-
self.discovery_addr = discovery_addr or "0.0.0.0"
1450+
self.discovery_addr = discovery_addr
14511451
#: ``discovery_port`` port of the discovery service
14521452
self.discovery_port = discovery_port or 8009
14531453
#: ``log_level`` the nvmeof gateway log level

0 commit comments

Comments
 (0)