blob: 0c3cc1007a7114083378bcd190c29b256225c459 [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>
Pier139babb2018-03-23 14:59:49 -070023 <entry key="-gAddr" value-ref="mcastGroupCompleter"/>
24 <entry key="-srcs" value-ref="connectpointCompleter"/>
Andrea Campanella545edb42018-03-20 16:37:29 -070025 <entry key="-sinks" value-ref="hostIdCompleter"/>
26 </optional-completers>
27 </command>
28 <command>
29 <action class="org.onosproject.mcast.cli.McastShowHostCommand"/>
Pier139babb2018-03-23 14:59:49 -070030 <optional-completers>
31 <entry key="-gAddr" value-ref="mcastGroupCompleter"/>
32 </optional-completers>
Andrea Campanella545edb42018-03-20 16:37:29 -070033 </command>
34 <command>
35 <action class="org.onosproject.mcast.cli.McastHostDeleteCommand"/>
36 <optional-completers>
Pier139babb2018-03-23 14:59:49 -070037 <entry key="-gAddr" value-ref="mcastGroupCompleter"/>
38 <entry key="-cps" value-ref="connectpointCompleter"/>
Andrea Campanella545edb42018-03-20 16:37:29 -070039 <entry key="-h" value-ref="hostIdCompleter"/>
40 </optional-completers>
41 </command>
42 <command>
43 <action class="org.onosproject.mcast.cli.McastSourceDeleteCommand"/>
44 <optional-completers>
Pier139babb2018-03-23 14:59:49 -070045 <entry key="-gAddr" value-ref="mcastGroupCompleter"/>
46 <entry key="-src" value-ref="connectpointCompleter"/>
Andrea Campanella545edb42018-03-20 16:37:29 -070047 </optional-completers>
48 </command>
49
50 </command-bundle>
51
52 <bean id="hostIdCompleter" class="org.onosproject.cli.net.HostIdCompleter"/>
Pier139babb2018-03-23 14:59:49 -070053 <bean id="connectpointCompleter" class="org.onosproject.cli.net.ConnectPointCompleter"/>
54 <bean id="mcastGroupCompleter" class="org.onosproject.mcast.cli.McastGroupCompleter"/>
55
Andrea Campanella545edb42018-03-20 16:37:29 -070056
57</blueprint>