#NEWLINE# def _instance_filter_name( self , instance , nic_id = None ) : #NEWLINE# #INDENT# if ( not nic_id ) : #NEWLINE# #INDENT# return ( 'nova-instance-%s' % instance [ 'name' ] ) #NEWLINE# #UNINDENT# return ( 'nova-instance-%s-%s' % ( instance [ 'name' ] , nic_id ) )