Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tejaskumark
Copy link
Contributor

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

@codecov-io
Copy link

codecov-io commented Jan 25, 2019

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.

@tejaskumark tejaskumark changed the title Update gnmi_set.go to support leaf list node update operation Update gnmi_set.go to support leaf list node update operation and changes for json replace usning py_gnmicli.py(currently it is broken) Jan 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants