Merge "Use 'segment' instead of 'network' in log"
This commit is contained in:
commit
45255dadd4
|
@ -233,10 +233,10 @@ class SimpleAgentMechanismDriverBase(AgentMechanismDriverBase):
|
|||
network_type = segment[api.NETWORK_TYPE]
|
||||
if network_type not in allowed_network_types:
|
||||
LOG.debug(
|
||||
'Network %(network_id)s is of type %(network_type)s '
|
||||
'Segment %(id)s is of type %(network_type)s '
|
||||
'but agent %(agent)s or mechanism driver only '
|
||||
'support %(allowed_network_types)s.',
|
||||
{'network_id': segment['id'],
|
||||
{'id': segment['id'],
|
||||
'network_type': network_type,
|
||||
'agent': agent['host'],
|
||||
'allowed_network_types': allowed_network_types})
|
||||
|
@ -246,12 +246,12 @@ class SimpleAgentMechanismDriverBase(AgentMechanismDriverBase):
|
|||
physnet = segment[api.PHYSICAL_NETWORK]
|
||||
if not self.physnet_in_mappings(physnet, mappings):
|
||||
LOG.debug(
|
||||
'Network %(network_id)s is connected to physical '
|
||||
'Segment %(id)s is connected to physical '
|
||||
'network %(physnet)s, but agent %(agent)s reported '
|
||||
'physical networks %(mappings)s. '
|
||||
'The physical network must be configured on the '
|
||||
'agent if binding is to succeed.',
|
||||
{'network_id': segment['id'],
|
||||
{'id': segment['id'],
|
||||
'physnet': physnet,
|
||||
'agent': agent['host'],
|
||||
'mappings': mappings})
|
||||
|
|
Loading…
Reference in New Issue