Add remote_ip_prefix on security group rule

Specify 'remote_ip_prefix' as '0.0.0.0/0' on creating security
group rule for exposing ports.

Change-Id: I6a5824090ab2ca5cbfc7f7e446bc8596dca8809c
This commit is contained in:
Hongbin Lu
2019-05-04 20:45:13 +00:00
parent 4b8311aa16
commit 6aa0179d15

View File

@@ -134,7 +134,8 @@ class NeutronAPI(object):
'direction': 'ingress',
'port_range_min': port,
'port_range_max': port,
'protocol': proto
'protocol': proto,
'remote_ip_prefix': '0.0.0.0/0',
}
try: