The Assimilation Project  based on Assimilation version 1.1.7.1474836767
testpy2neo.py File Reference

Go to the source code of this file.

Namespaces

 testpy2neo
 

Functions

def testpy2neo.node_new (nodetype, nodename, properties={})
 
def testpy2neo.print_row (row)
 

Variables

 testpy2neo.graph_db = neo4j.GraphDatabaseService("http://localhost:7474/db/data/")
 
dictionary testpy2neo.nodetypes = {'Ring': True, 'Drone':True, 'Switch':True, 'NIC': False, 'IPaddr':True, 'MACaddr': True}
 
list testpy2neo.indices = [key for key in nodetypes.keys() if nodetypes[key]]
 
dictionary testpy2neo.indextbl = {}
 
dictionary testpy2neo.nodetypetbl = {}
 
 testpy2neo.nodetypeindex = indextbl['nodetype']
 
 testpy2neo.Ringindex = indextbl['Ring']
 
 testpy2neo.topnode = \
 
 testpy2neo.TheOneRing = node_new('Ring', 'TheOneRing')
 
 testpy2neo.servidor = node_new('Drone', 'servidor')
 
string testpy2neo.query = "START a=node({A}) MATCH a-[r:IS_A]->b RETURN a, r, b"