2 * ================================================================================
3 * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
4 * ================================================================================
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 * ============LICENSE_END=========================================================
20 package org.onap.dcae.analytics.model.cef;
23 import lombok.EqualsAndHashCode;
26 * Describes the performance and errors of an identified virtual network interface card
28 * @author Rajiv Singla
31 @EqualsAndHashCode(callSuper = true)
32 public class VNicPerformance extends BaseCEFModel {
35 private static final long serialVersionUID = 1L;
38 * Cumulative count of broadcast packets received as read at the end of the measurement interval
40 private Long receivedBroadcastPacketsAccumulated;
43 * Count of broadcast packets received within the measurement interval
45 private Long receivedBroadcastPacketsDelta;
48 * Cumulative count of discarded packets received as read at the end of the measurement interval
50 private Long receivedDiscardedPacketsAccumulated;
53 * Count of discarded packets received within the measurement interval
55 private Long receivedDiscardedPacketsDelta;
58 * Cumulative count of error packets received as read at the end of the measurement interval
60 private Long receivedErrorPacketsAccumulated;
63 * Count of error packets received within the measurement interval
65 private Long receivedErrorPacketsDelta;
68 * Cumulative count of multicast packets received as read at the end of the measurement interval
70 private Long receivedMulticastPacketsAccumulated;
73 * Count of multicast packets received within the measurement interval
75 private Long receivedMulticastPacketsDelta;
78 * Cumulative count of octets received as read at the end of the measurement interval
80 private Long receivedOctetsAccumulated;
83 * Count of octets received within the measurement interval
85 private Long receivedOctetsDelta;
88 * Cumulative count of all packets received as read at the end of the measurement interval
90 private Long receivedTotalPacketsAccumulated;
93 * Count of all packets received within the measurement interval
95 private Long receivedTotalPacketsDelta;
98 * Cumulative count of unicast packets received as read at the end of the measurement interval
100 private Long receivedUnicastPacketsAccumulated;
103 * Count of unicast packets received within the measurement interval
105 private Long receivedUnicastPacketsDelta;
108 * Cumulative count of broadcast packets transmitted as read at the end of the measurement interval
110 private Long transmittedBroadcastPacketsAccumulated;
113 * Count of broadcast packets transmitted within the measurement interval
115 private Long transmittedBroadcastPacketsDelta;
118 * Cumulative count of discarded packets transmitted as read at the end of the measurement interval
120 private Long transmittedDiscardedPacketsAccumulated;
123 * Count of discarded packets transmitted within the measurement interval
125 private Long transmittedDiscardedPacketsDelta;
128 * Cumulative count of error packets transmitted as read at the end of the measurement interval
130 private Long transmittedErrorPacketsAccumulated;
133 * Count of error packets transmitted within the measurement interval
135 private Long transmittedErrorPacketsDelta;
138 * Cumulative count of multicast packets transmitted as read at the end of the measurement interval
140 private Long transmittedMulticastPacketsAccumulated;
143 * Count of multicast packets transmitted within the measurement interval
145 private Long transmittedMulticastPacketsDelta;
148 * Cumulative count of octets transmitted as read at the end of the measurement interval
150 private Long transmittedOctetsAccumulated;
153 * Count of octets transmitted within the measurement interval
155 private Long transmittedOctetsDelta;
158 * Cumulative count of all packets transmitted as read at the end of the measurement interval
160 private Long transmittedTotalPacketsAccumulated;
163 * Count of all packets transmitted within the measurement interval
165 private Long transmittedTotalPacketsDelta;
168 * Cumulative count of unicast packets transmitted as read at the end of the measurement interval
170 private Long transmittedUnicastPacketsAccumulated;
174 * Count of unicast packets transmitted within the measurement interval
176 private Long transmittedUnicastPacketsDelta;
180 * Indicates whether vNicPerformance values are likely inaccurate due to counter overflow or other conditions
182 private Boolean valuesAreSuspect;
186 * Virtual Network Card Identifier
188 private String vNicIdentifier;