pyof.v0x04.controller2switch.features_request   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 0
eloc 7
dl 0
loc 19
ccs 5
cts 5
cp 1
rs 10
c 0
b 0
f 0
1
"""Defines Features Request classes and related items."""
2
3 1
from pyof.foundation.base import GenericMessage
4 1
from pyof.v0x04.common.header import Header, Type
5
6 1
__all__ = ('FeaturesRequest',)
7
8
# Classes
9
10
11 1
class FeaturesRequest(GenericMessage):
12
    """Features request message.
13
14
    This message does not contain a body in addition to the OpenFlow Header.
15
    """
16
17 1
    header = Header(
18
        message_type=Type.OFPT_FEATURES_REQUEST)
19