If the mac is duplicated on a network it will be violate a uniqueness constraint in the DB which will trigger a retry.
On Wed, Jul 27, 2016 at 9:48 PM, 张广明 <[email protected]> wrote: > Hi, folks, > Now the neutron use a random function to generate the mac address for > neutron port when it was created . The sequence is as follow: > _generate_mac > get_random_mac > random.randint > As i understand it, it is possible to get same mac when create two > different port. Because the random is pseudo random, not a fixed > based on some unique base. > > Can anyone give me some explain? Thanks > > > > > > > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: [email protected]?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > >
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: [email protected]?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
