Refactor VPPApi

VPPApiDumper() is its own file, preparing for VPPApiApplier() in an
upcoming commit. VPPApi() itself remains read-only. No need for an empty
__init__.py file.

Update vppcfg to use the correct vpp/dumper.py import
This commit is contained in:
Pim van Pelt
2022-04-10 14:47:37 +00:00
parent 9d60a01879
commit da7765569f
4 changed files with 146 additions and 164 deletions

2
vppcfg
View File

@ -19,7 +19,7 @@ import yaml
import logging
from config import Validator
from vpp.reconciler import Reconciler
from vpp.vppapi import VPPApiDumper
from vpp.dumper import VPPApiDumper
try:
import argparse