コード例 #1
0
def check_vf_management():
    result = checks.vf_management_supported()
    if not result:
        LOG.error(_LE('Check for VF management support failed. '
                      'Please ensure that the version of ip link '
                      'being used has VF support.'))
    return result
コード例 #2
0
ファイル: sanity_check.py プロジェクト: zdj6373/neutron
def check_vf_management():
    result = checks.vf_management_supported()
    if not result:
        LOG.error('Check for VF management support failed. '
                  'Please ensure that the version of ip link '
                  'being used has VF support.')
    return result
コード例 #3
0
def check_vf_management():
    result = checks.vf_management_supported(
        root_helper=cfg.CONF.AGENT.root_helper)
    if not result:
        LOG.error(_LE('Check for VF management support failed. '
                      'Please ensure that the version of ip link '
                      'being used has VF support.'))
    return result
コード例 #4
0
ファイル: sanity_check.py プロジェクト: asadoughi/neutron
def check_vf_management():
    result = checks.vf_management_supported(root_helper=cfg.CONF.AGENT.root_helper)
    if not result:
        LOG.error(
            _LE(
                "Check for VF management support failed. "
                "Please ensure that the version of ip link "
                "being used has VF support."
            )
        )
    return result
コード例 #5
0
ファイル: test_sanity.py プロジェクト: hyunsun/quantum
 def test_vf_management_runs(self):
     checks.vf_management_supported(self.root_helper)
コード例 #6
0
 def test_vf_management_runs(self):
     checks.vf_management_supported()
コード例 #7
0
ファイル: test_sanity.py プロジェクト: CloudA/neutron
 def test_vf_management_runs(self):
     checks.vf_management_supported()
コード例 #8
0
ファイル: test_sanity.py プロジェクト: zip-code/neutron
 def test_vf_management_runs(self):
     checks.vf_management_supported(self.root_helper)