Change in vdsm[master]: hostdev: add after_hostdev_list_by_caps hooking point

mpolednik at redhat.com mpolednik at redhat.com
Fri Mar 20 11:49:22 UTC 2015


Martin Polednik has posted comments on this change.

Change subject: hostdev: add after_hostdev_list_by_caps hooking point
......................................................................


Patch Set 4: Verified+1

* make check successful
* tested by hook:
#!/usr/bin/env python2.7

import os
import json

with open(os.environ['_hook_json'], 'w') as f:
        f.write('{"net_enp5s16f3_b2_82_f6_60_ef_ec": {"params": {"capability": "net", "interface": "enp5s16f3", "parent": "pci_0000_05_10_3"}}}')


vdsClient -s 0 hostdevListByCaps                                                                                                                                                                                                      
                net_enp5s16f3_b2_82_f6_60_ef_ec = {'params': {'capability': 'net',
                                                            'interface': 'enp5s16f3',
                                                            'parent': 'pci_0000_05_10_3'}}

-- 
To view, visit https://gerrit.ovirt.org/38884
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I4ab6b3fee49cea83266c77dbfcd8c08ed69c630e
Gerrit-PatchSet: 4
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Martin Polednik <mpolednik at redhat.com>
Gerrit-Reviewer: Alona Kaplan <alkaplan at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Ido Barkan <ibarkan at redhat.com>
Gerrit-Reviewer: Martin Betak <mbetak at redhat.com>
Gerrit-Reviewer: Martin Polednik <mpolednik at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: No


More information about the vdsm-patches mailing list