X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_mon%2Fevaluator%2Fbackends%2Fbase.py;h=30793c169c96b62a4f0d44bddc8b30f6391595a3;hb=b3173221c25ae915eaca041ebd045f6148cc447d;hp=0e9fc0d71e894c7f75c74d40b904ea6d4e289a31;hpb=a97bdb3eafa4f3d07d61d32635f7f36f5cc36c58;p=osm%2FMON.git diff --git a/osm_mon/evaluator/backends/base.py b/osm_mon/evaluator/backends/base.py index 0e9fc0d..30793c1 100644 --- a/osm_mon/evaluator/backends/base.py +++ b/osm_mon/evaluator/backends/base.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- + # Copyright 2018 Whitestack, LLC # ************************************************************* @@ -15,10 +17,10 @@ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. - # For those usages not covered by the Apache License, Version 2.0 please # contact: bdiaz@whitestack.com or glavado@whitestack.com ## + from osm_mon.core.config import Config @@ -26,5 +28,5 @@ class BaseBackend: def __init__(self, config: Config): pass - def get_metric_value(self, metric_name, nsr_id, vdur_name, vnf_member_index): + def get_metric_data(self, metric_name: str, tags: dict): pass