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 java.util.List;
14 import org.junit.Test;
15 import org.opendaylight.controller.sal.core.Node;
16 import org.slf4j.Logger;
17 import org.slf4j.LoggerFactory;
19 public class OvsdbTestGetBridgeDomainsIT extends OvsdbTestBase {
20 private static final Logger logger = LoggerFactory
21 .getLogger(OvsdbTestGetBridgeDomainsIT.class);
24 public void getBridgeDomains() throws Throwable{
26 TestObjects testObjects = getTestConnection();
27 ConnectionService connectionService = testObjects.connectionService;
28 Node node = testObjects.node;
31 * List a Bridge Domain
33 * @param node Node serving this configuration service
36 ConfigurationService configurationService = new ConfigurationService();
37 configurationService.setConnectionServiceInternal(connectionService);
38 List<String> ls = configurationService.getBridgeDomains(node);
39 System.out.println(ls);