pyof.foundation.constants   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 0
eloc 10
dl 0
loc 14
ccs 9
cts 9
cp 1
rs 10
c 0
b 0
f 0
1
"""General constants from python-openflow library."""
2
3
# Max values of each basic type
4 1
UBINT8_MAX_VALUE = 255
5 1
UBINT16_MAX_VALUE = 65535
6 1
UBINT32_MAX_VALUE = 4294967295
7 1
UBINT64_MAX_VALUE = 18446744073709551615
8
9 1
OFP_ETH_ALEN = 6
10 1
OFP_MAX_PORT_NAME_LEN = 16
11 1
OFP_MAX_TABLE_NAME_LEN = 32
12 1
SERIAL_NUM_LEN = 32
13
DESC_STR_LEN = 256
14