From ffad890961b7a5809ba08b4ab1c54001d8fd06d3 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Thu, 30 Jan 2020 21:18:39 +0100 Subject: misc: move configs to extras/configs Type: refactor Change-Id: I64665b290e2c42bbd9b0e877e9e4b028090b0ede Signed-off-by: Damjan Marion --- extras/configs/http/sample.md | 82 +++++++++++++++++++++++++++++++++++++++++ extras/configs/http/setup.http | 7 ++++ extras/configs/http/startup.cfg | 9 +++++ 3 files changed, 98 insertions(+) create mode 100644 extras/configs/http/sample.md create mode 100644 extras/configs/http/setup.http create mode 100644 extras/configs/http/startup.cfg (limited to 'extras/configs/http') diff --git a/extras/configs/http/sample.md b/extras/configs/http/sample.md new file mode 100644 index 00000000000..8451cedd8a5 --- /dev/null +++ b/extras/configs/http/sample.md @@ -0,0 +1,82 @@ +--- +title: Home +--- + +# VPP Status + +### Here's the version... + +VPP version:
+ +build date:
+ +
+ +### Show Interface + +

Enter the interface name, then click "Submit" to display interface stats:

+ + + + +
+ +{{< rawhtml >}} + + + +{{< /rawhtml >}} diff --git a/extras/configs/http/setup.http b/extras/configs/http/setup.http new file mode 100644 index 00000000000..78b7a2f19e8 --- /dev/null +++ b/extras/configs/http/setup.http @@ -0,0 +1,7 @@ +set term pag off +create tap host-if-name lstack host-ip4-addr 192.168.10.2/24 +set int ip address tap0 192.168.10.1/24 +set int state tap0 up + +http static server www-root uri tcp://0.0.0.0/1234 cache-size 10m fifo-size 2048 +builtinurl enable diff --git a/extras/configs/http/startup.cfg b/extras/configs/http/startup.cfg new file mode 100644 index 00000000000..b2a50d3412a --- /dev/null +++ b/extras/configs/http/startup.cfg @@ -0,0 +1,9 @@ +unix { + interactive + poll-sleep-usec 500 + startup-config /scratch/vpp-http/extras/http/setup.http +} + +tls { + use-test-cert-in-ca +} -- cgit 1.2.3-korg