Masayoshi Kobayashi | f49d6d7 | 2013-03-16 00:54:09 +0000 | [diff] [blame] | 1 | g=TitanFactory.open('/tmp/cassandra.titan') |
Pankaj Berde | 2239f0d | 2013-04-04 09:42:43 -0700 | [diff] [blame^] | 2 | g.V('type','device').each{g.removeVertex(it)} |
Masayoshi Kobayashi | f49d6d7 | 2013-03-16 00:54:09 +0000 | [diff] [blame] | 3 | g.V('type','port').each{g.removeVertex(it)} |
4 | g.V('type','switch').each{g.removeVertex(it)} | ||||
5 | g.V('type','flow').each{g.removeVertex(it)} | ||||
6 | g.V('type','flow_entry').each{g.removeVertex(it)} | ||||
7 | g.stopTransaction(SUCCESS) |