#NEWLINE# @ classmethod #NEWLINE# def _validate_common( cls , d ) : #NEWLINE# #INDENT# if ( 'networks_metadata' in d ) : #NEWLINE# #INDENT# meta = d [ 'networks_metadata' ] [ 'nova_network' ] #NEWLINE# for network in meta [ 'networks' ] : #NEWLINE# #INDENT# if ( 'name' not in network ) : #NEWLINE# #INDENT# raise errors . InvalidData ( 'Invalid network data: {0}' . format ( network ) , log_message = True )