![]() |
Open Kilda Java Documentation
|
Variables | |
string | url = "http://localhost/api/v1/flow" |
dictionary | headers = {'Content-Type': 'application/json'} |
dictionary | 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} |
result = requests.post(url, json=j_data, headers=headers) | |
dictionary create-flows-api.headers = {'Content-Type': 'application/json'} |
Definition at line 26 of file create-flows-api.py.
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} |
Definition at line 27 of file create-flows-api.py.
Definition at line 28 of file create-flows-api.py.
string create-flows-api.url = "http://localhost/api/v1/flow" |
Definition at line 25 of file create-flows-api.py.