Software Defined Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

QoS Extension: add-limiter

 
Highlighted
Established Member

QoS Extension: add-limiter

hi,

 

how can I create rate limiters on HP2920 using OpenFlow v1.0 and HP VAN SDN 1.21.0?

 

 

Thanks.

2 REPLIES 2
Highlighted
Trusted Contributor

Re: QoS Extension: add-limiter

In SDN Controller REST API document some APIs support “rate” field

For e.g. GET /sdn/v2.0/datapaths/{dpid}/ports/{port id}

And

POST /sdn/v2.0/of/datapaths/{dpid}/meters

Sample request body: { "version": "1.3.0",

"meter": {

"id": 1,

"command": "add",

"flags": [

"kbps",

"burst",

"stats"

],

"bands": [

{

"burst_size": 1000,

"rate": 1500,

"mtype": "drop"

},

{ "burst_size": 1000,

"rate": 100,

"mtype": "dscp_remark",

"prec_level": 1

}

]

}

}

 

Hope this helps.

 

 

 

Highlighted
Occasional Advisor

Re: QoS Extension: add-limiter

Hello KongCM,

 

Rate limiting is supported from OF 1.3 as Meters. Also, please download HP VAN SDN Controller 2.0.

 

As per openflow spec, a meter table consists of meter entries, defining per-flow meters. Per-flow meters enable OpenFlow to implement various simple QoS operations, such as rate-limiting. A meter measures the rate of packets assigned to it and enables controlling the rate of those packets.

 

Flowing request lets you configure meters

 

POST /sdn/v2.0/of/datapaths/{dpid}/meters

 

Sample request body: {

"version": "1.3.0",

"meter": {

"id": 1,

"command": "add",

"flags": [

"kbps",

"burst",

"stats"

],

"bands": [{

"burst_size": 1000,

"rate": 1500,

"mtype": "drop"

},{

"burst_size": 1000,

"rate": 100,

"mtype": "dscp_remark",

"prec_level": 1

}]

}

}

 

Hope this clarifies your question. Please feel free to reply incase you have more questions around the same topic or open a new thread if new  topic.

 

If you feel we have answered your question, please do let us know by marking this response as an 'accepted solution’.

 

Thanks

Sukar

 

HP SDN Team