AAP: mac address should be of type str than list

Bug #1478668 reported by Senthilnathan Murugappan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Won't Fix
Low
Unassigned
R3.0
Won't Fix
Low
Suresh Balineni
Trunk
Invalid
Low
Sahil Sabharwal

Bug Description

The mac_address should be of type string and not list

root@vse2100-2:~# neutron port-show e615f018-57f0-4848-beec-884271a85773
+-----------------------+---------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+---------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | {"ip_address": "77.7.7.6", "mac_address": ["02:e6:15:f0:18:57"]} |

virtual_machine_interface_allowed_address_pairs: {
      allowed_address_pair: [
              {
                ip: { ip_prefix: "77.7.7.6", ip_prefix_len: 32 },
               mac: ["02:ad:a8:06:1c:ce"],
               address_mode: "active-standby"
              } ] },

mac_address is stored as a list, hope it should be a 1-1 mapping between ip and mac.

Tags: config
Revision history for this message
Senthilnathan Murugappan (msenthil) wrote :

Checked the same with vanilla openstack-icehouse who stores the same as string.

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Bug update]

bug update...

no longer affects: juniperopenstack/r3.1
Revision history for this message
Sahil Sabharwal (ssabharwal) wrote :

I'm not seeing this issue with the latest build. The mac address is getting stored and retrieved as a string only.

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.