Project: ovsdb master
3da157271334f7b38e91b618a62130c29c0046c7
bug 7599 rename opData method as operData
Change-Id: I468ce2289fe2e11bdec0445f960cf38bb0e9798b
Signed-off-by: K.V Suneelu Verma <k.v.suneelu.verma@ericsson.com>
bug 7599 avoid mdsal read
while processing the config update avoid mdsal read
maintain the instance identifier vs connectionInstance map.
Update the map upon GlobalUpdate.
Clear the map upon node disconnect event.
Use the map to identifiy the connectionInstance for the changed node.
Change-Id: I8cbb505f0e56bdc0a3f5b46104a26aa02381ad6f
Signed-off-by: K.V Suneelu Verma <k.v.suneelu.verma@ericsson.com>
bug 7599 improve perf of ucast mcas
for ucast macs update do not read operational state again
get the relevant data from local device info.
This avoids reading the whole node possibly from the other cluster node
for processing a single ucast mac update.
Change-Id: I14eb4419a208a7d38cb665d1ac94b0c41c18bcfe
Signed-off-by: K.V Suneelu Verma <k.v.suneelu.verma@ericsson.com>
bug 7599 performance improvement for ucast macs
Using the getModifiedChildren api on the modification to identify the
modified children data under node.
updated data and deleted data is stored in operational state for access
by all the commands.
Added the following accessor methods in operational state.
List<? extends Identifiable> getUpdatedData(InstanceIdentifier<Node> key,
Class<? extends Identifiable> cls)
List<? extends Identifiable> getDeletedData(InstanceIdentifier<Node> key,
Class<? extends Identifiable> cls)
Change-Id: I76584d7c90323313da35e28a600019c05081f9d0
Signed-off-by: K.V Suneelu Verma <k.v.suneelu.verma@ericsson.com>