blob: 7bf0fcb1d6a4d24fd95418cce966edfaba8dbd83 [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"/>
Andrea Campanella0ddf9b82018-04-27 15:54:42 +020024 <entry key="-srcs" value-ref="hostIdCompleter"/>
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>
Andrea Campanella0ddf9b82018-04-27 15:54:42 +020035 <action class="org.onosproject.mcast.cli.McastSinkDeleteCommand"/>
Andrea Campanella545edb42018-03-20 16:37:29 -070036 <optional-completers>
Pier139babb2018-03-23 14:59:49 -070037 <entry key="-gAddr" value-ref="mcastGroupCompleter"/>
38 <entry key="-cps" value-ref="connectpointCompleter"/>
Andrea Campanella0ddf9b82018-04-27 15:54:42 +020039 <entry key="-s" value-ref="hostIdCompleter"/>
Andrea Campanella545edb42018-03-20 16:37:29 -070040 </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"/>
Andrea Campanella0ddf9b82018-04-27 15:54:42 +020046 <entry key="-src" value-ref="hostIdCompleter"/>
Andrea Campanella545edb42018-03-20 16:37:29 -070047 </optional-completers>
48 </command>
Andrea Campanella644a8a62018-03-21 19:08:21 -070049 <command>
50 <action class="org.onosproject.mcast.cli.McastRoutesListCommand"/>
51 </command>
Andrea Campanella545edb42018-03-20 16:37:29 -070052 </command-bundle>
53
54 <bean id="hostIdCompleter" class="org.onosproject.cli.net.HostIdCompleter"/>
Pier139babb2018-03-23 14:59:49 -070055 <bean id="connectpointCompleter" class="org.onosproject.cli.net.ConnectPointCompleter"/>
56 <bean id="mcastGroupCompleter" class="org.onosproject.mcast.cli.McastGroupCompleter"/>
57
Andrea Campanella545edb42018-03-20 16:37:29 -070058
59</blueprint>