Skip to content

datapaths with big dpid will cause an overflow #520

Description

@miz-axsh

Attempting to create a datapath with dpid larger than 0x7fffffffffffffff will cause an overflow.

e.g.

% vnctl datapaths add --uuid=dp-test --display-name=test --dpid=0xdeadbeefdeadbeef --node-id=vna

This generates :dpid: '0x7fffffffffffffff'.

The type of DATAPATHS.dpid should be unsigned?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions