Listing 4: Call to the SDN Controller for configuring the queues at the switch |
curl − XPOST − d’{”portname” : ”Port_Name", "type": "linux − htb|linux-hfsc", "max_rate": "int”, ”queues” : [{”maxrate” : ”int", "min_rate": "int”}, ...]}’http : //SDN_IP:SDNListenPORT/qos/queue/Switch_ID |