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