Method: Telemetry.set_bst_threshold

Defined in:
lib/cnos-rbapi/telemetry.rb

.set_bst_threshold(conn, params) ⇒ Object

parameters:

conn - connection object to the node
params - dictionary that requires the following format of key-value pairs for the realms 
	    given in description
		{
			"realm": "ingress­service­pool",       
			"service­pool" : 0,
			"um­share­threshold" : 70
		}
description - 

return: JSON response


232
233
234
235
236
237
# File 'lib/cnos-rbapi/telemetry.rb', line 232

def self.set_bst_threshold(conn, params)
        url = form_url(conn, @@cfg + '/bst/threshold')
        hdr = form_hdr(conn)
        params = params.to_json
        Rest.put(conn, url, hdr, params)
end