Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/openconfig/pattern-regex-tests
- Owner: openconfig
- License: apache-2.0
- Created: 2020-11-05T20:02:36.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-08T19:25:44.000Z (8 months ago)
- Last Synced: 2024-05-08T20:38:17.790Z (8 months ago)
- Language: Python
- Size: 102 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)