VNC API doesn't allow '00:00:00:00:00:00' mac for AAP

Bug #1586520 reported by chhandak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Invalid
High
Unassigned
R3.0
Invalid
High
Unassigned

Bug Description

VNC API validation is not allowing to set '00:00:00:00:00:00' mac for allowed address pair. But we can achieve the same using webui and it is getting set in API server also.

We need this all zero mac for one of the supported use case of AAP.

Exception while trying to set using vnc Api
———————————————————————————————
2016-05-27 12:44:33,404 - ERROR - Exception while updating port'00:00:00:00:00:00' is not a valid MAC address
*** BadRequest: '00:00:00:00:00:00' is not a valid MAC address

When set through webui
——————————————————
API Server:
"uuid": "7badcdbc-e816-4180-aa2c-b8d151cb8064",
        "virtual_machine_interface_allowed_address_pairs": {
            "allowed_address_pair": [
                {
                    "address_mode": "active-standby",
                    "ip": {
                        "ip_prefix": "10.10.10.250",
                        "ip_prefix_len": 32
                    },
                    "mac": "00:00:00:00:00:00"
                }
            ]
        },

From Webui:
Port Detail
Networkctest-vn1-36700996
UUID7badcdbc-e816-4180-aa2c-b8d151cb8064
Name7badcdbc-e816-4180-aa2c-b8d151cb8064
Admin StateUp
MAC Address02:7b:ad:cd:bc:e8
Fixed IPs10.10.10.3
Security Groupsdefault
DHCP Options-
Devicecompute:nova
Device ID1a62ed7f-60d0-4975-934e-afc5ec004c62
Local Preference-
ECMP Hashing Fields
Bindings
Key Value
host_id a5d07e09-2
vif_type vrouter
vnic_type normal
Allowed address pairsEnabled
IP MAC
10.10.10.250/32 00:00:00:00:00:00

Tags: config
chhandak (chhandak)
Changed in juniperopenstack:
importance: Undecided → High
information type: Proprietary → Public
Revision history for this message
Sachin Bansal (sbansal) wrote :

This check is performed by neutron, not VNC api. Did you actually try using VNC API?

Changed in juniperopenstack:
status: New → Invalid
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.