[VOL-1754] :This is to handle olt disable/re-enable in inband scenario
in which connection is through NNI interface.Disabling
NNI interface so as to disable OLT may cause connection loss
between adapter and agent.So,disabling olt is taken care by disabling
all the PON ports associated with that device.
Change-Id: Iae81d9dbea8b7520bb66d086d9e77029863a57ef
diff --git a/agent/test/Makefile.in b/agent/test/Makefile.in
index b8fee22..b08f3c5 100644
--- a/agent/test/Makefile.in
+++ b/agent/test/Makefile.in
@@ -118,7 +118,7 @@
TEST_BIN=test_openolt
# The below way of getting source files is not working
#TEST_SRCS = $($(filter-out src/bal_stub.cc, $(wildcard src/*.cc)))
-TEST_SRCS = src/main_test.cc src/bal_mocker.cc src/test_enable_olt.cc
+TEST_SRCS = src/main_test.cc src/bal_mocker.cc src/test_enable_olt.cc src/test_disable_reenable_olt.cc
TEST_OBJS = $(TEST_SRCS:.cc=.o)
build: $(TEST_OBJS)
$(CXX) $(shell cmock-config --libs) -L$(TEST_OPENOLT_LIB_DIR) -L/usr/lib/ -I/usr/include -I./inc -o $(TEST_BIN) $(TEST_OBJS) -lgmock -lgtest -lopenolt -lopenoltapi $(LDFLAGS)
@@ -128,7 +128,7 @@
# bcm_host_api_stubs
BAL_API_DIR=bal-api-3.1.0
-bcm_host_api_stubs:
+bcm_host_api_stubs:
# TODO: There is temporary hack below to introduce the definition of bcmos_mutex.
# This should ideally come as part of bal-api-3.1.0
if [ -d $(BAL_API_DIR) ]; then \