Loading deploy/exporters.sh 0 → 100644 +23 −0 Original line number Diff line number Diff line #!/bin/bash # Copyright 2022-2023 ETSI TeraFlowSDN - TFS OSG (https://tfs.etsi.org/) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. ######################################################################################################################## # Read deployment settings ######################################################################################################################## # If not already set, set the namespace where Apache Kafka will be deployed. export KFK_NAMESPACE=${KFK_NAMESPACE:-"exporters"} # Add instruction of exporter automatic deployment here No newline at end of file deploy/kafka.sh +2 −2 Original line number Diff line number Diff line Loading @@ -60,10 +60,10 @@ echo ">>> Deploying Apache Kafka Broker" kubectl --namespace ${KFK_NAMESPACE} apply -f "${TMP_MANIFESTS_FOLDER}/$KFK_MANIFEST" echo ">>> Verifing Apache Kafka deployment" sleep 5 sleep 10 KFK_PODS_STATUS=$(kubectl --namespace ${KFK_NAMESPACE} get pods) if echo "$KFK_PODS_STATUS" | grep -qEv 'STATUS|Running'; then echo "Deployment Error: $KFK_PODS_STATUS" echo "Deployment Error: \n $KFK_PODS_STATUS" else echo "$KFK_PODS_STATUS" fi No newline at end of file manifests/mock_nodeexporter.yaml→manifests/node_exporter_deployment.yaml +0 −0 File moved. View file manifests/mock_nodeexporterservice.yaml→manifests/node_exporter_service.yaml +0 −0 File moved. View file proto/telemetry_frontend.proto +7 −7 Original line number Diff line number Diff line Loading @@ -28,13 +28,13 @@ message CollectorFilter { // All fields empty means: list all Collectors repeated CollectorId collector_id = 1; repeated kpi_manager.KpiId kpi_id = 2; repeated kpi_sample_types.KpiSampleType kpi_sample_type = 3; repeated context.DeviceId device_id = 4; repeated context.EndPointId endpoint_id = 5; repeated context.ServiceId service_id = 6; repeated context.SliceId slice_id = 7; repeated context.ConnectionId connection_id = 8; repeated context.LinkId link_id = 9; // repeated kpi_sample_types.KpiSampleType kpi_sample_type = 3; // repeated context.DeviceId device_id = 4; // repeated context.EndPointId endpoint_id = 5; // repeated context.ServiceId service_id = 6; // repeated context.SliceId slice_id = 7; // repeated context.ConnectionId connection_id = 8; // repeated context.LinkId link_id = 9; } message CollectorList { Loading Loading
deploy/exporters.sh 0 → 100644 +23 −0 Original line number Diff line number Diff line #!/bin/bash # Copyright 2022-2023 ETSI TeraFlowSDN - TFS OSG (https://tfs.etsi.org/) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. ######################################################################################################################## # Read deployment settings ######################################################################################################################## # If not already set, set the namespace where Apache Kafka will be deployed. export KFK_NAMESPACE=${KFK_NAMESPACE:-"exporters"} # Add instruction of exporter automatic deployment here No newline at end of file
deploy/kafka.sh +2 −2 Original line number Diff line number Diff line Loading @@ -60,10 +60,10 @@ echo ">>> Deploying Apache Kafka Broker" kubectl --namespace ${KFK_NAMESPACE} apply -f "${TMP_MANIFESTS_FOLDER}/$KFK_MANIFEST" echo ">>> Verifing Apache Kafka deployment" sleep 5 sleep 10 KFK_PODS_STATUS=$(kubectl --namespace ${KFK_NAMESPACE} get pods) if echo "$KFK_PODS_STATUS" | grep -qEv 'STATUS|Running'; then echo "Deployment Error: $KFK_PODS_STATUS" echo "Deployment Error: \n $KFK_PODS_STATUS" else echo "$KFK_PODS_STATUS" fi No newline at end of file
manifests/mock_nodeexporterservice.yaml→manifests/node_exporter_service.yaml +0 −0 File moved. View file
proto/telemetry_frontend.proto +7 −7 Original line number Diff line number Diff line Loading @@ -28,13 +28,13 @@ message CollectorFilter { // All fields empty means: list all Collectors repeated CollectorId collector_id = 1; repeated kpi_manager.KpiId kpi_id = 2; repeated kpi_sample_types.KpiSampleType kpi_sample_type = 3; repeated context.DeviceId device_id = 4; repeated context.EndPointId endpoint_id = 5; repeated context.ServiceId service_id = 6; repeated context.SliceId slice_id = 7; repeated context.ConnectionId connection_id = 8; repeated context.LinkId link_id = 9; // repeated kpi_sample_types.KpiSampleType kpi_sample_type = 3; // repeated context.DeviceId device_id = 4; // repeated context.EndPointId endpoint_id = 5; // repeated context.ServiceId service_id = 6; // repeated context.SliceId slice_id = 7; // repeated context.ConnectionId connection_id = 8; // repeated context.LinkId link_id = 9; } message CollectorList { Loading