nova/nova/tests
Dmitrii Shcherbakov 3fd7e94893 Fix migration with remote-managed ports & add FT
`binding:profile` updates are handled differently for migration from
instance creation which was not taken into account previously. Relevant
fields (card_serial_number, pf_mac_address, vf_num) are now added to the
`binding:profile` after a new remote-managed PCI device is determined at
the destination node.

Likewise, there is special handling for the unshelve operation which is
fixed too.

Func testing:

* Allow the generated device XML to contain the PCI VPD capability;
* Add test cases for basic operations on instances with remote-managed
  ports (tunnel or physical);
* Add a live migration test case similar to how it is done for
  non-remote-managed SR-IOV ports but taking remote-managed port related
  specifics into account;
* Add evacuate, shelve/unshelve, cold migration test cases.

Change-Id: I9a1532e9a98f89db69b9ae3b41b06318a43519b3
2022-03-04 18:41:48 +03:00
..
fixtures Fix migration with remote-managed ports & add FT 2022-03-04 18:41:48 +03:00
functional Fix migration with remote-managed ports & add FT 2022-03-04 18:41:48 +03:00
unit Fix migration with remote-managed ports & add FT 2022-03-04 18:41:48 +03:00
__init__.py
json_ref.py Transform instance.exists notification 2018-06-05 12:51:30 +00:00