e6e0fd0396bf0a638685381f762206ec73d015ec
[ovsdb.git] / openstack / net-virt-providers / src / main / java / org / opendaylight / ovsdb / openstack / netvirt / providers / openflow13 / PipelineOrchestrator.java
1 /*
2  * Copyright (c) 2014, 2015 Red Hat, Inc. and others. All rights reserved.
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
9 package org.opendaylight.ovsdb.openstack.netvirt.providers.openflow13;
10
11 import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node;
12 import org.osgi.framework.ServiceReference;
13
14 /**
15  * A PipelineOrchestrator provides the necessary orchestration logic to allow multiple network services
16  * to share a common OpenFlow 1.3 based multi-table pipeline.
17  *
18  * @author Dave Tucker
19  * @author Madhu Venugopal
20  */
21 public interface PipelineOrchestrator {
22     Service getNextServiceInPipeline(Service service);
23     AbstractServiceInstance getServiceInstance(Service service);
24     void enqueue(Node node);
25     void registerService(final ServiceReference ref, AbstractServiceInstance serviceInstance);
26     void unregisterService(final ServiceReference ref);
27 }