blob: 954af2749aa1357eb9d0b4445b74ac87a1d096fd [file] [log] [blame]
samanwita palf66ed8a2015-07-21 15:45:33 -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.dhcpserver.cli.DHCPListAllMappings"/>
21 </command>
22 <command>
23 <action class="org.onosproject.dhcpserver.cli.DHCPLeaseDetails"/>
24 </command>
25 <command>
26 <action class="org.onosproject.dhcpserver.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.dhcpserver.cli.DHCPRemoveStaticMapping"/>
34 <completers>
35 <ref component-id="macIDCompleter"/>
36 </completers>
37 </command>
38 </command-bundle>
39
40 <bean id="macIDCompleter" class="org.onosproject.dhcpserver.cli.MacIdCompleter"/>
41 <bean id="freeIPCompleter" class="org.onosproject.dhcpserver.cli.FreeIPCompleter"/>
42
43</blueprint>