When physical switch update arrives write it in op datastore.
Change-Id: I46ca4f70b59961eeebbc17c0073fe40f852278b5
Signed-off-by: K.V Suneelu Verma <k.v.suneelu.verma@ericsson.com>
// Update the Physical Switch with whatever data we are getting
InstanceIdentifier<Node> psIid = getInstanceIdentifier(pSwitch);
Node psNode = buildPhysicalSwitchNode(connection.get(), pSwitch);
+ transaction.merge(LogicalDatastoreType.OPERATIONAL, psIid, psNode);
PhysicalSwitch oldPSwitch = oldPSRows.get(uuid);
updateTunnelIps(pSwitch, oldPSwitch, transaction);