ironic-inspector/ironic_inspector
Dmitry Tantsur 39eb964134 Disable DHCP completely when no nodes are on introspection
Currently we keep DHCP always open for new nodes. This is an overkill, as we
always know which nodes are on introspection. It also causes problems when not
all node NIC's are registered in Ironic, as these NIC's might get DHCP from our
server.

This change reduces probability of wrong nodes accessing our DHCP by REJECT'ing
all DHCP requests when no nodes are on introspection and node_not_found_hook is
not set. It does not solve the problem completely: conflicts are still possible
during the introspection.

Change-Id: I7a50c02023ef4364e14825cd80fa75565fac3dc8
Partial-Bug: #1557979
(cherry picked from commit 405c7de1f8)
2016-03-16 18:51:55 +01:00
..
common Do not set Swift parameters defaults in keyword arguments 2016-02-12 10:41:49 +00:00
migrations Always default to InnoDB for MySQL 2015-10-20 11:55:52 +00:00
plugins Merge "Support IPA in raid_device plugin" 2015-09-24 16:13:28 +00:00
test Disable DHCP completely when no nodes are on introspection 2016-03-16 18:51:55 +01:00
__init__.py Switch to pbr 2015-06-18 16:09:07 +02:00
alembic.ini Add alembic migrations for the inspector database 2015-09-23 14:44:46 +01:00
conf.py Use rootwrap to execute iptables instead of requiring root 2015-09-23 13:27:15 +02:00
db.py Always default to InnoDB for MySQL 2015-10-20 11:55:52 +00:00
dbsync.py Add alembic migrations for the inspector database 2015-09-23 14:44:46 +01:00
firewall.py Disable DHCP completely when no nodes are on introspection 2016-03-16 18:51:55 +01:00
introspect.py Allow empty lookup attributes if node_not_found_hook is provided 2015-09-21 15:25:40 +02:00
main.py Never run Flask application with debug mode 2015-10-16 11:07:21 +00:00
node_cache.py Disable DHCP completely when no nodes are on introspection 2016-03-16 18:51:55 +01:00
process.py Properly report preprocessing errors to a user 2016-02-11 14:44:40 +01:00
rules.py Add introspection rules support 2015-09-14 14:56:09 +02:00
utils.py Merge "Add missing plugins for introspection rules" 2015-09-23 10:51:36 +00:00
version.py Use Reno for release notes management 2015-11-26 13:46:06 +01:00