It is not possible to create security group rules with custom ip protocol using nova cli
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-novaclient |
Won't Fix
|
Undecided
|
Jacky_lei_zhang |
Bug Description
Through horizon I can add rules like in the attach.
it will produce the following:
```nova secgroup-list-rules sctp
+------
| IP Protocol | From Port | To Port | IP Range | Source Group |
+------
| 132 | -1 | -1 | 0.0.0.0/0 | |
+------
```
How to add them through cli?
looks like it is not possible to specify custom ip protocol?
```nova help secgroup-add-rule
usage: nova secgroup-add-rule <secgroup> <ip-proto> <from-port> <to-port>
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.
Changed in python-novaclient: | |
assignee: | nobody → Jacky_lei_zhang (lzhang1) |
Fix proposed to branch: master /review. openstack. org/266690
Review: https:/