diff options
| author | Lucas Alvares Gomes <lucasagomes@gmail.com> | 2015-11-18 09:53:54 +0000 |
|---|---|---|
| committer | Lucas Alvares Gomes <lucasagomes@gmail.com> | 2015-11-18 09:56:09 +0000 |
| commit | c21409e98bbf7cfc53aa7222f79c5bbb6af0014c (patch) | |
| tree | f5d26a7cd3822efac4db73abe03434ae99f831a8 /ironic_python_agent/hardware.py | |
| parent | 4bd9fa042eab67f63a938e35b461cc7a66f09a27 (diff) | |
| download | ironic-python-agent-c21409e98bbf7cfc53aa7222f79c5bbb6af0014c.tar.gz | |
Follow up patch for da9c3b0adc67efa916fc534d975823c0a45948a1
This patch is a follow up patch fixing some nits left by the review
da9c3b0adc67efa916fc534d975823c0a45948a1, this patch adds the
wwn_with_extension and wwn_vendor_extension root device hints to the
"serializable_fields" list attribute of the BlockDevice class and fixes
some tests.
Change-Id: I6039be535988319276f9ac355c80997d34328ce8
Diffstat (limited to 'ironic_python_agent/hardware.py')
| -rw-r--r-- | ironic_python_agent/hardware.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ironic_python_agent/hardware.py b/ironic_python_agent/hardware.py index 5e178f16..18e752eb 100644 --- a/ironic_python_agent/hardware.py +++ b/ironic_python_agent/hardware.py @@ -138,7 +138,8 @@ class HardwareType(object): class BlockDevice(encoding.SerializableComparable): serializable_fields = ('name', 'model', 'size', 'rotational', - 'wwn', 'serial', 'vendor') + 'wwn', 'serial', 'vendor', 'wwn_with_extension', + 'wwn_vendor_extension') def __init__(self, name, model, size, rotational, wwn=None, serial=None, vendor=None, wwn_with_extension=None, |
