blob: cd3c501beaf20265f95283745e56e5949e189046 [file] [log] [blame]
samanwita palf28207b2015-09-04 10:41:56 -07001<!--
2 ~ Copyright 2014 Open Networking Laboratory
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 <command>
20 <action class="org.onosproject.dhcp.cli.DHCPListAllMappings"/>
21 </command>
22 <command>
23 <action class="org.onosproject.dhcp.cli.DHCPLeaseDetails"/>
24 </command>
25 <command>
26 <action class="org.onosproject.dhcp.cli.DHCPSetStaticMapping"/>
27 <completers>
28 <ref component-id="macIDCompleter"/>
29 <ref component-id="freeIPCompleter"/>
30 </completers>
31 </command>
32 <command>
33 <action class="org.onosproject.dhcp.cli.DHCPRemoveStaticMapping"/>
34 <completers>
35 <ref component-id="macIDCompleter"/>
36 </completers>
37 </command>
38 </command-bundle>
39
40 <bean id="macIDCompleter" class="org.onosproject.dhcp.cli.MacIdCompleter"/>
41 <bean id="freeIPCompleter" class="org.onosproject.dhcp.cli.FreeIPCompleter"/>
42
43</blueprint>