diff options
| author | Ramakrishnan G <rameshg87@gmail.com> | 2014-08-19 11:29:59 +0530 |
|---|---|---|
| committer | Ramakrishnan G <rameshg87@gmail.com> | 2014-09-02 12:51:50 +0530 |
| commit | 8c0584c12159941febc59df57f23865e6d95728e (patch) | |
| tree | 6173ee7d1e6296082ac4507140dd8267cc8b84b7 /ironic_python_agent/errors.py | |
| parent | 50b8f256537b371ce116639f040eb70f6f9dc2d4 (diff) | |
| download | ironic-python-agent-8c0584c12159941febc59df57f23865e6d95728e.tar.gz | |
Add vmedia boot support in IPA
This commit adds support for booting IPA from virtual
media cdrom. When IPA is booted over virtual media cdrom,
the parameters to the IPA are passed in a text file within
the virtual media floppy.
Change-Id: Ia04585416aada85022af73fb2b945bd3895606f0
Closes-Bug: #1358723
Diffstat (limited to 'ironic_python_agent/errors.py')
| -rw-r--r-- | ironic_python_agent/errors.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ironic_python_agent/errors.py b/ironic_python_agent/errors.py index f461aaa1..5c6bdb2c 100644 --- a/ironic_python_agent/errors.py +++ b/ironic_python_agent/errors.py @@ -223,5 +223,16 @@ class BlockDeviceError(RESTError): self.details = details +class VirtualMediaBootError(RESTError): + """Error raised when booting ironic-python-client from virtual media + fails. + """ + message = 'Booting ironic-python-client from virtual media failed.' + + def __init__(self, details): + super(RESTError, self).__init__(details) + self.details = details + + class ExtensionError(Exception): pass |
