Update active status message
Align active status message with other OpenStack related charms, ensuring a consistent user experience and aligning with monitoring code checks in amulet functional test helpers. Change-Id: I97324c80e0c5a4ea406c9a53b1bb80a7e4234661 Closes-Bug: 1632095
This commit is contained in:
parent
6c96dde8bd
commit
cea8c5c3d1
|
@ -31,7 +31,7 @@ class OVSODLCharm(charms_openstack.charm.OpenStackCharm):
|
|||
ovs.set_config('host-id', socket.gethostname(),
|
||||
table='external_ids')
|
||||
ovs.set_manager(odl_ovsdb.connection_string())
|
||||
hookenv.status_set('active', 'Open vSwitch configured and ready')
|
||||
hookenv.status_set('active', 'Unit is ready')
|
||||
|
||||
def unconfigure_openvswitch(self, odl_ovsdb):
|
||||
hookenv.log("Unconfiguring OpenvSwitch")
|
||||
|
|
|
@ -75,7 +75,7 @@ class TestOpenStackOVSODLCharm(Helper):
|
|||
])
|
||||
self.get_address_in_network.assert_called_with(mock.ANY, '10.1.1.1')
|
||||
self.status_set.assert_called_with('active',
|
||||
'Open vSwitch configured and ready')
|
||||
'Unit is ready')
|
||||
|
||||
def test_unconfigure_openvswitch(self):
|
||||
odl_ovsdb = mock.MagicMock()
|
||||
|
|
Loading…
Reference in New Issue