prefer separate methods vs boolean flags.

ex. addNetworkInterface(network)   addNetworkInterface(network, AccessConfig.TYPE)