setConfiguration

public void setConfiguration(String iface, EthernetConfig config)

Applies a given EthernetConfig to the given interface.

Note: Users must reboot their device for the proxy config to be affective, host config is affective immediately.

Parameters

iface

- the interface where to apply the given config

config

- the config which is to be applied

Throws

if the operation fails