summaryrefslogtreecommitdiff
path: root/ironic_python_agent/errors.py
diff options
context:
space:
mode:
authorJaganathan Palanisamy <jpalanis@redhat.com>2017-02-09 07:04:33 -0500
committerJaganathan Palanisamy <jpalanis@redhat.com>2017-05-16 08:07:58 -0400
commitcc9e05da504693af6ceafff64527200bcbe4bb7d (patch)
tree5cc5a420cee2408538a170385db7fdbe4b87321c /ironic_python_agent/errors.py
parent15878b7b181098db7abb6601ada0e245b6722d46 (diff)
downloadironic-python-agent-cc9e05da504693af6ceafff64527200bcbe4bb7d.tar.gz
NUMA-topology collector
Implement the optional collector for fetching the NUMA topology details. Collects RAM, CPU Cores, thread siblings and NICS data for each NUMA node and stored under "numa_topology" key. Closes-bug: #1635253 Co-Authored-By: Jaganathan Palanisamy <jpalanis@redhat.com> Change-Id: I5a546c009d95f39b7af4d89cf785be8acb8ebc67 Signed-off-by: karthik s <ksundara@redhat.com>
Diffstat (limited to 'ironic_python_agent/errors.py')
-rw-r--r--ironic_python_agent/errors.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ironic_python_agent/errors.py b/ironic_python_agent/errors.py
index 2c49ffc8..11f769f0 100644
--- a/ironic_python_agent/errors.py
+++ b/ironic_python_agent/errors.py
@@ -293,6 +293,12 @@ class ISCSIError(RESTError):
super(ISCSIError, self).__init__(details)
+class IncompatibleNumaFormatError(RESTError):
+ """Error raised when unexpected format data in NUMA node."""
+
+ message = 'Error in NUMA node data format'
+
+
class ISCSICommandError(ISCSIError):
"""Error executing TGT command."""