Update os_security_group_rule.py (#61262)

Currently, this module does not support to add 132 SCTP rule in security group rule of openstack. Could we add this support in this module? Thanks~
pull/58491/head
felyl-github 6 years ago committed by ansibot
parent 7f4328ad12
commit e6fe52bc56

@ -29,8 +29,8 @@ options:
required: true
protocol:
description:
- IP protocols TCP UDP ICMP 112 (VRRP)
choices: ['tcp', 'udp', 'icmp', '112', None]
- IP protocols TCP UDP ICMP 112 (VRRP) 132 (SCTP)
choices: ['tcp', 'udp', 'icmp', '112', '132', None]
port_range_min:
description:
- Starting port
@ -273,7 +273,7 @@ def main():
# NOTE(Shrews): None is an acceptable protocol value for
# Neutron, but Nova will balk at this.
protocol=dict(default=None,
choices=[None, 'tcp', 'udp', 'icmp', '112']),
choices=[None, 'tcp', 'udp', 'icmp', '112', '132']),
port_range_min=dict(required=False, type='int'),
port_range_max=dict(required=False, type='int'),
remote_ip_prefix=dict(required=False, default=None),

Loading…
Cancel
Save