Exemplo n.º 1
0
def check_ovs_patch():
    result = checks.patch_supported()
    if not result:
        LOG.error(_LE('Check for Open vSwitch patch port support failed. '
                      'Please ensure that the version of openvswitch '
                      'being used has patch port support or disable features '
                      'requiring patch ports (gre/vxlan, etc.).'))
    return result
Exemplo n.º 2
0
def check_ovs_patch():
    result = checks.patch_supported()
    if not result:
        LOG.error('Check for Open vSwitch patch port support failed. '
                  'Please ensure that the version of openvswitch '
                  'being used has patch port support or disable features '
                  'requiring patch ports (gre/vxlan, etc.).')
    return result
Exemplo n.º 3
0
def check_ovs_patch():
    result = checks.patch_supported(root_helper=cfg.CONF.AGENT.root_helper)
    if not result:
        LOG.error(
            _LE(
                "Check for Open vSwitch patch port support failed. "
                "Please ensure that the version of openvswitch "
                "being used has patch port support or disable features "
                "requiring patch ports (gre/vxlan, etc.)."
            )
        )
    return result
Exemplo n.º 4
0
 def test_ovs_patch_support_runs(self):
     checks.patch_supported(self.root_helper)
Exemplo n.º 5
0
 def test_ovs_patch_support_runs(self):
     checks.patch_supported()
Exemplo n.º 6
0
 def test_ovs_patch_support_runs(self):
     checks.patch_supported(self.root_helper)
Exemplo n.º 7
0
 def test_ovs_patch_support_runs(self):
     checks.patch_supported()
Exemplo n.º 8
0
 def test_ovs_patch_support_runs(self):
     """This test just ensures that the test in neutron-sanity-check
         can run through without error, without mocking anything out
     """
     self.check_sudo_enabled()
     checks.patch_supported(self.root_helper)