aboutsummaryrefslogtreecommitdiffstats
path: root/extras/hs-test/vcl_test.go
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2023-09-02 08:54:21 +0200
committerFlorin Coras <florin.coras@gmail.com>2023-09-04 20:56:14 +0000
commit4b3598e39a5b522a55b4b86fa06a323416108a6b (patch)
tree8266892eee1ef16a5702fccbc00a0be467e96ad1 /extras/hs-test/vcl_test.go
parenta6b1a7d809e746325fe712b9de9ff086e55772dd (diff)
hs-test: log external apps
Type: test Change-Id: Id2b0d408bd46f20b81422506f9db4eb655feddac Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'extras/hs-test/vcl_test.go')
-rw-r--r--extras/hs-test/vcl_test.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/extras/hs-test/vcl_test.go b/extras/hs-test/vcl_test.go
index 109b242ee79..cf4c32ed020 100644
--- a/extras/hs-test/vcl_test.go
+++ b/extras/hs-test/vcl_test.go
@@ -5,6 +5,16 @@ import (
"time"
)
+const vclTemplate = `vcl {
+ app-socket-api %[1]s/var/run/app_ns_sockets/%[2]s
+ app-scope-global
+ app-scope-local
+ namespace-id %[2]s
+ namespace-secret %[2]s
+ use-mq-eventfd
+}
+`
+
func (s *VethsSuite) testVclEcho(proto string) {
port := "12345"
srvVppCont := s.getContainerByName("server-vpp")