emulates a layer 2 switch.
-
PUT <base_uri>/settings/default_hard_timer
Here, <base_uri> is http://<hostname>:10080/systemmanager/components/learning_switch such as http://localhost:10080/systemmanager/components/learning_switch
get Object property.
- Body : none
- Status Code : 200
- Body : ObjectProperty
update Object property.
- Body : ObjectProperty
- Status Code : 200
- Body : ObjectProperty
get FDB entry.
- Body : none
- Status Code : 200
- Body : FDB
key | value |
---|---|
mac | ["node_id" : <string> , "port_id" : <string> ] |
{
"01:02:03:04:05:06": [
"node_id" : "node1",
"port_id" : "port1"
],
"0A:0B:0C:0D:0E:0F": [
"node_id" : "node2",
"port_id" : "port1"
],
…
}
delete all FDB (Initialize FDB)
- Body : none
- Status Code : 200
- Body : none
delete FDB entry.
mac delimiter(Colon) is not used.
- Body : none
- Status Code : 200
- Body : none
get the flow "idle timeout"
- Body : none
- Status Code : 200
- Body : <integer>
set the flow "idle timeout"
- Body : <integer>
- Status Code : 200
- Body : <integer>
get the flow "hard timeout"
- Body : none
- Status Code : 200
- Body : <integer>
set the flow "hard timeout"
- Body : <integer>
- Status Code : 200
- Body : <integer>