set of_node before registring the switch