2 * Copyright (C) 2014 Matt Oswalt
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
8 * Authors : Matt Oswalt
11 package org.opendaylight.ovsdb.schema.hardwarevtep;
13 import org.junit.runner.RunWith;
14 import org.junit.runners.Suite;
15 import org.opendaylight.ovsdb.lib.OvsdbClient;
16 import org.opendaylight.ovsdb.lib.notation.Row;
17 import org.opendaylight.ovsdb.lib.notation.UUID;
18 import org.opendaylight.ovsdb.lib.schema.DatabaseSchema;
20 import java.util.HashMap;
25 MonitorTestCases.class,
26 ManagerTestCases.class
29 public class HardwareVtepSchemaSuiteIT {
30 // Keep this data between test runs
31 static OvsdbClient ovsdbClient;
32 static DatabaseSchema dbSchema;
33 static UUID testManagerUuid;
34 static UUID testLogicalSwitchUuid;
35 static Map<String, Map<UUID, Row>> tableCache = new HashMap<String, Map<UUID, Row>>();
37 public static OvsdbClient getOvsdbClient() {
41 public static void setOvsdbClient(OvsdbClient ovsdbClient) {
42 HardwareVtepSchemaSuiteIT.ovsdbClient = ovsdbClient;
45 public static UUID getTestManagerUuid() {
46 return testManagerUuid;
49 public static void setTestManagerUuid(UUID testManagerUuid) {
50 HardwareVtepSchemaSuiteIT.testManagerUuid = testManagerUuid;
53 public static UUID getTestLogicalSwitchUuid() {
54 return testLogicalSwitchUuid;
57 public static void setTestLogicalSwitchUuid(UUID testLogicalSwitchUuid) {
58 HardwareVtepSchemaSuiteIT.testLogicalSwitchUuid = testLogicalSwitchUuid;
61 public static Map<String, Map<UUID, Row>> getTableCache() {