R2.1 Build 36 Ubuntu 12.04.3 Icehouse
There is a port with MAC 00:00:00:00:00:01 on vn1
Same mac on vn30 is not allowed.
In std openvswitch, it does allow.
root@nodei34:/var/log/contrail# neutron port-create vn30 --mac-address 00:00:00:00:00:01
409-{u'NeutronError': {u'message': u'Unable to complete operation for network cca982dc-b5bf-4867-8a16-16588290a118. The mac address 00:00:00:00:00:01 is in use.', u'type': u'MacAddressInUse', u'detail': u''}}
root@nodei34:/var/log/contrail# neutron port-list |grep 00:00:00:00:00:01
| ebcef198-70e0-49e5-900d-fad79617e2df | ebcef198-70e0-49e5-900d-fad79617e2df | 00:00:00:00:00:01 | {"subnet_id": "7dab9edf-a475-429f-b554-70f0f8a77f1d", "ip_address": "10.1.0.3"} |
root@nodei34:/var/log/contrail# neutron subnet-list
+--------------------------------------+------+-------------+----------------------------------------------+
| id | name | cidr | allocation_pools |
+--------------------------------------+------+-------------+----------------------------------------------+
| 7dab9edf-a475-429f-b554-70f0f8a77f1d | | 10.1.0.0/16 | {"start": "10.1.0.2", "end": "10.1.255.254"} |
| 52ab4a8a-d640-4250-8d21-8cb5805e6f5e | | 30.1.1.0/24 | {"start": "30.1.1.2", "end": "30.1.1.254"} |
+--------------------------------------+------+-------------+----------------------------------------------+
root@nodei34:/var/log/contrail#
root@nodei34:/var/log/contrail# neutron net-list
+--------------------------------------+-------------------------+--------------------------------------------------+
| id | name | subnets |
+--------------------------------------+-------------------------+--------------------------------------------------+
| 5688de8c-a2cb-4b9d-8bcd-1f44d51e445b | ip-fabric | |
| 3a6b5471-d537-48a1-86ff-ff6f1a51be96 | __link_local__ | |
| fa55dbdb-7a51-4817-877d-c002539a0b31 | default-virtual-network | |
| 6943e235-f74d-4d59-883d-a829a3778b63 | vn1 | 7dab9edf-a475-429f-b554-70f0f8a77f1d 10.1.0.0/16 |
| cca982dc-b5bf-4867-8a16-16588290a118 | vn30 | 52ab4a8a-d640-4250-8d21-8cb5805e6f5e 30.1.1.0/24 |
+--------------------------------------+-------------------------+--------------------------------------------------+
root@nodei34:/var/log/contrail#
Review in progress for https:/ /review. opencontrail. org/8723
Submitter: Prakash Bailkeri (<email address hidden>)