tempest/services/compute/v3/xml/servers_client.py
def _translate_ip_xml_json(ip):
    """
    Convert the address version to int.
    """
    ip = dict(ip)
    version = ip.get('version')
    if version:
        ip['version'] = int(version)
    if ip.get('type'):
        ip['type'] = ip.get('type')
    if ip.get('mac_addr'):
        ip['mac_addr'] = ip.get('mac_addr')
    return ip

    Convert the address version to int.
    
Convert the address version to int.
Convert the address version to int .
def _translate_ip_xml_json(ip):
    ip = dict(ip)
    version = ip.get('version')
    if version:
        ip['version'] = int(version)
    if ip.get('type'):
        ip['type'] = ip.get('type')
    if ip.get('mac_addr'):
        ip['mac_addr'] = ip.get('mac_addr')
    return ip
def _translate_ip_xml_json ( ip ) : ip = dict ( ip ) version = ip . get ( 'version' ) if version : ip [ 'version' ] = int ( version ) if ip . get ( 'type' ) : ip [ 'type' ] = ip . get ( 'type' ) if ip . get ( 'mac_addr' ) : ip [ 'mac_addr' ] = ip . get ( 'mac_addr' ) return ip
Convert the address version to int.
Convert the address version to int .
"""
    Convert the address version to int.
    """
ip