2 * Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. and others. All rights reserved.
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
8 package org.opendaylight.netvirt.elan.arp.responder;
10 public enum ArpResponderConstant {
13 * ARP Responder table name.
15 * <p>Value:<b>Arp_Responder_Table</b>
17 TABLE_NAME("Arp_Responder_Table"),
19 * ARP Responder group table name.
21 * <p>Value:<b>Arp_Responder_Group_Flow</b>
23 GROUP_FLOW_NAME("Arp_Responder_Group_Flow"),
25 * ARP Responder Drop Flow name.
27 * <p>Value:<b>Arp_Responder_Drop_Flow</b>
29 DROP_FLOW_NAME("Arp_Responder_Drop_Flow"),
31 * ARP Responder Flow ID.
33 * <p>Value:<b>Arp:tbl_{0}:lport_{1}:gw_{2}</b>
34 * <ul><li>0: Table Id</li>
35 * <li>1: LPort Tag</li>
36 * <li>2: Target Protocol Address IP in String</li></ul>
38 FLOW_ID_FORMAT_WITH_LPORT("Arp:tbl_{0}:lport_{1}:tpa_{2}"),
40 * ARP Responder Flow ID.
42 * <p>Value:<b>Arp:tbl_{0}:lport_{1}:gw_{2}</b>
43 * <ul><li>0: Table Id</li>
44 * <li>1: LPort Tag</li>
45 * <li>2: Target Protocol Address IP in String</li></ul>
47 FLOW_ID_FORMAT_WITHOUT_LPORT("Arp:tbl_{0}:tpa_{1}"),
49 * Pool name from which group id to be generated.
51 * <p>Value:<b>elan.ids.pool</b>
53 ELAN_ID_POOL_NAME("elan.ids.pool"),
55 * Name of the group id for the pool entry.
57 * <p>Value:<b>arp.responder.group.id</b>
59 ARP_RESPONDER_GROUP_ID("arp.responder.group.id"),
61 * Prefix for arp check table.
63 * <p>Value:<b>arp.check.table.</b>
65 FLOWID_PREFIX_FOR_ARP_CHECK("arp.check.table."),
67 * Prefix for l3 gateway mac table.
69 * <p>Value:<b>arp.l3.gwmac.table.</b>
71 FLOWID_PREFIX_FOR_MY_GW_MAC("arp.l3.gwmac.table.");
76 private final String value;
79 * Constructor with single argument.
81 * @param value String enum value
83 ArpResponderConstant(final String value) {
90 * @return {@link #value}
92 public String value() {