aboutsummaryrefslogtreecommitdiffstats
path: root/extras/hs-test/netconfig.go
diff options
context:
space:
mode:
authorMaros Ondrejicka <mondreji@cisco.com>2023-02-14 12:56:49 +0100
committerMaros Ondrejicka <mondreji@cisco.com>2023-02-14 12:56:49 +0100
commit7d7ab1008a0f13a464e7f4c3628b48832172d0b3 (patch)
tree2022c53dce9275357974e2bfff119e573e1ff87e /extras/hs-test/netconfig.go
parent590a82c237337f560cc3d5beac47a235c5e97eac (diff)
hs-test: clean-up obsolete code
Type: test Signed-off-by: Maros Ondrejicka <mondreji@cisco.com> Change-Id: I52cd825f903e41c35f6c4a9db71f00dbedbb8680
Diffstat (limited to 'extras/hs-test/netconfig.go')
-rw-r--r--extras/hs-test/netconfig.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/extras/hs-test/netconfig.go b/extras/hs-test/netconfig.go
index d94b3269889..5b199fd12a7 100644
--- a/extras/hs-test/netconfig.go
+++ b/extras/hs-test/netconfig.go
@@ -252,18 +252,6 @@ func DelBridge(brName, ns string) error {
return nil
}
-func configureBridge(dev NetDevConfig) error {
- var ifs []string
- for _, v := range dev["interfaces"].([]interface{}) {
- ifs = append(ifs, v.(string))
- }
- return AddBridge(dev["name"].(string), ifs, dev["netns"].(string))
-}
-
-func configureTap(dev NetDevConfig) error {
- return AddTap(dev["name"].(string), dev["ip4"].(string))
-}
-
func SetDevUp(dev, ns string) error {
return setDevUpDown(dev, ns, true)
}