Merge "Fixed typo in statefulentity.py variable"

This commit is contained in:
Jenkins 2016-02-01 22:24:06 +00:00 committed by Gerrit Code Review
commit 0e52b2918d
2 changed files with 5 additions and 5 deletions

View File

@ -24,10 +24,10 @@ class StatefulEntityType(EntityType):
'configure', 'start', 'configure', 'start',
'stop', 'delete'] 'stop', 'delete']
interfaces_relationship_confiure_operations = ['post_configure_source', interfaces_relationship_configure_operations = ['post_configure_source',
'post_configure_target', 'post_configure_target',
'add_target', 'add_target',
'remove_target'] 'remove_target']
def __init__(self, entitytype, prefix, custom_def=None): def __init__(self, entitytype, prefix, custom_def=None):
entire_entitytype = entitytype entire_entitytype = entitytype

View File

@ -251,7 +251,7 @@ class NodeTemplate(EntityTemplate):
elif name in (CONFIGURE, CONFIGURE_SHORTNAME): elif name in (CONFIGURE, CONFIGURE_SHORTNAME):
self._common_validate_field( self._common_validate_field(
value, InterfacesDef. value, InterfacesDef.
interfaces_relationship_confiure_operations, interfaces_relationship_configure_operations,
'interfaces') 'interfaces')
else: else:
ExceptionCollector.appendException( ExceptionCollector.appendException(