blob: 1c8610a0b86b245b8c5a16bc042ab93f80522860 [file] [log] [blame]
sangho2eae4c62015-06-11 14:49:59 -07001<!--
Brian O'Connor0947d7e2017-08-03 21:12:30 -07002 ~ Copyright 2015-present Open Networking Foundation
sangho2eae4c62015-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 Das62ae6792017-05-15 15:34:25 -070019 <!-- XXX revisit when we formally add policies
sangho2eae4c62015-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>
sangho316d4382015-06-24 09:37:40 -070035 <command>
36 <action class="org.onosproject.segmentrouting.cli.TunnelRemoveCommand"/>
37 </command>
Saurav Das07c74602016-04-27 18:35:50 -070038 <command>
39 <action class="org.onosproject.segmentrouting.cli.RerouteNetworkCommand"/>
40 </command>
Saurav Das6430f412018-01-25 09:49:01 -080041 -->
Charles Chand7844e52016-10-20 17:02:44 -070042 <command>
43 <action class="org.onosproject.segmentrouting.cli.DeviceSubnetListCommand"/>
44 </command>
Saurav Das62ae6792017-05-15 15:34:25 -070045 <command>
46 <action class="org.onosproject.segmentrouting.cli.EcmpGraphCommand"/>
47 </command>
48 <command>
Saurav Das261c3002017-06-13 15:35:54 -070049 <action class="org.onosproject.segmentrouting.cli.NextHopCommand"/>
Saurav Das62ae6792017-05-15 15:34:25 -070050 </command>
Saurav Dasfbe74572017-08-03 18:30:35 -070051 <command>
Charles Chanb13e0702018-04-17 18:56:53 -070052 <action class="org.onosproject.segmentrouting.cli.ShouldProgramCommand"/>
53 </command>
54 <command>
Saurav Dasfbe74572017-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 Pantelopoulos5e7be3d2017-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 Das6430f412018-01-25 09:49:01 -080072 <command>
73 <action class="org.onosproject.segmentrouting.cli.LinkStateCommand"/>
74 </command>
Pier Luigi0f9635b2018-01-15 18:06:43 +010075 <command>
76 <action class="org.onosproject.segmentrouting.cli.McastNextListCommand"/>
Pier1f87aca2018-03-14 16:47:32 -070077 <optional-completers>
78 <entry key="-gAddr" value-ref="mcastGroupCompleter"/>
79 </optional-completers>
Pier Luigi0f9635b2018-01-15 18:06:43 +010080 </command>
81 <command>
82 <action class="org.onosproject.segmentrouting.cli.McastTreeListCommand"/>
Pier1f87aca2018-03-14 16:47:32 -070083 <optional-completers>
84 <entry key="-gAddr" value-ref="mcastGroupCompleter"/>
Pier71c55772018-04-17 17:25:22 +020085 <entry key="-src" value-ref="connectpointCompleter"/>
Pier1f87aca2018-03-14 16:47:32 -070086 </optional-completers>
Pier Luigi0f9635b2018-01-15 18:06:43 +010087 </command>
Pierdb27b8d2018-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>
sangho2eae4c62015-06-11 14:49:59 -070094 </command-bundle>
Saurav Dasfbe74572017-08-03 18:30:35 -070095
Pier Luigi0f9635b2018-01-15 18:06:43 +010096 <bean id="nullCompleter" class="org.apache.karaf.shell.console.completer.NullCompleter"/>
Saurav Dasfbe74572017-08-03 18:30:35 -070097 <bean id="deviceIdCompleter" class="org.onosproject.cli.net.DeviceIdCompleter"/>
Andreas Pantelopoulos5e7be3d2017-10-23 12:18:25 -070098 <bean id="pseudowireIdCompleter" class="org.onosproject.segmentrouting.cli.PseudowireIdCompleter"/>
Pier1f87aca2018-03-14 16:47:32 -070099 <bean id="mcastGroupCompleter" class="org.onosproject.mcast.cli.McastGroupCompleter"/>
Pier71c55772018-04-17 17:25:22 +0200100 <bean id="connectpointCompleter" class="org.onosproject.cli.net.ConnectPointCompleter"/>
Saurav Dasfbe74572017-08-03 18:30:35 -0700101
sangho2eae4c62015-06-11 14:49:59 -0700102</blueprint>
103
104