예제 #1
0
파일: mle.py 프로젝트: GiedriusM/openthread
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.receiver == other.receiver and \
            self.secure == other.secure and \
            self.device_type == other.device_type and \
            self.network_data == other.network_data
예제 #2
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.domain_id == other.domain_id and \
            self.prefix_length == other.prefix_length and \
            self.prefix == other.prefix and \
            self.sub_tlvs == other.sub_tlvs
예제 #3
0
파일: mle.py 프로젝트: GiedriusM/openthread
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.partition_id == other.partition_id and \
            self.weighting == other.weighting and \
            self.data_version == other.data_version and \
            self.stable_data_version == other.stable_data_version and \
            self.leader_router_id == other.leader_router_id
예제 #4
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return  self.t == other.t and \
            self.id == other.id and \
            self.enterprise_number == other.enterprise_number and \
            self.service_data_length == other.service_data_length and \
            self.service_data == other.service_data and \
            self.sub_tlvs == other.sub_tlvs
예제 #5
0
파일: mle.py 프로젝트: GiedriusM/openthread
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.pp == other.pp and \
            self.link_quality_3 == other.link_quality_3 and \
            self.link_quality_2 == other.link_quality_2 and \
            self.link_quality_1 == other.link_quality_1 and \
            self.leader_cost == other.leader_cost and \
            self.id_sequence == other.id_sequence and \
            self.active_routers == other.active_routers and \
            self.sed_buffer_size == other.sed_buffer_size and \
            self.sed_datagram_count == other.sed_datagram_count
예제 #6
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return  self.border_router_16 == other.border_router_16 and \
            self.prf == other.prf and \
            self.p == other.p and \
            self.s == other.s and \
            self.d == other.d and \
            self.c == other.c and \
            self.r == other.r and \
            self.o == other.o and \
            self.n == other.n
예제 #7
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.frame_counter == other.frame_counter
예제 #8
0
 def __eq__(self, other):
     common.expect_the_same_class(self, other)
     return self.options == other.options
예제 #9
0
파일: mle.py 프로젝트: GiedriusM/openthread
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.challenge == other.challenge
예제 #10
0
파일: mle.py 프로젝트: GiedriusM/openthread
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.output == other.output and self.input == other.input and self.route == other.route
예제 #11
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.challenge == other.challenge
예제 #12
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.output == other.output and self.input == other.input and self.route == other.route
예제 #13
0
 def __eq__(self, other):
     common.expect_the_same_class(self, other)
     return self.ml_eid == other.ml_eid
예제 #14
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.routes == other.routes
예제 #15
0
 def __eq__(self, other):
     common.expect_the_same_class(self, other)
     return (
         self.id_sequence == other.id_sequence
         and self.router_id_mask == other.router_id_mask
     )
예제 #16
0
파일: mle.py 프로젝트: GiedriusM/openthread
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.version == other.version
예제 #17
0
 def __eq__(self, other):
     common.expect_the_same_class(self, other)
     return self.ml_eid == other.ml_eid
예제 #18
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.timestamp_seconds == other.timestamp_seconds and \
            self.timestamp_ticks == other.timestamp_ticks and \
            self.u == other.u
예제 #19
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.cid == other.cid and self.iid == other.iid
예제 #20
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.version == other.version
예제 #21
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.link_margin == other.link_margin
예제 #22
0
파일: mle.py 프로젝트: GiedriusM/openthread
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.channel_page == other.channel_page and \
            self.channel == other.channel
예제 #23
0
 def __eq__(self, other):
     common.expect_the_same_class(self, other)
     return self.mac_address == other.mac_address
예제 #24
0
 def __eq__(self, other):
     common.expect_the_same_class(self, other)
     return self.options == other.options
예제 #25
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return (self._channel_page == other._channel_page
                and self._channel == other.__channel)
예제 #26
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.router == other.router and self.end_device == other.end_device
예제 #27
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self._bloom_filter == other._bloom_filter
예제 #28
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self._udp_port == other._udp_port
예제 #29
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self._border_agent_locator == other._border_agent_locator
예제 #30
0
파일: mle.py 프로젝트: GiedriusM/openthread
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.timeout == other.timeout
예제 #31
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self._commissioner_session_id == other._commissioner_session_id
예제 #32
0
파일: mle.py 프로젝트: GiedriusM/openthread
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.frame_counter == other.frame_counter
예제 #33
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self._udp_port == other._udp_port
예제 #34
0
파일: mle.py 프로젝트: GiedriusM/openthread
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.id_sequence == other.id_sequence and \
            self.router_id_mask == other.router_id_mask and \
            self.link_quality_and_route_data == other.link_quality_and_route_data
예제 #35
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.routes == other.routes
예제 #36
0
파일: mle.py 프로젝트: GiedriusM/openthread
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.router == other.router and self.end_device == other.end_device
예제 #37
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return (self.c == other.c and self.cid == other.cid
                and self.context_length == other.context_length)
예제 #38
0
파일: mle.py 프로젝트: GiedriusM/openthread
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.link_margin == other.link_margin
예제 #39
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.sub_tlvs == other.sub_tlvs
예제 #40
0
파일: mle.py 프로젝트: GiedriusM/openthread
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.cid == other.cid and self.iid == other.iid
예제 #41
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return (self.server_16 == other.server_16
                and self.server_data == other.server_data)
예제 #42
0
파일: mle.py 프로젝트: GiedriusM/openthread
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.timestamp_seconds == other.timestamp_seconds and \
            self.timestamp_ticks == other.timestamp_ticks and \
            self.u == other.u
예제 #43
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return (self.border_router_16 == other.border_router_16
                and self.prf == other.prf)
예제 #44
0
 def __eq__(self, other):
     common.expect_the_same_class(self, other)
     return self.id_sequence == other.id_sequence and self.router_id_mask == other.router_id_mask
예제 #45
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return  self.sub_tlvs == other.sub_tlvs
예제 #46
0
 def __eq__(self, other):
     common.expect_the_same_class(self, other)
     return self.mac_address == other.mac_address
예제 #47
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.server_16 == other.server_16 and \
            self.server_data == other.server_data
예제 #48
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return (self.receiver == other.receiver and self.secure == other.secure
                and self.device_type == other.device_type
                and self.network_data == other.network_data)
예제 #49
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.id_sequence == other.id_sequence and \
            self.router_id_mask == other.router_id_mask and \
            self.link_quality_and_route_data == other.link_quality_and_route_data
예제 #50
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return  self.c == other.c and \
            self.cid == other.cid and \
            self.context_length == other.context_length
예제 #51
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self._bloom_filter == other._bloom_filter
예제 #52
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self._border_agent_locator == other._border_agent_locator
예제 #53
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self._commissioner_session_id == other._commissioner_session_id
예제 #54
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.border_router_16 == other.border_router_16 and self.prf == other.prf
예제 #55
0
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.timeout == other.timeout