'get end state info'

def get_end_state(self):

    trunk_info = self.get_trunk_dict(self.trunk_id)
    if (not trunk_info):
        return
    self.end_state['trunk_id'] = trunk_info['trunkId']
    self.end_state['min_links'] = trunk_info['minUpNum']
    self.end_state['hash_type'] = hash_type_xml_to_cli_str(trunk_info['hashType'])
    self.end_state['mode'] = mode_xml_to_cli_str(trunk_info['workMode'])
    self.end_state['members_detail'] = trunk_info['TrunkMemberIfs']
