Gitiles
Code Review
Sign In
gerrit.opencord.org
/
fabric-oftest
/
f5ffb97b92a933ed7781a0a2e36b101b3f62c5e3
/
.
/
src
/
python
/
oftest
/
ofutils.py
blob: 5daba2f70e0007f3ed0ebc8e85a69aa3a19561bc [
file
] [
log
] [
blame
]
"""
Utilities for the OpenFlow test framework
"""
import
random
def
gen_xid
():
return
random
.
randrange
(
1
,
0xffffffff
)