blob: 17250519a152133aee765df919ffd3acc81b0332 [file] [log] [blame]
Masayoshi Kobayashif49d6d72013-03-16 00:54:09 +00001g=TitanFactory.open('/tmp/cassandra.titan')
Pankaj Berde2239f0d2013-04-04 09:42:43 -07002g.V('type','device').each{g.removeVertex(it)}
Masayoshi Kobayashif49d6d72013-03-16 00:54:09 +00003g.V('type','port').each{g.removeVertex(it)}
4g.V('type','switch').each{g.removeVertex(it)}
5g.V('type','flow').each{g.removeVertex(it)}
6g.V('type','flow_entry').each{g.removeVertex(it)}
7g.stopTransaction(SUCCESS)