package main
const (
- singleTopoContainerVpp = "vpp"
- singleTopoContainerNginx = "nginx"
- tapInterfaceName = "htaphost"
+ singleTopoContainerVpp = "vpp"
+ singleTopoContainerNginx = "nginx"
+ tapInterfaceName = "htaphost"
)
type NoTopoSuite struct {
vpp, _ := container.newVppInstance(cpus, sessionConfig)
s.assertNil(vpp.start())
- tapInterface := s.netInterfaces[tapInterfaceName]
+ tapInterface := s.getInterfaceByName(tapInterfaceName)
s.assertNil(vpp.createTap(tapInterface), "failed to create tap interface")
}