$DIR/http_plugin.so \
$DIR/unittest_plugin.so \
$DIR/quic_plugin.so \
+ $DIR/http_static_plugin.so \
+ $DIR/prom_plugin.so \
/usr/lib/x86_64-linux-gnu/vpp_plugins/
COPY vpp-data/bin/* /usr/bin/
s.assertContains(o, "<http>", "<http> not found in the result!")
}
+func (s *NoTopoSuite) TestHttpStaticProm() {
+ finished := make(chan error, 1)
+ query := "stats.prom"
+ vpp := s.getContainerByName("vpp").vppInstance
+ serverAddress := s.netInterfaces[tapInterfaceName].peer.ip4AddressString()
+ s.log(vpp.vppctl("http static server uri tcp://" + serverAddress + "/80 url-handlers"))
+ s.log(vpp.vppctl("prom enable"))
+ go s.startWget(finished, serverAddress, "80", query, "")
+ err := <-finished
+ s.assertNil(err)
+}
+
func (s *NoTopoSuite) TestNginxAsServer() {
query := "return_ok"
finished := make(chan error, 1)
plugin af_packet_plugin.so { enable }
plugin hs_apps_plugin.so { enable }
plugin http_plugin.so { enable }
+ plugin http_static_plugin.so { enable }
+ plugin prom_plugin.so { enable }
}
logging {