optical model app changes for karaf 4.2.1 CLI

Change-Id: Iefcf8cb1624f40250c01596d317f40f60f165a42
diff --git a/apps/optical-model/BUILD b/apps/optical-model/BUILD
index 61a839b..9ba6cda 100644
--- a/apps/optical-model/BUILD
+++ b/apps/optical-model/BUILD
@@ -5,6 +5,7 @@
 ]
 
 osgi_jar_with_tests(
+    karaf_command_packages = ["org.onosproject.net.optical.cli"],
     test_deps = TEST_ADAPTERS,
     deps = COMPILE_DEPS,
 )