summaryrefslogtreecommitdiff
path: root/nova/objects
diff options
context:
space:
mode:
authorSean Mooney <work@seanmooney.info>2022-05-07 19:47:58 +0300
committerSean Mooney <work@seanmooney.info>2022-08-22 14:57:21 +0100
commit6f1c7ab2e704e057055e3c80370c33abcc502787 (patch)
treedf6a1e47386decd1f33ebaeb2e5756c9de966905 /nova/objects
parentddcc286ee1b70b53bccf21bdf602d9482b74ee0d (diff)
downloadnova-6f1c7ab2e704e057055e3c80370c33abcc502787.tar.gz
Add source dev parsing for vdpa interfaces
This change extends the guest xml parsing such that the source device path can be extreacted from interface elements of type vdpa. This is required to identify the interface to remove when detaching a vdpa port from a domain. This change fixes a latent bug in the libvirt fixutre related to the domain xml generation for vdpa interfaces. Change-Id: I5f41170e7038f4b872066de4b1ad509113034960
Diffstat (limited to 'nova/objects')
-rw-r--r--nova/objects/service.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/nova/objects/service.py b/nova/objects/service.py
index bc35132565..e67ec17217 100644
--- a/nova/objects/service.py
+++ b/nova/objects/service.py
@@ -31,7 +31,7 @@ LOG = logging.getLogger(__name__)
# NOTE(danms): This is the global service version counter
-SERVICE_VERSION = 61
+SERVICE_VERSION = 62
# NOTE(danms): This is our SERVICE_VERSION history. The idea is that any
@@ -216,6 +216,9 @@ SERVICE_VERSION_HISTORY = (
# Version 61: Compute RPC v6.0:
# Add support for remotely-managed ports (vnic-type 'remote-managed')
{'compute_rpc': '6.0'},
+ # Version 62: Compute RPC v6.0:
+ # Add support for VDPA port attach/detach
+ {'compute_rpc': '6.0'},
)
# This is used to raise an error at service startup if older than N-1 computes