[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT/APP-HTTPREPLY 1/3] kraft: Initial commit for kraft support.
Signed-off-by: Alexander Jung <a.jung@xxxxxxxxxxx> --- Config.uk | 15 --------------- MAINTAINERS.md | 1 + Makefile | 9 --------- README.md | 13 +++++++++---- kraft.yaml | 36 ++++++++++++++++++++++++++++++++++++ 5 files changed, 46 insertions(+), 28 deletions(-) delete mode 100644 Config.uk delete mode 100644 Makefile create mode 100644 kraft.yaml diff --git a/Config.uk b/Config.uk deleted file mode 100644 index 4d4d8f1..0000000 --- a/Config.uk +++ /dev/null @@ -1,15 +0,0 @@ -### Invisible option for dependencies -config APPHTTPREPLY_DEPENDENCIES - bool - default y - select LIBNOLIBC if !HAVE_LIBC - select LIBLWIP - select LWIP_UKNETDEV - select LWIP_TCP - select LWIP_THREADS - select LWIP_SOCKET - select LWIP_AUTOIFACE - select LWIP_IPV4 - select LWIP_DHCP - select LIBUKSCHED - select LIBUKSCHEDCOOP diff --git a/MAINTAINERS.md b/MAINTAINERS.md index 95eda25..6795509 100644 --- a/MAINTAINERS.md +++ b/MAINTAINERS.md @@ -6,5 +6,6 @@ the main Unikraft repository. HTTPREPLY-UNIKRAFT M: Simon Kuenzer <simon.kuenzer@xxxxxxxxx> + M: Alexander Jung <a.jung@xxxxxxxxxxx> L: minios-devel@xxxxxxxxxxxxx F: * diff --git a/Makefile b/Makefile deleted file mode 100644 index b13f159..0000000 --- a/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -UK_ROOT ?= $(PWD)/../../unikraft -UK_LIBS ?= $(PWD)/../../libs -LIBS := $(UK_LIBS)/lwip - -all: - @$(MAKE) -C $(UK_ROOT) A=$(PWD) L=$(LIBS) - -$(MAKECMDGOALS): - @$(MAKE) -C $(UK_ROOT) A=$(PWD) L=$(LIBS) $(MAKECMDGOALS) diff --git a/README.md b/README.md index 1149dc5..0159f07 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ -"HTTPReply"-Example for Unikraft -================================ +# HTTP reply on Unikraft -Please refer to the `README.md` as well as the documentation in the `doc/` -subdirectory of the main unikraft repository. +To build and run this application please use the `kraft` script: + + pip3 install git+https://github.com/unikraft/kraft.git + mkdir my-http-replier && cd my-http-replier + kraft up -p PLATFORM -m ARCHITECTURE -a httpreply my-http-replier + +For more information about `kraft` type ```kraft -h``` or read the +[documentation](http://docs.unikraft.org). diff --git a/kraft.yaml b/kraft.yaml new file mode 100644 index 0000000..a48dabc --- /dev/null +++ b/kraft.yaml @@ -0,0 +1,36 @@ +specification: '0.4' + +unikraft: + version: '0.4' + kconfig: + - CONFIG_LIBNOLIBC=y + - CONFIG_LIBUKSCHED=y + - CONFIG_LIBUKSCHEDCOOP=y + +architectures: + x86_64: true + +platforms: + linuxu: + kconfig: + - CONFIG_LINUXU_DEFAULT_HEAPMB=4 + kvm: true + +run: + networks: + net0: + pre_up: kraft-net --with-dnsmasq up + pre_down: kraft-net --with-dnsmasq down + +libraries: + lwip: + version: '0.4' + kconfig: + - CONFIG_LWIP_UKNETDEV=y + - CONFIG_LWIP_TCP=y + - CONFIG_LWIP_THREADS=y + - CONFIG_LWIP_SOCKET=y + - CONFIG_LWIP_AUTOIFACE=y + - CONFIG_LWIP_IPV4=y + - CONFIG_LWIP_DHCP=y + - CONFIG_LWIP_SOCKET_PPOLL=n -- 2.24.1 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |