topo: remove dead code related to seq_act
topo: rename switch to learn, as switch is a reserved word