this.connectionInfo = key;
this.client = client;
this.txInvoker = txInvoker;
- txInvoker.invoke(new OvsdbNodeCreateCommand(key, null,null));
registerCallBack();
+ txInvoker.invoke(new OvsdbNodeCreateCommand(key, null,null));
}
public void transact(TransactCommand command) {
import org.opendaylight.ovsdb.lib.OvsdbClient;
import org.opendaylight.ovsdb.lib.OvsdbConnectionListener;
import org.opendaylight.ovsdb.lib.impl.OvsdbConnectionService;
+import org.opendaylight.ovsdb.southbound.transactions.md.OvsdbNodeCreateCommand;
import org.opendaylight.ovsdb.southbound.transactions.md.OvsdbNodeRemoveCommand;
import org.opendaylight.ovsdb.southbound.transactions.md.TransactionInvoker;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbBridgeAttributes;
ConnectionInfo key = SouthboundMapper.createConnectionInfo(externalClient);
OvsdbConnectionInstance client = new OvsdbConnectionInstance(key,externalClient,txInvoker);
putConnectionInstance(key, client);
+ txInvoker.invoke(new OvsdbNodeCreateCommand(key, null,null));
}
@Override