blob: 04682e9641d8fdbcdfd1d1b23fbeafae74c69237 [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>
Piere99511d2018-04-19 16:47:06 +020082 <action class="org.onosproject.segmentrouting.cli.McastRoleListCommand"/>
83 <optional-completers>
84 <entry key="-gAddr" value-ref="mcastGroupCompleter"/>
85 <entry key="-src" value-ref="connectpointCompleter"/>
86 </optional-completers>
87 </command>
88 <command>
Pier Luigi0f9635b2018-01-15 18:06:43 +010089 <action class="org.onosproject.segmentrouting.cli.McastTreeListCommand"/>
Pier1f87aca2018-03-14 16:47:32 -070090 <optional-completers>
91 <entry key="-gAddr" value-ref="mcastGroupCompleter"/>
Pier71c55772018-04-17 17:25:22 +020092 <entry key="-src" value-ref="connectpointCompleter"/>
Pier1f87aca2018-03-14 16:47:32 -070093 </optional-completers>
Pier Luigi0f9635b2018-01-15 18:06:43 +010094 </command>
Pierdb27b8d2018-04-17 16:29:56 +020095 <command>
96 <action class="org.onosproject.segmentrouting.cli.McastLeaderListCommand"/>
97 <optional-completers>
98 <entry key="-gAddr" value-ref="mcastGroupCompleter"/>
99 </optional-completers>
100 </command>
Charles Chan8d316332018-06-19 20:31:57 -0700101 <command>
102 <action class="org.onosproject.segmentrouting.cli.XconnectListCommand"/>
103 </command>
104 <command>
105 <action class="org.onosproject.segmentrouting.cli.XconnectAddCommand"/>
106 <completers>
107 <ref component-id="deviceIdCompleter"/>
108 <ref component-id="placeholderCompleter"/>
109 <ref component-id="portNumberCompleter"/>
110 <ref component-id="portNumberCompleter"/>
111 <null/>
112 </completers>
113 </command>
114 <command>
115 <action class="org.onosproject.segmentrouting.cli.XconnectRemoveCommand"/>
116 <completers>
117 <ref component-id="deviceIdCompleter"/>
118 <ref component-id="placeholderCompleter"/>
119 <null/>
120 </completers>
121 </command>
sangho2eae4c62015-06-11 14:49:59 -0700122 </command-bundle>
Saurav Dasfbe74572017-08-03 18:30:35 -0700123
Pier Luigi0f9635b2018-01-15 18:06:43 +0100124 <bean id="nullCompleter" class="org.apache.karaf.shell.console.completer.NullCompleter"/>
Charles Chan8d316332018-06-19 20:31:57 -0700125 <bean id="placeholderCompleter" class="org.onosproject.cli.PlaceholderCompleter"/>
Saurav Dasfbe74572017-08-03 18:30:35 -0700126 <bean id="deviceIdCompleter" class="org.onosproject.cli.net.DeviceIdCompleter"/>
Charles Chan8d316332018-06-19 20:31:57 -0700127 <bean id="portNumberCompleter" class="org.onosproject.cli.net.PortNumberCompleter"/>
Andreas Pantelopoulos5e7be3d2017-10-23 12:18:25 -0700128 <bean id="pseudowireIdCompleter" class="org.onosproject.segmentrouting.cli.PseudowireIdCompleter"/>
Pier1f87aca2018-03-14 16:47:32 -0700129 <bean id="mcastGroupCompleter" class="org.onosproject.mcast.cli.McastGroupCompleter"/>
Pier71c55772018-04-17 17:25:22 +0200130 <bean id="connectpointCompleter" class="org.onosproject.cli.net.ConnectPointCompleter"/>
Saurav Dasfbe74572017-08-03 18:30:35 -0700131
sangho2eae4c62015-06-11 14:49:59 -0700132</blueprint>
133
134