[ovs-git] [openvswitch/ovs] 62705b: ovs-vswitchd: Allow more convenient 0x short form ...

GitHub noreply at github.com
Fri Dec 22 00:19:04 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 62705b81108ff6d011362331847cf0ba22494779
      https://github.com/openvswitch/ovs/commit/62705b81108ff6d011362331847cf0ba22494779
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2017-12-21 (Thu, 21 Dec 2017)

  Changed paths:
    M NEWS
    M lib/packets.c
    M tests/ovs-vswitchd.at
    M vswitchd/vswitch.xml

  Log Message:
  -----------
  ovs-vswitchd: Allow more convenient 0x short form for specifying DPIDs.

Until now, ovs-vswitchd has insisted that other-config:datapath-id be
exactly 16 hex digits.  This commit allows shorter forms prefixed by 0x.
This was prompted by Faucet controller examples such as this one:
https://github.com/faucetsdn/faucet/blob/master/docs/README_config.rst
which tend to suggest datapath IDs like 0x1.

CC: Josh Bailey <joshb at google.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list