def init_node_states(nids, base_template):
    """
    Initializes and returns the node state structure to the state the test
    nodes will be in after we reboot them into the base template
    """
    return { nid: { 
                    "motd_template_name": None,
                    "power": "off",
                    "boot_template_name": base_template } 
             for nid in nids }