/* * [[ Authors will Fill in the Copyright header ]] * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html * * Authors : Brent Salisbury, Hugo Trippaers */ package org.opendaylight.ovsdb.plugin; import org.junit.Test; import org.opendaylight.controller.sal.core.Node; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.google.gson.internal.Pair; public class OvsdbTestSetManagerIT extends OvsdbTestBase { private static final Logger logger = LoggerFactory .getLogger(OvsdbTestSetManagerIT.class); @Test public void setManager() throws Throwable{ Pair connection = getTestConnection(); ConnectionService connectionService = connection.first; Node node = connection.second; /** * Implements the OVS Connection for Managers * * @param node Node serving this configuration service * @param String with IP and connection type ex. type:ip:port * */ ConfigurationService configurationService = new ConfigurationService(); configurationService.setConnectionServiceInternal(connectionService); configurationService.setManager(node, "ptcp:6634:172.16.58.128"); } }