The code is correct. The flag is used as an override so that one can have heterogeneous nodes where the public_interface is different across nodes. For example:
Node 1:
public_interface=eth0
Node 2:
public_interface=eth1
If you want to use the interface from the database do not set public_interface. That is why it defaults to None.
The code is correct. The flag is used as an override so that one can have heterogeneous nodes where the public_interface is different across nodes. For example:
Node 1: interface= eth0
public_
Node 2: interface= eth1
public_
If you want to use the interface from the database do not set public_interface. That is why it defaults to None.