Andrea Campanella | 545edb4 | 2018-03-20 16:37:29 -0700 | [diff] [blame] | 1 | <!-- |
| 2 | ~ Copyright 2018-present Open Networking Foundation |
| 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> |
| 21 | <action class="org.onosproject.mcast.cli.McastHostJoinCommand"/> |
| 22 | <optional-completers> |
Pier | 139babb | 2018-03-23 14:59:49 -0700 | [diff] [blame] | 23 | <entry key="-gAddr" value-ref="mcastGroupCompleter"/> |
Andrea Campanella | 0ddf9b8 | 2018-04-27 15:54:42 +0200 | [diff] [blame] | 24 | <entry key="-srcs" value-ref="hostIdCompleter"/> |
Andrea Campanella | 545edb4 | 2018-03-20 16:37:29 -0700 | [diff] [blame] | 25 | <entry key="-sinks" value-ref="hostIdCompleter"/> |
| 26 | </optional-completers> |
| 27 | </command> |
| 28 | <command> |
| 29 | <action class="org.onosproject.mcast.cli.McastShowHostCommand"/> |
Pier | 139babb | 2018-03-23 14:59:49 -0700 | [diff] [blame] | 30 | <optional-completers> |
| 31 | <entry key="-gAddr" value-ref="mcastGroupCompleter"/> |
| 32 | </optional-completers> |
Andrea Campanella | 545edb4 | 2018-03-20 16:37:29 -0700 | [diff] [blame] | 33 | </command> |
| 34 | <command> |
Andrea Campanella | 0ddf9b8 | 2018-04-27 15:54:42 +0200 | [diff] [blame] | 35 | <action class="org.onosproject.mcast.cli.McastSinkDeleteCommand"/> |
Andrea Campanella | 545edb4 | 2018-03-20 16:37:29 -0700 | [diff] [blame] | 36 | <optional-completers> |
Pier | 139babb | 2018-03-23 14:59:49 -0700 | [diff] [blame] | 37 | <entry key="-gAddr" value-ref="mcastGroupCompleter"/> |
| 38 | <entry key="-cps" value-ref="connectpointCompleter"/> |
Andrea Campanella | 0ddf9b8 | 2018-04-27 15:54:42 +0200 | [diff] [blame] | 39 | <entry key="-s" value-ref="hostIdCompleter"/> |
Andrea Campanella | 545edb4 | 2018-03-20 16:37:29 -0700 | [diff] [blame] | 40 | </optional-completers> |
| 41 | </command> |
| 42 | <command> |
| 43 | <action class="org.onosproject.mcast.cli.McastSourceDeleteCommand"/> |
| 44 | <optional-completers> |
Pier | 139babb | 2018-03-23 14:59:49 -0700 | [diff] [blame] | 45 | <entry key="-gAddr" value-ref="mcastGroupCompleter"/> |
Andrea Campanella | 0ddf9b8 | 2018-04-27 15:54:42 +0200 | [diff] [blame] | 46 | <entry key="-src" value-ref="hostIdCompleter"/> |
Andrea Campanella | 545edb4 | 2018-03-20 16:37:29 -0700 | [diff] [blame] | 47 | </optional-completers> |
| 48 | </command> |
Andrea Campanella | 644a8a6 | 2018-03-21 19:08:21 -0700 | [diff] [blame] | 49 | <command> |
| 50 | <action class="org.onosproject.mcast.cli.McastRoutesListCommand"/> |
| 51 | </command> |
Andrea Campanella | 545edb4 | 2018-03-20 16:37:29 -0700 | [diff] [blame] | 52 | </command-bundle> |
| 53 | |
| 54 | <bean id="hostIdCompleter" class="org.onosproject.cli.net.HostIdCompleter"/> |
Pier | 139babb | 2018-03-23 14:59:49 -0700 | [diff] [blame] | 55 | <bean id="connectpointCompleter" class="org.onosproject.cli.net.ConnectPointCompleter"/> |
| 56 | <bean id="mcastGroupCompleter" class="org.onosproject.mcast.cli.McastGroupCompleter"/> |
| 57 | |
Andrea Campanella | 545edb4 | 2018-03-20 16:37:29 -0700 | [diff] [blame] | 58 | |
| 59 | </blueprint> |