pyof.v0x04.controller2switch.get_async_request   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 0
eloc 6
dl 0
loc 22
ccs 5
cts 5
cp 1
rs 10
c 0
b 0
f 0
1
"""Get Async Request Message."""
2
# System imports
3
4
# Third-party imports
5
6
# Local imports
7 1
from pyof.foundation.base import GenericMessage
8 1
from pyof.v0x04.common.header import Header, Type
9
10 1
__all__ = ('GetAsyncRequest',)
11
12
13 1
class GetAsyncRequest(GenericMessage):
14
    """Request Asynchronous messages.
15
16
    Query the asynchronous messages that it wants to receive (other than error
17
    messages) on a given OpenFlow channel.
18
    """
19
20
    #: OpenFlow :class:`~pyof.v0x04.common.header.Header`
21
    header = Header(message_type=Type.OFPT_GET_ASYNC_REQUEST)
22