Red Hat Training

A Red Hat training course is available for Red Hat OpenStack Platform

5.146. nova secgroup-add-rule

usage: nova secgroup-add-rule <secgroup> <ip-proto> <from-port> <to-port>
                              <cidr>
DEPRECATED: Add a rule to a security group.

Positional arguments

<secgroup>


        ID or name of security group.

<ip-proto>


        IP protocol (icmp, tcp, udp).

<from-port>


        Port at start of range.

<to-port>


        Port at end of range.

<cidr>


        CIDR for address range.