Neutron plugin v3 doesn't show remote_ip_prefix 0/0
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
Trunk |
Fix Committed
|
Undecided
|
Unassigned | |||
OpenContrail |
New
|
Undecided
|
Unassigned |
Bug Description
Neutron plugin v3 doesn't show the value of the remote_ip_prefix when it is set to 0/0 while the neutron base reference shows it.
Moreover, this causes troubles to terraform for instance since it checks the security group it created has been created. When terraform creates a rule 0/0, its check fails since the remote_ip_prefix is not show.
=======
The current behavior:
[cloud:~/devstack] master* 2 ± neutron security-
Created a new security_
+------
| Field | Value |
+------
| direction | ingress |
| ethertype | IPv4 |
| id | 0649a689-
| port_range_max | |
| port_range_min | |
| protocol | |
| remote_group_id | |
| remote_ip_prefix | |
| security_group_id | 62484538-
| tenant_id | e29c641486fc401
+------
[cloud:~/devstack] master* ± neutron security-
Created a new security_
+------
| Field | Value |
+------
| direction | ingress |
| ethertype | IPv4 |
| id | c03f35b9-
| port_range_max | |
| port_range_min | |
| protocol | |
| remote_group_id | |
| remote_ip_prefix | |
| security_group_id | 62484538-
| tenant_id | e29c641486fc401
+------
=======
The neutron base reference behavior
[cloud:~/devstack] master* 2s ± neutron security-
Created a new security_
+------
| Field | Value |
+------
| direction | ingress |
| ethertype | IPv4 |
| id | 99238176-
| port_range_max | |
| port_range_min | |
| protocol | |
| remote_group_id | |
| remote_ip_prefix | 0.0.0.0/0 |
| security_group_id | 62484538-
| tenant_id | e29c641486fc401
+------
[cloud:~/devstack] master* 2s ± neutron security-
Created a new security_
+------
| Field | Value |
+------
| direction | ingress |
| ethertype | IPv4 |
| id | 66edfcfb-
| port_range_max | |
| port_range_min | |
| protocol | |
| remote_group_id | |
| remote_ip_prefix | |
| security_group_id | 62484538-
| tenant_id | e29c641486fc401
+------
Review in progress for https:/ /review. opencontrail. org/17900
Submitter: Antoine Eiche (<email address hidden>)