tripleo-common/tripleo_common
Ben Nemec 7bd80dbdf2 Allow updating of nodes in baremetal import
Right now, if you attempt to update a node's details using the
baremetal import command and the node has both a mac and a pm_addr
specified, it will fail because _get_node_id finds both the mac
and pm_addr match and adds the id to a list twice.  Since it's
perfectly fine for a node to match both of those fields, we
shouldn't error in that case.  Using a set instead of a list for
the data structure makes this work as expected.

Change-Id: I4b9fb1531c59a090b67f19d673c21c22b4f9523b
Closes-Bug: 1586523
2016-05-27 21:32:28 +00:00
..
actions Removes unused code 2016-05-24 17:34:22 -04:00
filters Add capabilities filter for Nova 2016-03-04 15:51:33 +00:00
image Log diskimage-builder output to a file 2016-05-03 08:47:44 -04:00
tests Allow updating of nodes in baremetal import 2016-05-27 21:32:28 +00:00
utils Allow updating of nodes in baremetal import 2016-05-27 21:32:28 +00:00
__init__.py Initial Cookiecutter Commit. 2015-04-29 13:34:49 +02:00
_stack_update.py Merge "Replace deprecated LOG.warn with LOG.warning" 2016-04-20 05:20:47 +00:00
constants.py Removes unused code 2016-05-24 17:34:22 -04:00
exception.py Removes unused code 2016-05-24 17:34:22 -04:00
i18n.py Removes unused code 2016-05-24 17:34:22 -04:00
scale.py Use a common constant for the Heat timeout value 2016-03-21 08:48:46 +00:00
update.py Merge "StackAction parameter to distinguish top-level create vs. update" 2016-04-15 10:19:04 +00:00
upgrade.py Use a common constant for the Heat timeout value 2016-03-21 08:48:46 +00:00