kmcpeake | b172d5f | 2015-12-10 11:30:43 +0000 | [diff] [blame] | 1 | <!-- |
Brian O'Connor | a09fe5b | 2017-08-03 21:12:30 -0700 | [diff] [blame] | 2 | ~ Copyright 2015-present Open Networking Foundation |
kmcpeake | b172d5f | 2015-12-10 11:30:43 +0000 | [diff] [blame] | 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 | |
| 20 | <command> |
kmcpeake | b172d5f | 2015-12-10 11:30:43 +0000 | [diff] [blame] | 21 | <action class="org.onosproject.faultmanagement.alarms.cli.GetAllAlarms"/> |
Andrea Campanella | 17f9ab6 | 2017-01-24 14:57:34 -0800 | [diff] [blame] | 22 | <completers> |
| 23 | <ref component-id="deviceIdCompleter"/> |
| 24 | </completers> |
kmcpeake | b172d5f | 2015-12-10 11:30:43 +0000 | [diff] [blame] | 25 | </command> |
| 26 | <command> |
| 27 | <action class="org.onosproject.faultmanagement.alarms.cli.GetAllAlarmsCounts"/> |
kmcpeake | b172d5f | 2015-12-10 11:30:43 +0000 | [diff] [blame] | 28 | <completers> |
| 29 | <ref component-id="deviceIdCompleter"/> |
| 30 | </completers> |
| 31 | </command> |
Sean Condon | 87b7850 | 2018-09-17 20:53:24 +0100 | [diff] [blame] | 32 | <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> |
kmcpeake | b172d5f | 2015-12-10 11:30:43 +0000 | [diff] [blame] | 53 | </command-bundle> |
kmcpeake | b172d5f | 2015-12-10 11:30:43 +0000 | [diff] [blame] | 54 | |
| 55 | <bean id="deviceIdCompleter" class="org.onosproject.cli.net.DeviceIdCompleter"/> |
Sean Condon | 87b7850 | 2018-09-17 20:53:24 +0100 | [diff] [blame] | 56 | <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"/> |
kmcpeake | b172d5f | 2015-12-10 11:30:43 +0000 | [diff] [blame] | 60 | |
| 61 | </blueprint> |