Bug 3136: Delete output port from instruction should use order instead of index
Added comments to better explain the impmlementation.
The removeOutputPortFromInstructions was implemented under the assumption that
list index and order of action are equal. This could lead to action list where
order is not rebuilt properly.
Also, if removing port is not found in action list, the implementation would
cause the removal of the flow; when in fact it should leave list as is.
Change-Id: Id42d592db52c83897fd731f3bbef0434cc83d435
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
Also-By: shc411 <jung33@gmail.com>