Skip to content
Snippets Groups Projects
Select Git revision
  • abd0fe0b5581bc95ccdec113a60827ace1a0d842
  • master default protected
  • renovate/configure
  • 2-create-ospf-example
  • feature/isis
  • migrate-to-github-actions
  • aspath/convenience
  • hashroute/public
  • cmd/rismirror
  • riscli/vrf
  • fix/bmp_down
  • ris/logging
  • fix/ris_race
  • fix/bmp_metrics
  • please-go-vet
  • fix/lock_copy
  • fix/dedup_mem
  • add-get-routers-rpc
  • feature/bgp_md5
  • is-is/srv
  • feature/ris/lpm_any
  • v0.0.3-pre4
  • v0.0.3-pre3
  • v0.0.3-pre2
  • v0.0.3-pre1
  • v0.0.2-pre9
  • v0.0.2-pre8
  • v0.0.2-pre7
  • v0.0.2-pre6
  • v0.0.2-pre5
  • v0.0.2-pre4
  • v0.0.2-pre3
  • v0.0.2-pre2
  • v0.0.2-pre1
  • v0.0.1-pre10
  • v0.0.1-pre9
  • v0.0.1-pre7
  • v0.0.1-pre8
  • v0.0.1-pre6
  • v0.0.1-pre4
  • v0.0.1-pre5
41 results

bio-rd

  • Open with
  • Download source code
  • Your workspaces

      A workspace is a virtual sandbox environment for your code in GitLab.

      No agents available to create workspaces. Please consult Workspaces documentation for troubleshooting.

  • user avatar
    Oliver Herms authored
    abd0fe0b
    History

    bio-rd

    A re-implementation of BGP, IS-IS and OSPF in go. We value respect and robustness!

    Build Status Coverage Status Go ReportCard Go Doc

    Building

    We use Bazel to build bio-rd.

    Build

    bazel build //:bio-rd
    bazel-bin/linux_amd64_stripped/bio-rd -arguments go -here

    or

    bazel run //:bio-rd -- -arguments go -here

    Run Tests

    bazel test //...

    Update Bazel BUILD files

    To regenerate BUILD files (for both the project and vendored libraries), you will need to run the following:

    bazel run //:gazelle -- update

    Be sure to commit the changes.

    Update vendor/dependencies

    build dep

    bazel build //vendor/github.com/golang/dep/cmd/dep

    Update vendor/add dependencies

    bazel-bin/vendor/github.com/golang/dep/cmd/dep/linux_amd64_stripped/dep ensure

    dep of dep breaks gazelle. Therefore execute the following commands after updating Gopkg.toml

    rm -rf vendor/github.com/golang/dep/cmd/dep/testdata
    rm -rf vendor/github.com/golang/dep/internal/fs/testdata/symlinks/dir-symlink