Assign-unassign IP addresses functionality added. Filtering added.

Fixed a number of bugs to comply with Tempest.

Change-Id: Id43326880e5b2058db4aa09aad4fae048e08620b