blob: 24aa004433b86c157addb0a7e5735b607b454bde [file] [log] [blame]
Thomas Vachuska13433eb2019-12-02 11:11:13 -08001load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
2
3TOPO_COMMIT = "8866b0a658247683bd4b852839ce91c6ba60f6ac"
4TOPO_SHA = "dc63356c3d34de18b0afdf04cce01f6de83e2b7264de177e55c0595b05dbcd07"
5
6def generate_topo_device():
7 http_archive(
8 name = "com_github_onosproject_onos_topo",
9 urls = ["https://github.com/onosproject/onos-topo/archive/%s.zip" % TOPO_COMMIT],
10 sha256 = TOPO_SHA,
11 strip_prefix = "onos-topo-%s/api" % TOPO_COMMIT,
12 build_file = "//tools/build/bazel:topo_BUILD",
13 )