# File lib/cobbler/network_interface.rb, line 41 def bundle_for_saving(which) result = Hash.new result["macaddress-intf#{which}"] = mac_address if mac_address result["ipaddress-intf#{which}"] = ip_address if ip_address result["hostname-intf#{which}"] = hostname if hostname result["virtbridge-intf#{which}"] = virt_bridge if virt_bridge result["dhcptag-intf#{which}"] = dhcp_tag if dhcp_tag result["subnet-intf#{which}"] = subnet if subnet result["gateway-intf#{which}"] = gateway if gateway return result end