2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-29 13:27:59 +00:00

doc: Move WHY-OVS

This is moved separately due to the sheer number of references to this
file in the codebase.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Signed-off-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
Stephen Finucane 2016-12-08 12:55:28 +00:00 committed by Ben Pfaff
parent e12569bb30
commit 3c8a3b312a
12 changed files with 14 additions and 13 deletions

View File

@ -7,6 +7,7 @@ EXTRA_DIST += \
Documentation/index.rst \ Documentation/index.rst \
Documentation/contents.rst \ Documentation/contents.rst \
Documentation/intro/index.rst \ Documentation/intro/index.rst \
Documentation/intro/why-ovs.rst \
Documentation/intro/install/index.rst \ Documentation/intro/install/index.rst \
Documentation/intro/install/bash-completion.rst \ Documentation/intro/install/bash-completion.rst \
Documentation/intro/install/debian.rst \ Documentation/intro/install/debian.rst \

View File

@ -32,4 +32,5 @@ How to get started with Open vSwitch.
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2
why-ovs
install/index install/index

View File

@ -87,9 +87,9 @@ Q: Why would I use Open vSwitch instead of the Linux bridge?
A: Open vSwitch is specially designed to make it easier to manage VM A: Open vSwitch is specially designed to make it easier to manage VM
network configuration and monitor state spread across many physical hosts network configuration and monitor state spread across many physical hosts
in dynamic virtualized environments. Refer to `WHY-OVS <WHY-OVS.rst>`__ in dynamic virtualized environments. Refer to `WHY-OVS
for a more detailed description of how Open vSwitch relates to the Linux <Documentation/intro/why-ovs.rst>`__ for a more detailed description of how
Bridge. Open vSwitch relates to the Linux Bridge.
Q: How is Open vSwitch related to distributed virtual switches like the VMware Q: How is Open vSwitch related to distributed virtual switches like the VMware
vNetwork distributed switch or the Cisco Nexus 1000V? vNetwork distributed switch or the Cisco Nexus 1000V?

View File

@ -70,8 +70,7 @@ docs = \
CONTRIBUTING.rst \ CONTRIBUTING.rst \
FAQ.rst \ FAQ.rst \
MAINTAINERS.rst \ MAINTAINERS.rst \
README.rst \ README.rst
WHY-OVS.rst
EXTRA_DIST = \ EXTRA_DIST = \
$(docs) \ $(docs) \
NOTICE \ NOTICE \

View File

@ -481,7 +481,7 @@ fi
%{_mandir}/man8/ovs-vswitchd.8* %{_mandir}/man8/ovs-vswitchd.8*
%{_mandir}/man8/ovs-parse-backtrace.8* %{_mandir}/man8/ovs-parse-backtrace.8*
%{_mandir}/man8/ovs-testcontroller.8* %{_mandir}/man8/ovs-testcontroller.8*
%doc COPYING NOTICE README.rst WHY-OVS.rst %doc COPYING NOTICE README.rst
%doc FAQ.rst NEWS rhel/README.RHEL.rst %doc FAQ.rst NEWS rhel/README.RHEL.rst
/var/lib/openvswitch /var/lib/openvswitch
/var/log/openvswitch /var/log/openvswitch

View File

@ -248,7 +248,7 @@ exit 0
/usr/share/openvswitch/scripts/sysconfig.template /usr/share/openvswitch/scripts/sysconfig.template
/usr/share/openvswitch/vswitch.ovsschema /usr/share/openvswitch/vswitch.ovsschema
/usr/share/openvswitch/vtep.ovsschema /usr/share/openvswitch/vtep.ovsschema
%doc COPYING NOTICE README.rst WHY-OVS.rst FAQ.rst NEWS %doc COPYING NOTICE README.rst FAQ.rst NEWS
%doc rhel/README.RHEL.rst %doc rhel/README.RHEL.rst
/var/lib/openvswitch /var/lib/openvswitch
/var/log/openvswitch /var/log/openvswitch

View File

@ -21,7 +21,7 @@ case $srcdir in
/*) ;; /*) ;;
*) srcdir=`pwd`/$srcdir ;; *) srcdir=`pwd`/$srcdir ;;
esac esac
if test ! -e "$srcdir"/WHY-OVS.rst; then if test ! -e "$srcdir"/README.rst; then
echo >&2 'source directory not found, please set $srcdir or run via \"make check-oftest' echo >&2 'source directory not found, please set $srcdir or run via \"make check-oftest'
exit 1 exit 1
fi fi

View File

@ -19,7 +19,7 @@ case $srcdir in
/*) ;; /*) ;;
*) srcdir=`pwd`/$srcdir ;; *) srcdir=`pwd`/$srcdir ;;
esac esac
if test ! -e "$srcdir"/WHY-OVS.rst; then if test ! -e "$srcdir"/README.rst; then
echo >&2 'source directory not found, please set $srcdir or run via \"make check-ryu' echo >&2 'source directory not found, please set $srcdir or run via \"make check-ryu'
exit 1 exit 1
fi fi

View File

@ -223,7 +223,7 @@ if $built; then
case $srcdir in case $srcdir in
'') '')
srcdir=$builddir srcdir=$builddir
if test ! -e "$srcdir"/WHY-OVS.rst; then if test ! -e "$srcdir"/README.rst; then
srcdir=`cd $builddir/.. && pwd` srcdir=`cd $builddir/.. && pwd`
fi fi
;; ;;

View File

@ -24,7 +24,7 @@ ENV = os.environ
HOME = ENV["HOME"] HOME = ENV["HOME"]
PWD = os.getcwd() PWD = os.getcwd()
OVS_SRC = HOME + "/ovs" OVS_SRC = HOME + "/ovs"
if os.path.exists(PWD + "/WHY-OVS.rst"): if os.path.exists(PWD + "/README.rst"):
OVS_SRC = PWD # Use current directory as OVS source tree OVS_SRC = PWD # Use current directory as OVS source tree
RUNDIR = OVS_SRC + "/_run" RUNDIR = OVS_SRC + "/_run"
BUILD_GCC = OVS_SRC + "/_build-gcc" BUILD_GCC = OVS_SRC + "/_build-gcc"

View File

@ -63,8 +63,8 @@ if test ! -e "$sim_builddir"/vswitchd/ovs-vswitchd; then
echo "$sim_builddir/vswitchd/ovs-vswitchd does not exist (need to run \"make\"?)" >&2 echo "$sim_builddir/vswitchd/ovs-vswitchd does not exist (need to run \"make\"?)" >&2
exit 1 exit 1
fi fi
if test ! -e "$sim_srcdir"/WHY-OVS.rst; then if test ! -e "$sim_srcdir"/README.rst; then
echo "$sim_srcdir/WHY-OVS.rst does not exist" >&2 echo "$sim_srcdir/README.rst does not exist" >&2
exit 1 exit 1
fi fi