blob: f9aad5924f36d1225c060adc7fe8046d6a43cd61 [file] [log] [blame]
kmcpeakeb172d5f2015-12-10 11:30:43 +00001<!--
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002~ Copyright 2015-present Open Networking Foundation
kmcpeakeb172d5f2015-12-10 11:30:43 +00003~
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>
kmcpeakeb172d5f2015-12-10 11:30:43 +000021 <action class="org.onosproject.faultmanagement.alarms.cli.GetAllAlarms"/>
Andrea Campanella17f9ab62017-01-24 14:57:34 -080022 <completers>
23 <ref component-id="deviceIdCompleter"/>
24 </completers>
kmcpeakeb172d5f2015-12-10 11:30:43 +000025 </command>
26 <command>
27 <action class="org.onosproject.faultmanagement.alarms.cli.GetAllAlarmsCounts"/>
kmcpeakeb172d5f2015-12-10 11:30:43 +000028 <completers>
29 <ref component-id="deviceIdCompleter"/>
30 </completers>
31 </command>
Sean Condon87b78502018-09-17 20:53:24 +010032 <command>
33 <action class="org.onosproject.faultmanagement.alarms.cli.CreateAlarm"/>
34 <completers>
35 <ref component-id="deviceIdCompleter"/>
36 <ref component-id="alarmSeverityCompleter"/>
37 </completers>
38 </command>
39 <command>
40 <action class="org.onosproject.faultmanagement.alarms.cli.UpdateAlarm"/>
41 <completers>
42 <ref component-id="alarmIdCompleter"/>
43 <ref component-id="alarmFieldCompleter"/>
44 <ref component-id="alarmFieldValueCompleter"/>
45 </completers>
46 </command>
47 <command>
48 <action class="org.onosproject.faultmanagement.alarms.cli.RemoveAlarm"/>
49 <completers>
50 <ref component-id="alarmIdCompleter"/>
51 </completers>
52 </command>
kmcpeakeb172d5f2015-12-10 11:30:43 +000053 </command-bundle>
kmcpeakeb172d5f2015-12-10 11:30:43 +000054
55 <bean id="deviceIdCompleter" class="org.onosproject.cli.net.DeviceIdCompleter"/>
Sean Condon87b78502018-09-17 20:53:24 +010056 <bean id="alarmIdCompleter" class="org.onosproject.faultmanagement.alarms.cli.completer.AlarmIdCompleter"/>
57 <bean id="alarmSeverityCompleter" class="org.onosproject.faultmanagement.alarms.cli.completer.AlarmSeverityCompleter"/>
58 <bean id="alarmFieldCompleter" class="org.onosproject.faultmanagement.alarms.cli.completer.AlarmFieldCompleter"/>
59 <bean id="alarmFieldValueCompleter" class="org.onosproject.faultmanagement.alarms.cli.completer.AlarmFieldValueCompleter"/>
kmcpeakeb172d5f2015-12-10 11:30:43 +000060
61</blueprint>