Simple VPPApi abstraction, which fetches the necessary info from VPP, and a few dumpers

This commit is contained in:
Pim van Pelt
2022-03-23 23:29:19 +00:00
parent 8ac9b50d94
commit ac5b8fcc8f
3 changed files with 235 additions and 0 deletions

23
vpp/__init__.py Normal file
View File

@ -0,0 +1,23 @@
#!/usr/bin/env python
#
# Copyright (c) 2022 Pim van Pelt
#
# 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.
#
# -*- coding: utf-8 -*-
from __future__ import (
absolute_import,
division,
print_function,
)
import logging
import vpp.vppapi