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',
'stop', 'delete']
interfaces_relationship_confiure_operations = ['post_configure_source',
'post_configure_target',
'add_target',
'remove_target']
interfaces_relationship_configure_operations = ['post_configure_source',
'post_configure_target',
'add_target',
'remove_target']
def __init__(self, entitytype, prefix, custom_def=None):
entire_entitytype = entitytype

View File

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