Updating the commons parent pom to 1.4.1-SNAPSHOT and checkstyle fixes
[netvirt.git] / ovsdb / src / test / java / org / opendaylight / ovsdb / plugin / OvsdbTestSetManagerIT.java
1 /*
2  * [[ Authors will Fill in the Copyright header ]]
3  *
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
7  *
8  * Authors : Brent Salisbury, Hugo Trippaers
9  */
10 package org.opendaylight.ovsdb.plugin;\r
11 \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
16 \r
17 import com.google.gson.internal.Pair;\r
18 \r
19 public class OvsdbTestSetManagerIT extends OvsdbTestBase {\r
20     private static final Logger logger = LoggerFactory\r
21             .getLogger(OvsdbTestSetManagerIT.class);\r
22 \r
23     @Test\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
28 \r
29         /**\r
30          * Implements the OVS Connection for Managers\r
31          *\r
32          * @param node Node serving this configuration service\r
33          * @param String with IP and connection type ex. type:ip:port\r
34          *\r
35          */\r
36         ConfigurationService configurationService = new ConfigurationService();\r
37         configurationService.setConnectionServiceInternal(connectionService);\r
38         configurationService.setManager(node, "ptcp:6634:172.16.58.128");\r
39     }\r
40 \r
41 }\r