2 * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.ovsdb.hwvtepsouthbound.transactions.md;
12 import org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction;
13 import org.opendaylight.ovsdb.hwvtepsouthbound.HwvtepConnectionInstance;
14 import org.opendaylight.ovsdb.lib.message.TableUpdates;
15 import org.opendaylight.ovsdb.lib.notation.UUID;
16 import org.opendaylight.ovsdb.lib.schema.DatabaseSchema;
17 import org.opendaylight.ovsdb.lib.schema.typed.TyperUtils;
18 import org.opendaylight.ovsdb.schema.hardwarevtep.Manager;
19 import org.slf4j.Logger;
20 import org.slf4j.LoggerFactory;
22 public class HwvtepManagerUpdateCommand extends AbstractTransactionCommand {
24 private static final Logger LOG = LoggerFactory.getLogger(HwvtepManagerUpdateCommand.class);
25 private Map<UUID, Manager> updatedMgrRows;
26 private Map<UUID, Manager> oldMgrRows;
28 public HwvtepManagerUpdateCommand(HwvtepConnectionInstance key, TableUpdates updates,
29 DatabaseSchema dbSchema) {
30 super(key, updates, dbSchema);
31 updatedMgrRows = TyperUtils.extractRowsUpdated(Manager.class, getUpdates(),getDbSchema());
32 oldMgrRows = TyperUtils.extractRowsOld(Manager.class, getUpdates(),getDbSchema());
36 public void execute(ReadWriteTransaction transaction) {
37 // TODO Auto-generated method stub