Fix build faliures due to OFPlugin checktyle fixes
[netvirt.git] / vpnservice / natservice / natservice-api / src / main / java / org / opendaylight / netvirt / natservice / api / SnatServiceManager.java
1 /*
2  * Copyright (c) 2017 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 package org.opendaylight.netvirt.natservice.api;
9
10 import java.math.BigInteger;
11
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.natservice.rev160111.ext.routers.Routers;
13
14 public interface SnatServiceManager {
15
16     enum Action {
17         SNAT_ALL_SWITCH_ENBL,
18         SNAT_ALL_SWITCH_DISBL,
19         SNAT_ROUTER_ENBL,
20         SNAT_ROUTER_DISBL
21     }
22
23     void addNatServiceListener(SnatServiceListener aclServiceListner);
24
25     void removeNatServiceListener(SnatServiceListener aclServiceListner);
26
27     void notify(Routers router, BigInteger primarySwitchId, BigInteger dpnId, Action action);
28
29 }