| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
from neutron._i18n import _ |
| 17 |
from neutron_lib import exceptions as n_exc |
| 18 |
|
| 19 |
|
| 20 |
class MechanismDriverNotFound(n_exc.NotFound): |
| 21 |
message = _("None of the supported mechanism drivers found: " |
| 22 |
"%(mechanism_drivers)s. Check your configuration.") |
| 23 |
|
| 24 |
|
| 25 |
class ProtocolNotSupported(n_exc.NeutronException): |
| 26 |
message = _('The protocol "%(protocol)s" is not supported. Valid ' |
| 27 |
'protocols are: %(valid_protocols)s; or protocol ' |
| 28 |
'numbers ranging from 0 to 255.') |
| 29 |
|
| 30 |
|
| 31 |
class OperatorNotSupported(n_exc.NeutronException): |
| 32 |
message = _('The operator "%(operator)s" is not supported. Valid ' |
| 33 |
'operators are: %(valid_operators)s.') |