commit | 2239f0dabe88a733af62c34e638f3a6f601342ad | [log] [tgz] |
---|---|---|
author | Pankaj Berde <pankaj@onlab.us> | Thu Apr 04 09:42:43 2013 -0700 |
committer | Pankaj Berde <pankaj@onlab.us> | Thu Apr 04 09:42:43 2013 -0700 |
tree | 723189df6476eaf02289666cc3cfc6c7b1617998 | |
parent | 46c759fe211108798b28980f977c55669c5829ec [diff] [blame] |
migrate to Titan 0.3.0
diff --git a/scripts/cleanup-onos-db b/scripts/cleanup-onos-db index 8949fea..1725051 100644 --- a/scripts/cleanup-onos-db +++ b/scripts/cleanup-onos-db
@@ -1,4 +1,5 @@ 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)}