Merge "Add AdvancedPeerServerStackFixture fixture"

This commit is contained in:
Zuul 2025-02-28 18:44:29 +00:00 committed by Gerrit Code Review
commit b8ec8963fa
2 changed files with 7 additions and 0 deletions

View File

@ -97,6 +97,7 @@ AdvancedImageFixture = _advanced_vm.AdvancedImageFixture
AdvancedServerStackFixture = _advanced_vm.AdvancedServerStackFixture
AdvancedExternalServerStackFixture = \
_advanced_vm.AdvancedExternalServerStackFixture
AdvancedPeerServerStackFixture = _advanced_vm.AdvancedPeerServerStackFixture
VlanNetworkStackFixture = _vlan.VlanNetworkStackFixture
VlanProxyServerStackFixture = _vlan.VlanProxyServerStackFixture

View File

@ -126,3 +126,9 @@ class AdvancedExternalServerStackFixture(AdvancedServerStackFixture,
_nova.ExternalServerStackFixture):
"""Advanced server with port on special external network
"""
class AdvancedPeerServerStackFixture(AdvancedServerStackFixture,
_nova.PeerServerStackFixture):
#: Peer server used to reach this one
peer_stack = tobiko.required_fixture(AdvancedServerStackFixture)