From b2f2244ac60035e15685a5a0e1890f03b3d4b6a8 Mon Sep 17 00:00:00 2001 From: tangjjia Date: Mon, 13 Feb 2023 03:37:28 +0000 Subject: [PATCH 1/4] Update Collection Models/Optical Link Information Collection/an-epon-pm-olt-transceivers.proto, Collection Models/ONU Information Collection/ONU remote information/an-epon-onu-transceivers.proto --- .../ONU remote information/an-epon-onu-transceivers.proto | 2 +- .../an-epon-pm-olt-transceivers.proto | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Collection Models/ONU Information Collection/ONU remote information/an-epon-onu-transceivers.proto b/Collection Models/ONU Information Collection/ONU remote information/an-epon-onu-transceivers.proto index 52479a6..5cdc490 100644 --- a/Collection Models/ONU Information Collection/ONU remote information/an-epon-onu-transceivers.proto +++ b/Collection Models/ONU Information Collection/ONU remote information/an-epon-onu-transceivers.proto @@ -21,7 +21,7 @@ message EponOnuTransceivers { //The current voltage of the optical module.The unit is 0.01V. int32 optical_unit_voltage = 6; - // Optical module type.(0:unknown,1:gpon,2:xg-pon,3:xgs-pon,4:gpon-and-xgpon,5:gpon-and-xgspon,-1:invalid) + // Optical module type.(0:unknown,1:epon,2:10g-epon-s,3:10g-epon-a,-1:invalid) int32 module_type = 7; //Optical module subtype. diff --git a/Collection Models/Optical Link Information Collection/an-epon-pm-olt-transceivers.proto b/Collection Models/Optical Link Information Collection/an-epon-pm-olt-transceivers.proto index 4d1c353..8d962a7 100644 --- a/Collection Models/Optical Link Information Collection/an-epon-pm-olt-transceivers.proto +++ b/Collection Models/Optical Link Information Collection/an-epon-pm-olt-transceivers.proto @@ -36,7 +36,7 @@ message EponPmOltTransceivers { //Optical power at idle time of channel 2.The unit is 0.01dBm. int32 channel_2_idle_rssi = 11; - //Optical module type.(0:unknown,1:gpon,2:xg-pon,3:xgs-pon,4:gpon-and-xgpon,5:gpon-and-xgspon,-1:invalid) + //Optical module type.(0:unknown,1:epon,2:10g-epon-s,3:10g-epon-a,-1:invalid) int32 module_type = 12; //Optical module subtype -- GitLab From 00bcffbd35d92fba6d478e750b02e39d2032ade0 Mon Sep 17 00:00:00 2001 From: tangjjia Date: Mon, 13 Feb 2023 04:25:18 +0000 Subject: [PATCH 2/4] =?UTF-8?q?Update=20GRPC=C2=AE=20Protocol=20Models/grp?= =?UTF-8?q?c-dialin.proto,=20GRPC=C2=AE=20Protocol=20Models/grpc-dialout.p?= =?UTF-8?q?roto,=20Data=20Header=20Models/telemetry.proto?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Data Header Models/telemetry.proto | 27 +++++++ .../grpc-dialin.proto" | 77 +++++++++++++++++++ .../grpc-dialout.proto" | 12 +++ 3 files changed, 116 insertions(+) create mode 100644 Data Header Models/telemetry.proto create mode 100644 "GRPC\302\256 Protocol Models/grpc-dialin.proto" create mode 100644 "GRPC\302\256 Protocol Models/grpc-dialout.proto" diff --git a/Data Header Models/telemetry.proto b/Data Header Models/telemetry.proto new file mode 100644 index 0000000..cd8c97a --- /dev/null +++ b/Data Header Models/telemetry.proto @@ -0,0 +1,27 @@ +syntax = "proto3"; //proto v3. +package telemetry; //package name + +message Telemetry { //telemetry message structure definition. + string node_id_str = 1; //The hostname of the device is the unique identifier of the device in the network, which can be configured and modified by the user. It is encoded as 1 in GPB encoding. + string subscription_id_str = 2; //Subscription name, the subscription name when the subscription is statically configured + string sensor_path = 3; //Subscription path + uint64 collection_id = 4; //Identify sampling rounds + uint64 collection_start_time = 5; //Identify the start time of the sampling round + uint64 msg_timestamp = 6; //Timestamp when this message was generated + TelemetryGPBTable data_gpb = 7; //data carried. + uint64 collection_end_time = 8; //Identify the end time of the sampling round + uint32 current_period = 9; //Sampling accuracy, in milliseconds + string except_desc = 10; //Exception description information, which is used to report exception information when sampling exceptions. + string product_name = 11; //Product name. + Encoding encoding = 12; //Data encoding. + enum Encoding { + Encoding_GPB = 0; + }; +} +message TelemetryGPBTable { //TelemetryGPBTable message structure definition + repeated TelemetryRowGPB row = 1; //Array definition, the identification data is the repetition of the TelemetryRowGPB structure. +} +message TelemetryRowGPB { + uint64 timestamp = 1; //Timestamp at which the current instance was sampled. +bytes content = 11; //The sampled instance data carried is encoded as 11 in GPB encoding. It is necessary to combine the sensor_path field to determine which proto file will be encoded here. +} diff --git "a/GRPC\302\256 Protocol Models/grpc-dialin.proto" "b/GRPC\302\256 Protocol Models/grpc-dialin.proto" new file mode 100644 index 0000000..3450933 --- /dev/null +++ "b/GRPC\302\256 Protocol Models/grpc-dialin.proto" @@ -0,0 +1,77 @@ +syntax = "proto3"; +package dialin; + +service gRPCConfigOper { + rpc Subscribe(SubsArgs) returns(stream SubsReply) {}; + rpc Cancel(CancelArgs) returns(CancelReply) {}; +} + +message Path { + string path = 1; +} + +message SubsArgs { + uint64 request_id = 1; + uint32 encoding = 2; + + repeated Destination destination = 3; + + //Path to a section of operational state of interest (the sensor). + repeated Path path = 5; + + //The accuracy of the collected data reported by the device + //to the collector + uint64 sample_interval = 6; + + //Maximum time interval in seconds that may pass + //between updates from a device to a telemetry collector. + //If this interval expires, but there is no updated data to + //send (such as if suppress_updates has been configured), the + //device must send a telemetry message to the collector. + uint64 heartbeat_interval = 7; + + //Boolean flag to control suppression of redundant + //telemetry updates to the collector platform. If this flag is + //set to TRUE, then the collector will only send an update at + //the configured interval if a subscribed data value has + //changed. Otherwise, the device will not send an update to + //the collector until expiration of the heartbeat interval. + bool suppress_redundant = 8; + + //range "0..63" + //The dscp type represents a Differentiated Services Code Point + //that may be used for marking packets in a traffic stream. + //In the value set and its semantics, this type is equivalent + //to the Dscp textual convention of the SMIv2. + uint32 originated_qos_marking = 9; +} + +message Destination { + // IP address of the telemetry stream destination + string destination_address = 1; + + // Protocol (udp or tcp) port number for the telemetry + // stream destination + uint32 destination_port = 2; +} + +message SubsReply { + uint32 subscription_id = 1; + uint64 request_id = 2; + string response_code = 3; + + //containing the data described by the Telemetry message + //defined in hw_telemetry.proto + bytes message = 4; +} + +message CancelArgs { + uint64 request_id = 1; + uint32 subscription_id = 2; +} + +message CancelReply { + uint64 request_id = 1; + string response_code = 2; + string message = 3; +} diff --git "a/GRPC\302\256 Protocol Models/grpc-dialout.proto" "b/GRPC\302\256 Protocol Models/grpc-dialout.proto" new file mode 100644 index 0000000..d5bb503 --- /dev/null +++ "b/GRPC\302\256 Protocol Models/grpc-dialout.proto" @@ -0,0 +1,12 @@ +syntax = "proto3"; +package dialout; + +service gRPCDataservice { + rpc dataPublish(stream serviceArgs) returns(stream serviceArgs) {}; +} + +message serviceArgs { + int64 ReqId = 1; + bytes data = 2; + string errors = 3; +} -- GitLab From b425fad64574bc55e6d87bc460f35bacfbea4fc5 Mon Sep 17 00:00:00 2001 From: tangjjia Date: Mon, 13 Feb 2023 04:34:20 +0000 Subject: [PATCH 3/4] Update Collection Models/Traffic Collection/an-gpon-pm-olt-traffic.proto, Collection Models/Traffic Collection/an-epon-pm-olt-traffic.proto, Collection Models/Traffic Collection/an-ethernet-kpi.proto --- .../an-epon-pm-olt-traffic.proto | 54 +++++++++++++++++++ .../Traffic Collection/an-ethernet-kpi.proto | 27 ++++++++++ .../an-gpon-pm-olt-traffic.proto | 54 +++++++++++++++++++ 3 files changed, 135 insertions(+) diff --git a/Collection Models/Traffic Collection/an-epon-pm-olt-traffic.proto b/Collection Models/Traffic Collection/an-epon-pm-olt-traffic.proto index 3dc17a0..3687ba4 100644 --- a/Collection Models/Traffic Collection/an-epon-pm-olt-traffic.proto +++ b/Collection Models/Traffic Collection/an-epon-pm-olt-traffic.proto @@ -47,6 +47,33 @@ message EponPmOltTraffics { //Peak receive rate of the EPON port in seconds.The unit is kbps. uint32 port_rx_peak_rate = 15; + + //The number of unicast frame bytes sent by the EPON port . + uint64 port-tx-unicast-bytes = 16; + + //The number of unicast frame bytes received by the EPON port. + uint64 port-rx-unicast-bytes = 17; + + //The number of multicast frame bytes sent by the EPON port. + uint64 port-tx-multicast-bytes = 18; + + //Average transmit unicast traffic rate of the EPON port.The unit is kbps. + uint32 port-tx-unicast-rate = 19; + + //Average receive unicast traffic rate of the EPON port.The unit is kbps. + uint32 port-rx-unicast-rate = 20; + + //Average transmit multicast traffic rate of the EPON port.The unit is kbps. + uint32 port-tx-multicast-rate = 21; + + //Peak transmit unicast traffic rate of the EPON port.The unit is kbps. + uint32 port-tx-peak-unicast-rate = 22; + + //Peak receive unicast traffic rate of the EPON port.The unit is kbps. + uint32 port-rx-peak-unicast-rate = 23; + + //Peak transmit multicast traffic rate of the EPON port.The unit is kbps. + uint32 port-tx-peak-multicast-rate = 24; } repeated EponPmOltTraffic pm_olt_traffic = 1; } @@ -99,6 +126,33 @@ message EponPmOltChannelTraffics { //Peak receive rate of the EPON port in seconds.The unit is kbps. uint32 port_rx_peak_rate = 16; + + //The number of unicast frame bytes sent by the EPON port . + uint64 port-tx-unicast-bytes = 17; + + //The number of unicast frame bytes received by the EPON port. + uint64 port-rx-unicast-bytes = 18; + + //The number of multicast frame bytes sent by the EPON port. + uint64 port-tx-multicast-bytes = 19; + + //Average transmit unicast traffic rate of the EPON port.The unit is kbps. + uint32 port-tx-unicast-rate = 20; + + //Average receive unicast traffic rate of the EPON port.The unit is kbps. + uint32 port-rx-unicast-rate = 21; + + //Average transmit multicast traffic rate of the EPON port.The unit is kbps. + uint32 port-tx-multicast-rate = 22; + + //Peak transmit unicast traffic rate of the EPON port.The unit is kbps. + uint32 port-tx-peak-unicast-rate = 23; + + //Peak receive unicast traffic rate of the EPON port.The unit is kbps. + uint32 port-rx-peak-unicast-rate = 24; + + //Peak transmit multicast traffic rate of the EPON port.The unit is kbps. + uint32 port-tx-peak-multicast-rate = 25; } repeated EponPmOltChannelTraffic pm_olt_channel_traffic =1; } diff --git a/Collection Models/Traffic Collection/an-ethernet-kpi.proto b/Collection Models/Traffic Collection/an-ethernet-kpi.proto index dec4a9a..3931c44 100644 --- a/Collection Models/Traffic Collection/an-ethernet-kpi.proto +++ b/Collection Models/Traffic Collection/an-ethernet-kpi.proto @@ -74,6 +74,33 @@ message EthernetPortKpiRecords { //Peak receive rate of the Ethernet port in seconds.The unit is kbps. uint64 port_rx_peak_rate = 24; + + //The number of unicast frame bytes sent by the Ethernet port . + uint64 port-tx-unicast-bytes = 25; + + //The number of unicast frame bytes received by the Ethernet port. + uint64 port-rx-unicast-bytes = 26; + + //The number of multicast frame bytes sent by the Ethernet port. + uint64 port-tx-multicast-bytes = 27; + + //Average transmit unicast traffic rate of the Ethernet port.The unit is kbps. + uint32 port-tx-unicast-rate = 28; + + //Average receive unicast traffic rate of the Ethernet port.The unit is kbps. + uint32 port-rx-unicast-rate = 29; + + //Average transmit multicast traffic rate of the Ethernet port.The unit is kbps. + uint32 port-tx-multicast-rate = 30; + + //Peak transmit unicast traffic rate of the Ethernet port.The unit is kbps. + uint32 port-tx-peak-unicast-rate = 31; + + //Peak receive unicast traffic rate of the Ethernet port.The unit is kbps. + uint32 port-rx-peak-unicast-rate = 32; + + //Peak transmit multicast traffic rate of the Ethernet port.The unit is kbps. + uint32 port-tx-peak-multicast-rate = 33; } repeated EthernetPortKpiRecord ethernet_port_kpi_record = 1; } diff --git a/Collection Models/Traffic Collection/an-gpon-pm-olt-traffic.proto b/Collection Models/Traffic Collection/an-gpon-pm-olt-traffic.proto index 3ca8fcd..2399085 100644 --- a/Collection Models/Traffic Collection/an-gpon-pm-olt-traffic.proto +++ b/Collection Models/Traffic Collection/an-gpon-pm-olt-traffic.proto @@ -47,6 +47,33 @@ message GponPmOltTraffics { //Peak receive rate of the GPON port in seconds.The unit is kbps. uint32 port_rx_peak_rate = 15; + + //The number of unicast frame bytes sent by the GPON port . + uint64 port-tx-unicast-bytes = 16; + + //The number of unicast frame bytes received by the GPON port. + uint64 port-rx-unicast-bytes = 17; + + //The number of multicast frame bytes sent by the GPON port. + uint64 port-tx-multicast-bytes = 18; + + //Average transmit unicast traffic rate of the GPON port.The unit is kbps. + uint32 port-tx-unicast-rate = 19; + + //Average receive unicast traffic rate of the GPON port.The unit is kbps. + uint32 port-rx-unicast-rate = 20; + + //Average transmit multicast traffic rate of the GPON port.The unit is kbps. + uint32 port-tx-multicast-rate = 21; + + //Peak transmit unicast traffic rate of the GPON port.The unit is kbps. + uint32 port-tx-peak-unicast-rate = 22; + + //Peak receive unicast traffic rate of the GPON port.The unit is kbps. + uint32 port-rx-peak-unicast-rate = 23; + + //Peak transmit multicast traffic rate of the GPON port.The unit is kbps. + uint32 port-tx-peak-multicast-rate = 24; } repeated gponPmOltTraffic pm_olt_traffic = 1; @@ -100,6 +127,33 @@ message GponPmOltChannelTraffics { //Peak receive rate of the GPON port in seconds.The unit is kbps. uint32 port_rx_peak_rate = 16; + + //The number of unicast frame bytes sent by the GPON port . + uint64 port-tx-unicast-bytes = 17; + + //The number of unicast frame bytes received by the GPON port. + uint64 port-rx-unicast-bytes = 18; + + //The number of multicast frame bytes sent by the GPON port. + uint64 port-tx-multicast-bytes = 19; + + //Average transmit unicast traffic rate of the GPON port.The unit is kbps. + uint32 port-tx-unicast-rate = 20; + + //Average receive unicast traffic rate of the GPON port.The unit is kbps. + uint32 port-rx-unicast-rate = 21; + + //Average transmit multicast traffic rate of the GPON port.The unit is kbps. + uint32 port-tx-multicast-rate = 22; + + //Peak transmit unicast traffic rate of the GPON port.The unit is kbps. + uint32 port-tx-peak-unicast-rate = 23; + + //Peak receive unicast traffic rate of the GPON port.The unit is kbps. + uint32 port-rx-peak-unicast-rate = 24; + + //Peak transmit multicast traffic rate of the GPON port.The unit is kbps. + uint32 port-tx-peak-multicast-rate = 25; } repeated GponPmOltChannelTraffic pm_olt_channel_traffic =1; } -- GitLab From dbf9d071f611ed49b4218910da591fdfe65fd296 Mon Sep 17 00:00:00 2001 From: tangjjia Date: Thu, 23 Feb 2023 03:42:34 +0000 Subject: [PATCH 4/4] Update Collection Models/Traffic Collection/an-gpon-pm-olt-traffic.proto, Collection Models/Traffic Collection/an-epon-pm-olt-traffic.proto, Collection Models/Traffic Collection/an-ethernet-kpi.proto --- .../an-epon-pm-olt-traffic.proto | 36 +++++++++---------- .../Traffic Collection/an-ethernet-kpi.proto | 18 +++++----- .../an-gpon-pm-olt-traffic.proto | 36 +++++++++---------- 3 files changed, 45 insertions(+), 45 deletions(-) diff --git a/Collection Models/Traffic Collection/an-epon-pm-olt-traffic.proto b/Collection Models/Traffic Collection/an-epon-pm-olt-traffic.proto index 3687ba4..8dc0f31 100644 --- a/Collection Models/Traffic Collection/an-epon-pm-olt-traffic.proto +++ b/Collection Models/Traffic Collection/an-epon-pm-olt-traffic.proto @@ -49,31 +49,31 @@ message EponPmOltTraffics { uint32 port_rx_peak_rate = 15; //The number of unicast frame bytes sent by the EPON port . - uint64 port-tx-unicast-bytes = 16; + uint64 port_tx_unicast_bytes = 16; //The number of unicast frame bytes received by the EPON port. - uint64 port-rx-unicast-bytes = 17; + uint64 port_rx_unicast_bytes = 17; //The number of multicast frame bytes sent by the EPON port. - uint64 port-tx-multicast-bytes = 18; + uint64 port_tx_multicast_bytes = 18; //Average transmit unicast traffic rate of the EPON port.The unit is kbps. - uint32 port-tx-unicast-rate = 19; + uint32 port_tx_unicast_rate = 19; //Average receive unicast traffic rate of the EPON port.The unit is kbps. - uint32 port-rx-unicast-rate = 20; + uint32 port_rx_unicast_rate = 20; //Average transmit multicast traffic rate of the EPON port.The unit is kbps. - uint32 port-tx-multicast-rate = 21; + uint32 port_tx_multicast_rate = 21; //Peak transmit unicast traffic rate of the EPON port.The unit is kbps. - uint32 port-tx-peak-unicast-rate = 22; + uint32 port_tx_peak_unicast_rate = 22; //Peak receive unicast traffic rate of the EPON port.The unit is kbps. - uint32 port-rx-peak-unicast-rate = 23; + uint32 port_rx_peak_unicast_rate = 23; //Peak transmit multicast traffic rate of the EPON port.The unit is kbps. - uint32 port-tx-peak-multicast-rate = 24; + uint32 port_tx_peak_multicast_rate = 24; } repeated EponPmOltTraffic pm_olt_traffic = 1; } @@ -128,31 +128,31 @@ message EponPmOltChannelTraffics { uint32 port_rx_peak_rate = 16; //The number of unicast frame bytes sent by the EPON port . - uint64 port-tx-unicast-bytes = 17; + uint64 port_tx_unicast_bytes = 17; //The number of unicast frame bytes received by the EPON port. - uint64 port-rx-unicast-bytes = 18; + uint64 port_rx_unicast_bytes = 18; //The number of multicast frame bytes sent by the EPON port. - uint64 port-tx-multicast-bytes = 19; + uint64 port_tx_multicast_bytes = 19; //Average transmit unicast traffic rate of the EPON port.The unit is kbps. - uint32 port-tx-unicast-rate = 20; + uint32 port_tx_unicast_rate = 20; //Average receive unicast traffic rate of the EPON port.The unit is kbps. - uint32 port-rx-unicast-rate = 21; + uint32 port_rx_unicast_rate = 21; //Average transmit multicast traffic rate of the EPON port.The unit is kbps. - uint32 port-tx-multicast-rate = 22; + uint32 port_tx_multicast_rate = 22; //Peak transmit unicast traffic rate of the EPON port.The unit is kbps. - uint32 port-tx-peak-unicast-rate = 23; + uint32 port_tx_peak_unicast_rate = 23; //Peak receive unicast traffic rate of the EPON port.The unit is kbps. - uint32 port-rx-peak-unicast-rate = 24; + uint32 port_rx_peak_unicast_rate = 24; //Peak transmit multicast traffic rate of the EPON port.The unit is kbps. - uint32 port-tx-peak-multicast-rate = 25; + uint32 port_tx_peak_multicast_rate = 25; } repeated EponPmOltChannelTraffic pm_olt_channel_traffic =1; } diff --git a/Collection Models/Traffic Collection/an-ethernet-kpi.proto b/Collection Models/Traffic Collection/an-ethernet-kpi.proto index 3931c44..194780e 100644 --- a/Collection Models/Traffic Collection/an-ethernet-kpi.proto +++ b/Collection Models/Traffic Collection/an-ethernet-kpi.proto @@ -76,31 +76,31 @@ message EthernetPortKpiRecords { uint64 port_rx_peak_rate = 24; //The number of unicast frame bytes sent by the Ethernet port . - uint64 port-tx-unicast-bytes = 25; + uint64 port_tx_unicast_bytes = 25; //The number of unicast frame bytes received by the Ethernet port. - uint64 port-rx-unicast-bytes = 26; + uint64 port_rx_unicast_bytes = 26; //The number of multicast frame bytes sent by the Ethernet port. - uint64 port-tx-multicast-bytes = 27; + uint64 port_tx_multicast_bytes = 27; //Average transmit unicast traffic rate of the Ethernet port.The unit is kbps. - uint32 port-tx-unicast-rate = 28; + uint32 port_tx_unicast_rate = 28; //Average receive unicast traffic rate of the Ethernet port.The unit is kbps. - uint32 port-rx-unicast-rate = 29; + uint32 port_rx_unicast_rate = 29; //Average transmit multicast traffic rate of the Ethernet port.The unit is kbps. - uint32 port-tx-multicast-rate = 30; + uint32 port_tx_multicast_rate = 30; //Peak transmit unicast traffic rate of the Ethernet port.The unit is kbps. - uint32 port-tx-peak-unicast-rate = 31; + uint32 port_tx_peak_unicast_rate = 31; //Peak receive unicast traffic rate of the Ethernet port.The unit is kbps. - uint32 port-rx-peak-unicast-rate = 32; + uint32 port_rx_peak_unicast_rate = 32; //Peak transmit multicast traffic rate of the Ethernet port.The unit is kbps. - uint32 port-tx-peak-multicast-rate = 33; + uint32 port_tx_peak_multicast_rate = 33; } repeated EthernetPortKpiRecord ethernet_port_kpi_record = 1; } diff --git a/Collection Models/Traffic Collection/an-gpon-pm-olt-traffic.proto b/Collection Models/Traffic Collection/an-gpon-pm-olt-traffic.proto index 2399085..a832c01 100644 --- a/Collection Models/Traffic Collection/an-gpon-pm-olt-traffic.proto +++ b/Collection Models/Traffic Collection/an-gpon-pm-olt-traffic.proto @@ -49,31 +49,31 @@ message GponPmOltTraffics { uint32 port_rx_peak_rate = 15; //The number of unicast frame bytes sent by the GPON port . - uint64 port-tx-unicast-bytes = 16; + uint64 port_tx_unicast_bytes = 16; //The number of unicast frame bytes received by the GPON port. - uint64 port-rx-unicast-bytes = 17; + uint64 port_rx_unicast_bytes = 17; //The number of multicast frame bytes sent by the GPON port. - uint64 port-tx-multicast-bytes = 18; + uint64 port_tx_multicast_bytes = 18; //Average transmit unicast traffic rate of the GPON port.The unit is kbps. - uint32 port-tx-unicast-rate = 19; + uint32 port_tx_unicast_rate = 19; //Average receive unicast traffic rate of the GPON port.The unit is kbps. - uint32 port-rx-unicast-rate = 20; + uint32 port_rx_unicast_rate = 20; //Average transmit multicast traffic rate of the GPON port.The unit is kbps. - uint32 port-tx-multicast-rate = 21; + uint32 port_tx_multicast_rate = 21; //Peak transmit unicast traffic rate of the GPON port.The unit is kbps. - uint32 port-tx-peak-unicast-rate = 22; + uint32 port_tx_peak_unicast_rate = 22; //Peak receive unicast traffic rate of the GPON port.The unit is kbps. - uint32 port-rx-peak-unicast-rate = 23; + uint32 port_rx_peak_unicast_rate = 23; //Peak transmit multicast traffic rate of the GPON port.The unit is kbps. - uint32 port-tx-peak-multicast-rate = 24; + uint32 port_tx_peak_multicast_rate = 24; } repeated gponPmOltTraffic pm_olt_traffic = 1; @@ -129,31 +129,31 @@ message GponPmOltChannelTraffics { uint32 port_rx_peak_rate = 16; //The number of unicast frame bytes sent by the GPON port . - uint64 port-tx-unicast-bytes = 17; + uint64 port_tx_unicast_bytes = 17; //The number of unicast frame bytes received by the GPON port. - uint64 port-rx-unicast-bytes = 18; + uint64 port_rx_unicast_bytes = 18; //The number of multicast frame bytes sent by the GPON port. - uint64 port-tx-multicast-bytes = 19; + uint64 port_tx_multicast_bytes = 19; //Average transmit unicast traffic rate of the GPON port.The unit is kbps. - uint32 port-tx-unicast-rate = 20; + uint32 port_tx_unicast_rate = 20; //Average receive unicast traffic rate of the GPON port.The unit is kbps. - uint32 port-rx-unicast-rate = 21; + uint32 port_rx_unicast_rate = 21; //Average transmit multicast traffic rate of the GPON port.The unit is kbps. - uint32 port-tx-multicast-rate = 22; + uint32 port_tx_multicast_rate = 22; //Peak transmit unicast traffic rate of the GPON port.The unit is kbps. - uint32 port-tx-peak-unicast-rate = 23; + uint32 port_tx_peak_unicast_rate = 23; //Peak receive unicast traffic rate of the GPON port.The unit is kbps. - uint32 port-rx-peak-unicast-rate = 24; + uint32 port_rx_peak_unicast_rate = 24; //Peak transmit multicast traffic rate of the GPON port.The unit is kbps. - uint32 port-tx-peak-multicast-rate = 25; + uint32 port_tx_peak_multicast_rate = 25; } repeated GponPmOltChannelTraffic pm_olt_channel_traffic =1; } -- GitLab