add ability to publish range of ports
Addresses #8899
Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>