hpimdm/packet/PacketHPIMIamUpstream.py
def parse_bytes(cls, data: bytes):
        """
        Parse received Protocol IamUpstream Packet from JSON format and convert it into ProtocolUpstream object
        """
        source = data["SOURCE"]
        group = data["GROUP"]
        metric = data["METRIC"]
        metric_preference = data["METRIC_PREFERENCE"]
        sn = data["SN"]
        return cls(source, group, metric_preference, metric, sn)

        Parse received Protocol IamUpstream Packet from JSON format and convert it into ProtocolUpstream object
        
Parse received Protocol IamUpstream Packet from JSON format and convert it into ProtocolUpstream object
Parse received Protocol IamUpstream Packet from JSON format and convert it into ProtocolUpstream object
def parse_bytes(cls, data: bytes):
        source = data["SOURCE"]
        group = data["GROUP"]
        metric = data["METRIC"]
        metric_preference = data["METRIC_PREFERENCE"]
        sn = data["SN"]
        return cls(source, group, metric_preference, metric, sn)
def parse_bytes ( cls , data : bytes ) : source = data [ "SOURCE" ] group = data [ "GROUP" ] metric = data [ "METRIC" ] metric_preference = data [ "METRIC_PREFERENCE" ] sn = data [ "SN" ] return cls ( source , group , metric_preference , metric , sn )
Parse received Protocol IamUpstream Packet from JSON format and convert it into ProtocolUpstream object
Parse received Protocol IamUpstream Packet from JSON format and convert it into ProtocolUpstream object
"""
        Parse received Protocol IamUpstream Packet from JSON format and convert it into ProtocolUpstream object
        """
cls
data
bytes