Use unit types in AlivenessMonitorUtils
[genius.git] / interfacemanager / interfacemanager-impl / src / main / java / org / opendaylight / genius / interfacemanager / pmcounters / CounterConstants.java
1 /*
2  * Copyright (c) 2018 Ericsson India Global Services Pvt Ltd. 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 package org.opendaylight.genius.interfacemanager.pmcounters;
9
10 public interface CounterConstants {
11     //IFM counter name strings
12     String IFM_PORT_COUNTER_OFPORT_DURATION = "OFPortDuration";
13     String IFM_PORT_COUNTER_OFPORT_PKT_RECVDROP = "PacketsPerOFPortReceiveDrop";
14     String IFM_PORT_COUNTER_OFPORT_PKT_RECVERROR = "PacketsPerOFPortReceiveError";
15     String IFM_PORT_COUNTER_OFPORT_PKT_SENT = "PacketsPerOFPortSent";
16     String IFM_PORT_COUNTER_OFPORT_PKT_RECV = "PacketsPerOFPortReceive";
17     String IFM_PORT_COUNTER_OFPORT_BYTE_SENT = "BytesPerOFPortSent";
18     String IFM_PORT_COUNTER_OFPORT_BYTE_RECV = "BytesPerOFPortReceive";
19     String IFM_FLOW_TBL_COUNTER_FLOWS_PER_TBL = "EntriesPerOFTable";
20
21     // IFM counter metric key constants
22     String CNT_TYPE_ENTITY_CNT_ID = "entitycounter";
23     String LBL_KEY_ENTITY_TYPE = "entitytype";
24     String LBL_VAL_ENTITY_TYPE_PORT = "port";
25     String LBL_VAL_ENTITY_TYPE_FLOWTBL = "flowtable";
26     String LBL_KEY_SWITCHID = "switchid";
27     String LBL_KEY_PORTID = "portid";
28     String LBL_KEY_FLOWTBLID = "flowtableid";
29     String LBL_KEY_ALIASID = "aliasid";
30     String LBL_KEY_COUNTER_NAME = "name";
31 }