X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=inline;f=src%2Fosm_ngsa%2Fosm_mon%2Fvim_connectors%2Fbase_vim.py;fp=src%2Fosm_ngsa%2Fosm_mon%2Fvim_connectors%2Fbase_vim.py;h=5eb146b34dbf14662ec8c6780758f042340d4807;hb=8d41d56d384249b8513d3465e66a163445482e6c;hp=0000000000000000000000000000000000000000;hpb=998ff7318397e22521f85c9cefed19e71b4839cd;p=osm%2FNG-SA.git diff --git a/src/osm_ngsa/osm_mon/vim_connectors/base_vim.py b/src/osm_ngsa/osm_mon/vim_connectors/base_vim.py new file mode 100644 index 0000000..5eb146b --- /dev/null +++ b/src/osm_ngsa/osm_mon/vim_connectors/base_vim.py @@ -0,0 +1,29 @@ +####################################################################################### +# Copyright ETSI Contributors and Others. +# +# 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. +####################################################################################### +from typing import Dict, List + + +class VIMConnector: + def __init__(self, vim_account: Dict): + pass + + # def collect_servers_status(self) -> List[Metric]: + def collect_servers_status(self) -> List: + pass + + def is_vim_ok(self) -> bool: + pass