Skip to content

Commit

Permalink
Lagopus 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoshihiro Nakajima committed Oct 8, 2014
2 parents be60ac5 + 33e1ab5 commit cb6cb41
Show file tree
Hide file tree
Showing 88 changed files with 4,850 additions and 3,752 deletions.
4 changes: 1 addition & 3 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -18020,7 +18020,7 @@ if test "x$?" != "x0"; then
fi

# emit.
ac_config_files="$ac_config_files mk/vars.mk mk/doxygen.conf Makefile src/include/Makefile src/include/lagopus_platform.h src/lib/Makefile src/lib/test/Makefile src/lib/check/Makefile src/agent/Makefile src/agent/test/Makefile src/agent/check/Makefile src/cmds/Makefile src/dataplane/Makefile src/dataplane/dpdk/Makefile src/dataplane/dpdk/test/Makefile src/dataplane/sock/Makefile src/dataplane/ofproto/test/Makefile src/dataplane/ofproto/test/lib/Makefile src/dataplane/mgr/test/Makefile tools/Makefile tools/unity/src/Makefile src/config/Makefile src/config/cli/Makefile src/config/cli/libedit/Makefile debian/Makefile debian/control debian/copyright debian/lagopus-DATAPLANE.install"
ac_config_files="$ac_config_files mk/vars.mk mk/doxygen.conf Makefile src/include/Makefile src/include/lagopus_platform.h src/lib/Makefile src/lib/test/Makefile src/lib/check/Makefile src/agent/Makefile src/agent/test/Makefile src/agent/check/Makefile src/cmds/Makefile src/dataplane/Makefile src/dataplane/dpdk/test/Makefile src/dataplane/ofproto/test/Makefile src/dataplane/ofproto/test/lib/Makefile src/dataplane/mgr/test/Makefile tools/Makefile tools/unity/src/Makefile src/config/Makefile src/config/cli/Makefile src/config/cli/libedit/Makefile debian/Makefile debian/control debian/copyright debian/lagopus-DATAPLANE.install"


# emit and set executable attribute.
Expand Down Expand Up @@ -19133,9 +19133,7 @@ do
"src/agent/check/Makefile") CONFIG_FILES="$CONFIG_FILES src/agent/check/Makefile" ;;
"src/cmds/Makefile") CONFIG_FILES="$CONFIG_FILES src/cmds/Makefile" ;;
"src/dataplane/Makefile") CONFIG_FILES="$CONFIG_FILES src/dataplane/Makefile" ;;
"src/dataplane/dpdk/Makefile") CONFIG_FILES="$CONFIG_FILES src/dataplane/dpdk/Makefile" ;;
"src/dataplane/dpdk/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/dataplane/dpdk/test/Makefile" ;;
"src/dataplane/sock/Makefile") CONFIG_FILES="$CONFIG_FILES src/dataplane/sock/Makefile" ;;
"src/dataplane/ofproto/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/dataplane/ofproto/test/Makefile" ;;
"src/dataplane/ofproto/test/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/dataplane/ofproto/test/lib/Makefile" ;;
"src/dataplane/mgr/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/dataplane/mgr/test/Makefile" ;;
Expand Down
2 changes: 0 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -500,9 +500,7 @@ AC_CONFIG_FILES(
src/agent/check/Makefile
src/cmds/Makefile
src/dataplane/Makefile
src/dataplane/dpdk/Makefile
src/dataplane/dpdk/test/Makefile
src/dataplane/sock/Makefile
src/dataplane/ofproto/test/Makefile
src/dataplane/ofproto/test/lib/Makefile
src/dataplane/mgr/test/Makefile
Expand Down
14 changes: 8 additions & 6 deletions src/agent/agent_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

/* OpenFlow agent configuration. */
#include "lagopus_apis.h"
#include "lagopus_version.h"
#include "confsys.h"
#include "agent_config.h"
#include "lagopus/dpmgr.h"
Expand Down Expand Up @@ -73,13 +74,15 @@ agent_initialize_config_tree(void) {
agent_check_certificates_set_config_file(value);
}



CALLBACK(show_version_func) {
int i;
ARG_USED();
for (i = 0; i < 1000; i++) {
show(confsys, "Version %d\n", i);
}
show(confsys, "%s version %d.%d.%d%s\n",
LAGOPUS_PRODUCT_NAME,
LAGOPUS_VERSION_MAJOR,
LAGOPUS_VERSION_MINOR,
LAGOPUS_VERSION_PATCH,
LAGOPUS_VERSION_RELEASE);
return CONFIG_SUCCESS;
}

Expand Down Expand Up @@ -211,7 +214,6 @@ CALLBACK(bridge_domain_dpid_func) {
}

CALLBACK(bridge_domain_fail_secure_mode_func) {
lagopus_result_t result;
struct bridge *bridge;
ARG_USED();

Expand Down

0 comments on commit cb6cb41

Please sign in to comment.