test_dhcp: Use a safer host name
We use "foo_host" as a hostname in a test. Usually "_" is not allowed in a hostname. (See RFC 952 etc) Oslo.config (correctly) complains on that. Closes-Bug: #1689019 Change-Id: Ife817d4f9f904ab1cecb1d8501b94069d5468bdf
This commit is contained in:
parent
db4ea430df
commit
26920b8712
@ -36,7 +36,7 @@ class TestDhcp(functional_base.BaseSudoTestCase):
|
||||
conf.register_opts(common_conf.core_opts)
|
||||
conf.register_opts(dhcp_conf.DHCP_AGENT_OPTS)
|
||||
conf.set_override('interface_driver', 'openvswitch')
|
||||
conf.set_override('host', 'foo_host')
|
||||
conf.set_override('host', 'foo-host')
|
||||
self.conf = conf
|
||||
br_int = self.useFixture(net_helpers.OVSBridgeFixture()).bridge
|
||||
self.conf.set_override('ovs_integration_bridge', br_int.br_name)
|
||||
|
Loading…
Reference in New Issue
Block a user