Comment 1 for bug 1658965

Revision history for this message
Noam Angel (noama) wrote :

openstack security group rule create --protocol icmp --dst-port -1:-1 --remote-ip 0.0.0.0/0 default
usage: openstack security group rule create [-h]
                                            [-f {json,shell,table,value,yaml}]
                                            [-c COLUMN]
                                            [--max-width <integer>]
                                            [--print-empty] [--noindent]
                                            [--prefix PREFIX]
                                            [--remote-ip <ip-address> | --remote-group <group>]
                                            [--description <description>]
                                            [--dst-port <port-range>]
                                            [--icmp-type <icmp-type>]
                                            [--icmp-code <icmp-code>]
                                            [--protocol <protocol>]
                                            [--ingress | --egress]
                                            [--ethertype <ethertype>]
                                            [--project <project>]
                                            [--project-domain <project-domain>]
                                            <group>
openstack security group rule create: error: argument --dst-port: expected one argument

change to :
openstack security group rule create --protocol icmp --dst-port -1 --remote-ip 0.0.0.0/0 default