示例#1
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
示例#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
    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
    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
    def __eq__(self, other):
        common.expect_the_same_class(self, other)

        return self.challenge == other.challenge
示例#10
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
示例#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
    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
    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
    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
    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
    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
    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
    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
    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
    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