moved netns code from daemon/src to netns at the top level, updated files to account for location change
This commit is contained in:
parent
e4a0069bc3
commit
d799390c4a
32 changed files with 14 additions and 14 deletions
|
@ -16,9 +16,12 @@ endif
|
||||||
if WANT_DAEMON
|
if WANT_DAEMON
|
||||||
DAEMON = scripts daemon
|
DAEMON = scripts daemon
|
||||||
endif
|
endif
|
||||||
|
if WANT_NETNS
|
||||||
|
NETNS = netns
|
||||||
|
endif
|
||||||
|
|
||||||
# keep docs last due to dependencies on binaries
|
# keep docs last due to dependencies on binaries
|
||||||
SUBDIRS = ${GUI} ${DAEMON} ${DOCS}
|
SUBDIRS = ${GUI} ${DAEMON} ${DOCS} ${NETNS}
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I config
|
ACLOCAL_AMFLAGS = -I config
|
||||||
|
|
||||||
|
@ -113,7 +116,7 @@ fpm: clean-local-fpm
|
||||||
-d "libev" \
|
-d "libev" \
|
||||||
-d "net-tools" \
|
-d "net-tools" \
|
||||||
-d "python >= 2.7, python < 3.0" \
|
-d "python >= 2.7, python < 3.0" \
|
||||||
daemon/src/setup.py daemon/setup.py
|
netns/setup.py daemon/setup.py
|
||||||
fpm -s python -t deb \
|
fpm -s python -t deb \
|
||||||
-m "$(CORE_MAINTAINERS)" \
|
-m "$(CORE_MAINTAINERS)" \
|
||||||
--vendor "$(CORE_VENDOR)" \
|
--vendor "$(CORE_VENDOR)" \
|
||||||
|
@ -126,7 +129,7 @@ fpm: clean-local-fpm
|
||||||
-d "libev4" \
|
-d "libev4" \
|
||||||
-d "python (>= 2.7), python (<< 3.0)" \
|
-d "python (>= 2.7), python (<< 3.0)" \
|
||||||
--deb-recommends quagga \
|
--deb-recommends quagga \
|
||||||
daemon/src/setup.py daemon/setup.py
|
netns/setup.py daemon/setup.py
|
||||||
|
|
||||||
.PHONY: clean-local-fpm
|
.PHONY: clean-local-fpm
|
||||||
clean-local-fpm:
|
clean-local-fpm:
|
||||||
|
|
|
@ -23,7 +23,7 @@ CORE_VENDOR="CORE Developers"
|
||||||
#
|
#
|
||||||
# autoconf and automake initialization
|
# autoconf and automake initialization
|
||||||
#
|
#
|
||||||
AC_CONFIG_SRCDIR([daemon/src/version.h.in])
|
AC_CONFIG_SRCDIR([netns/version.h.in])
|
||||||
AC_CONFIG_AUX_DIR(config)
|
AC_CONFIG_AUX_DIR(config)
|
||||||
AC_CONFIG_MACRO_DIR(config)
|
AC_CONFIG_MACRO_DIR(config)
|
||||||
AC_CONFIG_HEADERS([config.h])
|
AC_CONFIG_HEADERS([config.h])
|
||||||
|
@ -331,8 +331,8 @@ AC_CONFIG_FILES([Makefile
|
||||||
doc/man/Makefile
|
doc/man/Makefile
|
||||||
doc/figures/Makefile
|
doc/figures/Makefile
|
||||||
daemon/Makefile
|
daemon/Makefile
|
||||||
daemon/src/Makefile
|
netns/Makefile
|
||||||
daemon/src/version.h
|
netns/version.h
|
||||||
daemon/core/constants.py
|
daemon/core/constants.py
|
||||||
daemon/ns3/Makefile
|
daemon/ns3/Makefile
|
||||||
daemon/ns3/corens3/constants.py
|
daemon/ns3/corens3/constants.py
|
||||||
|
|
|
@ -11,7 +11,7 @@ SETUPPY = setup.py
|
||||||
SETUPPYFLAGS = -v
|
SETUPPYFLAGS = -v
|
||||||
|
|
||||||
if WANT_NETNS
|
if WANT_NETNS
|
||||||
SUBDIRS = src ns3
|
SUBDIRS = ns3
|
||||||
endif
|
endif
|
||||||
|
|
||||||
SBIN_FILES = \
|
SBIN_FILES = \
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
enum34==1.1.6
|
enum34==1.1.6
|
||||||
logzero==1.3.0
|
|
||||||
grpcio==1.0.0
|
|
||||||
grpcio-tools==1.0.0
|
|
||||||
mock==1.3.0
|
mock==1.3.0
|
||||||
pycco==0.5.1
|
pycco==0.5.1
|
||||||
pytest==3.0.7
|
pytest==3.0.7
|
||||||
|
|
|
@ -34,7 +34,7 @@ These are being actively developed as of CORE |version|:
|
||||||
project.
|
project.
|
||||||
* *daemon* - Python modules are found in the :file:`daemon/core` directory, the
|
* *daemon* - Python modules are found in the :file:`daemon/core` directory, the
|
||||||
daemon under :file:`daemon/sbin/core-daemon`, and Python extension modules for
|
daemon under :file:`daemon/sbin/core-daemon`, and Python extension modules for
|
||||||
Linux Network Namespace support are in :file:`daemon/src`.
|
Linux Network Namespace support are in :file:`netns`.
|
||||||
* *doc* - Documentation for the manual lives here in reStructuredText format.
|
* *doc* - Documentation for the manual lives here in reStructuredText format.
|
||||||
* *packaging* - Control files and script for building CORE packages are here.
|
* *packaging* - Control files and script for building CORE packages are here.
|
||||||
|
|
||||||
|
|
|
@ -19,9 +19,9 @@ man_MANS = $(GUI_MANS) $(DAEMON_MANS)
|
||||||
.PHONY: generate-mans
|
.PHONY: generate-mans
|
||||||
generate-mans:
|
generate-mans:
|
||||||
$(HELP2MAN) --source CORE 'sh $(top_srcdir)/gui/core-gui' -o core-gui.1.new
|
$(HELP2MAN) --source CORE 'sh $(top_srcdir)/gui/core-gui' -o core-gui.1.new
|
||||||
$(HELP2MAN) --no-info --source CORE $(top_srcdir)/daemon/src/vnoded -o vnoded.1.new
|
$(HELP2MAN) --no-info --source CORE $(top_srcdir)/netns/vnoded -o vnoded.1.new
|
||||||
$(HELP2MAN) --no-info --source CORE $(top_srcdir)/daemon/src/vcmd -o vcmd.1.new
|
$(HELP2MAN) --no-info --source CORE $(top_srcdir)/netns/vcmd -o vcmd.1.new
|
||||||
$(HELP2MAN) --no-info --source CORE $(top_srcdir)/daemon/src/netns -o netns.1.new
|
$(HELP2MAN) --no-info --source CORE $(top_srcdir)/netns/netns -o netns.1.new
|
||||||
$(HELP2MAN) --version-string=$(CORE_VERSION) --no-info --source CORE $(top_srcdir)/daemon/sbin/core-daemon -o core-daemon.1.new
|
$(HELP2MAN) --version-string=$(CORE_VERSION) --no-info --source CORE $(top_srcdir)/daemon/sbin/core-daemon -o core-daemon.1.new
|
||||||
$(HELP2MAN) --version-string=$(CORE_VERSION) --no-info --source CORE $(top_srcdir)/daemon/sbin/coresendmsg -o coresendmsg.1.new
|
$(HELP2MAN) --version-string=$(CORE_VERSION) --no-info --source CORE $(top_srcdir)/daemon/sbin/coresendmsg -o coresendmsg.1.new
|
||||||
$(HELP2MAN) --version-string=$(CORE_VERSION) --no-info --source CORE $(top_srcdir)/daemon/sbin/core-cleanup -o core-cleanup.1.new
|
$(HELP2MAN) --version-string=$(CORE_VERSION) --no-info --source CORE $(top_srcdir)/daemon/sbin/core-cleanup -o core-cleanup.1.new
|
||||||
|
|
0
daemon/src/.gitignore → netns/.gitignore
vendored
0
daemon/src/.gitignore → netns/.gitignore
vendored
Loading…
Reference in a new issue