Actually checking the result you provided, this "TypeDriver.reserve_provider_segment" result is none of the in-tree ones because none of them return the ID.
A segment is defined by the following tuple: network type, physical network and segmentation ID. Any other attribute, ID or MTU, is additional information that does not characterize the segment itself.
Although we should provide a common result, this is not enforced by the API. I suggest you to change you test check.
Actually checking the result you provided, this "TypeDriver. reserve_ provider_ segment" result is none of the in-tree ones because none of them return the ID.
A segment is defined by the following tuple: network type, physical network and segmentation ID. Any other attribute, ID or MTU, is additional information that does not characterize the segment itself.
Although we should provide a common result, this is not enforced by the API. I suggest you to change you test check.
Regards.