Skip to content

Commit

Permalink
testing: rename "router_newbenchmark" to "router_benchmark" (#4455)
Browse files Browse the repository at this point in the history
Since, the original "router_benchmark" has been deleted the "new" prefix is
no longer necessary.
  • Loading branch information
jiceatscion authored Dec 7, 2023
1 parent ebc4bd9 commit f338000
Show file tree
Hide file tree
Showing 16 changed files with 14 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ exports_files([

args = [
"--executable",
"brload:$(location //acceptance/router_newbenchmark/brload:brload)",
"brload:$(location //acceptance/router_benchmark/brload:brload)",
"--container-loader=posix-router:latest#$(location //docker:posix_router)",
]

data = [
":conf",
"//docker:posix_router",
"//acceptance/router_newbenchmark/brload:brload",
"//acceptance/router_benchmark/brload:brload",
]

raw_test(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ load("//:scion.bzl", "scion_go_binary")
go_library(
name = "go_default_library",
srcs = ["main.go"],
importpath = "github.com/scionproto/scion/acceptance/router_newbenchmark/brload",
importpath = "github.com/scionproto/scion/acceptance/router_benchmark/brload",
visibility = ["//visibility:private"],
deps = [
"//acceptance/router_newbenchmark/cases:go_default_library",
"//acceptance/router_benchmark/cases:go_default_library",
"//pkg/log:go_default_library",
"//pkg/private/serrors:go_default_library",
"//pkg/scrypto:go_default_library",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
"github.com/google/gopacket/layers"
"github.com/spf13/cobra"

"github.com/scionproto/scion/acceptance/router_newbenchmark/cases"
"github.com/scionproto/scion/acceptance/router_benchmark/cases"
"github.com/scionproto/scion/pkg/log"
"github.com/scionproto/scion/pkg/private/serrors"
"github.com/scionproto/scion/pkg/scrypto"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ go_library(
"out_transit.go",
"topo.go",
],
importpath = "github.com/scionproto/scion/acceptance/router_newbenchmark/cases",
importpath = "github.com/scionproto/scion/acceptance/router_benchmark/cases",
visibility = [
"//acceptance/router_newbenchmark:__pkg__",
"//acceptance/router_newbenchmark:__subpackages__",
"//acceptance/router_benchmark:__subpackages__",
],
deps = [
"//pkg/addr:go_default_library",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/scionproto/scion/pkg/slayers/path/scion"
)

// Topology (see accept/router_newbenchmark/conf/topology.json)
// Topology (see accept/router_benchmark/conf/topology.json)
// AS2 (br2) ---+== (br1a) AS1 (br1b) ---- (br4) AS4
// |
// AS3 (br3) ---+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/scionproto/scion/pkg/slayers/path/scion"
)

// Topology (see accept/router_newbenchmark/conf/topology.json)
// Topology (see accept/router_benchmark/conf/topology.json)
// AS2 (br2) ---+== (br1a) AS1 (br1b) ---- (br4) AS4
// |
// AS3 (br3) ---+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/scionproto/scion/pkg/slayers/path/scion"
)

// Topology (see accept/router_newbenchmark/conf/topology.json)
// Topology (see accept/router_benchmark/conf/topology.json)
// AS2 (br2) ---+== (br1a) AS1 (br1b) ---- (br4) AS4
// |
// AS3 (br3) ---+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/scionproto/scion/pkg/slayers/path/scion"
)

// Topology (see accept/router_newbenchmark/conf/topology.json)
// Topology (see accept/router_benchmark/conf/topology.json)
// AS2 (br2) ---+== (br1a) AS1 (br1b) ---- (br4) AS4
// |
// AS3 (br3) ---+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/scionproto/scion/pkg/slayers/path/scion"
)

// Topology (see accept/router_newbenchmark/conf/topology.json)
// Topology (see accept/router_benchmark/conf/topology.json)
// AS2 (br2) ---+== (br1a) AS1 (br1b) ---- (br4) AS4
// |
// AS3 (br3) ---+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"github.com/scionproto/scion/pkg/scrypto"
)

// Topology (see accept/router_newbenchmark/conf/topology.json)
// Topology (see accept/router_benchmark/conf/topology.json)
// AS2 (br2) ---+== (br1a) AS1 (br1b) ---- (br4) AS4
// |
// AS3 (br3) ---+
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def setup_prepare(self):
super().setup_prepare()

# get the config where the router can find it.
shutil.copytree("acceptance/router_newbenchmark/conf/", self.artifacts / "conf")
shutil.copytree("acceptance/router_benchmark/conf/", self.artifacts / "conf")

# We need a custom network so can create veth interfaces of our own chosing.
docker("network", "create", "-d", "bridge", "benchmark")
Expand Down

0 comments on commit f338000

Please sign in to comment.