blob: 86f713d7fb4cb4f73a11f42d1963984dc816b0be [file] [log] [blame]
Frank Wange33e4ed2017-06-28 10:01:07 +08001/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2017-present Open Networking Foundation
Frank Wange33e4ed2017-06-28 10:01:07 +08003 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.onosproject.net.pi.runtime;
17
18/**
19 * Unit tests for PiActionId class.
20 */
21public final class PiConstantsTest {
22 private PiConstantsTest() {
23 }
24 public static final String MOD_NW_DST = "mod_nw_dst";
25 public static final String DEC_TTL = "dec_ttl";
26 public static final String MOD_VLAN_VID = "mod_vlan_vid";
27 public static final String DROP = "drop";
28
29 public static final String IPV4_HEADER_NAME = "ipv4_t";
30 public static final String ETH_HEADER_NAME = "ethernet_t";
31 public static final String VLAN_HEADER_NAME = "vlan_tag_t";
32
33 public static final String ETH_TYPE = "etherType";
34 public static final String DST_ADDR = "dstAddr";
35 public static final String SRC_ADDR = "srcAddr";
36 public static final String VID = "vid";
37 public static final String PORT = "port";
Frank Wang4e848042017-08-03 19:48:11 +080038
39 public static final String EGRESS_PORT = "egress_port";
40 public static final String INGRESS_PORT = "ingress_port";
Yi Tseng82512da2017-08-16 19:46:36 -070041
42 public static final PiActionProfileId ACTION_PROF_ID =
43 PiActionProfileId.of("Test action profile");
Frank Wange33e4ed2017-06-28 10:01:07 +080044}