Check if a bridge with name br-int exists
br-int is the name reserved for the ovs bridge connecting the instances to the hypervisors. Names of ovs-bridges deployed by tripleo should not conflict with this. Change-Id: I5a8c1ecbf6dac4de5d6348f6c5e055958cd5f553
This commit is contained in:
parent
1f2ac3528f
commit
1069c380c3
|
@ -203,6 +203,11 @@ def check_nic_configs(path, nic_data):
|
|||
'1 interface or 1 bond for bridge {}'
|
||||
'of resource {} in {}'.format(
|
||||
bridge['name'], name, path))
|
||||
# check if the bridge has name br-int
|
||||
if bridge['name'] == 'br-int':
|
||||
errors.append(
|
||||
'br-int bridge name is reserved for '
|
||||
'integration bridge')
|
||||
return errors
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue