openconfig / lemming Goto Github PK
View Code? Open in Web Editor NEWAn OpenConfig reference device implementation
License: Apache License 2.0
An OpenConfig reference device implementation
License: Apache License 2.0
Hey!
Subscribe() requires a target, while the spec says it should not. In 2.2.2.1:
This field is optional for clients.
Commercial implementations do not require a target. Currently, Subscribe()
implementation is delegated to openconfig/gnmi
which requires a target. See openconfig/gnmi#151.
Its very slow because the large amount of generated code and flaky.
@wenovus migrated a number of other projects to use lemming as the fake that they test against, great. Unfortunately, today since the dataplane links against Linux-only libraries, this means that these tests are now broken on OS X targets.
e.g., openconfig/gribigo
tests fail like this:
[4:16] github.com/openconfig/gribigo reconnreset ✔ 10m ⚑
▶ go test -race $(go list ./... | egrep -v "(compliance|cmd|device)")
package github.com/openconfig/gribigo/cmd/rtr
imports github.com/openconfig/lemming
imports github.com/openconfig/lemming/dataplane
imports github.com/openconfig/lemming/dataplane/forwarding
imports github.com/openconfig/lemming/dataplane/forwarding/fwdport/ports
imports github.com/google/gopacket/afpacket: build constraints exclude all Go files in /Users/rjs/go/pkg/mod/github.com/google/[email protected]/afpacket
go: downloading github.com/openconfig/testt v0.0.0-20220311054427-efbb1a32ec07
go: downloading github.com/pmezard/go-difflib v1.0.0
# github.com/openconfig/gribigo/fluent
package github.com/openconfig/gribigo/fluent (test)
imports github.com/openconfig/lemming
imports github.com/openconfig/lemming/dataplane
imports github.com/openconfig/lemming/dataplane/forwarding
imports github.com/openconfig/lemming/dataplane/forwarding/fwdport/ports
imports github.com/google/gopacket/afpacket: build constraints exclude all Go files in /Users/rjs/go/pkg/mod/github.com/google/[email protected]/afpacket
Given that these tests do not use the dataplane, this seems undesirable - and makes lemming unsuitable for being a fake for development for these projects.
Please investigate using build tags or some other solution to fix this :-)
Since they're wrappers to ConfigQuery
, the GoStruct is marshalled using the wrong PreferShadowPath setting. So setting state using a non-leaf doesn't work.
ZAPI is unlikely to change, so we're unlikely to miss many enhancements from upstream. This enables lemming to use more zebra message types that's currently unexported in GoBGP as well as making other improvements.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.