OOIION-1565 Refactor deployment activation logic

fix and add port assignment objects to Deployments

@jamie-cyber1 please review
@mmeisinger please review