Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/openconfig/pattern-regex-tests

Regular Expression Tests for OpenConfig Models
https://github.com/openconfig/pattern-regex-tests

Last synced: about 2 months ago
JSON representation

Regular Expression Tests for OpenConfig Models

Awesome Lists containing this project

README

        

# Pattern Statement Tests for OpenConfig YANG models

Tests [pattern statement](https://tools.ietf.org/html/rfc7950#section-9.4.5)
using a [pyang](https://github.com/mbj4668/pyang) plugin and
[oc-ext:posix-pattern](https://github.com/openconfig/public/blob/master/release/models/openconfig-extensions.yang#L114)
using [goyang](https://github.com/openconfig/goyang).

## Demo CI Workflow

There is a demo CI workflow that runs on Pull Requests. They are used to demo
the result of running the tests on the current YANG models. If they cause an
expected test failure (perhaps because you added an uncaught corner case), it
will not block merge and a minor version increment will be given.

## Releases

Releases are synchronized with the current OpenConfig YANG models. If new
breaking tests are added (e.g. test cases handled incorrectly by a current
pattern regex), then the minor version must be incremented.

At this time, major version updates are not anticipated, but could occur as a
result of major changes to the repository.

--------------------------------------------------------------------------------

[OpenConfig YANG models](https://github.com/openconfig/public/blob/master/README.md)