On Thu, Oct 06, 2016 at 03:58:51PM -0400, Lance Richardson wrote: > The current IPAM implementation allocates both a MAC address and > an IPv4 address when dynamic address allocation is requested. This > patch adds the ability to specify a fixed MAC address for use with > dynamic IPv4 address allocation. > > Example: > ovn-nbctl lsp-set-addresses p1 "00:01:02:03:04:05 dynamic" > > Acked-by: Ben Pfaff <b...@ovn.org> > Acked-by: Russell Bryant <russ...@ovn.org> > Signed-off-by: Lance Richardson <lrich...@redhat.com> > --- > v2: - Simplified is_dynamic_lsp_address() using implementation by > Ben Pfaff (with minor adjustment, removed a space from scan > string).
For what it's worth, the space had semantic meaning: it prevented a string with trailing white space from being rejected. Maybe that is undesirable, so I didn't add it back in. > - Use ovs_scan() to extract static MAC in ipam_alloc_addresses() > instead of eth_addr_from_string() since the latter function > no longer allows trailing characters. Thanks, I added a NEWS item and applied this. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev