blob: f9465425fb34c7440795da967b314e0254d6be75 [file] [log] [blame]
Cem Türker3baff672017-10-12 15:09:01 +03001/*
2 * Copyright 2017-present Open Networking Foundation
3 *
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.flow;
17
18/**
19 * Stat fields are supported default by OXS.
20 */
21public enum StatTriggerField {
22 /** Time flow entry has been alive. Unit indicates nanoseconds. */
23 DURATION,
24 /** Time flow entry has been idle. Unit indicates nanoseconds. */
25 IDLE_TIME,
26 /** Number of aggregated flow entries. */
27 FLOW_COUNT,
28 /** Number of packets in flow entry. */
29 PACKET_COUNT,
30 /** Number of bytes in flow entry. */
31 BYTE_COUNT
32}