engine: Refactor setup networks parameters builders

Shared code is being extracted into the base class.

Change-Id: Id3e7dcc5ec5fc2a4f38e3b4bd48eec32e2573f70
Signed-off-by: Moti Asayag <masayag@redhat.com>