6f8a19728298cec71d23d9fdeb0e77af6ad60d2d
[netvirt.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 java.util.List;
12 import java.util.Map;
13 import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node;
14 import org.osgi.framework.ServiceReference;
15
16 /**
17  * A PipelineOrchestrator provides the necessary orchestration logic to allow multiple network services
18  * to share a common OpenFlow 1.3 based multi-table pipeline.
19  *
20  * @author Dave Tucker
21  * @author Madhu Venugopal
22  */
23 public interface PipelineOrchestrator {
24     Service getNextServiceInPipeline(Service service);
25     AbstractServiceInstance getServiceInstance(Service service);
26     Map<Service, AbstractServiceInstance> getServiceRegistry();
27     List<Service> getStaticPipeline();
28     void enqueue(Node node);
29     void registerService(final ServiceReference ref, AbstractServiceInstance serviceInstance);
30     void unregisterService(final ServiceReference ref);
31 }