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

openconfig / ygot
91%
master: 89%

Build:
Build:
LAST BUILD BRANCH: renovate/major-deps
DEFAULT BRANCH: master
Repo Added 19 Aug 2017 03:47AM UTC
Files 84
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

LAST BUILD ON BRANCH v0.5.0
branch: v0.5.0
CHANGE BRANCH
x
Reset
  • v0.5.0
  • 0.6.0
  • 0.7.0
  • MergeDupAnno
  • SetNodeOpt
  • ValueStr
  • annotation-fields-0
  • apb_bug
  • awly_dev
  • build-empty-skip-populated
  • build-fix
  • builderany
  • choice-case-panic
  • compressed_annotate
  • coverage_update
  • debug-185
  • del-old-proto
  • demo-import-names
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/setup-go-6
  • dependabot/go_modules/github.com/golang/glog-1.2.4
  • dependabot/go_modules/github.com/google/go-cmp-0.7.0
  • dependabot/go_modules/github.com/openconfig/gnmi-0.13.0
  • dependabot/go_modules/github.com/openconfig/gnmi-0.14.0
  • dependabot/go_modules/github.com/openconfig/gnmi-0.14.1
  • dependabot/go_modules/github.com/openconfig/goyang-1.6.2
  • dependabot/go_modules/github.com/openconfig/gribi-1.9.0
  • dependabot/go_modules/github.com/spf13/cobra-1.9.1
  • dependabot/go_modules/golang.org/x/net-0.33.0
  • dependabot/go_modules/golang.org/x/net-0.36.0
  • dependabot/go_modules/golang.org/x/net-0.38.0
  • dependabot/go_modules/google.golang.org/grpc-1.68.1
  • dependabot/go_modules/google.golang.org/grpc-1.69.0
  • dependabot/go_modules/google.golang.org/grpc-1.69.2
  • dependabot/go_modules/google.golang.org/grpc-1.69.4
  • dependabot/go_modules/google.golang.org/grpc-1.70.0
  • dependabot/go_modules/google.golang.org/grpc-1.71.0
  • dependabot/go_modules/google.golang.org/grpc-1.71.1
  • dependabot/go_modules/google.golang.org/protobuf-1.36.0
  • dependabot/go_modules/google.golang.org/protobuf-1.36.1
  • dependabot/go_modules/google.golang.org/protobuf-1.36.2
  • dependabot/go_modules/google.golang.org/protobuf-1.36.3
  • dependabot/go_modules/google.golang.org/protobuf-1.36.4
  • dependabot/go_modules/google.golang.org/protobuf-1.36.5
  • dependabot/go_modules/google.golang.org/protobuf-1.36.6
  • dependabot/go_modules/google.golang.org/protobuf-1.36.7
  • dependabot/go_modules/google.golang.org/protobuf-1.36.8
  • diff-enum
  • diff-enum-2
  • diff-enum-3
  • diff-merges
  • diff-opt
  • diffll
  • dplore/updatemod
  • emitjson-novalidate
  • emitjson-threadsafe
  • enum-bug
  • enum-dedup
  • enum-dedup-flag
  • enum-moduledef
  • enum-name
  • enum-notstable
  • enum_debug
  • enumkey
  • enumpkgname
  • errorf-fix
  • etv-nil
  • exclude-state
  • exclude_state_compressed_list
  • experimental-yangproto
  • fake-api
  • field-getters
  • file-split
  • fix-go-master
  • fix-protopkg
  • fix_bug_of_losing_encap_header_details
  • fix_prunebranches
  • generic_protos
  • genutil-coverage
  • get-or-create
  • getnode
  • ghaci
  • go-1.8.x
  • go11
  • godep_update
  • goyang_prefix
  • goyangflg
  • identity-special-chars
  • keyvaluetypecheck
  • leafget
  • leafref_perf
  • leafref_validation
  • less-verbose-errors
  • lint-fix
  • lintfix
  • list-key-mismatch
  • listkey_137
  • listtest
  • log-optional
  • mapvalinsert
  • marshal-annotations
  • master
  • merge-fix
  • mergeoptions
  • modelver
  • node
  • nonptropt
  • npe-pathstrings
  • ostromart_cleanup
  • ostromart_coverage
  • ostromart_coverage_ytypes
  • ostromart_dedup
  • ostromart_dev
  • ostromart_govet
  • ostromart_leafref
  • ostromart_lint
  • ostromart_tests
  • ostromart_union_tests
  • ostromart_validate
  • patch-1
  • pathelem
  • pathschemavalidity
  • pathtranslator-wildcard
  • proto-enum
  • proto-sort-by-type
  • protoannotation
  • protobuf-fakeroot
  • protobuf-fix
  • protobuf_fixes
  • protobuf_getting_started
  • protobuf_single_package
  • protobuf_union_leafref_enum
  • protocplugin-1
  • protopkgname
  • protoyang
  • prune-empty
  • pull-request-demo
  • remove-deepequal
  • rename-overwrite
  • renderperf2
  • renovate/major-deps
  • retrieve-node-track
  • revert-218-protocplugin-1
  • robjs-353
  • robjs-annotations
  • robjs-build-empty-merge-issue
  • robjs-coverage-adjust
  • robjs-coveralls
  • robjs-devel
  • robjs-empty-type
  • robjs-empty-validate
  • robjs-enumtypemap
  • robjs-enumtypemap-access
  • robjs-experimental-tree
  • robjs-fixtests
  • robjs-gnmi-pathelem
  • robjs-json-merge
  • robjs-json-paths
  • robjs-jsonenum-serialisation
  • robjs-leafrefbug
  • robjs-map-merge
  • robjs-mergetwostructs
  • robjs-nil-key
  • robjs-path-restructure
  • robjs-proto-annotation
  • robjs-proto-enum-annotate-gen
  • robjs-proto-enum-naming
  • robjs-proto-namespace
  • robjs-proto-number
  • robjs-proto-unionfix
  • robjs-proto-yangspec
  • robjs-protogen-12
  • robjs-rename-list-entry
  • robjs-structmerge
  • robjs-structmerge-maps
  • robjs-telemetry-eg
  • robjs-testcoverage
  • robjs-unmarshal-protobuf
  • robjs_buildsystem
  • robjs_generated_proto_code
  • robjs_pathstrings
  • robjs_protogen_caller
  • safe-append
  • schema-type
  • schemapath
  • set_leafref
  • set_path_origin
  • stringtotype
  • struct-literal-fix
  • struct-util
  • structdiff
  • structdiff-1
  • structdiff-2
  • structmerge-union
  • testupdate
  • testutil
  • testutil-opt
  • testutil-sub
  • union-key-um
  • unmarshal-annotations
  • unmarshal-empty
  • unmarshal-gnmi
  • unmarshal-ignore-extra
  • unmarshalpanic
  • unzip-schema
  • v0.6.0
  • v0.7.0
  • v0.7.1
  • v0.7.2
  • v0.7.3
  • validate_err
  • validationopts
  • wenbli-PathElemDirectComp
  • wenbli-clean
  • wenbli-dev
  • wenbli-dev-add1.12
  • wenbli-dev-exportAllMappedTypeFields
  • wenbli-dev-fixOldTypo
  • wenbli-dev-remove1.9
  • wenbli-dev-ypathgen
  • wenbli-dev2
  • wenbli-dev3
  • wenbli-leafrefValTreeImpl
  • wenbli-refactor
  • wenbli-refactor2
  • wenbli-ypathgen-childctor
  • ypathgen-dev
  • ywrapper_proto

pending completion
839

push

travis-ci

web-flow
Add handling for partial data tree validation for leafrefs. (#141)

* Add handling for partial data tree validation for leafrefs.

 * (M) ytypes/validate.go
   - Add a configuration struct to the ytypes library that allows
     some parameters relating to validation to be globally set for
     a caller. Particularly, this allows for enabling/disabling
     errors when a leafref points to a target leaf that does not
     exist. This is required for partial schema population..
 * (M) ytypes/leafref.go
 * (M) ytypes/leafref_test.go
   - Add functions to check whether errors should be thrown for
     leafref data errors. If data errors are not to be returned as
     errors, log this error occurring. Add test cases to check this.
 * (M) ytypes/schema_tests/validate_test.go
   - Add a test case that covers ignoring leafref data errors.

* Adopt an explicit API specifying validation options.

* Fix function comments, ensure test coverage for public API.

* Ensure code is gofmt'd.

* Update function comment.

* Add ability for EmitJSON to have validation options specified.

22 of 22 new or added lines in 3 files covered. (100.0%)

7049 of 7783 relevant lines covered (90.57%)

167.84 hits per line

Relevant lines Covered
Build:
Build:
7783 RELEVANT LINES 7049 COVERED LINES
167.84 HITS PER LINE
Source Files on v0.5.0
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
839 v0.5.0 Add handling for partial data tree validation for leafrefs. (#141) * Add handling for partial data tree validation for leafrefs. * (M) ytypes/validate.go - Add a configuration struct to the ytypes library that allows some parameters... push 25 Dec 2017 08:52PM UTC web-flow travis-ci pending completion  
See All Builds (4894)
  • Repo on GitHub
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