commit | 7cc19cb1798381af18dfda9c4f7f7fb592dad23d | [log] [tgz] |
---|---|---|
author | Pavlin Radoslavov <pavlin@onlab.us> | Thu Apr 04 04:00:03 2013 +0000 |
committer | Pavlin Radoslavov <pavlin@onlab.us> | Thu Apr 04 04:00:03 2013 +0000 |
tree | c9b068f06c3747361431982dde0c2292ba14ea88 | |
parent | 5ed84611d7229518142629e36f5e3f60779cc035 [diff] [blame] |
db check scripts
diff --git a/scripts/check-db-clean b/scripts/check-db-clean new file mode 100644 index 0000000..e49d267 --- /dev/null +++ b/scripts/check-db-clean
@@ -0,0 +1,6 @@ +g = TitanFactory.open('cassandra.local') +g.stopTransaction(SUCCESS); +g.V('type', 'port').each{println it.type}; +g.V('type', 'switch').each{println it.type}; +g.V('type', 'flow').each{println it.type}; +g.V('type', 'flow_entry').each{println it.type};