Skip to content

Commit

Permalink
ovn-nbctl: Move ovn-nbctl to utilities directory.
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Wang <[email protected]>
Acked-by: Russell Bryant <[email protected]>
  • Loading branch information
yew011 committed Aug 8, 2015
1 parent 62fdd81 commit 5b5c922
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 15 deletions.
2 changes: 0 additions & 2 deletions ovn/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,3 @@
/ovn-sb.5
/ovn-sb.gv
/ovn-sb.pic
/ovn-nbctl
/ovn-nbctl.8
11 changes: 3 additions & 8 deletions ovn/automake.mk
Original file line number Diff line number Diff line change
Expand Up @@ -66,20 +66,15 @@ ovn/ovn-nb.5: \
$(srcdir)/ovn/ovn-nb.xml > $@.tmp && \
mv $@.tmp $@

man_MANS += ovn/ovn-architecture.7 ovn/ovn-nbctl.8
EXTRA_DIST += ovn/ovn-architecture.7.xml ovn/ovn-nbctl.8.xml
DISTCLEANFILES += ovn/ovn-nbctl.8 ovn/ovn-architecture.7
man_MANS += ovn/ovn-architecture.7
EXTRA_DIST += ovn/ovn-architecture.7.xml
DISTCLEANFILES += ovn/ovn-architecture.7

EXTRA_DIST += \
ovn/TODO \
ovn/CONTAINERS.OpenStack.md \
ovn/OVN-GW-HA.md

# ovn-nbctl
bin_PROGRAMS += ovn/ovn-nbctl
ovn_ovn_nbctl_SOURCES = ovn/ovn-nbctl.c
ovn_ovn_nbctl_LDADD = ovn/lib/libovn.la ovsdb/libovsdb.la lib/libopenvswitch.la

include ovn/controller/automake.mk
include ovn/lib/automake.mk
include ovn/northd/automake.mk
Expand Down
2 changes: 2 additions & 0 deletions ovn/utilities/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
/ovn-ctl.8
/ovn-nbctl
/ovn-nbctl.8
14 changes: 11 additions & 3 deletions ovn/utilities/automake.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,19 @@ scripts_SCRIPTS += \
ovn/utilities/ovn-ctl

man_MANS += \
ovn/utilities/ovn-ctl.8
ovn/utilities/ovn-ctl.8 \
ovn/utilities/ovn-nbctl.8

EXTRA_DIST += \
ovn/utilities/ovn-ctl \
ovn/utilities/ovn-ctl.8.xml
ovn/utilities/ovn-ctl.8.xml \
ovn/utilities/ovn-nbctl.8.xml

DISTCLEANFILES += \
ovn/utilities/ovn-ctl.8
ovn/utilities/ovn-ctl.8 \
ovn/utilities/ovn-nbctl.8

# ovn-nbctl
bin_PROGRAMS += ovn/utilities/ovn-nbctl
ovn_utilities_ovn_nbctl_SOURCES = ovn/utilities/ovn-nbctl.c
ovn_utilities_ovn_nbctl_LDADD = ovn/lib/libovn.la ovsdb/libovsdb.la lib/libopenvswitch.la
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tutorial/ovs-sandbox
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ if $built; then
fi
PATH=$builddir/ovsdb:$builddir/vswitchd:$builddir/utilities:$PATH
if $ovn; then
PATH=$builddir/ovn:$builddir/ovn/controller:$builddir/ovn/northd:$PATH
PATH=$builddir/ovn:$builddir/ovn/controller:$builddir/ovn/northd:$builddir/ovn/utilities:$PATH
fi
export PATH
else
Expand Down
2 changes: 1 addition & 1 deletion utilities/ovs-sim.in
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ fi

# Put built tools early in $PATH.
PATH=$sim_builddir/ovsdb:$sim_builddir/vswitchd:$sim_builddir/utilities:$PATH
PATH=$sim_builddir/ovn:$sim_srcdir/ovn:$sim_builddir/ovn/controller:$sim_builddir/ovn/northd:$PATH
PATH=$sim_builddir/ovn:$sim_srcdir/ovn:$sim_builddir/ovn/controller:$sim_builddir/ovn/northd:$sim_builddir/ovn/utilities:$PATH
export PATH

rm -rf sandbox
Expand Down

0 comments on commit 5b5c922

Please sign in to comment.