Fix some formatting issues
This commit is contained in:
@ -44,7 +44,8 @@ def example_validator(_yaml):
|
||||
|
||||
class YAMLTest(unittest.TestCase):
|
||||
"""This test suite takes a YAML configuration file and holds it against the syntax
|
||||
(Yamale) and semantic validators, returning errors in case of validation failures."""
|
||||
(Yamale) and semantic validators, returning errors in case of validation failures.
|
||||
"""
|
||||
|
||||
def __init__(self, testName, yaml_filename, yaml_schema):
|
||||
# calling the super class init varies for different python versions. This works for 2.7
|
||||
|
@ -125,7 +125,8 @@ class Applier(VPPApi):
|
||||
|
||||
def lcp_create(self, ifname, host_if_name):
|
||||
"""Create a linux control plane interface pair for an interface given by name
|
||||
(ie GigabitEthernet3/0/0) under a Linux TAP device name host_if_name (ie e3-0-0)"""
|
||||
(ie GigabitEthernet3/0/0) under a Linux TAP device name host_if_name (ie e3-0-0)
|
||||
"""
|
||||
pass
|
||||
|
||||
def set_interface_mac(self, ifname, mac):
|
||||
|
@ -181,7 +181,8 @@ class Reconciler:
|
||||
|
||||
def __prune_bridgedomains(self):
|
||||
"""Remove bridge-domains from VPP, if they do not occur in the config. If any interfaces are
|
||||
found in to-be removed bridge-domains, they are returned to L3 mode, and tag-rewrites removed."""
|
||||
found in to-be removed bridge-domains, they are returned to L3 mode, and tag-rewrites removed.
|
||||
"""
|
||||
for idx, bridge in self.vpp.cache["bridgedomains"].items():
|
||||
bridgename = f"bd{int(idx)}"
|
||||
_config_ifname, config_iface = bridgedomain.get_by_name(
|
||||
|
Reference in New Issue
Block a user