Added more ignorable files to .gitignore
[ovsdb.git] / plugin / src / test / java / org / opendaylight / ovsdb / plugin / OvsdbTestGetBridgeDomainsIT.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;
11
12 import java.util.List;
13
14 import org.junit.Test;
15 import org.opendaylight.controller.sal.core.Node;
16 import org.slf4j.Logger;
17 import org.slf4j.LoggerFactory;
18
19 public class OvsdbTestGetBridgeDomainsIT extends OvsdbTestBase {
20     private static final Logger logger = LoggerFactory
21             .getLogger(OvsdbTestGetBridgeDomainsIT.class);
22
23     @Test
24     public void getBridgeDomains() throws Throwable{
25
26         TestObjects testObjects = getTestConnection();
27         ConnectionService connectionService = testObjects.connectionService;
28         Node node = testObjects.node;
29
30         /**
31          * List a Bridge Domain
32          *
33          * @param node Node serving this configuration service
34          *
35          */
36         ConfigurationService configurationService = new ConfigurationService();
37         configurationService.setConnectionServiceInternal(connectionService);
38         List<String> ls = configurationService.getBridgeDomains(node);
39         System.out.println(ls);
40     }
41 }