Open Kilda Java Documentation
neo4-topology Namespace Reference

Variables

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

Variable Documentation

◆ auth

tuple neo4-topology.auth = ('neo4j', 'temppass')

Definition at line 23 of file neo4-topology.py.

◆ data

string neo4-topology.data = '{"statements":[{"statement":"MATCH (n) RETURN n", "resultDataContents":["graph"]}]}'

Definition at line 21 of file neo4-topology.py.

◆ headers

dictionary neo4-topology.headers = {'Content-type': 'application/json'}

Definition at line 22 of file neo4-topology.py.

◆ json_network

neo4-topology.json_network = json.loads(result_switches.text)

Definition at line 25 of file neo4-topology.py.

◆ result_switches

neo4-topology.result_switches = requests.post('http://localhost:7474/db/data/transaction/commit', data=data, auth=auth, headers=headers)

Definition at line 24 of file neo4-topology.py.