blob: 1c8610a0b86b245b8c5a16bc042ab93f80522860 [file] [log] [blame]
sangho6703da22015-06-11 14:49:59 -07001<!--
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 ~ Copyright 2015-present Open Networking Foundation
sangho6703da22015-06-11 14:49:59 -07003 ~
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">
Saurav Dasc88d4662017-05-15 15:34:25 -070019 <!-- XXX revisit when we formally add policies
sangho6703da22015-06-11 14:49:59 -070020 <command>
21 <action class="org.onosproject.segmentrouting.cli.TunnelListCommand"/>
22 </command>
23 <command>
24 <action class="org.onosproject.segmentrouting.cli.PolicyListCommand"/>
25 </command>
26 <command>
27 <action class="org.onosproject.segmentrouting.cli.PolicyAddCommand"/>
28 </command>
29 <command>
30 <action class="org.onosproject.segmentrouting.cli.PolicyRemoveCommand"/>
31 </command>
32 <command>
33 <action class="org.onosproject.segmentrouting.cli.TunnelAddCommand"/>
34 </command>
sangho36c9d2c2015-06-24 09:37:40 -070035 <command>
36 <action class="org.onosproject.segmentrouting.cli.TunnelRemoveCommand"/>
37 </command>
Saurav Das59232cf2016-04-27 18:35:50 -070038 <command>
39 <action class="org.onosproject.segmentrouting.cli.RerouteNetworkCommand"/>
40 </command>
Saurav Dasc568c342018-01-25 09:49:01 -080041 -->
Charles Chanc81c45b2016-10-20 17:02:44 -070042 <command>
43 <action class="org.onosproject.segmentrouting.cli.DeviceSubnetListCommand"/>
44 </command>
Saurav Dasc88d4662017-05-15 15:34:25 -070045 <command>
46 <action class="org.onosproject.segmentrouting.cli.EcmpGraphCommand"/>
47 </command>
48 <command>
Saurav Das7bcbe702017-06-13 15:35:54 -070049 <action class="org.onosproject.segmentrouting.cli.NextHopCommand"/>
Saurav Dasc88d4662017-05-15 15:34:25 -070050 </command>
Saurav Dasceccf242017-08-03 18:30:35 -070051 <command>
Charles Chan8bc75ee2018-04-17 18:56:53 -070052 <action class="org.onosproject.segmentrouting.cli.ShouldProgramCommand"/>
53 </command>
54 <command>
Saurav Dasceccf242017-08-03 18:30:35 -070055 <action class="org.onosproject.segmentrouting.cli.VerifyGroupsCommand"/>
56 <completers>
57 <ref component-id="deviceIdCompleter"/>
58 </completers>
59 </command>
Andreas Pantelopoulos27532cd2017-10-23 12:18:25 -070060 <command>
61 <action class="org.onosproject.segmentrouting.cli.PseudowireListCommand"/>
62 </command>
63 <command>
64 <action class="org.onosproject.segmentrouting.cli.PseudowireRemoveCommand"/>
65 <completers>
66 <ref component-id="pseudowireIdCompleter"/>
67 </completers>
68 </command>
69 <command>
70 <action class="org.onosproject.segmentrouting.cli.PseudowireAddCommand"/>
71 </command>
Saurav Dasc568c342018-01-25 09:49:01 -080072 <command>
73 <action class="org.onosproject.segmentrouting.cli.LinkStateCommand"/>
74 </command>
Pier Luigib29144d2018-01-15 18:06:43 +010075 <command>
76 <action class="org.onosproject.segmentrouting.cli.McastNextListCommand"/>
Pier3ee24552018-03-14 16:47:32 -070077 <optional-completers>
78 <entry key="-gAddr" value-ref="mcastGroupCompleter"/>
79 </optional-completers>
Pier Luigib29144d2018-01-15 18:06:43 +010080 </command>
81 <command>
82 <action class="org.onosproject.segmentrouting.cli.McastTreeListCommand"/>
Pier3ee24552018-03-14 16:47:32 -070083 <optional-completers>
84 <entry key="-gAddr" value-ref="mcastGroupCompleter"/>
Pierb1fe7382018-04-17 17:25:22 +020085 <entry key="-src" value-ref="connectpointCompleter"/>
Pier3ee24552018-03-14 16:47:32 -070086 </optional-completers>
Pier Luigib29144d2018-01-15 18:06:43 +010087 </command>
Pier96f63cb2018-04-17 16:29:56 +020088 <command>
89 <action class="org.onosproject.segmentrouting.cli.McastLeaderListCommand"/>
90 <optional-completers>
91 <entry key="-gAddr" value-ref="mcastGroupCompleter"/>
92 </optional-completers>
93 </command>
sangho6703da22015-06-11 14:49:59 -070094 </command-bundle>
Saurav Dasceccf242017-08-03 18:30:35 -070095
Pier Luigib29144d2018-01-15 18:06:43 +010096 <bean id="nullCompleter" class="org.apache.karaf.shell.console.completer.NullCompleter"/>
Saurav Dasceccf242017-08-03 18:30:35 -070097 <bean id="deviceIdCompleter" class="org.onosproject.cli.net.DeviceIdCompleter"/>
Andreas Pantelopoulos27532cd2017-10-23 12:18:25 -070098 <bean id="pseudowireIdCompleter" class="org.onosproject.segmentrouting.cli.PseudowireIdCompleter"/>
Pier3ee24552018-03-14 16:47:32 -070099 <bean id="mcastGroupCompleter" class="org.onosproject.mcast.cli.McastGroupCompleter"/>
Pierb1fe7382018-04-17 17:25:22 +0200100 <bean id="connectpointCompleter" class="org.onosproject.cli.net.ConnectPointCompleter"/>
Saurav Dasceccf242017-08-03 18:30:35 -0700101
sangho6703da22015-06-11 14:49:59 -0700102</blueprint>
103
104