It is not possible to create security group rules with custom ip protocol using nova cli

Bug #1531621 reported by Alexander Bozhenko
6
This bug affects 1 person
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>
                              <cidr>

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.

Revision history for this message
Alexander Bozhenko (alexbozhenko) wrote :
summary: It is not possible to create security group rules with custom ip
- protocol
+ protocol using nova cli
Changed in python-novaclient:
assignee: nobody → Jacky_lei_zhang (lzhang1)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-novaclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/266690

Changed in python-novaclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-novaclient (master)

Change abandoned by Kevin L. Mitchell (<email address hidden>) on branch: master
Review: https://review.openstack.org/266690
Reason: Change has not been updated since January. If you're still working on it, feel free to unabandon the change.

Revision history for this message
Takashi Natsume (natsume-takashi) wrote :

The 'nova secgroup-add-rule' command and 'SecurityGroupRuleManager' class have already been deleted in the latest code.

https://review.openstack.org/#/c/447707/
https://review.openstack.org/#/c/437145/

So set the status to 'Won't Fix'.

Changed in python-novaclient:
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.