Refresh the interface objects if DHCP mode changes

Create the ipaddress objects for the ethernet interface
whose DHCP is enabled.

Resolves openbmc/openbmc#1295

Change-Id: Id5ad35f1d51f2bf80c4e2b573e7bd38489370411
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
3 files changed