Merge "Security Groups: Added support for ICMP, ALL ICMP and Others protocol Change...
[ovsdb.git] / openstack / net-virt-sfc / impl / src / main / java / org / opendaylight / ovsdb / openstack / netvirt / sfc / ISfcClassifierService.java
1 /*
2  * Copyright © 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.sfc;
10
11 import java.net.InetAddress;
12 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev150317.access.lists.acl.access.list.entries.ace.Matches;
13 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924.IpAddress;
14
15 public interface ISfcClassifierService {
16     void programIngressClassifier(long dataPathId, String ruleName, Matches matches,
17                                   NshUtils nshHeader, long vxGpeOfPort, boolean write);
18
19     void programSfcTable(long dataPathId, long vxGpeOfPort, short goToTableId, boolean write);
20
21     void programEgressClassifier1(long dataPathId, long vxGpeOfPort, long nsp, short nsi,
22                                   int tunnelOfPort, int tunnelId, short gotoTableId, boolean write);
23
24     void programEgressClassifier2(long dataPathId, long vxGpeOfPort, long nsp, short nsi,
25                                   int tunnelOfPort, int tunnelId, boolean write);
26
27     void program_sfEgress(long dataPathId, int dstPort, boolean write);
28
29     void program_sfIngress(long dataPathId, int dstPort, long sfOfPort,
30                            String ipAddress, String sfDplName, boolean write);
31
32     void programStaticArpEntry(long dataPathId, long ofPort, String macAddressStr,
33                                String ipAddress, boolean write);
34 }