<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def adj_nodes_ali(ali_nodes):
 """Adjust details specific to AliCloud."""

    for node in ali_nodes:
        node.cloud = "alicloud"
        node.cloud_disp = "AliCloud"
        node.private_ips = ip_to_str(node.extra['vpc_attributes']['private_ip_address'])
        node.public_ips = ip_to_str(node.public_ips)
        node.zone = node.extra['zone_id']
        node.size = node.extra['instance_type']
        if node.size.startswith('ecs.'):
            node.size = node.size[len('ecs.'):]
    return ali_nodes