"""Defines Features Request classes and related items"""

# Local source tree imports
from pyof.v0x01.common import header as of_header
from pyof.v0x01.foundation import base

# Classes


class FeaturesRequest(base.GenericMessage):
    """Features request message.

    This message does not contain a body beyond the OpenFlow Header
        :param xid: xid to be used on the message header

    """
    header = of_header.Header()

    def __init__(self, xid=None):
        super().__init__()
        self.header.message_type = of_header.Type.OFPT_FEATURES_REPLY
        self.header.xid = xid

"""Defines Features Request classes and related items"""

# Local source tree imports
from pyof.v0x01.common import header as of_header
from pyof.v0x01.foundation import base

# Classes


class FeaturesRequest(base.GenericMessage):
    """Features request message.

    This message does not contain a body beyond the OpenFlow Header
        :param xid: xid to be used on the message header

    """
    header = of_header.Header()

    def __init__(self, xid=None):
        super().__init__()
        self.header.message_type = of_header.Type.OFPT_FEATURES_REQUEST
        self.header.xid = xid

Fix #67: FeatureRequest message type