Fixed typo in statefulentity.py variable

Changed incorrect spelling of configure class var.
and updated reference to new name

Closes-Bug: #1540554
Change-Id: If431b7f28a7953bb1b0a2f858d40e54513c1c1e5
This commit is contained in:
Matt Rutkowski 2016-02-01 15:30:22 -06:00
parent 221d6694b1
commit 8aaaacc677
2 changed files with 5 additions and 5 deletions

@ -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

@ -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(