* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.sfc.iosxe.provider.renderer;
+package org.opendaylight.sfc.renderers.iosxe;
-import static org.opendaylight.sfc.iosxe.provider.utils.IosXeDataStoreAPI.Transaction.DELETE_PATH;
-import static org.opendaylight.sfc.iosxe.provider.utils.IosXeDataStoreAPI.Transaction.WRITE_PATH;
-import static org.opendaylight.sfc.iosxe.provider.utils.IosXeDataStoreAPI.Transaction.WRITE_REMOTE;
import static org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.rsp.manager.rev160421.renderer.path.states.renderer.path.state.configured.rendered.paths.ConfiguredRenderedPath.PathStatus.Failure;
import static org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.rsp.manager.rev160421.renderer.path.states.renderer.path.state.configured.rendered.paths.ConfiguredRenderedPath.PathStatus.InProgress;
import static org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.rsp.manager.rev160421.renderer.path.states.renderer.path.state.configured.rendered.paths.ConfiguredRenderedPath.PathStatus.Success;
import javax.inject.Singleton;
import org.opendaylight.controller.md.sal.binding.api.DataBroker;
import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
-import org.opendaylight.sfc.iosxe.provider.utils.IosXeDataStoreAPI;
-import org.opendaylight.sfc.iosxe.provider.utils.RspStatus;
-import org.opendaylight.sfc.iosxe.provider.utils.SfcIosXeUtils;
import org.opendaylight.sfc.provider.api.SfcProviderServiceForwarderAPI;
import org.opendaylight.sfc.provider.api.SfcProviderServiceFunctionAPI;
+import org.opendaylight.sfc.renderers.iosxe.utils.IosXeDataStoreAPI;
+import org.opendaylight.sfc.renderers.iosxe.utils.RspStatus;
+import org.opendaylight.sfc.renderers.iosxe.utils.SfcIosXeUtils;
import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.common.rev151017.SfName;
import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.common.rev151017.SffName;
import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.rsp.rev140701.rendered.service.paths.RenderedServicePath;
status.writeStatus(Failure);
return;
}
- new IosXeDataStoreAPI(previousMountPoint, currentRemoteForwarder, WRITE_REMOTE,
- LogicalDatastoreType.CONFIGURATION).call();
+ new IosXeDataStoreAPI(previousMountPoint, currentRemoteForwarder,
+ IosXeDataStoreAPI.Transaction.WRITE_REMOTE, LogicalDatastoreType.CONFIGURATION)
+ .call();
// Create last service entry to previous node which sends
// traffic to current node
serviceTypeChoice = buildServiceFunctionForwarderChoice(currentSffName.getValue());
// List of services completed for last mountpoint, create
// service path entries and write it
ServicePath servicePath = createServicePath(pathId, services);
- new IosXeDataStoreAPI(previousMountPoint, servicePath, WRITE_PATH, LogicalDatastoreType.CONFIGURATION)
- .call();
+ new IosXeDataStoreAPI(previousMountPoint, servicePath, IosXeDataStoreAPI.Transaction.WRITE_PATH,
+ LogicalDatastoreType.CONFIGURATION).call();
// Start with new services list
services = new ArrayList<>();
sfName = hop.getServiceFunctionName();
// List of services completed for last mountpoint, create last service
// path entries and write it
ServicePath servicePath = createServicePath(pathId, services);
- new IosXeDataStoreAPI(currentMountpoint, servicePath, WRITE_PATH, LogicalDatastoreType.CONFIGURATION).call();
+ new IosXeDataStoreAPI(currentMountpoint, servicePath, IosXeDataStoreAPI.Transaction.WRITE_PATH,
+ LogicalDatastoreType.CONFIGURATION).call();
LOG.info("Rendered service path {} successfully processed", renderedServicePath.getName().getValue());
status.writeStatus(Success);
}
for (RenderedServicePathHop renderedServicePathHop : renderedServicePath.getRenderedServicePathHop()) {
SffName sffName = renderedServicePathHop.getServiceFunctionForwarder();
DataBroker sffDataBroker = getSffMountpoint(sffName);
- boolean transaction = (boolean) new IosXeDataStoreAPI(sffDataBroker, servicePathKey, DELETE_PATH,
- LogicalDatastoreType.CONFIGURATION).call();
+ boolean transaction = (boolean) new IosXeDataStoreAPI(sffDataBroker, servicePathKey,
+ IosXeDataStoreAPI.Transaction.DELETE_PATH,
+ LogicalDatastoreType.CONFIGURATION).call();
if (!transaction) {
success = false;
}
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.sfc.iosxe.provider.renderer;
-
-import static org.opendaylight.sfc.iosxe.provider.utils.IosXeDataStoreAPI.Transaction.DELETE_LOCAL;
-import static org.opendaylight.sfc.iosxe.provider.utils.IosXeDataStoreAPI.Transaction.WRITE_LOCAL;
+package org.opendaylight.sfc.renderers.iosxe;
import java.util.List;
import javax.inject.Inject;
import javax.inject.Singleton;
import org.opendaylight.controller.md.sal.binding.api.DataBroker;
import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
-import org.opendaylight.sfc.iosxe.provider.utils.IosXeDataStoreAPI;
-import org.opendaylight.sfc.iosxe.provider.utils.SfcIosXeUtils;
+import org.opendaylight.sfc.renderers.iosxe.utils.IosXeDataStoreAPI;
+import org.opendaylight.sfc.renderers.iosxe.utils.SfcIosXeUtils;
import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.sff.rev140701.service.function.forwarder.base.SffDataPlaneLocator;
import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.sff.rev140701.service.function.forwarder.base.sff.data.plane.locator.DataPlaneLocator;
import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.sff.rev140701.service.function.forwarders.ServiceFunctionForwarder;
.ServiceFunctionForwarder localForwarder =
SfcIosXeUtils.createLocalForwarder(ipAddress);
if (localForwarder != null && !delete) {
- IosXeDataStoreAPI writeServiceFunction = new IosXeDataStoreAPI(mountPoint,
- localForwarder.getLocal(), WRITE_LOCAL, LogicalDatastoreType.CONFIGURATION);
+ IosXeDataStoreAPI writeServiceFunction =
+ new IosXeDataStoreAPI(mountPoint, localForwarder.getLocal(),
+ IosXeDataStoreAPI.Transaction.WRITE_LOCAL,
+ LogicalDatastoreType.CONFIGURATION);
Object result = writeServiceFunction.call();
if (Boolean.TRUE.equals(result)) {
LOG.info("Local forwarder with ip {} created on node {}",
}
}
if (localForwarder != null && delete) {
- IosXeDataStoreAPI writeServiceFunction = new IosXeDataStoreAPI(mountPoint,
- localForwarder.getLocal(), DELETE_LOCAL,
- LogicalDatastoreType.CONFIGURATION);
+ IosXeDataStoreAPI writeServiceFunction =
+ new IosXeDataStoreAPI(mountPoint, localForwarder.getLocal(),
+ IosXeDataStoreAPI.Transaction.DELETE_LOCAL,
+ LogicalDatastoreType.CONFIGURATION);
Object result = writeServiceFunction.call();
if (Boolean.TRUE.equals(result)) {
LOG.info("Local forwarder removed from node {}", netconfNode.getNodeId()
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.sfc.iosxe.provider.renderer;
-
-import static org.opendaylight.sfc.iosxe.provider.utils.IosXeDataStoreAPI.Transaction.DELETE_FUNCTION;
-import static org.opendaylight.sfc.iosxe.provider.utils.IosXeDataStoreAPI.Transaction.WRITE_FUNCTION;
+package org.opendaylight.sfc.renderers.iosxe;
import java.util.List;
import javax.inject.Inject;
import javax.inject.Singleton;
import org.opendaylight.controller.md.sal.binding.api.DataBroker;
import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
-import org.opendaylight.sfc.iosxe.provider.utils.IosXeDataStoreAPI;
-import org.opendaylight.sfc.iosxe.provider.utils.SfcIosXeUtils;
+import org.opendaylight.sfc.renderers.iosxe.utils.IosXeDataStoreAPI;
+import org.opendaylight.sfc.renderers.iosxe.utils.SfcIosXeUtils;
import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.common.rev151017.SfName;
import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.sf.rev140701.service.function.base.SfDataPlaneLocator;
import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.sf.rev140701.service.functions.ServiceFunction;
org.opendaylight.yang.gen.v1.urn.ios.rev160308._native.service.chain.ServiceFunction
serviceFunction = createNetconfServiceFunction(function);
if (serviceFunction != null) {
- IosXeDataStoreAPI writeServiceFunction = new IosXeDataStoreAPI(mountPoint, serviceFunction,
- WRITE_FUNCTION,
- LogicalDatastoreType
- .CONFIGURATION);
+ IosXeDataStoreAPI writeServiceFunction =
+ new IosXeDataStoreAPI(mountPoint, serviceFunction,
+ IosXeDataStoreAPI.Transaction.WRITE_FUNCTION,
+ LogicalDatastoreType.CONFIGURATION);
Object result = writeServiceFunction.call();
if (Boolean.TRUE.equals(result)) {
LOG.info("Service function {} created on node {}", serviceFunction.getName(),
org.opendaylight.yang.gen.v1.urn.ios.rev160308._native.service.chain.ServiceFunction
serviceFunction = createNetconfServiceFunction(function);
if (serviceFunction != null) {
- IosXeDataStoreAPI writeServiceFunction = new IosXeDataStoreAPI(mountPoint,
- serviceFunction.getKey(),
- DELETE_FUNCTION,
+ IosXeDataStoreAPI writeServiceFunction =
+ new IosXeDataStoreAPI(mountPoint, serviceFunction.getKey(),
+ IosXeDataStoreAPI.Transaction.DELETE_FUNCTION,
LogicalDatastoreType
.CONFIGURATION);
Object result = writeServiceFunction.call();
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.sfc.iosxe.provider.renderer;
+package org.opendaylight.sfc.renderers.iosxe;
import com.google.common.base.Optional;
import com.google.common.base.Preconditions;
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.sfc.iosxe.provider.listener;
+package org.opendaylight.sfc.renderers.iosxe.listeners;
import javax.annotation.Nonnull;
import javax.inject.Inject;
import org.opendaylight.controller.md.sal.binding.api.DataBroker;
import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
import org.opendaylight.genius.datastoreutils.listeners.AbstractSyncDataTreeChangeListener;
-import org.opendaylight.sfc.iosxe.provider.renderer.NodeManager;
+import org.opendaylight.sfc.renderers.iosxe.NodeManager;
import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NetworkTopology;
import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology;
import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node;
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.sfc.iosxe.provider.listener;
+package org.opendaylight.sfc.renderers.iosxe.listeners;
import javax.annotation.Nonnull;
import javax.inject.Inject;
import org.opendaylight.controller.md.sal.binding.api.DataBroker;
import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
import org.opendaylight.genius.datastoreutils.listeners.AbstractSyncDataTreeChangeListener;
-import org.opendaylight.sfc.iosxe.provider.renderer.IosXeRspProcessor;
+import org.opendaylight.sfc.renderers.iosxe.IosXeRspProcessor;
import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.rsp.rev140701.RenderedServicePaths;
import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.sfc.iosxe.provider.listener;
+package org.opendaylight.sfc.renderers.iosxe.listeners;
import javax.annotation.Nonnull;
import javax.inject.Inject;
import org.opendaylight.controller.md.sal.binding.api.DataBroker;
import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
import org.opendaylight.genius.datastoreutils.listeners.AbstractSyncDataTreeChangeListener;
-import org.opendaylight.sfc.iosxe.provider.renderer.IosXeServiceForwarderMapper;
+import org.opendaylight.sfc.renderers.iosxe.IosXeServiceForwarderMapper;
import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.sff.rev140701.ServiceFunctionForwarders;
import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.sfc.iosxe.provider.listener;
+package org.opendaylight.sfc.renderers.iosxe.listeners;
import javax.annotation.Nonnull;
import javax.inject.Inject;
import org.opendaylight.controller.md.sal.binding.api.DataBroker;
import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
import org.opendaylight.genius.datastoreutils.listeners.AbstractSyncDataTreeChangeListener;
-import org.opendaylight.sfc.iosxe.provider.renderer.IosXeServiceFunctionMapper;
+import org.opendaylight.sfc.renderers.iosxe.IosXeServiceFunctionMapper;
import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.sf.rev140701.ServiceFunctions;
import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.sfc.iosxe.provider.utils;
+package org.opendaylight.sfc.renderers.iosxe.utils;
import com.google.common.base.Optional;
import com.google.common.base.Preconditions;
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.sfc.iosxe.provider.utils;
+package org.opendaylight.sfc.renderers.iosxe.utils;
import com.google.common.base.Preconditions;
import com.google.common.util.concurrent.CheckedFuture;
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.sfc.iosxe.provider.utils;
+package org.opendaylight.sfc.renderers.iosxe.utils;
import java.util.List;
import javax.annotation.Nonnull;
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.sfc.iosxe.provider.test.renderer;
+package org.opendaylight.sfc.renderers.iosxe.test;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
-import static org.opendaylight.sfc.iosxe.provider.utils.IosXeDataStoreAPI.Transaction.READ_PATH;
+import static org.opendaylight.sfc.renderers.iosxe.utils.IosXeDataStoreAPI.Transaction.READ_PATH;
import java.util.ArrayList;
import java.util.List;
import org.junit.Before;
-//import org.junit.Test;
import org.opendaylight.controller.md.sal.binding.api.DataBroker;
import org.opendaylight.controller.md.sal.binding.test.AbstractDataBrokerTest;
import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
-import org.opendaylight.sfc.iosxe.provider.renderer.IosXeRspProcessor;
-import org.opendaylight.sfc.iosxe.provider.renderer.NodeManager;
-import org.opendaylight.sfc.iosxe.provider.utils.IosXeDataStoreAPI;
import org.opendaylight.sfc.provider.api.SfcDataStoreAPI;
import org.opendaylight.sfc.provider.api.SfcProviderServiceForwarderAPI;
import org.opendaylight.sfc.provider.api.SfcProviderServiceFunctionAPI;
+import org.opendaylight.sfc.renderers.iosxe.IosXeRspProcessor;
+import org.opendaylight.sfc.renderers.iosxe.NodeManager;
+import org.opendaylight.sfc.renderers.iosxe.utils.IosXeDataStoreAPI;
import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.common.rev151017.RspName;
import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.common.rev151017.SfName;
import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.common.rev151017.SffDataPlaneLocatorName;
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.sfc.iosxe.provider.test.renderer;
+package org.opendaylight.sfc.renderers.iosxe.test;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.times;
import org.junit.Test;
import org.opendaylight.controller.md.sal.binding.api.DataBroker;
import org.opendaylight.controller.md.sal.binding.api.WriteTransaction;
-import org.opendaylight.sfc.iosxe.provider.renderer.IosXeServiceForwarderMapper;
-import org.opendaylight.sfc.iosxe.provider.renderer.NodeManager;
+import org.opendaylight.sfc.renderers.iosxe.IosXeServiceForwarderMapper;
+import org.opendaylight.sfc.renderers.iosxe.NodeManager;
import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.common.rev151017.SffName;
import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.sff.rev140701.service.function.forwarder.base.SffDataPlaneLocator;
import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.sff.rev140701.service.function.forwarder.base.SffDataPlaneLocatorBuilder;
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.sfc.iosxe.provider.test.renderer;
+package org.opendaylight.sfc.renderers.iosxe.test;
import static org.mockito.Matchers.any;
import static org.mockito.Mockito.mock;
import org.junit.Test;
import org.opendaylight.controller.md.sal.binding.api.DataBroker;
import org.opendaylight.controller.md.sal.binding.api.WriteTransaction;
-import org.opendaylight.sfc.iosxe.provider.renderer.IosXeServiceFunctionMapper;
-import org.opendaylight.sfc.iosxe.provider.renderer.NodeManager;
+import org.opendaylight.sfc.renderers.iosxe.IosXeServiceFunctionMapper;
+import org.opendaylight.sfc.renderers.iosxe.NodeManager;
import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.common.rev151017.SfName;
import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.sf.rev140701.service.function.base.SfDataPlaneLocator;
import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.sf.rev140701.service.function.base.SfDataPlaneLocatorBuilder;
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.sfc.iosxe.provider.test.renderer;
+package org.opendaylight.sfc.renderers.iosxe.test;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.opendaylight.controller.md.sal.binding.api.MountPointService;
import org.opendaylight.controller.sal.binding.api.BindingAwareBroker;
import org.opendaylight.controller.sal.binding.api.BindingAwareProvider;
-import org.opendaylight.sfc.iosxe.provider.renderer.NodeManager;
+import org.opendaylight.sfc.renderers.iosxe.NodeManager;
import org.opendaylight.yang.gen.v1.urn.opendaylight.netconf.node.topology.rev150114.NetconfNode;
import org.opendaylight.yang.gen.v1.urn.opendaylight.netconf.node.topology.rev150114.NetconfNodeBuilder;
import org.opendaylight.yang.gen.v1.urn.opendaylight.netconf.node.topology.rev150114.NetconfNodeConnectionStatus;
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.sfc.iosxe.provider.test.utils;
+package org.opendaylight.sfc.renderers.iosxe.test.utils;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
-import static org.opendaylight.sfc.iosxe.provider.utils.IosXeDataStoreAPI.Transaction.DELETE_FUNCTION;
-import static org.opendaylight.sfc.iosxe.provider.utils.IosXeDataStoreAPI.Transaction.DELETE_LOCAL;
-import static org.opendaylight.sfc.iosxe.provider.utils.IosXeDataStoreAPI.Transaction.DELETE_PATH;
-import static org.opendaylight.sfc.iosxe.provider.utils.IosXeDataStoreAPI.Transaction.DELETE_REMOTE;
-import static org.opendaylight.sfc.iosxe.provider.utils.IosXeDataStoreAPI.Transaction.READ_FUNCTION;
-import static org.opendaylight.sfc.iosxe.provider.utils.IosXeDataStoreAPI.Transaction.READ_LOCAL;
-import static org.opendaylight.sfc.iosxe.provider.utils.IosXeDataStoreAPI.Transaction.READ_REMOTE;
-import static org.opendaylight.sfc.iosxe.provider.utils.IosXeDataStoreAPI.Transaction.WRITE_FUNCTION;
-import static org.opendaylight.sfc.iosxe.provider.utils.IosXeDataStoreAPI.Transaction.WRITE_LOCAL;
-import static org.opendaylight.sfc.iosxe.provider.utils.IosXeDataStoreAPI.Transaction.WRITE_PATH;
-import static org.opendaylight.sfc.iosxe.provider.utils.IosXeDataStoreAPI.Transaction.WRITE_REMOTE;
+import static org.opendaylight.sfc.renderers.iosxe.utils.IosXeDataStoreAPI.Transaction.DELETE_FUNCTION;
+import static org.opendaylight.sfc.renderers.iosxe.utils.IosXeDataStoreAPI.Transaction.DELETE_LOCAL;
+import static org.opendaylight.sfc.renderers.iosxe.utils.IosXeDataStoreAPI.Transaction.DELETE_PATH;
+import static org.opendaylight.sfc.renderers.iosxe.utils.IosXeDataStoreAPI.Transaction.DELETE_REMOTE;
+import static org.opendaylight.sfc.renderers.iosxe.utils.IosXeDataStoreAPI.Transaction.READ_FUNCTION;
+import static org.opendaylight.sfc.renderers.iosxe.utils.IosXeDataStoreAPI.Transaction.READ_LOCAL;
+import static org.opendaylight.sfc.renderers.iosxe.utils.IosXeDataStoreAPI.Transaction.READ_REMOTE;
+import static org.opendaylight.sfc.renderers.iosxe.utils.IosXeDataStoreAPI.Transaction.WRITE_FUNCTION;
+import static org.opendaylight.sfc.renderers.iosxe.utils.IosXeDataStoreAPI.Transaction.WRITE_LOCAL;
+import static org.opendaylight.sfc.renderers.iosxe.utils.IosXeDataStoreAPI.Transaction.WRITE_PATH;
+import static org.opendaylight.sfc.renderers.iosxe.utils.IosXeDataStoreAPI.Transaction.WRITE_REMOTE;
import org.junit.Before;
import org.junit.Test;
import org.opendaylight.controller.md.sal.binding.api.DataBroker;
import org.opendaylight.controller.md.sal.binding.test.AbstractDataBrokerTest;
import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
-import org.opendaylight.sfc.iosxe.provider.utils.IosXeDataStoreAPI;
+import org.opendaylight.sfc.renderers.iosxe.utils.IosXeDataStoreAPI;
import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.common.rev151017.SfName;
import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.common.rev151017.SffName;
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address;
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.sfc.iosxe.provider.test.utils;
+package org.opendaylight.sfc.renderers.iosxe.test.utils;
import static junit.framework.TestCase.assertEquals;
import static junit.framework.TestCase.assertNotNull;
import java.util.List;
import org.junit.Test;
import org.junit.runner.RunWith;
-import org.opendaylight.sfc.iosxe.provider.utils.SfcIosXeUtils;
import org.opendaylight.sfc.provider.api.SfcProviderServiceForwarderAPI;
+import org.opendaylight.sfc.renderers.iosxe.utils.SfcIosXeUtils;
import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.common.rev151017.SffName;
import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.sf.rev140701.service.function.base.SfDataPlaneLocator;
import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.sff.rev140701.service.function.forwarder.base.SffDataPlaneLocator;