Adds iptables element

Creates a common iptables element where the logic required
to handle iptables rules is consolidated. This change uses
the check (-C) argument to check whether a rule matching
the specification does exist in the selected chain.  Based
on the exit code of the check, a rule is added to iptables.
There is no longer a need to store an .ok file in a stateful
manner.

Change-Id: Ib746ff487a286557a05f9d39ab330853564ef98f
Closes-Bug: 1269151
Co-Authored-By: Ronelle Landy <rlandy@redhat.com>
Merge "Adds iptables element"
Updates cinder iptables rules

Once we move to a readonly root filesystem we cannot store
the .ok file in the git tree.  This patch relies on the
add-rule script which checks for the rule before inserting
it and does not require an .ok file for state.

Change-Id: I74f32cb724a82495e79c623c9510a99a039a7c4b
Updates iptables rule for MySQL element

Adds an iptables rule to open port 3306 for remote access to MySQL
to support other elements needing to connect to the database from
a different instance.

Change-Id: Ic2215fee90906029c0a1cb4799ccdc3381a421e4
Updates boot-stack iptables file

Once we move to a readonly root filesystem we cannot store
the .ok file in the git tree.  This patch relies on the
add-rule script which checks for the rule before inserting
it and does not require an .ok file for state.

Change-Id: Ic75baab31ec4ddd8c346c22aaaf5604ce6c3f8fa
Updates gearman iptables rule

Once we move to a readonly root filesystem we cannot store
the .ok file in the git tree.  This patch relies on the
add-rule script which checks for the rule before inserting
it and does not require an .ok file for state.

Change-Id: Icc1979fc288b4558edc3dc427246c1e55b0e82db
Merge "Updates boot-stack iptables file"
Merge "Updates iptables rule for MySQL element"
Merge "Updates cinder iptables rules"