Ejemplo n.º 1
0
def check_ovs_vxlan():
    result = checks.vxlan_supported(root_helper=cfg.CONF.AGENT.root_helper)
    if not result:
        LOG.error(_('Check for Open vSwitch VXLAN support failed. '
                    'Please ensure that the version of openvswitch '
                    'being used has VXLAN support.'))
    return result
Ejemplo n.º 2
0
def check_ovs_vxlan():
    result = checks.vxlan_supported(root_helper=cfg.CONF.AGENT.root_helper)
    if not result:
        LOG.error(_('Check for Open vSwitch VXLAN support failed. '
                    'Please ensure that the version of openvswitch '
                    'being used has VXLAN support.'))
    return result
Ejemplo n.º 3
0
 def test_ovs_vxlan_support_runs(self):
     checks.vxlan_supported(self.root_helper)
Ejemplo n.º 4
0
 def test_ovs_vxlan_support_runs(self):
     checks.vxlan_supported(self.root_helper)
Ejemplo n.º 5
0
 def test_ovs_vxlan_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.vxlan_supported(self.root_helper)