• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openconfig / ygnmi / 17992750012
4%

Build:
DEFAULT BRANCH: main
Ran 24 Sep 2025 11:58PM UTC
Jobs 1
Files 55
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Sep 2025 11:57PM UTC coverage: 5.235% (+0.03%) from 5.203%
17992750012

push

github

web-flow
Allow more control over gnmi set request marshalling (#157)

* Allow more control over gnmi set request marshalling

This patch extends the current behavior to populate the gnmi set request
in order to allow more control over the request payload.

1. A new `WithAppendModuleName` option is added that allows to toggle
   the procedure of adding the YANG module name to the respective
   fields, which is redundant for systems that will automatically infer
   the module name via other means.
2. The `WithEncoding` option is respected when set to json encoding.
   Previously the typed value was marshalled by default as json_ietf,
   while certain platform such as Cisco NX-OS only support json
   enconding and therefore expect all request to be encoded as such.
   With this option, it's now possible to encode request to json if
   desired.

All changes mentioned above do not alter the current behavior. They
simply allow for more flexibility when used explicitly by providing
the respective options.

17 of 19 new or added lines in 2 files covered. (89.47%)

2313 of 44184 relevant lines covered (5.23%)

0.06 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
84.05
-0.16% ygnmi/gnmi.go
Jobs
ID Job ID Ran Files Coverage
1 17992750012.1 24 Sep 2025 11:58PM UTC 55
5.23
GitHub Action Run
Source Files on build 17992750012
  • Tree
  • List 55
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 646562b5 on github
  • Prev Build on main (#17854504668)
  • Next Build on main (#18022539086)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc