def get_zone(self, id=None, name=None):
        """ Get zone object by name or id.
        """
        log.info("Picking zone: %s (%s)" % (name, id))
        return self.zones[id or name]
def get_zone ( self , id = None , name = None ) : log . info ( "Picking zone: %s (%s)" % ( name , id ) ) return self . zones [ id or name ]
Get zone object by name or id.