#NEWLINE# def _validate_interfaces( self ) : #NEWLINE# #INDENT# ifaces = self . type_definition . get_value ( self . INTERFACES , self . entity_tpl ) #NEWLINE# if ifaces : #NEWLINE# #INDENT# for i in ifaces : #NEWLINE# #INDENT# for ( name , value ) in ifaces . items ( ) : #NEWLINE# #INDENT# if ( name in ( LIFECYCLE , LIFECYCLE_SHORTNAME ) ) : #NEWLINE# #INDENT# self . _common_validate_field ( value , InterfacesDef . interfaces_node_lifecycle_operations , 'interfaces' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( name in ( CONFIGURE , CONFIGURE_SHORTNAME ) ) : #NEWLINE# #INDENT# self . _common_validate_field ( value , InterfacesDef . interfaces_relationship_configure_operations , 'interfaces' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# ExceptionCollector . appendException ( UnknownFieldError ( what = ( '"interfaces" of template "%s"' % self . name ) , field = name ) )