1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright (c) 2016 Inocybe Technologies Inc. and others. All rights reserved.
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
9 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
10 xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
11 odl:use-default-for-reference-types="true">
13 <reference id="dataBroker"
14 interface="org.opendaylight.mdsal.binding.api.DataBroker"
17 <bean id="netconfCommandsImpl" class="org.opendaylight.netconf.console.impl.NetconfCommandsImpl">
18 <argument ref="dataBroker"/>
20 <service ref="netconfCommandsImpl" interface="org.opendaylight.netconf.console.api.NetconfCommands" />
24 <command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.0.0">
25 <command name="netconf:connect-device">
26 <action class="org.opendaylight.netconf.console.commands.NetconfConnectDeviceCommand">
27 <argument ref="netconfCommandsImpl"/>
30 <command name="netconf:list-devices">
31 <action class="org.opendaylight.netconf.console.commands.NetconfListDevicesCommand">
32 <argument ref="netconfCommandsImpl"/>
35 <command name="netconf:show-device">
36 <action class="org.opendaylight.netconf.console.commands.NetconfShowDeviceCommand">
37 <argument ref="netconfCommandsImpl"/>
40 <command name="netconf:disconnect-device">
41 <action class="org.opendaylight.netconf.console.commands.NetconfDisconnectDeviceCommand">
42 <argument ref="netconfCommandsImpl"/>
45 <command name="netconf:update-device">
46 <action class="org.opendaylight.netconf.console.commands.NetconfUpdateDeviceCommand">
47 <argument ref="netconfCommandsImpl"/>