2 * [[ Authors will Fill in the Copyright header ]]
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 : Brent Salisbury, Hugo Trippaers
10 package org.opendaylight.ovsdb.plugin;
12 import org.junit.Test;
13 import org.opendaylight.controller.sal.core.Node;
14 import org.opendaylight.ovsdb.plugin.impl.ConfigurationServiceImpl;
16 import org.slf4j.Logger;
17 import org.slf4j.LoggerFactory;
19 public class BridgeDomainConfigManagerTestCases extends PluginTestBase {
20 private static final Logger logger = LoggerFactory
21 .getLogger(BridgeDomainConfigManagerTestCases.class);
24 public void setManager() throws Throwable{
25 TestObjects testObjects = getTestConnection();
26 Node node = testObjects.node;
30 String host = FAKE_IP;
31 String connectionType = "ptcp";
33 String manager = connectionType + ":" + host + ":" + port;
36 * Implements the OVS Connection for Managers
38 * @param node Node serving this configuration service
39 * @param String with IP and connection type ex. type:ip:port
42 ConfigurationServiceImpl configurationService = testObjects.configurationService;
43 configurationService.setManager(node, manager);