Adding support for setting current dynamic IP to static

Fixed issue: If the desired IP address is already assigned to the target node via dhcp, the resource
does not apply the change.