| func (s *VethsSuite) TestVppEchoQuic() { |
| // udp echo currently broken in vpp, skipping |
| func (s *VethsSuite) SkipTestVppEchoUdp() { |
| func (s *VethsSuite) TestVppEchoTcp() { |
| func (s *VethsSuite) testVppEcho(proto string) { |
| serverVethAddress := s.netInterfaces[serverInterfaceName].ip4AddressString() |
| uri := proto + "://" + serverVethAddress + "/12344" |
| echoSrvContainer := s.getContainerByName("server-app") |
| serverCommand := "vpp_echo server TX=RX" + |
| " socket-name " + echoSrvContainer.getContainerWorkDir() + "/var/run/app_ns_sockets/default" + |
| echoSrvContainer.execServer(serverCommand) |
| echoClnContainer := s.getContainerByName("client-app") |
| clientCommand := "vpp_echo client" + |
| " socket-name " + echoClnContainer.getContainerWorkDir() + "/var/run/app_ns_sockets/default" + |
| " use-app-socket-api uri " + uri |
| o := echoClnContainer.exec(clientCommand) |