Method: Telemetry.set_sys_feature
- Defined in:
- lib/cnos-rbapi/telemetry.rb
.set_sys_feature(conn, params) ⇒ Object
parameters:
conn - connection object to the node
params - dictionary that requires the following format of key-value pairs
{
62 63 64 65 66 67 |
# File 'lib/cnos-rbapi/telemetry.rb', line 62 def self.set_sys_feature(conn, params) url = form_url(conn, @@cfg + '/feature') hdr = form_hdr(conn) params = params.to_json Rest.put(conn, url, hdr, params) end |