blob: 8fe55979a6974b0bce69e49030c2762fefb84eaa [file] [log] [blame]
Andrea Campanellae4084402017-12-15 15:27:31 +01001<!--
2 ~ Copyright 2017-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 <command>
20 <action class="org.onosproject.t3.cli.TroubleshootTraceCommand"/>
21 </command>
Andrea Campanella55c3f422018-02-08 17:10:11 +010022 <command>
23 <action class="org.onosproject.t3.cli.TroubleshootSimpleTraceCommand"/>
24 <completers>
25 <ref component-id="hostIdCompleter"/>
26 </completers>
27 <optional-completers>
28 <entry key="-et" value-ref="ethTypeCompleter"/>
29 </optional-completers>
30 </command>
Andrea Campanella6a614fa2018-02-21 14:28:20 +010031 <command>
32 <action class="org.onosproject.t3.cli.TroubleshootPingAllTraceCommand"/>
33 <optional-completers>
34 <entry key="-et" value-ref="ethTypeCompleter"/>
35 </optional-completers>
36 </command>
Andrea Campanellae4084402017-12-15 15:27:31 +010037 </command-bundle>
38
Andrea Campanella55c3f422018-02-08 17:10:11 +010039 <bean id="hostIdCompleter" class="org.onosproject.cli.net.HostIdCompleter"/>
40 <bean id="ethTypeCompleter" class="org.onosproject.cli.net.EthTypeCompleter"/>
41
Andrea Campanellae4084402017-12-15 15:27:31 +010042</blueprint>
43
44