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
def test_ovs_vxlan_support_runs(self): checks.vxlan_supported(self.root_helper)
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)