switch/generic: add node name to node_info data structure