Implement bridge_device for bridged VNIs
Required due to #64. Bridged networks were being created on top of a vLAN if the Cluster network was a vLAN device, rather than being created on the underlying device. This came from a previous revision of the cluster architecture guidelines where Cluster was supposed to be a raw device rather than a vLAN. This fixed the problem by implementing a configuration field for a "bridge_device", a NIC device that can then have the bridged vLANs created on top of it. Fixes #64
This commit is contained in:
@ -200,6 +200,7 @@ def readConfig(pvcd_config_file, myhostname):
|
||||
'metadata_postgresql_dbname': o_config['pvc']['coordinator']['metadata']['database']['name'],
|
||||
'metadata_postgresql_user': o_config['pvc']['coordinator']['metadata']['database']['user'],
|
||||
'metadata_postgresql_password': o_config['pvc']['coordinator']['metadata']['database']['pass'],
|
||||
'bridge_dev': o_config['pvc']['system']['configuration']['networking']['bridge_device'],
|
||||
'vni_dev': o_config['pvc']['system']['configuration']['networking']['cluster']['device'],
|
||||
'vni_mtu': o_config['pvc']['system']['configuration']['networking']['cluster']['mtu'],
|
||||
'vni_dev_ip': o_config['pvc']['system']['configuration']['networking']['cluster']['address'],
|
||||
|
Reference in New Issue
Block a user