Listing 5: Call to the SDN Controller for configuring a flow entry |
curl − XPOST − d’”priority” : 1, ”match” : ”ipv4src” : ”10.0.0.1”, ”ipv4dst” : ”10.0.0.2”, ”actions” : [”type” : ”ENQUE”, ”queueid” : 1, ”port” : 1]...’http : // SDN_IP:SDNListenPORT/qos/rules/Switch_ID |