GithubHelp home page GithubHelp logo

openconfig / lemming Goto Github PK

View Code? Open in Web Editor NEW
24.0 24.0 6.0 74.15 MB

An OpenConfig reference device implementation

License: Apache License 2.0

Go 97.21% Shell 0.03% Makefile 0.02% Starlark 0.63% C++ 1.83% C 0.28% Dockerfile 0.01%

lemming's People

Contributors

dang100 avatar dependabot[bot] avatar greg-dennis avatar guoshiuan avatar marcushines avatar mhines01 avatar robshakir avatar wenovus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lemming's Issues

Links to Linux-only libraries causing test failures on OS X.

@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 :-)

Create fork of GoBGP's ZAPI library

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.