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;
\r
12 import org.junit.Test;
\r
13 import org.opendaylight.controller.sal.core.Node;
\r
14 import org.slf4j.Logger;
\r
15 import org.slf4j.LoggerFactory;
\r
17 import com.google.gson.internal.Pair;
\r
19 public class OvsdbTestSetManagerIT extends OvsdbTestBase {
\r
20 private static final Logger logger = LoggerFactory
\r
21 .getLogger(OvsdbTestSetManagerIT.class);
\r
24 public void setManager() throws Throwable{
\r
25 Pair<ConnectionService, Node> connection = getTestConnection();
\r
26 ConnectionService connectionService = connection.first;
\r
27 Node node = connection.second;
\r
30 * Implements the OVS Connection for Managers
\r
32 * @param node Node serving this configuration service
\r
33 * @param String with IP and connection type ex. type:ip:port
\r
36 ConfigurationService configurationService = new ConfigurationService();
\r
37 configurationService.setConnectionServiceInternal(connectionService);
\r
38 configurationService.setManager(node, "ptcp:6634:172.16.58.128");
\r