build: fix python load paths
Fixed python load paths so that vppcfg will work installed as python library and standalone from the source directory, fixing load pathes for resources such as yaml files along the way. Added a make target for pylint called 'make check-style', fixed a number of minor pylint issues along the way. Signed-off-by: Ray Kinsella <mdr@ashroe.eu>
This commit is contained in:
@ -19,14 +19,14 @@ metadata, and plan configuration changes towards a given YAML target configurati
|
||||
"""
|
||||
import sys
|
||||
import logging
|
||||
from config import loopback
|
||||
from config import interface
|
||||
from config import bondethernet
|
||||
from config import bridgedomain
|
||||
from config import vxlan_tunnel
|
||||
from config import lcp
|
||||
from config import tap
|
||||
from vpp.vppapi import VPPApi
|
||||
from vppcfg.config import loopback
|
||||
from vppcfg.config import interface
|
||||
from vppcfg.config import bondethernet
|
||||
from vppcfg.config import bridgedomain
|
||||
from vppcfg.config import vxlan_tunnel
|
||||
from vppcfg.config import lcp
|
||||
from vppcfg.config import tap
|
||||
from .vppapi import VPPApi
|
||||
|
||||
|
||||
class Reconciler:
|
||||
|
Reference in New Issue
Block a user