cc375211723cf39084020577f64e36cc54e7b27a
[dcaegen2/collectors/hv-ves.git] / protobuf / src / main / proto / HVRanMeasFields-v5.proto
1 /*
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
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
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=========================================================
19  */
20 syntax = "proto3";
21 package org.onap.ves;
22
23 // Definition for RTPM
24
25 message HVRanMeasFields {
26   message HVRanMeasPayload {
27     message PMObject {
28       message HVRanMeas {
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)
35       }
36
37       string uri = 1; // monitored object URI
38       repeated HVRanMeas hvRanMeas = 2; // performance counters grouped by measurement types
39     }
40     repeated PMObject pmObject = 1;
41   }
42
43   message AdditionalField {
44     string name = 1;
45     string value = 2;
46   }
47
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
54 }