Security Groups: Add Rule dialog does not specify the option to create an IPv6 rule.

Bug #1372359 reported by Nir Magnezi
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Invalid
Undecided
guoshan

Bug Description

Description of problem:
=======================
The Add Rule dialog does not allow you to specify the 'Ether Type' for the rule.
Instead, It auto detects if the CIDR is IPv4 or IPv6 and creates the rule accordingly.
Having that approach, I Would suggest that the IPv4/IPv6 auto-detection will be better reflected to the user.

Currently:
a. The default CIDR is: 0.0.0.0/0
b. The CIDR Field help: Classless Inter-Domain Routing (e.g 192.168.0.0/24)
c. The IPv6 is not described as valid input in the Dialog Description.

Steps to Reproduce:
===================
See the dialog at: http://<FQDN>/project/access_and_security/security_groups/<sec_group_id>/add_rule/

Tags: ipv6
Revision history for this message
Nir Magnezi (nmagnezi) wrote :
guoshan (guoshan)
Changed in horizon:
assignee: nobody → guoshan (guoshan)
Changed in horizon:
status: New → Invalid
Revision history for this message
ofer blaut (oblaut) wrote :

Hi

You can't edit "Ether Type" in horizon . so you options is always IPV4, No IPv6 options via Horizon .(liberty and Kilo)

Check CLI that support it, please reopen the bug

Thanks

Ofer

usage: neutron security-group-rule-create [-h]
                                          [-f {html,json,json,shell,table,value,yaml,yaml}]
                                          [-c COLUMN] [--max-width <integer>]
                                          [--noindent] [--prefix PREFIX]
                                          [--request-format {json,xml}]
                                          [--tenant-id TENANT_ID]
                                          [--direction {ingress,egress}]
                                          [--ethertype ETHERTYPE]
                                          [--protocol PROTOCOL]
                                          [--port-range-min PORT_RANGE_MIN]
                                          [--port-range-max PORT_RANGE_MAX]
                                          [--remote-ip-prefix REMOTE_IP_PREFIX]
                                          [--remote-group-id REMOTE_GROUP]
                                          SECURITY_GROUP

Create a security group rule.

positional arguments:
  SECURITY_GROUP Security group name or ID to add rule.

optional arguments:
  -h, --help show this help message and exit
  --request-format {json,xml}
                        The XML or JSON request format.
  --tenant-id TENANT_ID
                        The owner tenant ID.
  --direction {ingress,egress}
                        Direction of traffic: ingress/egress.
  --ethertype ETHERTYPE
                        IPv4/IPv6

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.