Conditions | 1 |
Total Lines | 12 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 3 |
CRAP Score | 1 |
Changes | 0 |
1 | """Defines Get Config Reply message.""" |
||
16 | 1 | def __init__(self, xid=None, flags=None, miss_send_len=None): |
|
17 | """Create a GetConfigReply with the optional parameters below. |
||
18 | |||
19 | Args: |
||
20 | xid (int): xid to be used on the message header. |
||
21 | flags (~pyof.v0x04.controller2switch.common.ConfigFlag): |
||
22 | OFPC_* flags. |
||
23 | miss_send_len (int): UBInt16 max bytes of new flow that the |
||
24 | datapath should send to the controller. |
||
25 | """ |
||
26 | 1 | super().__init__(xid, flags, miss_send_len) |
|
27 | self.header.message_type = Type.OFPT_GET_CONFIG_REPLY |
||
28 |