blob: 17250519a152133aee765df919ffd3acc81b0332 [file] [log] [blame]
g=TitanFactory.open('/tmp/cassandra.titan')
g.V('type','device').each{g.removeVertex(it)}
g.V('type','port').each{g.removeVertex(it)}
g.V('type','switch').each{g.removeVertex(it)}
g.V('type','flow').each{g.removeVertex(it)}
g.V('type','flow_entry').each{g.removeVertex(it)}
g.stopTransaction(SUCCESS)