def rm_prefix(name):
    """
    Removes ironic_ os_ ironicclient_ prefix from string.
    """
    if name.startswith('ironic_'):
        return name[7:]
    elif name.startswith('ironicclient_'):
        return name[13:]
    elif name.startswith('os_'):
        return name[3:]
    else:
        return name