Command to list optical connectivities
Change-Id: Ic1b69c04cbc51fd384711de73abe91f1b0d11abb
diff --git a/apps/newoptical/src/main/resources/OSGI-INF/blueprint/shell-config.xml b/apps/newoptical/src/main/resources/OSGI-INF/blueprint/shell-config.xml
index 72bdcaa..95c2465 100644
--- a/apps/newoptical/src/main/resources/OSGI-INF/blueprint/shell-config.xml
+++ b/apps/newoptical/src/main/resources/OSGI-INF/blueprint/shell-config.xml
@@ -24,12 +24,24 @@
<null/>
</completers>
</command>
+
<command>
<action class="org.onosproject.newoptical.cli.RemoveOpticalConnectivityCommand"/>
+ <completers>
+ <ref component-id="opticalConnectivityIdCompleter"/>
+ <null/>
+ </completers>
</command>
+
+ <command>
+ <action class="org.onosproject.newoptical.cli.ListOpticalConnectivityCommand"/>
+ </command>
+
</command-bundle>
<!-- TODO complete only applicable ports -->
<bean id="connectPointCompleter" class="org.onosproject.cli.net.ConnectPointCompleter"/>
+ <bean id="opticalConnectivityIdCompleter" class="org.onosproject.newoptical.cli.OpticalConnectivityIdCompleter"/>
+
</blueprint>