blob: ce716315262a67e16ae3fd146ccbeec3083a3b08 [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>
Thomas Vachuskaa1da42e2015-09-09 00:45:22 -070020 <action class="org.onosproject.dhcp.cli.DhcpListAllMappings"/>
samanwita palf28207b2015-09-04 10:41:56 -070021 </command>
22 <command>
Thomas Vachuskaa1da42e2015-09-09 00:45:22 -070023 <action class="org.onosproject.dhcp.cli.DhcpLeaseDetails"/>
samanwita palf28207b2015-09-04 10:41:56 -070024 </command>
25 <command>
Thomas Vachuskaa1da42e2015-09-09 00:45:22 -070026 <action class="org.onosproject.dhcp.cli.DhcpSetStaticMapping"/>
samanwita palf28207b2015-09-04 10:41:56 -070027 <completers>
28 <ref component-id="macIDCompleter"/>
29 <ref component-id="freeIPCompleter"/>
30 </completers>
31 </command>
32 <command>
Thomas Vachuskaa1da42e2015-09-09 00:45:22 -070033 <action class="org.onosproject.dhcp.cli.DhcpRemoveStaticMapping"/>
samanwita palf28207b2015-09-04 10:41:56 -070034 <completers>
35 <ref component-id="macIDCompleter"/>
36 </completers>
37 </command>
38 </command-bundle>
39
40 <bean id="macIDCompleter" class="org.onosproject.dhcp.cli.MacIdCompleter"/>
Thomas Vachuskaa1da42e2015-09-09 00:45:22 -070041 <bean id="freeIPCompleter" class="org.onosproject.dhcp.cli.FreeIpCompleter"/>
samanwita palf28207b2015-09-04 10:41:56 -070042
43</blueprint>