<s> from lib import actions <EOL> __all__ = [ <EOL> '<STR_LIT>' , <EOL> ] <EOL> class GetNetworkByNameAction ( actions . BaseAction ) : <EOL> def run ( self , region , network_name ) : <EOL> driver = self . _get_compute_driver ( region ) <EOL> networks = driver . ex_list_networks ( ) <EOL> network = list ( filter ( lambda x : x . name == network_name , <EOL> networks ) ) [ <NUM_LIT:0> ] <EOL> return self . resultsets . formatter ( network ) </s>
