Use a struct-literal for the IPAM config, and combine some of the checks. Also use the Name field as a default, and only construct a scoped name if the given name is empty (instead of the reverse). Signed-off-by: Sebastiaan van Stijn <github@gone.nl>