2 * Copyright © 2015 Red Hat, Inc. and others. All rights reserved.
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 package org.opendaylight.ovsdb.openstack.netvirt.sfc;
10 import static org.ops4j.pax.exam.CoreOptions.composite;
11 import static org.ops4j.pax.exam.CoreOptions.maven;
12 import static org.ops4j.pax.exam.karaf.options.KarafDistributionOption.editConfigurationFilePut;
14 import org.junit.Assert;
15 import org.junit.Test;
16 import org.junit.runner.RunWith;
17 import org.opendaylight.controller.mdsal.it.base.AbstractMdsalTestBase;
18 import org.ops4j.pax.exam.Option;
19 import org.ops4j.pax.exam.junit.PaxExam;
20 import org.ops4j.pax.exam.karaf.options.LogLevelOption.LogLevel;
21 import org.ops4j.pax.exam.options.MavenUrlReference;
22 import org.ops4j.pax.exam.spi.reactors.ExamReactorStrategy;
23 import org.ops4j.pax.exam.spi.reactors.PerClass;
24 import org.slf4j.Logger;
25 import org.slf4j.LoggerFactory;
27 @RunWith(PaxExam.class)
28 @ExamReactorStrategy(PerClass.class)
29 public class NetvirtSfcIT extends AbstractMdsalTestBase {
30 private static final Logger LOG = LoggerFactory.getLogger(NetvirtSfcIT.class);
33 public String getModuleName() {
38 public String getInstanceName() {
39 return "netvirt-sfc-default";
43 public MavenUrlReference getFeatureRepo() {
45 .groupId("org.opendaylight.ovsdb")
46 .artifactId("openstack.net-virt-sfc-features")
47 .classifier("features")
49 .versionAsInProject();
53 public String getFeatureName() {
54 return "odl-ovsdb-sfc-ui";
58 public Option getLoggingOption() {
59 Option option = editConfigurationFilePut(ORG_OPS4J_PAX_LOGGING_CFG,
60 logConfiguration(NetvirtSfcIT.class),
61 LogLevel.INFO.name());
62 option = composite(option, super.getLoggingOption());
67 public void testnetvirtsfcFeatureLoad() {
68 Assert.assertTrue(true);