[RFE] L2gateway does not support allowed-address-pairs

Bug #1447897 reported by Maruti Kamat
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-l2gw
Fix Released
Medium
yujie

Bug Description

sdn@maruti-devstack-ctl:~$ neutron port-list
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------+
| id | name | mac_address | fixed_ips |
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------+
| 894bfd48-237f-4ad8-aefd-3222aa229297 | | fa:16:3e:1a:55:1b | {"subnet_id": "4c3a2417-fe1f-43c9-99b6-91296be1c491", "ip_address": "10.0.0.2"} |
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------+

sdn@maruti-devstack-ctl:~$ neutron port-update 894bfd48-237f-4ad8-aefd-3222aa229297 --allowed-address-pairs type=dict list=true mac_address=aa:aa:aa:aa:aa:aa,ip_address=1.1.1.1
Updated port: 894bfd48-237f-4ad8-aefd-3222aa229297

sdn@maruti-devstack-ctl:~$ neutron port-list
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------+
| id | name | mac_address | fixed_ips |
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------+
| 894bfd48-237f-4ad8-aefd-3222aa229297 | | fa:16:3e:1a:55:1b | {"subnet_id": "4c3a2417-fe1f-43c9-99b6-91296be1c491", "ip_address": "10.0.0.2"} |
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------+

sdn@maruti-devstack-ctl:~$ neutron port-show 894bfd48-237f-4ad8-aefd-3222aa229297
+-----------------------+---------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+---------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | {"ip_address": "1.1.1.1", "mac_address": "aa:aa:aa:aa:aa:aa"} |
| binding:host_id | maruti-devstack-ctl |
| binding:profile | {} |
| binding:vif_details | {"port_filter": true, "ovs_hybrid_plug": true} |
| binding:vif_type | ovs |
| binding:vnic_type | normal |
| device_id | dhcp1c869124-fe6b-5f2b-880c-b22f794f03fa-0c5e4699-588f-48b2-a2ca-c4aba1972c02 |
| device_owner | network:dhcp |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "4c3a2417-fe1f-43c9-99b6-91296be1c491", "ip_address": "10.0.0.2"} |
| id | 894bfd48-237f-4ad8-aefd-3222aa229297 |
| mac_address | fa:16:3e:1a:55:1b |
| name | |
| network_id | 0c5e4699-588f-48b2-a2ca-c4aba1972c02 |
| security_groups | |
| status | ACTIVE |
| tenant_id | d162658d742c46d68dc71f40773dfa11 |
+-----------------------+---------------------------------------------------------------------------------+

This operation does not populate the OVSDB server table Ucast_Macs_Remote

Tags: rfe
Maruti Kamat (marutik)
Changed in networking-l2gw:
assignee: nobody → Maruti Kamat (marutik)
Maruti Kamat (marutik)
Changed in networking-l2gw:
importance: Undecided → Medium
Maruti Kamat (marutik)
summary: - L2gateway does not support allowed-address-pairs
+ [RFE] L2gateway does not support allowed-address-pairs
Maruti Kamat (marutik)
tags: added: rfe
Revision history for this message
yujie (16189455-d) wrote :

Hi Maruti,I want to fix this bug. Could you assign it to me?

yujie (16189455-d)
Changed in networking-l2gw:
assignee: Maruti Kamat (marutik) → yujie (16189455-d)
Changed in networking-l2gw:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-l2gw (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on networking-l2gw (master)

Change abandoned by Yu Jie (<email address hidden>) on branch: master
Review: https://review.openstack.org/447987

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-l2gw (master)

Reviewed: https://review.openstack.org/444620
Committed: https://git.openstack.org/cgit/openstack/networking-l2gw/commit/?id=354495aae04b4de582feabffadbd3b2601ef7379
Submitter: Jenkins
Branch: master

commit 354495aae04b4de582feabffadbd3b2601ef7379
Author: judy-yu <email address hidden>
Date: Sun Mar 19 21:08:51 2017 +0800

    Take allowed-address-pairs to ucast_mac_remote

    When creating l2-gateway-connection, we should take the
    port with allowed-address-pairs configuration into the
    ucast_mac_remote.

    Change-Id: I72e44c1ab75d5b8117a8d6bd468d974a898f2fde
    Partial-Bug: #1447897

Revision history for this message
Ricardo Noriega (rnoriega-b) wrote :

Setting this bug as "Fix released". Please, let me know if there is any reason to keep it opened.

Changed in networking-l2gw:
status: In Progress → Fix Released
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.