summaryrefslogtreecommitdiffstats
path: root/extras/hs-test/netconfig.go
diff options
context:
space:
mode:
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)
}