Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: google/gnxi
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: lguohan/gnxi
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 5 commits
  • 2 files changed
  • 6 contributors

Commits on Jul 3, 2020

  1. add xpath_target option

    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    lguohan committed Jul 3, 2020
    Configuration menu
    Copy the full SHA
    d01b36e View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2020

  1. Adding support for subscribe mode (#1)

    - Adding support for subscribe mode. The code is mostly based on this patch: #65
    - Adding a new parameter to limit the number of updates, e.g. after a number of streaming updates the client would stop listening. It is convenient for testing purposes.
    - Changing the sample interval unit to millisecond. This is also required for testing cases.
    
    Co-authored-by: Murat Acikgoz <muacikgo@microsoft.com>
    macikgozwa and Murat Acikgoz authored Nov 10, 2020
    Configuration menu
    Copy the full SHA
    53901ab View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2022

  1. [gNMI_client] Add an option to trigger memory spike on gNMI server. (#2)

    What is the motivation of this PR?
    This PR aims to trigger memory spike on gNMI server side without explicitly closing the channels (TCP connections) from gNMI client side.
    
    How did you do it?
    I added an option --trigger_mem_spike in this python client script such that the user can specify this option to trigger memory spike.
    
    How did you test/verify it?
    I verify this on the ptf docker container binding to the lab device str-s6000-acs-11. The command line I used is as following:
    python /gnxi/gnmi_cli_py/py_gnmicli.py -g -t *.*.*.* -p 50051 -m subscribe -x DOCKER_STATS,TEST_STATS -xt STATE_DB -o "ndastreamingservertest" --trigger_mem_spike
    
    Signed-off-by: Yong Zhao <yozhao@microsoft.com>
    yozhao101 authored Jul 14, 2022
    Configuration menu
    Copy the full SHA
    f2b11e4 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2023

  1. Add support for streaming structured events in nightly test (#3)

    What is the motivation of this PR?
    
    This PR adds support for testing structured events as part of nightly test, by adding params: filter_event and event_op_file
    When subscribing to EVENTS/all we will check for filter_event as part of response and then we will add response that contains filter to op_file. Test will then fetch this output file then do parsing logic for yang validation.
    
    How did you do it?
    
    I added options filter_event and event_op_file for supporting nightly tests for event
    
    How did you test/verify it?
    
    I verify this on the ptf docker container binding to the lab device str-s6000-on-6. The command line I used is as following:
    python /gnxi/gnmi_cli_py/py_gnmicli.py -g -t ... -p 50051 -m subscribe -x all -xt EVENTS -o "ndastreamingservertest" --filter_event_regex sonic-events-bgp:bgp-state
    zbud-msft authored Jun 20, 2023
    Configuration menu
    Copy the full SHA
    b85e4ab View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2023

  1. Enhance gnmi_cli_py (#4)

    1. Upgrade grpcio and grpcio-tools
    2. Support origin in gnmi prefix
    3. Print grpc error code
    4. Support PROTO encoding for gnmi get
    5. Ignore / in []
    6. Support proto_bytes for gnmi set
    7. Support multiple path and value for gnmi set, get and subscribe
    ganglyu authored Sep 8, 2023
    Configuration menu
    Copy the full SHA
    3adf8b9 View commit details
    Browse the repository at this point in the history
Loading