add ability to publish range of ports Upstream-commit: 25f8c2664066a523f3f59f4cc5cdc8cf81c8a7c8 Component: engine