This may (?) fix the SFT failing to find the DataBroker, as discussed on follow-up to
https://lists.opendaylight.org/pipermail/netvirt-dev/2017-June/004770.html; and if
this does fix that SFT problem, then this was an indirect impact of
https://git.opendaylight.org/gerrit/#/c/54885/.
This also reverts both https://git.opendaylight.org/gerrit/#/c/59105/ private field,
and the availability="optional" from https://git.opendaylight.org/gerrit/#/c/59051/
Change-Id: I856c0f4311a02a5380512496619aee74cf70ee2e
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
+ "\n -------------------------------------------------------------------";
private SingleTransactionDataBroker singleTxDb;
- private DataBroker dataBroker;
public void setDataBroker(DataBroker dataBroker) {
this.singleTxDb = new SingleTransactionDataBroker(dataBroker);
@Override
protected Object doExecute() throws Exception {
-
PrintStream console = session.getConsole();
console.println(HEADER);
xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
odl:use-default-for-reference-types="true">
- <reference id="fibManagerRef" interface="org.opendaylight.netvirt.fibmanager.api.IFibManager"
- availability="optional"/>
- <reference id="dataBrokerRef" interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"
- availability="optional"/>
+ <reference id="fibManagerRef" interface="org.opendaylight.netvirt.fibmanager.api.IFibManager" />
+ <reference id="dataBrokerRef" interface="org.opendaylight.controller.md.sal.binding.api.DataBroker" />
<command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.1.0">
<command>