Handle older published securitygroup format
Handle older published securitygroup format

We essentially have two security group formats:
- simple: just a list of ports
  { 'ingress': { 'app': [1,2,3,4] }}

- advanced: ports ranges
  { 'ingress': { 'app': {'start_port': 1, 'end_port': 10, 'protocol': 'udp'}}}

Related: PSOBAT-1511

gogoair/foremast,gogoair/foremast