On Topology Attack of a Smart Grid