X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Fosm_mon%2Fvim_connectors%2Fbase_vim.py;fp=src%2Fosm_mon%2Fvim_connectors%2Fbase_vim.py;h=9ec2cdeba08d2c9b85185ca9777300e0c295cdc9;hb=6683456ee66a599d2685832edbde82e66647b223;hp=0000000000000000000000000000000000000000;hpb=f6ca494310301d21d4455f15fd1779163d43af57;p=osm%2FNG-SA.git diff --git a/src/osm_mon/vim_connectors/base_vim.py b/src/osm_mon/vim_connectors/base_vim.py new file mode 100644 index 0000000..9ec2cde --- /dev/null +++ b/src/osm_mon/vim_connectors/base_vim.py @@ -0,0 +1,26 @@ +####################################################################################### +# 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