1. 21 2月, 2017 23 次提交
  2. 20 2月, 2017 12 次提交
  3. 19 2月, 2017 5 次提交
    • P
      165c76ac
    • J
      tests: Add createVHBAByNodeDevice-parent-fabric-wwn to fchosttest · f3b1b981
      John Ferlan 提交于
      Add a test that allows providing the parent fabric_wwn in the input XML
      in order to create the vHBA.
      
      This also fixes a mixed setting of the fabric_wwn field from the read
      test driver XML strings.
      f3b1b981
    • J
      tests: Add createVHBAByNodeDevice-parent-wwn to fchosttest · 19ff4361
      John Ferlan 提交于
      Add a test that allows providing the parent wwnn/wwpn in the input XML
      in order to create the vHBA.
      19ff4361
    • J
      tests: Add createVHBAByNodeDevice-no-parent to fchosttest · 5319c49c
      John Ferlan 提交于
      Add a test that allows not providing a parent in the input XML, but still
      being able to create finding a VPORT capable NPIV HBA.
      5319c49c
    • J
      nodedev: Rework virNodeDeviceGetParentHost · 7ad479d0
      John Ferlan 提交于
      Rework the code to perform the various searches by parent, parent_wwnn/
      parent_wwpn, parent_fabric_wwn, or vport capable in order to return the
      'parent_host' number that is vHBA capable.
      
      The former virNodeDeviceGetParentHost is renamed to add the ByParent
      on it fixes an issue where if no parent was supplied in the XML to
      create the vHBA, then virNodeDeviceFindByName was called with a NULL
      second parameter which had bad results.
      
      The reworked code will make the various calls to fetch the NPIV host
      by the passed parameter options or if none are provided find a vport
      capable NPIV HBA to perform the create. If the call is from the delete
      path, then this option won't be allowed.
      
      Each of virNodeDeviceGetParentHostBy* functions is now static, so
      remove them external definitions.
      
      A secondary benefit of this is the test_driver now can make use of
      the new API to add some new tests to test the various creation options.
      7ad479d0