blob: 7ab427381761f40e51d4a9f271b7100751ced6b4 [file] [log] [blame]
Andrea Campanella545edb42018-03-20 16:37:29 -07001<!--
2~ Copyright 2018-present Open Networking Foundation
3~
4~ Licensed under the Apache License, Version 2.0 (the "License");
5~ you may not use this file except in compliance with the License.
6~ You may obtain a copy of the License at
7~
8~ http://www.apache.org/licenses/LICENSE-2.0
9~
10~ Unless required by applicable law or agreed to in writing, software
11~ distributed under the License is distributed on an "AS IS" BASIS,
12~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13~ See the License for the specific language governing permissions and
14~ limitations under the License.
15-->
16<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
17
18 <command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.1.0">
19
20 <command>
21 <action class="org.onosproject.mcast.cli.McastHostJoinCommand"/>
22 <optional-completers>
23 <entry key="-srcs" value-ref="deviceIdCompleter"/>
24 <entry key="-sinks" value-ref="hostIdCompleter"/>
25 </optional-completers>
26 </command>
27 <command>
28 <action class="org.onosproject.mcast.cli.McastShowHostCommand"/>
29 </command>
30 <command>
31 <action class="org.onosproject.mcast.cli.McastHostDeleteCommand"/>
32 <optional-completers>
33 <entry key="-cps" value-ref="deviceIdCompleter"/>
34 <entry key="-h" value-ref="hostIdCompleter"/>
35 </optional-completers>
36 </command>
37 <command>
38 <action class="org.onosproject.mcast.cli.McastSourceDeleteCommand"/>
39 <optional-completers>
40 <entry key="-src" value-ref="deviceIdCompleter"/>
41 </optional-completers>
42 </command>
43
44 </command-bundle>
45
46 <bean id="hostIdCompleter" class="org.onosproject.cli.net.HostIdCompleter"/>
47 <bean id="deviceIdCompleter" class="org.onosproject.cli.net.DeviceIdCompleter"/>
48
49</blueprint>