T3: Implementation of host based, less arguments CLI command
Change-Id: Ie02918b90968632ca56b9588adc6bda881c0c0a7
(cherry picked from commit d711b8068685ab602ac869ee4907dd054c49046f)
diff --git a/apps/t3/src/main/resources/OSGI-INF/blueprint/shell-config.xml b/apps/t3/src/main/resources/OSGI-INF/blueprint/shell-config.xml
index 7da87bc..7444994 100644
--- a/apps/t3/src/main/resources/OSGI-INF/blueprint/shell-config.xml
+++ b/apps/t3/src/main/resources/OSGI-INF/blueprint/shell-config.xml
@@ -19,8 +19,20 @@
<command>
<action class="org.onosproject.t3.cli.TroubleshootTraceCommand"/>
</command>
+ <command>
+ <action class="org.onosproject.t3.cli.TroubleshootSimpleTraceCommand"/>
+ <completers>
+ <ref component-id="hostIdCompleter"/>
+ </completers>
+ <optional-completers>
+ <entry key="-et" value-ref="ethTypeCompleter"/>
+ </optional-completers>
+ </command>
</command-bundle>
+ <bean id="hostIdCompleter" class="org.onosproject.cli.net.HostIdCompleter"/>
+ <bean id="ethTypeCompleter" class="org.onosproject.cli.net.EthTypeCompleter"/>
+
</blueprint>