Thanks Kevin 2016-07-28 12:51 GMT+08:00 Kevin Benton <ke...@benton.pub>:
> 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, 张广明 <gmzhan...@gmail.com> 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: >> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >> >> > > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > >
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev