2 * ============LICENSE_START=======================================================
3 * dcaegen2-collectors-veshv
4 * ================================================================================
5 * Copyright (C) 2018 NOKIA Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
23 // Definition for RTPM
25 message HVRanMeasFields {
26 message HVRanMeasPayload {
29 uint32 measurement_id = 1;
30 repeated uint32 counter_subid = 2;
31 repeated sint64 counter_value = 3;
32 repeated uint32 missing_counter_subid = 4;
33 bool suspectFlagIncomplete = 5; // (some is data missing due to internal error)
34 bool suspectFlagOutOfSync = 6; // (source time not aligned)
37 string uri = 1; // monitored object URI
38 repeated HVRanMeas hvRanMeas = 2; // performance counters grouped by measurement types
40 repeated PMObject pmObject = 1;
43 message AdditionalField {
48 string hvRanMeasFieldsVersion = 1; // version of HVRanMeasFields message
49 uint32 period_ms = 2; // period configured for reporting the data in milliseconds
50 string timezone = 3; // timezone of Network Function sending the data
51 string pmDictionaryVsn = 4; // vendor name + schema version E.g. NOKIA_LN7.0, uniquely identify the relevant PM dictionary
52 HVRanMeasPayload hvRanMeasPayload = 5; // objects being monitored
53 repeated AdditionalField additionalFields = 6; // array of name-value pairs if needed