Bug 3378 - ovsdb netvirt needs help in getting mac for a given ip in br-ex
[netvirt.git] / openstack / net-virt-providers / src / main / java / org / opendaylight / ovsdb / openstack / netvirt / providers / openflow13 / Service.java
1 /*
2  * Copyright (C) 2014 Red Hat, Inc.
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 : Madhu Venugopal
9  */
10
11 package org.opendaylight.ovsdb.openstack.netvirt.providers.openflow13;
12
13 public enum Service {
14
15     CLASSIFIER ((short) 0, "Classifier"),
16     GATEWAY_RESOLVER((short) 0, "External Network Gateway Resolver"),
17     DIRECTOR ((short) 10, "Director"),
18     ARP_RESPONDER ((short) 20, "Distributed ARP Responder"),
19     INBOUND_NAT ((short) 30, "DNAT for inbound floating-ip traffic"),
20     EGRESS_ACL ((short) 40, "Egress Acces-control"),
21     LOAD_BALANCER ((short) 50, "Distributed LBaaS"),
22     ROUTING ((short) 60, "Distributed Virtual Routing (DVR)"),
23     L3_FORWARDING ((short) 70, "Layer 3 forwarding/lookup service"),
24     L2_REWRITE ((short) 80, "Layer2 rewrite service"),
25     INGRESS_ACL ((short) 90, "Ingress Acces-control"),
26     OUTBOUND_NAT ((short) 100, "SNAT for traffic accessing external network"),
27     L2_FORWARDING ((short) 110, "Layer2 mac,vlan based forwarding");
28
29     short table;
30     String description;
31
32     private Service (short table, String description)  {
33         this.table = table;
34         this.description = description;
35     }
36
37     public short getTable() {
38         return table;
39     }
40
41     public String getDescription() {
42         return description;
43     }
44 }