diff options
author | Zuul <zuul@review.opendev.org> | 2021-08-19 18:13:22 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2021-08-19 18:13:22 +0000 |
commit | 529e883ac0d5e10b58bdc7f3ac3e6f792259aab1 (patch) | |
tree | 92b5cac18a667291d8d1244d26ca2960153e5004 /nova/exception.py | |
parent | 1c348ac7b8728217913da9044888bb3080c14e11 (diff) | |
parent | 1f53176d2f4303b909ecad18cb0f027bfcd0b7ae (diff) | |
download | nova-529e883ac0d5e10b58bdc7f3ac3e6f792259aab1.tar.gz |
Merge "smartnic support - reject server move and suspend"
Diffstat (limited to 'nova/exception.py')
-rw-r--r-- | nova/exception.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py index c404ec7702..b09e074f92 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -159,6 +159,10 @@ class ForbiddenWithAccelerators(Forbidden): msg_fmt = _("Forbidden with instances that have accelerators.") +class ForbiddenPortsWithAccelerator(Forbidden): + msg_fmt = _("Forbidden with Ports that have accelerators.") + + class AdminRequired(Forbidden): msg_fmt = _("User does not have admin privileges") |