![]() |
Open Kilda Java Documentation
|
Go to the source code of this file.
Namespaces | |
create-flows-api | |
Variables | |
string | create-flows-api.url = "http://localhost/api/v1/flow" |
dictionary | create-flows-api.headers = {'Content-Type': 'application/json'} |
dictionary | create-flows-api.j_data = {"src_switch":"00:00:00:00:00:00:01:01", "src_port":1, "src_vlan":0, "dst_switch":"00:00:00:00:00:00:03:02", "dst_port":1, "dst_vlan":0, "bandwidth": 2000} |
create-flows-api.result = requests.post(url, json=j_data, headers=headers) | |