Extract SwitchLink and HostEntry from GlobalTopo, for convenient of implementation