Open Kilda Java Documentation
neo4-topology.py File Reference

Go to the source code of this file.

Namespaces

 neo4-topology
 

Variables

string neo4-topology.data = '{"statements":[{"statement":"MATCH (n) RETURN n", "resultDataContents":["graph"]}]}'
 
dictionary neo4-topology.headers = {'Content-type': 'application/json'}
 
tuple neo4-topology.auth = ('neo4j', 'temppass')
 
 neo4-topology.result_switches = requests.post('http://localhost:7474/db/data/transaction/commit', data=data, auth=auth, headers=headers)
 
 neo4-topology.json_network = json.loads(result_switches.text)