File tree Expand file tree Collapse file tree 7 files changed +794
-0
lines changed
Expand file tree Collapse file tree 7 files changed +794
-0
lines changed Original file line number Diff line number Diff line change @@ -476,6 +476,7 @@ add_library(fboss2_lib
476476 fboss/cli/fboss2/utils/CLIParserUtils.cpp
477477 fboss/cli/fboss2/utils/CmdClientUtils.cpp
478478 fboss/cli/fboss2/utils/CmdUtilsCommon.cpp
479+ fboss/cli/fboss2/utils/PortMap.cpp
479480 fboss/cli/fboss2/utils/Table.cpp
480481 fboss/cli/fboss2/utils/HostInfo.h
481482 fboss/cli/fboss2/utils/FilterOp.h
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ add_executable(fboss2_cmd_test
3737 # fboss/cli/fboss2/test/CmdShowTransceiverTest.cpp - excluded (depends on configerator bgp namespace)
3838 fboss/cli/fboss2/test /CmdStartPcapTest.cpp
3939 fboss/cli/fboss2/test /CmdStopPcapTest.cpp
40+ fboss/cli/fboss2/test /PortMapTest.cpp
4041)
4142
4243target_link_libraries (fboss2_cmd_test
Original file line number Diff line number Diff line change @@ -766,10 +766,12 @@ cpp_library(
766766 "CmdListConfig.cpp" ,
767767 "commands/config/CmdConfigAppliedInfo.cpp" ,
768768 "commands/config/CmdConfigReload.cpp" ,
769+ "utils/PortMap.cpp" ,
769770 ],
770771 headers = [
771772 "commands/config/CmdConfigAppliedInfo.h" ,
772773 "commands/config/CmdConfigReload.h" ,
774+ "utils/PortMap.h" ,
773775 ],
774776 exported_deps = [
775777 ":cmd-handler" ,
Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ cpp_unittest(
8787 "CmdShowTransceiverTest.cpp" ,
8888 "CmdStartPcapTest.cpp" ,
8989 "CmdStopPcapTest.cpp" ,
90+ "PortMapTest.cpp" ,
9091 ],
9192 deps = [
9293 "fbsource//third-party/googletest:gmock" ,
You can’t perform that action at this time.
0 commit comments