← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1532061] [NEW] security-group-rule protocol and ethertype should keep consistency

 

Public bug reported:

security-group-rule protocol and ethertype should keep consistency.when
protocol is ipv4 ethertype is ipv6,we can config it now

test@test:~/work/devstack$ neutron security-group-rule-create 6c6163b9-bbae-4690-9b10-aa236c6e87d1 --protocol icmp --ethertype ipv6 
Created a new security_group_rule:
+-------------------+--------------------------------------+
| Field             | Value                                |
+-------------------+--------------------------------------+
| direction         | ingress                              |
| ethertype         | IPv6                                 |
| id                | e9b48822-1359-4a3a-a0c3-6bff3a2cf167 |
| port_range_max    |                                      |
| port_range_min    |                                      |
| protocol          | icmp                                 |
| remote_group_id   |                                      |
| remote_ip_prefix  |                                      |
| security_group_id | 6c6163b9-bbae-4690-9b10-aa236c6e87d1 |
| tenant_id         | e35fd394c46e4142b870646197bf391d     |
+-------------------+--------------------------------------+

expected result:should display ERROR message

** Affects: neutron
     Importance: Undecided
     Assignee: Jacky_lei_zhang (lzhang1)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Jacky_lei_zhang (lzhang1)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1532061

Title:
  security-group-rule protocol and ethertype should keep consistency

Status in neutron:
  New

Bug description:
  security-group-rule protocol and ethertype should keep
  consistency.when protocol is ipv4 ethertype is ipv6,we can config it
  now

  test@test:~/work/devstack$ neutron security-group-rule-create 6c6163b9-bbae-4690-9b10-aa236c6e87d1 --protocol icmp --ethertype ipv6 
  Created a new security_group_rule:
  +-------------------+--------------------------------------+
  | Field             | Value                                |
  +-------------------+--------------------------------------+
  | direction         | ingress                              |
  | ethertype         | IPv6                                 |
  | id                | e9b48822-1359-4a3a-a0c3-6bff3a2cf167 |
  | port_range_max    |                                      |
  | port_range_min    |                                      |
  | protocol          | icmp                                 |
  | remote_group_id   |                                      |
  | remote_ip_prefix  |                                      |
  | security_group_id | 6c6163b9-bbae-4690-9b10-aa236c6e87d1 |
  | tenant_id         | e35fd394c46e4142b870646197bf391d     |
  +-------------------+--------------------------------------+

  expected result:should display ERROR message

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1532061/+subscriptions


Follow ups