In LoadBalancerProvider interface, rename method programLoadBalancerMemberRules
[ovsdb.git] / openstack / net-virt / src / main / java / org / opendaylight / ovsdb / openstack / netvirt / api / LoadBalancerProvider.java
1 /*
2  * Copyright (C) 2014 SDN Hub, LLC.
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  * Authors : Srini Seetharaman
9  */
10
11 package org.opendaylight.ovsdb.openstack.netvirt.api;
12
13 import org.opendaylight.controller.sal.core.Node;
14 import org.opendaylight.controller.sal.utils.Status;
15 import org.opendaylight.ovsdb.openstack.netvirt.api.LoadBalancerConfiguration.LoadBalancerPoolMember;
16
17 /**
18  * This interface allows load-balancer flows to be written to nodes
19  */
20 public interface LoadBalancerProvider {
21
22     Status programLoadBalancerRules(Node node,
23             LoadBalancerConfiguration lbConfig, Action action);
24
25     Status programLoadBalancerPoolMemberRules(Node node,
26             LoadBalancerConfiguration lbConfig, LoadBalancerPoolMember member, Action action);
27
28 }