2 * Copyright (c) 2015 - 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.vpnservice.mdsalutil;
10 public class NwConstants {
13 public static final int ETHTYPE_802_1Q = 0X8100;
14 public static final int ETHTYPE_IPV4 = 0X0800;
15 public static final int ETHTYPE_ARP = 0X0806;
17 public static final int ETHTYPE_MPLS_UC = 0X8847;
18 public static final int ETHTYPE_PBB = 0X88E7;
21 public static final int IP_PROT_UDP = 17;
22 public static final int IP_PROT_GRE = 47;
25 public static final int ARP_REQUEST = 1;
26 public static final int ARP_REPLY = 2;
29 public static final int UDP_DEFAULT_PORT = 4789;
33 public static final int ADD_FLOW = 0;
34 public static final int DEL_FLOW = 1;
35 public static final int MOD_FLOW = 2;
38 public static final String FLOWID_SEPARATOR = ".";
39 public static final int TABLE_MISS_FLOW = 0;
40 public static final int TABLE_MISS_PRIORITY = 0;
42 public static final int DEFAULT_ARP_FLOW_PRIORITY = 100;