]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Check missed ip6tables utility
authorDongcan Ye <hellochosen@gmail.com>
Wed, 30 Dec 2015 11:16:22 +0000 (19:16 +0800)
committerDongcan Ye <hellochosen@gmail.com>
Mon, 4 Jan 2016 11:19:56 +0000 (19:19 +0800)
commit34d4a6a78b288f87bd2f122a18916f940cc2b5fc
treed63fa09e21e0875a90fc50339d49004176616643
parenta6547e9cf0b7ce1dfc8b616c7c6521e31ba592c4
Check missed ip6tables utility

In some scenario, like in OpenStack Kolla, system may lack
iptables-ipv6 package. This may cause command ip6tables-save
or ip6tables-restore invalid and ovs-agent error.

This patch allows checking ip6tables support from CLI:
    neutron-sanity-check --ip6tables_installed

Or using configuration options, for example:
    neutron-sanity-check --config-file /etc/neutron/neutron.conf
    --config-file /etc/neutron/plugins/ml2/ml2_conf.ini

Change-Id: Ia6cf1ed6b5033442f03eac61d2d0d783c146d797
Closes-Bug: #1530042
neutron/cmd/sanity/checks.py
neutron/cmd/sanity_check.py
neutron/tests/functional/sanity/test_sanity.py