gnxi icon indicating copy to clipboard operation
gnxi copied to clipboard

Update gnmi_set.go to support leaf list node update operation and changes for json replace usning py_gnmicli.py(currently it is broken)

Open tejaskumark opened this issue 6 years ago • 1 comments

I know commit is not as per standard, but still we can check for review. You can update leaf list node using setting below flag,

Set command line argument flag "-leaf_list_node true"(default false) to set leaf list node values. For Ex.

go run gnmi_set.go -insecure -username admin -password admin -target_name testap -target_addr 10.86.64.138:8080 -update /access-points/access-point[hostname=testap]/radios/radio[id=1]/config/allowed-channels:1,6 -leaf_list_node true

go run gnmi_set.go -insecure -username admin -password admin -target_name testap -target_addr 10.86.64.138:8080 -update /access-points/access-point[hostname=testap]/ssids/ssid[name=11-google]/config/supported-data-rates:RATE_48MB,RATE_36MB,RATE_54MB -leaf_list_node true

tejaskumark avatar Jan 25 '19 07:01 tejaskumark

Codecov Report

Merging #47 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #47   +/-   ##
=======================================
  Coverage   52.79%   52.79%           
=======================================
  Files          10       10           
  Lines        1197     1197           
=======================================
  Hits          632      632           
  Misses        482      482           
  Partials       83       83

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 238bbd8...dc45ec7. Read the comment docs.

codecov-io avatar Jan 25 '19 07:01 codecov-io