def delete_subnet(subnet, profile=None):
 conn = _auth(profile)
 return conn.delete_subnet(subnet)

def delete_subnet ( subnet , profile = None ) : conn = _auth ( profile ) return conn . delete_subnet ( subnet )
given a subnet id or name .